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