{-# LANGUAGE DeriveGeneric #-}
{-# LANGUAGE DerivingStrategies #-}
{-# LANGUAGE GeneralizedNewtypeDeriving #-}
{-# LANGUAGE LambdaCase #-}
{-# LANGUAGE OverloadedStrings #-}
{-# LANGUAGE PatternSynonyms #-}
{-# LANGUAGE StrictData #-}
{-# LANGUAGE NoImplicitPrelude #-}
{-# OPTIONS_GHC -fno-warn-unused-imports #-}
module Amazonka.MediaConvert.Types.Eac3AttenuationControl
( Eac3AttenuationControl
( ..,
Eac3AttenuationControl_ATTENUATE_3_DB,
Eac3AttenuationControl_NONE
),
)
where
import qualified Amazonka.Core as Core
import qualified Amazonka.Prelude as Prelude
newtype Eac3AttenuationControl = Eac3AttenuationControl'
{ Eac3AttenuationControl -> Text
fromEac3AttenuationControl ::
Core.Text
}
deriving stock
( Int -> Eac3AttenuationControl -> ShowS
[Eac3AttenuationControl] -> ShowS
Eac3AttenuationControl -> String
(Int -> Eac3AttenuationControl -> ShowS)
-> (Eac3AttenuationControl -> String)
-> ([Eac3AttenuationControl] -> ShowS)
-> Show Eac3AttenuationControl
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]
(Int -> ReadS Eac3AttenuationControl)
-> ReadS [Eac3AttenuationControl]
-> ReadPrec Eac3AttenuationControl
-> ReadPrec [Eac3AttenuationControl]
-> Read 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
(Eac3AttenuationControl -> Eac3AttenuationControl -> Bool)
-> (Eac3AttenuationControl -> Eac3AttenuationControl -> Bool)
-> Eq Eac3AttenuationControl
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
Eq Eac3AttenuationControl
-> (Eac3AttenuationControl -> Eac3AttenuationControl -> Ordering)
-> (Eac3AttenuationControl -> Eac3AttenuationControl -> Bool)
-> (Eac3AttenuationControl -> Eac3AttenuationControl -> Bool)
-> (Eac3AttenuationControl -> Eac3AttenuationControl -> Bool)
-> (Eac3AttenuationControl -> Eac3AttenuationControl -> Bool)
-> (Eac3AttenuationControl
-> Eac3AttenuationControl -> Eac3AttenuationControl)
-> (Eac3AttenuationControl
-> Eac3AttenuationControl -> Eac3AttenuationControl)
-> Ord 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
$cp1Ord :: Eq Eac3AttenuationControl
Prelude.Ord,
(forall x. Eac3AttenuationControl -> Rep Eac3AttenuationControl x)
-> (forall x.
Rep Eac3AttenuationControl x -> Eac3AttenuationControl)
-> Generic Eac3AttenuationControl
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
( Int -> Eac3AttenuationControl -> Int
Eac3AttenuationControl -> Int
(Int -> Eac3AttenuationControl -> Int)
-> (Eac3AttenuationControl -> Int)
-> Hashable Eac3AttenuationControl
forall 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 -> ()
(Eac3AttenuationControl -> ()) -> NFData Eac3AttenuationControl
forall a. (a -> ()) -> NFData a
rnf :: Eac3AttenuationControl -> ()
$crnf :: Eac3AttenuationControl -> ()
Prelude.NFData,
Text -> Either String Eac3AttenuationControl
(Text -> Either String Eac3AttenuationControl)
-> FromText Eac3AttenuationControl
forall a. (Text -> Either String a) -> FromText a
fromText :: Text -> Either String Eac3AttenuationControl
$cfromText :: Text -> Either String Eac3AttenuationControl
Core.FromText,
Eac3AttenuationControl -> Text
(Eac3AttenuationControl -> Text) -> ToText Eac3AttenuationControl
forall a. (a -> Text) -> ToText a
toText :: Eac3AttenuationControl -> Text
$ctoText :: Eac3AttenuationControl -> Text
Core.ToText,
Eac3AttenuationControl -> ByteString
(Eac3AttenuationControl -> ByteString)
-> ToByteString Eac3AttenuationControl
forall a. (a -> ByteString) -> ToByteString a
toBS :: Eac3AttenuationControl -> ByteString
$ctoBS :: Eac3AttenuationControl -> ByteString
Core.ToByteString,
Eac3AttenuationControl -> ByteStringBuilder
(Eac3AttenuationControl -> ByteStringBuilder)
-> ToLog Eac3AttenuationControl
forall a. (a -> ByteStringBuilder) -> ToLog a
build :: Eac3AttenuationControl -> ByteStringBuilder
$cbuild :: Eac3AttenuationControl -> ByteStringBuilder
Core.ToLog,
HeaderName -> Eac3AttenuationControl -> [Header]
(HeaderName -> Eac3AttenuationControl -> [Header])
-> ToHeader Eac3AttenuationControl
forall a. (HeaderName -> a -> [Header]) -> ToHeader a
toHeader :: HeaderName -> Eac3AttenuationControl -> [Header]
$ctoHeader :: HeaderName -> Eac3AttenuationControl -> [Header]
Core.ToHeader,
Eac3AttenuationControl -> QueryString
(Eac3AttenuationControl -> QueryString)
-> ToQuery Eac3AttenuationControl
forall a. (a -> QueryString) -> ToQuery a
toQuery :: Eac3AttenuationControl -> QueryString
$ctoQuery :: Eac3AttenuationControl -> QueryString
Core.ToQuery,
Value -> Parser [Eac3AttenuationControl]
Value -> Parser Eac3AttenuationControl
(Value -> Parser Eac3AttenuationControl)
-> (Value -> Parser [Eac3AttenuationControl])
-> FromJSON 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
Core.FromJSON,
FromJSONKeyFunction [Eac3AttenuationControl]
FromJSONKeyFunction Eac3AttenuationControl
FromJSONKeyFunction Eac3AttenuationControl
-> FromJSONKeyFunction [Eac3AttenuationControl]
-> FromJSONKey Eac3AttenuationControl
forall a.
FromJSONKeyFunction a -> FromJSONKeyFunction [a] -> FromJSONKey a
fromJSONKeyList :: FromJSONKeyFunction [Eac3AttenuationControl]
$cfromJSONKeyList :: FromJSONKeyFunction [Eac3AttenuationControl]
fromJSONKey :: FromJSONKeyFunction Eac3AttenuationControl
$cfromJSONKey :: FromJSONKeyFunction Eac3AttenuationControl
Core.FromJSONKey,
[Eac3AttenuationControl] -> Encoding
[Eac3AttenuationControl] -> Value
Eac3AttenuationControl -> Encoding
Eac3AttenuationControl -> Value
(Eac3AttenuationControl -> Value)
-> (Eac3AttenuationControl -> Encoding)
-> ([Eac3AttenuationControl] -> Value)
-> ([Eac3AttenuationControl] -> Encoding)
-> ToJSON Eac3AttenuationControl
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
Core.ToJSON,
ToJSONKeyFunction [Eac3AttenuationControl]
ToJSONKeyFunction Eac3AttenuationControl
ToJSONKeyFunction Eac3AttenuationControl
-> ToJSONKeyFunction [Eac3AttenuationControl]
-> ToJSONKey Eac3AttenuationControl
forall a.
ToJSONKeyFunction a -> ToJSONKeyFunction [a] -> ToJSONKey a
toJSONKeyList :: ToJSONKeyFunction [Eac3AttenuationControl]
$ctoJSONKeyList :: ToJSONKeyFunction [Eac3AttenuationControl]
toJSONKey :: ToJSONKeyFunction Eac3AttenuationControl
$ctoJSONKey :: ToJSONKeyFunction Eac3AttenuationControl
Core.ToJSONKey,
[Node] -> Either String Eac3AttenuationControl
([Node] -> Either String Eac3AttenuationControl)
-> FromXML Eac3AttenuationControl
forall a. ([Node] -> Either String a) -> FromXML a
parseXML :: [Node] -> Either String Eac3AttenuationControl
$cparseXML :: [Node] -> Either String Eac3AttenuationControl
Core.FromXML,
Eac3AttenuationControl -> XML
(Eac3AttenuationControl -> XML) -> ToXML Eac3AttenuationControl
forall a. (a -> XML) -> ToXML a
toXML :: Eac3AttenuationControl -> XML
$ctoXML :: Eac3AttenuationControl -> XML
Core.ToXML
)
pattern Eac3AttenuationControl_ATTENUATE_3_DB :: Eac3AttenuationControl
pattern $bEac3AttenuationControl_ATTENUATE_3_DB :: Eac3AttenuationControl
$mEac3AttenuationControl_ATTENUATE_3_DB :: forall r.
Eac3AttenuationControl -> (Void# -> r) -> (Void# -> r) -> r
Eac3AttenuationControl_ATTENUATE_3_DB = Eac3AttenuationControl' "ATTENUATE_3_DB"
pattern Eac3AttenuationControl_NONE :: Eac3AttenuationControl
pattern $bEac3AttenuationControl_NONE :: Eac3AttenuationControl
$mEac3AttenuationControl_NONE :: forall r.
Eac3AttenuationControl -> (Void# -> r) -> (Void# -> r) -> r
Eac3AttenuationControl_NONE = Eac3AttenuationControl' "NONE"
{-# COMPLETE
Eac3AttenuationControl_ATTENUATE_3_DB,
Eac3AttenuationControl_NONE,
Eac3AttenuationControl'
#-}