{-# 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.AudioNormalizationAlgorithmControl
( AudioNormalizationAlgorithmControl
( ..,
AudioNormalizationAlgorithmControl_CORRECT_AUDIO,
AudioNormalizationAlgorithmControl_MEASURE_ONLY
),
)
where
import qualified Amazonka.Core as Core
import qualified Amazonka.Prelude as Prelude
newtype AudioNormalizationAlgorithmControl = AudioNormalizationAlgorithmControl'
{ AudioNormalizationAlgorithmControl -> Text
fromAudioNormalizationAlgorithmControl ::
Core.Text
}
deriving stock
( Int -> AudioNormalizationAlgorithmControl -> ShowS
[AudioNormalizationAlgorithmControl] -> ShowS
AudioNormalizationAlgorithmControl -> String
(Int -> AudioNormalizationAlgorithmControl -> ShowS)
-> (AudioNormalizationAlgorithmControl -> String)
-> ([AudioNormalizationAlgorithmControl] -> ShowS)
-> Show AudioNormalizationAlgorithmControl
forall a.
(Int -> a -> ShowS) -> (a -> String) -> ([a] -> ShowS) -> Show a
showList :: [AudioNormalizationAlgorithmControl] -> ShowS
$cshowList :: [AudioNormalizationAlgorithmControl] -> ShowS
show :: AudioNormalizationAlgorithmControl -> String
$cshow :: AudioNormalizationAlgorithmControl -> String
showsPrec :: Int -> AudioNormalizationAlgorithmControl -> ShowS
$cshowsPrec :: Int -> AudioNormalizationAlgorithmControl -> ShowS
Prelude.Show,
ReadPrec [AudioNormalizationAlgorithmControl]
ReadPrec AudioNormalizationAlgorithmControl
Int -> ReadS AudioNormalizationAlgorithmControl
ReadS [AudioNormalizationAlgorithmControl]
(Int -> ReadS AudioNormalizationAlgorithmControl)
-> ReadS [AudioNormalizationAlgorithmControl]
-> ReadPrec AudioNormalizationAlgorithmControl
-> ReadPrec [AudioNormalizationAlgorithmControl]
-> Read AudioNormalizationAlgorithmControl
forall a.
(Int -> ReadS a)
-> ReadS [a] -> ReadPrec a -> ReadPrec [a] -> Read a
readListPrec :: ReadPrec [AudioNormalizationAlgorithmControl]
$creadListPrec :: ReadPrec [AudioNormalizationAlgorithmControl]
readPrec :: ReadPrec AudioNormalizationAlgorithmControl
$creadPrec :: ReadPrec AudioNormalizationAlgorithmControl
readList :: ReadS [AudioNormalizationAlgorithmControl]
$creadList :: ReadS [AudioNormalizationAlgorithmControl]
readsPrec :: Int -> ReadS AudioNormalizationAlgorithmControl
$creadsPrec :: Int -> ReadS AudioNormalizationAlgorithmControl
Prelude.Read,
AudioNormalizationAlgorithmControl
-> AudioNormalizationAlgorithmControl -> Bool
(AudioNormalizationAlgorithmControl
-> AudioNormalizationAlgorithmControl -> Bool)
-> (AudioNormalizationAlgorithmControl
-> AudioNormalizationAlgorithmControl -> Bool)
-> Eq AudioNormalizationAlgorithmControl
forall a. (a -> a -> Bool) -> (a -> a -> Bool) -> Eq a
/= :: AudioNormalizationAlgorithmControl
-> AudioNormalizationAlgorithmControl -> Bool
$c/= :: AudioNormalizationAlgorithmControl
-> AudioNormalizationAlgorithmControl -> Bool
== :: AudioNormalizationAlgorithmControl
-> AudioNormalizationAlgorithmControl -> Bool
$c== :: AudioNormalizationAlgorithmControl
-> AudioNormalizationAlgorithmControl -> Bool
Prelude.Eq,
Eq AudioNormalizationAlgorithmControl
Eq AudioNormalizationAlgorithmControl
-> (AudioNormalizationAlgorithmControl
-> AudioNormalizationAlgorithmControl -> Ordering)
-> (AudioNormalizationAlgorithmControl
-> AudioNormalizationAlgorithmControl -> Bool)
-> (AudioNormalizationAlgorithmControl
-> AudioNormalizationAlgorithmControl -> Bool)
-> (AudioNormalizationAlgorithmControl
-> AudioNormalizationAlgorithmControl -> Bool)
-> (AudioNormalizationAlgorithmControl
-> AudioNormalizationAlgorithmControl -> Bool)
-> (AudioNormalizationAlgorithmControl
-> AudioNormalizationAlgorithmControl
-> AudioNormalizationAlgorithmControl)
-> (AudioNormalizationAlgorithmControl
-> AudioNormalizationAlgorithmControl
-> AudioNormalizationAlgorithmControl)
-> Ord AudioNormalizationAlgorithmControl
AudioNormalizationAlgorithmControl
-> AudioNormalizationAlgorithmControl -> Bool
AudioNormalizationAlgorithmControl
-> AudioNormalizationAlgorithmControl -> Ordering
AudioNormalizationAlgorithmControl
-> AudioNormalizationAlgorithmControl
-> AudioNormalizationAlgorithmControl
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 :: AudioNormalizationAlgorithmControl
-> AudioNormalizationAlgorithmControl
-> AudioNormalizationAlgorithmControl
$cmin :: AudioNormalizationAlgorithmControl
-> AudioNormalizationAlgorithmControl
-> AudioNormalizationAlgorithmControl
max :: AudioNormalizationAlgorithmControl
-> AudioNormalizationAlgorithmControl
-> AudioNormalizationAlgorithmControl
$cmax :: AudioNormalizationAlgorithmControl
-> AudioNormalizationAlgorithmControl
-> AudioNormalizationAlgorithmControl
>= :: AudioNormalizationAlgorithmControl
-> AudioNormalizationAlgorithmControl -> Bool
$c>= :: AudioNormalizationAlgorithmControl
-> AudioNormalizationAlgorithmControl -> Bool
> :: AudioNormalizationAlgorithmControl
-> AudioNormalizationAlgorithmControl -> Bool
$c> :: AudioNormalizationAlgorithmControl
-> AudioNormalizationAlgorithmControl -> Bool
<= :: AudioNormalizationAlgorithmControl
-> AudioNormalizationAlgorithmControl -> Bool
$c<= :: AudioNormalizationAlgorithmControl
-> AudioNormalizationAlgorithmControl -> Bool
< :: AudioNormalizationAlgorithmControl
-> AudioNormalizationAlgorithmControl -> Bool
$c< :: AudioNormalizationAlgorithmControl
-> AudioNormalizationAlgorithmControl -> Bool
compare :: AudioNormalizationAlgorithmControl
-> AudioNormalizationAlgorithmControl -> Ordering
$ccompare :: AudioNormalizationAlgorithmControl
-> AudioNormalizationAlgorithmControl -> Ordering
$cp1Ord :: Eq AudioNormalizationAlgorithmControl
Prelude.Ord,
(forall x.
AudioNormalizationAlgorithmControl
-> Rep AudioNormalizationAlgorithmControl x)
-> (forall x.
Rep AudioNormalizationAlgorithmControl x
-> AudioNormalizationAlgorithmControl)
-> Generic AudioNormalizationAlgorithmControl
forall x.
Rep AudioNormalizationAlgorithmControl x
-> AudioNormalizationAlgorithmControl
forall x.
AudioNormalizationAlgorithmControl
-> Rep AudioNormalizationAlgorithmControl x
forall a.
(forall x. a -> Rep a x) -> (forall x. Rep a x -> a) -> Generic a
$cto :: forall x.
Rep AudioNormalizationAlgorithmControl x
-> AudioNormalizationAlgorithmControl
$cfrom :: forall x.
AudioNormalizationAlgorithmControl
-> Rep AudioNormalizationAlgorithmControl x
Prelude.Generic
)
deriving newtype
( Int -> AudioNormalizationAlgorithmControl -> Int
AudioNormalizationAlgorithmControl -> Int
(Int -> AudioNormalizationAlgorithmControl -> Int)
-> (AudioNormalizationAlgorithmControl -> Int)
-> Hashable AudioNormalizationAlgorithmControl
forall a. (Int -> a -> Int) -> (a -> Int) -> Hashable a
hash :: AudioNormalizationAlgorithmControl -> Int
$chash :: AudioNormalizationAlgorithmControl -> Int
hashWithSalt :: Int -> AudioNormalizationAlgorithmControl -> Int
$chashWithSalt :: Int -> AudioNormalizationAlgorithmControl -> Int
Prelude.Hashable,
AudioNormalizationAlgorithmControl -> ()
(AudioNormalizationAlgorithmControl -> ())
-> NFData AudioNormalizationAlgorithmControl
forall a. (a -> ()) -> NFData a
rnf :: AudioNormalizationAlgorithmControl -> ()
$crnf :: AudioNormalizationAlgorithmControl -> ()
Prelude.NFData,
Text -> Either String AudioNormalizationAlgorithmControl
(Text -> Either String AudioNormalizationAlgorithmControl)
-> FromText AudioNormalizationAlgorithmControl
forall a. (Text -> Either String a) -> FromText a
fromText :: Text -> Either String AudioNormalizationAlgorithmControl
$cfromText :: Text -> Either String AudioNormalizationAlgorithmControl
Core.FromText,
AudioNormalizationAlgorithmControl -> Text
(AudioNormalizationAlgorithmControl -> Text)
-> ToText AudioNormalizationAlgorithmControl
forall a. (a -> Text) -> ToText a
toText :: AudioNormalizationAlgorithmControl -> Text
$ctoText :: AudioNormalizationAlgorithmControl -> Text
Core.ToText,
AudioNormalizationAlgorithmControl -> ByteString
(AudioNormalizationAlgorithmControl -> ByteString)
-> ToByteString AudioNormalizationAlgorithmControl
forall a. (a -> ByteString) -> ToByteString a
toBS :: AudioNormalizationAlgorithmControl -> ByteString
$ctoBS :: AudioNormalizationAlgorithmControl -> ByteString
Core.ToByteString,
AudioNormalizationAlgorithmControl -> ByteStringBuilder
(AudioNormalizationAlgorithmControl -> ByteStringBuilder)
-> ToLog AudioNormalizationAlgorithmControl
forall a. (a -> ByteStringBuilder) -> ToLog a
build :: AudioNormalizationAlgorithmControl -> ByteStringBuilder
$cbuild :: AudioNormalizationAlgorithmControl -> ByteStringBuilder
Core.ToLog,
HeaderName -> AudioNormalizationAlgorithmControl -> [Header]
(HeaderName -> AudioNormalizationAlgorithmControl -> [Header])
-> ToHeader AudioNormalizationAlgorithmControl
forall a. (HeaderName -> a -> [Header]) -> ToHeader a
toHeader :: HeaderName -> AudioNormalizationAlgorithmControl -> [Header]
$ctoHeader :: HeaderName -> AudioNormalizationAlgorithmControl -> [Header]
Core.ToHeader,
AudioNormalizationAlgorithmControl -> QueryString
(AudioNormalizationAlgorithmControl -> QueryString)
-> ToQuery AudioNormalizationAlgorithmControl
forall a. (a -> QueryString) -> ToQuery a
toQuery :: AudioNormalizationAlgorithmControl -> QueryString
$ctoQuery :: AudioNormalizationAlgorithmControl -> QueryString
Core.ToQuery,
Value -> Parser [AudioNormalizationAlgorithmControl]
Value -> Parser AudioNormalizationAlgorithmControl
(Value -> Parser AudioNormalizationAlgorithmControl)
-> (Value -> Parser [AudioNormalizationAlgorithmControl])
-> FromJSON AudioNormalizationAlgorithmControl
forall a.
(Value -> Parser a) -> (Value -> Parser [a]) -> FromJSON a
parseJSONList :: Value -> Parser [AudioNormalizationAlgorithmControl]
$cparseJSONList :: Value -> Parser [AudioNormalizationAlgorithmControl]
parseJSON :: Value -> Parser AudioNormalizationAlgorithmControl
$cparseJSON :: Value -> Parser AudioNormalizationAlgorithmControl
Core.FromJSON,
FromJSONKeyFunction [AudioNormalizationAlgorithmControl]
FromJSONKeyFunction AudioNormalizationAlgorithmControl
FromJSONKeyFunction AudioNormalizationAlgorithmControl
-> FromJSONKeyFunction [AudioNormalizationAlgorithmControl]
-> FromJSONKey AudioNormalizationAlgorithmControl
forall a.
FromJSONKeyFunction a -> FromJSONKeyFunction [a] -> FromJSONKey a
fromJSONKeyList :: FromJSONKeyFunction [AudioNormalizationAlgorithmControl]
$cfromJSONKeyList :: FromJSONKeyFunction [AudioNormalizationAlgorithmControl]
fromJSONKey :: FromJSONKeyFunction AudioNormalizationAlgorithmControl
$cfromJSONKey :: FromJSONKeyFunction AudioNormalizationAlgorithmControl
Core.FromJSONKey,
[AudioNormalizationAlgorithmControl] -> Encoding
[AudioNormalizationAlgorithmControl] -> Value
AudioNormalizationAlgorithmControl -> Encoding
AudioNormalizationAlgorithmControl -> Value
(AudioNormalizationAlgorithmControl -> Value)
-> (AudioNormalizationAlgorithmControl -> Encoding)
-> ([AudioNormalizationAlgorithmControl] -> Value)
-> ([AudioNormalizationAlgorithmControl] -> Encoding)
-> ToJSON AudioNormalizationAlgorithmControl
forall a.
(a -> Value)
-> (a -> Encoding)
-> ([a] -> Value)
-> ([a] -> Encoding)
-> ToJSON a
toEncodingList :: [AudioNormalizationAlgorithmControl] -> Encoding
$ctoEncodingList :: [AudioNormalizationAlgorithmControl] -> Encoding
toJSONList :: [AudioNormalizationAlgorithmControl] -> Value
$ctoJSONList :: [AudioNormalizationAlgorithmControl] -> Value
toEncoding :: AudioNormalizationAlgorithmControl -> Encoding
$ctoEncoding :: AudioNormalizationAlgorithmControl -> Encoding
toJSON :: AudioNormalizationAlgorithmControl -> Value
$ctoJSON :: AudioNormalizationAlgorithmControl -> Value
Core.ToJSON,
ToJSONKeyFunction [AudioNormalizationAlgorithmControl]
ToJSONKeyFunction AudioNormalizationAlgorithmControl
ToJSONKeyFunction AudioNormalizationAlgorithmControl
-> ToJSONKeyFunction [AudioNormalizationAlgorithmControl]
-> ToJSONKey AudioNormalizationAlgorithmControl
forall a.
ToJSONKeyFunction a -> ToJSONKeyFunction [a] -> ToJSONKey a
toJSONKeyList :: ToJSONKeyFunction [AudioNormalizationAlgorithmControl]
$ctoJSONKeyList :: ToJSONKeyFunction [AudioNormalizationAlgorithmControl]
toJSONKey :: ToJSONKeyFunction AudioNormalizationAlgorithmControl
$ctoJSONKey :: ToJSONKeyFunction AudioNormalizationAlgorithmControl
Core.ToJSONKey,
[Node] -> Either String AudioNormalizationAlgorithmControl
([Node] -> Either String AudioNormalizationAlgorithmControl)
-> FromXML AudioNormalizationAlgorithmControl
forall a. ([Node] -> Either String a) -> FromXML a
parseXML :: [Node] -> Either String AudioNormalizationAlgorithmControl
$cparseXML :: [Node] -> Either String AudioNormalizationAlgorithmControl
Core.FromXML,
AudioNormalizationAlgorithmControl -> XML
(AudioNormalizationAlgorithmControl -> XML)
-> ToXML AudioNormalizationAlgorithmControl
forall a. (a -> XML) -> ToXML a
toXML :: AudioNormalizationAlgorithmControl -> XML
$ctoXML :: AudioNormalizationAlgorithmControl -> XML
Core.ToXML
)
pattern AudioNormalizationAlgorithmControl_CORRECT_AUDIO :: AudioNormalizationAlgorithmControl
pattern $bAudioNormalizationAlgorithmControl_CORRECT_AUDIO :: AudioNormalizationAlgorithmControl
$mAudioNormalizationAlgorithmControl_CORRECT_AUDIO :: forall r.
AudioNormalizationAlgorithmControl
-> (Void# -> r) -> (Void# -> r) -> r
AudioNormalizationAlgorithmControl_CORRECT_AUDIO = AudioNormalizationAlgorithmControl' "CORRECT_AUDIO"
pattern AudioNormalizationAlgorithmControl_MEASURE_ONLY :: AudioNormalizationAlgorithmControl
pattern $bAudioNormalizationAlgorithmControl_MEASURE_ONLY :: AudioNormalizationAlgorithmControl
$mAudioNormalizationAlgorithmControl_MEASURE_ONLY :: forall r.
AudioNormalizationAlgorithmControl
-> (Void# -> r) -> (Void# -> r) -> r
AudioNormalizationAlgorithmControl_MEASURE_ONLY = AudioNormalizationAlgorithmControl' "MEASURE_ONLY"
{-# COMPLETE
AudioNormalizationAlgorithmControl_CORRECT_AUDIO,
AudioNormalizationAlgorithmControl_MEASURE_ONLY,
AudioNormalizationAlgorithmControl'
#-}