{-# LANGUAGE DeriveGeneric #-}
{-# LANGUAGE DerivingStrategies #-}
{-# LANGUAGE GeneralizedNewtypeDeriving #-}
{-# LANGUAGE LambdaCase #-}
{-# LANGUAGE OverloadedStrings #-}
{-# LANGUAGE PatternSynonyms #-}
{-# LANGUAGE StrictData #-}
{-# LANGUAGE NoImplicitPrelude #-}
{-# OPTIONS_GHC -fno-warn-unused-imports #-}
module Amazonka.MediaLive.Types.Eac3AttenuationControl
( Eac3AttenuationControl
( ..,
Eac3AttenuationControl_ATTENUATE_3_DB,
Eac3AttenuationControl_NONE
),
)
where
import qualified Amazonka.Core as Core
import qualified Amazonka.Data as Data
import qualified Amazonka.Prelude as Prelude
newtype Eac3AttenuationControl = Eac3AttenuationControl'
{ Eac3AttenuationControl -> Text
fromEac3AttenuationControl ::
Data.Text
}
deriving stock
( Int -> Eac3AttenuationControl -> ShowS
[Eac3AttenuationControl] -> ShowS
Eac3AttenuationControl -> String
forall a.
(Int -> a -> ShowS) -> (a -> String) -> ([a] -> ShowS) -> Show a
showList :: [Eac3AttenuationControl] -> ShowS
$cshowList :: [Eac3AttenuationControl] -> ShowS
show :: Eac3AttenuationControl -> String
$cshow :: Eac3AttenuationControl -> String
showsPrec :: Int -> Eac3AttenuationControl -> ShowS
$cshowsPrec :: Int -> Eac3AttenuationControl -> ShowS
Prelude.Show,
ReadPrec [Eac3AttenuationControl]
ReadPrec Eac3AttenuationControl
Int -> ReadS Eac3AttenuationControl
ReadS [Eac3AttenuationControl]
forall a.
(Int -> ReadS a)
-> ReadS [a] -> ReadPrec a -> ReadPrec [a] -> Read a
readListPrec :: ReadPrec [Eac3AttenuationControl]
$creadListPrec :: ReadPrec [Eac3AttenuationControl]
readPrec :: ReadPrec Eac3AttenuationControl
$creadPrec :: ReadPrec Eac3AttenuationControl
readList :: ReadS [Eac3AttenuationControl]
$creadList :: ReadS [Eac3AttenuationControl]
readsPrec :: Int -> ReadS Eac3AttenuationControl
$creadsPrec :: Int -> ReadS Eac3AttenuationControl
Prelude.Read,
Eac3AttenuationControl -> Eac3AttenuationControl -> Bool
forall a. (a -> a -> Bool) -> (a -> a -> Bool) -> Eq a
/= :: Eac3AttenuationControl -> Eac3AttenuationControl -> Bool
$c/= :: Eac3AttenuationControl -> Eac3AttenuationControl -> Bool
== :: Eac3AttenuationControl -> Eac3AttenuationControl -> Bool
$c== :: Eac3AttenuationControl -> Eac3AttenuationControl -> Bool
Prelude.Eq,
Eq Eac3AttenuationControl
Eac3AttenuationControl -> Eac3AttenuationControl -> Bool
Eac3AttenuationControl -> Eac3AttenuationControl -> Ordering
Eac3AttenuationControl
-> Eac3AttenuationControl -> Eac3AttenuationControl
forall a.
Eq a
-> (a -> a -> Ordering)
-> (a -> a -> Bool)
-> (a -> a -> Bool)
-> (a -> a -> Bool)
-> (a -> a -> Bool)
-> (a -> a -> a)
-> (a -> a -> a)
-> Ord a
min :: Eac3AttenuationControl
-> Eac3AttenuationControl -> Eac3AttenuationControl
$cmin :: Eac3AttenuationControl
-> Eac3AttenuationControl -> Eac3AttenuationControl
max :: Eac3AttenuationControl
-> Eac3AttenuationControl -> Eac3AttenuationControl
$cmax :: Eac3AttenuationControl
-> Eac3AttenuationControl -> Eac3AttenuationControl
>= :: Eac3AttenuationControl -> Eac3AttenuationControl -> Bool
$c>= :: Eac3AttenuationControl -> Eac3AttenuationControl -> Bool
> :: Eac3AttenuationControl -> Eac3AttenuationControl -> Bool
$c> :: Eac3AttenuationControl -> Eac3AttenuationControl -> Bool
<= :: Eac3AttenuationControl -> Eac3AttenuationControl -> Bool
$c<= :: Eac3AttenuationControl -> Eac3AttenuationControl -> Bool
< :: Eac3AttenuationControl -> Eac3AttenuationControl -> Bool
$c< :: Eac3AttenuationControl -> Eac3AttenuationControl -> Bool
compare :: Eac3AttenuationControl -> Eac3AttenuationControl -> Ordering
$ccompare :: Eac3AttenuationControl -> Eac3AttenuationControl -> Ordering
Prelude.Ord,
forall x. Rep Eac3AttenuationControl x -> Eac3AttenuationControl
forall x. Eac3AttenuationControl -> Rep Eac3AttenuationControl x
forall a.
(forall x. a -> Rep a x) -> (forall x. Rep a x -> a) -> Generic a
$cto :: forall x. Rep Eac3AttenuationControl x -> Eac3AttenuationControl
$cfrom :: forall x. Eac3AttenuationControl -> Rep Eac3AttenuationControl x
Prelude.Generic
)
deriving newtype
( Eq Eac3AttenuationControl
Int -> Eac3AttenuationControl -> Int
Eac3AttenuationControl -> Int
forall a. Eq a -> (Int -> a -> Int) -> (a -> Int) -> Hashable a
hash :: Eac3AttenuationControl -> Int
$chash :: Eac3AttenuationControl -> Int
hashWithSalt :: Int -> Eac3AttenuationControl -> Int
$chashWithSalt :: Int -> Eac3AttenuationControl -> Int
Prelude.Hashable,
Eac3AttenuationControl -> ()
forall a. (a -> ()) -> NFData a
rnf :: Eac3AttenuationControl -> ()
$crnf :: Eac3AttenuationControl -> ()
Prelude.NFData,
Text -> Either String Eac3AttenuationControl
forall a. (Text -> Either String a) -> FromText a
fromText :: Text -> Either String Eac3AttenuationControl
$cfromText :: Text -> Either String Eac3AttenuationControl
Data.FromText,
Eac3AttenuationControl -> Text
forall a. (a -> Text) -> ToText a
toText :: Eac3AttenuationControl -> Text
$ctoText :: Eac3AttenuationControl -> Text
Data.ToText,
Eac3AttenuationControl -> ByteString
forall a. (a -> ByteString) -> ToByteString a
toBS :: Eac3AttenuationControl -> ByteString
$ctoBS :: Eac3AttenuationControl -> ByteString
Data.ToByteString,
Eac3AttenuationControl -> ByteStringBuilder
forall a. (a -> ByteStringBuilder) -> ToLog a
build :: Eac3AttenuationControl -> ByteStringBuilder
$cbuild :: Eac3AttenuationControl -> ByteStringBuilder
Data.ToLog,
HeaderName -> Eac3AttenuationControl -> [Header]
forall a. (HeaderName -> a -> [Header]) -> ToHeader a
toHeader :: HeaderName -> Eac3AttenuationControl -> [Header]
$ctoHeader :: HeaderName -> Eac3AttenuationControl -> [Header]
Data.ToHeader,
Eac3AttenuationControl -> QueryString
forall a. (a -> QueryString) -> ToQuery a
toQuery :: Eac3AttenuationControl -> QueryString
$ctoQuery :: Eac3AttenuationControl -> QueryString
Data.ToQuery,
Value -> Parser [Eac3AttenuationControl]
Value -> Parser Eac3AttenuationControl
forall a.
(Value -> Parser a) -> (Value -> Parser [a]) -> FromJSON a
parseJSONList :: Value -> Parser [Eac3AttenuationControl]
$cparseJSONList :: Value -> Parser [Eac3AttenuationControl]
parseJSON :: Value -> Parser Eac3AttenuationControl
$cparseJSON :: Value -> Parser Eac3AttenuationControl
Data.FromJSON,
FromJSONKeyFunction [Eac3AttenuationControl]
FromJSONKeyFunction Eac3AttenuationControl
forall a.
FromJSONKeyFunction a -> FromJSONKeyFunction [a] -> FromJSONKey a
fromJSONKeyList :: FromJSONKeyFunction [Eac3AttenuationControl]
$cfromJSONKeyList :: FromJSONKeyFunction [Eac3AttenuationControl]
fromJSONKey :: FromJSONKeyFunction Eac3AttenuationControl
$cfromJSONKey :: FromJSONKeyFunction Eac3AttenuationControl
Data.FromJSONKey,
[Eac3AttenuationControl] -> Encoding
[Eac3AttenuationControl] -> Value
Eac3AttenuationControl -> Encoding
Eac3AttenuationControl -> Value
forall a.
(a -> Value)
-> (a -> Encoding)
-> ([a] -> Value)
-> ([a] -> Encoding)
-> ToJSON a
toEncodingList :: [Eac3AttenuationControl] -> Encoding
$ctoEncodingList :: [Eac3AttenuationControl] -> Encoding
toJSONList :: [Eac3AttenuationControl] -> Value
$ctoJSONList :: [Eac3AttenuationControl] -> Value
toEncoding :: Eac3AttenuationControl -> Encoding
$ctoEncoding :: Eac3AttenuationControl -> Encoding
toJSON :: Eac3AttenuationControl -> Value
$ctoJSON :: Eac3AttenuationControl -> Value
Data.ToJSON,
ToJSONKeyFunction [Eac3AttenuationControl]
ToJSONKeyFunction Eac3AttenuationControl
forall a.
ToJSONKeyFunction a -> ToJSONKeyFunction [a] -> ToJSONKey a
toJSONKeyList :: ToJSONKeyFunction [Eac3AttenuationControl]
$ctoJSONKeyList :: ToJSONKeyFunction [Eac3AttenuationControl]
toJSONKey :: ToJSONKeyFunction Eac3AttenuationControl
$ctoJSONKey :: ToJSONKeyFunction Eac3AttenuationControl
Data.ToJSONKey,
[Node] -> Either String Eac3AttenuationControl
forall a. ([Node] -> Either String a) -> FromXML a
parseXML :: [Node] -> Either String Eac3AttenuationControl
$cparseXML :: [Node] -> Either String Eac3AttenuationControl
Data.FromXML,
Eac3AttenuationControl -> XML
forall a. (a -> XML) -> ToXML a
toXML :: Eac3AttenuationControl -> XML
$ctoXML :: Eac3AttenuationControl -> XML
Data.ToXML
)
pattern Eac3AttenuationControl_ATTENUATE_3_DB :: Eac3AttenuationControl
pattern $bEac3AttenuationControl_ATTENUATE_3_DB :: Eac3AttenuationControl
$mEac3AttenuationControl_ATTENUATE_3_DB :: forall {r}.
Eac3AttenuationControl -> ((# #) -> r) -> ((# #) -> r) -> r
Eac3AttenuationControl_ATTENUATE_3_DB = Eac3AttenuationControl' "ATTENUATE_3_DB"
pattern Eac3AttenuationControl_NONE :: Eac3AttenuationControl
pattern $bEac3AttenuationControl_NONE :: Eac3AttenuationControl
$mEac3AttenuationControl_NONE :: forall {r}.
Eac3AttenuationControl -> ((# #) -> r) -> ((# #) -> r) -> r
Eac3AttenuationControl_NONE = Eac3AttenuationControl' "NONE"
{-# COMPLETE
Eac3AttenuationControl_ATTENUATE_3_DB,
Eac3AttenuationControl_NONE,
Eac3AttenuationControl'
#-}