{-# 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.Rec601Settings
-- 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.Rec601Settings where

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

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

-- |
-- Create a value of 'Rec601Settings' 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.
newRec601Settings ::
  Rec601Settings
newRec601Settings :: Rec601Settings
newRec601Settings = Rec601Settings
Rec601Settings'

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

instance Prelude.Hashable Rec601Settings

instance Prelude.NFData Rec601Settings

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