{-# 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-2021 Brendan Hay
-- License     : Mozilla Public License, v. 2.0.
-- Maintainer  : Brendan Hay <brendan.g.hay+amazonka@gmail.com>
-- Stability   : auto-generated
-- Portability : non-portable (GHC extensions)
module Amazonka.MediaLive.Types.Rec709Settings where

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

-- | Rec709 Settings
--
-- /See:/ 'newRec709Settings' smart constructor.
data Rec709Settings = Rec709Settings'
  {
  }
  deriving (Rec709Settings -> Rec709Settings -> Bool
(Rec709Settings -> Rec709Settings -> Bool)
-> (Rec709Settings -> Rec709Settings -> Bool) -> Eq Rec709Settings
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]
(Int -> ReadS Rec709Settings)
-> ReadS [Rec709Settings]
-> ReadPrec Rec709Settings
-> ReadPrec [Rec709Settings]
-> Read 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
(Int -> Rec709Settings -> ShowS)
-> (Rec709Settings -> String)
-> ([Rec709Settings] -> ShowS)
-> Show Rec709Settings
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. Rec709Settings -> Rep Rec709Settings x)
-> (forall x. Rep Rec709Settings x -> Rec709Settings)
-> Generic Rec709Settings
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 Core.FromJSON Rec709Settings where
  parseJSON :: Value -> Parser Rec709Settings
parseJSON =
    String
-> (Object -> Parser Rec709Settings)
-> Value
-> Parser Rec709Settings
forall a. String -> (Object -> Parser a) -> Value -> Parser a
Core.withObject
      String
"Rec709Settings"
      (\Object
x -> Rec709Settings -> Parser Rec709Settings
forall (f :: * -> *) a. Applicative f => a -> f a
Prelude.pure Rec709Settings
Rec709Settings')

instance Prelude.Hashable Rec709Settings

instance Prelude.NFData Rec709Settings

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