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