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

-- | Rec601 Settings
--
-- /See:/ 'newRec601Settings' smart constructor.
data Rec601Settings = Rec601Settings'
  {
  }
  deriving (Rec601Settings -> Rec601Settings -> Bool
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]
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
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. 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 Data.FromJSON Rec601Settings where
  parseJSON :: Value -> Parser Rec601Settings
parseJSON =
    forall a. String -> (Object -> Parser a) -> Value -> Parser a
Data.withObject
      String
"Rec601Settings"
      (\Object
x -> forall (f :: * -> *) a. Applicative f => a -> f a
Prelude.pure Rec601Settings
Rec601Settings')

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

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

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