{-# LANGUAGE DeriveGeneric #-}
{-# LANGUAGE DuplicateRecordFields #-}
{-# LANGUAGE NamedFieldPuns #-}
{-# LANGUAGE OverloadedStrings #-}
{-# LANGUAGE RecordWildCards #-}
{-# LANGUAGE StrictData #-}
{-# LANGUAGE NoImplicitPrelude #-}
{-# OPTIONS_GHC -fno-warn-unused-imports #-}
{-# OPTIONS_GHC -fno-warn-unused-matches #-}

-- Derived from AWS service descriptions, licensed under Apache 2.0.

-- |
-- Module      : Amazonka.MediaLive.Types.Rec709Settings
-- Copyright   : (c) 2013-2023 Brendan Hay
-- License     : Mozilla Public License, v. 2.0.
-- Maintainer  : Brendan Hay
-- Stability   : auto-generated
-- Portability : non-portable (GHC extensions)
module Amazonka.MediaLive.Types.Rec709Settings where

import qualified Amazonka.Core as Core
import qualified Amazonka.Core.Lens.Internal as Lens
import qualified Amazonka.Data as Data
import qualified Amazonka.Prelude as Prelude

-- | Rec709 Settings
--
-- /See:/ 'newRec709Settings' smart constructor.
data Rec709Settings = Rec709Settings'
  {
  }
  deriving (Rec709Settings -> Rec709Settings -> Bool
forall a. (a -> a -> Bool) -> (a -> a -> Bool) -> Eq a
/= :: Rec709Settings -> Rec709Settings -> Bool
$c/= :: Rec709Settings -> Rec709Settings -> Bool
== :: Rec709Settings -> Rec709Settings -> Bool
$c== :: Rec709Settings -> Rec709Settings -> Bool
Prelude.Eq, ReadPrec [Rec709Settings]
ReadPrec Rec709Settings
Int -> ReadS Rec709Settings
ReadS [Rec709Settings]
forall a.
(Int -> ReadS a)
-> ReadS [a] -> ReadPrec a -> ReadPrec [a] -> Read a
readListPrec :: ReadPrec [Rec709Settings]
$creadListPrec :: ReadPrec [Rec709Settings]
readPrec :: ReadPrec Rec709Settings
$creadPrec :: ReadPrec Rec709Settings
readList :: ReadS [Rec709Settings]
$creadList :: ReadS [Rec709Settings]
readsPrec :: Int -> ReadS Rec709Settings
$creadsPrec :: Int -> ReadS Rec709Settings
Prelude.Read, Int -> Rec709Settings -> ShowS
[Rec709Settings] -> ShowS
Rec709Settings -> String
forall a.
(Int -> a -> ShowS) -> (a -> String) -> ([a] -> ShowS) -> Show a
showList :: [Rec709Settings] -> ShowS
$cshowList :: [Rec709Settings] -> ShowS
show :: Rec709Settings -> String
$cshow :: Rec709Settings -> String
showsPrec :: Int -> Rec709Settings -> ShowS
$cshowsPrec :: Int -> Rec709Settings -> ShowS
Prelude.Show, forall x. Rep Rec709Settings x -> Rec709Settings
forall x. Rec709Settings -> Rep Rec709Settings x
forall a.
(forall x. a -> Rep a x) -> (forall x. Rep a x -> a) -> Generic a
$cto :: forall x. Rep Rec709Settings x -> Rec709Settings
$cfrom :: forall x. Rec709Settings -> Rep Rec709Settings x
Prelude.Generic)

-- |
-- Create a value of 'Rec709Settings' with all optional fields omitted.
--
-- Use <https://hackage.haskell.org/package/generic-lens generic-lens> or <https://hackage.haskell.org/package/optics optics> to modify other optional fields.
newRec709Settings ::
  Rec709Settings
newRec709Settings :: Rec709Settings
newRec709Settings = Rec709Settings
Rec709Settings'

instance Data.FromJSON Rec709Settings where
  parseJSON :: Value -> Parser Rec709Settings
parseJSON =
    forall a. String -> (Object -> Parser a) -> Value -> Parser a
Data.withObject
      String
"Rec709Settings"
      (\Object
x -> forall (f :: * -> *) a. Applicative f => a -> f a
Prelude.pure Rec709Settings
Rec709Settings')

instance Prelude.Hashable Rec709Settings where
  hashWithSalt :: Int -> Rec709Settings -> Int
hashWithSalt Int
_salt Rec709Settings
_ =
    Int
_salt forall a. Hashable a => Int -> a -> Int
`Prelude.hashWithSalt` ()

instance Prelude.NFData Rec709Settings where
  rnf :: Rec709Settings -> ()
rnf Rec709Settings
_ = ()

instance Data.ToJSON Rec709Settings where
  toJSON :: Rec709Settings -> Value
toJSON = forall a b. a -> b -> a
Prelude.const (Object -> Value
Data.Object forall a. Monoid a => a
Prelude.mempty)