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