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