{-# LANGUAGE DeriveGeneric #-}
{-# LANGUAGE DerivingStrategies #-}
{-# LANGUAGE GeneralizedNewtypeDeriving #-}
{-# LANGUAGE LambdaCase #-}
{-# LANGUAGE OverloadedStrings #-}
{-# LANGUAGE PatternSynonyms #-}
{-# LANGUAGE StrictData #-}
{-# LANGUAGE NoImplicitPrelude #-}
{-# OPTIONS_GHC -fno-warn-unused-imports #-}
module Amazonka.MediaLive.Types.Ac3BitstreamMode
( Ac3BitstreamMode
( ..,
Ac3BitstreamMode_COMMENTARY,
Ac3BitstreamMode_COMPLETE_MAIN,
Ac3BitstreamMode_DIALOGUE,
Ac3BitstreamMode_EMERGENCY,
Ac3BitstreamMode_HEARING_IMPAIRED,
Ac3BitstreamMode_MUSIC_AND_EFFECTS,
Ac3BitstreamMode_VISUALLY_IMPAIRED,
Ac3BitstreamMode_VOICE_OVER
),
)
where
import qualified Amazonka.Core as Core
import qualified Amazonka.Data as Data
import qualified Amazonka.Prelude as Prelude
newtype Ac3BitstreamMode = Ac3BitstreamMode'
{ Ac3BitstreamMode -> Text
fromAc3BitstreamMode ::
Data.Text
}
deriving stock
( Int -> Ac3BitstreamMode -> ShowS
[Ac3BitstreamMode] -> ShowS
Ac3BitstreamMode -> String
forall a.
(Int -> a -> ShowS) -> (a -> String) -> ([a] -> ShowS) -> Show a
showList :: [Ac3BitstreamMode] -> ShowS
$cshowList :: [Ac3BitstreamMode] -> ShowS
show :: Ac3BitstreamMode -> String
$cshow :: Ac3BitstreamMode -> String
showsPrec :: Int -> Ac3BitstreamMode -> ShowS
$cshowsPrec :: Int -> Ac3BitstreamMode -> ShowS
Prelude.Show,
ReadPrec [Ac3BitstreamMode]
ReadPrec Ac3BitstreamMode
Int -> ReadS Ac3BitstreamMode
ReadS [Ac3BitstreamMode]
forall a.
(Int -> ReadS a)
-> ReadS [a] -> ReadPrec a -> ReadPrec [a] -> Read a
readListPrec :: ReadPrec [Ac3BitstreamMode]
$creadListPrec :: ReadPrec [Ac3BitstreamMode]
readPrec :: ReadPrec Ac3BitstreamMode
$creadPrec :: ReadPrec Ac3BitstreamMode
readList :: ReadS [Ac3BitstreamMode]
$creadList :: ReadS [Ac3BitstreamMode]
readsPrec :: Int -> ReadS Ac3BitstreamMode
$creadsPrec :: Int -> ReadS Ac3BitstreamMode
Prelude.Read,
Ac3BitstreamMode -> Ac3BitstreamMode -> Bool
forall a. (a -> a -> Bool) -> (a -> a -> Bool) -> Eq a
/= :: Ac3BitstreamMode -> Ac3BitstreamMode -> Bool
$c/= :: Ac3BitstreamMode -> Ac3BitstreamMode -> Bool
== :: Ac3BitstreamMode -> Ac3BitstreamMode -> Bool
$c== :: Ac3BitstreamMode -> Ac3BitstreamMode -> Bool
Prelude.Eq,
Eq Ac3BitstreamMode
Ac3BitstreamMode -> Ac3BitstreamMode -> Bool
Ac3BitstreamMode -> Ac3BitstreamMode -> Ordering
Ac3BitstreamMode -> Ac3BitstreamMode -> Ac3BitstreamMode
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 :: Ac3BitstreamMode -> Ac3BitstreamMode -> Ac3BitstreamMode
$cmin :: Ac3BitstreamMode -> Ac3BitstreamMode -> Ac3BitstreamMode
max :: Ac3BitstreamMode -> Ac3BitstreamMode -> Ac3BitstreamMode
$cmax :: Ac3BitstreamMode -> Ac3BitstreamMode -> Ac3BitstreamMode
>= :: Ac3BitstreamMode -> Ac3BitstreamMode -> Bool
$c>= :: Ac3BitstreamMode -> Ac3BitstreamMode -> Bool
> :: Ac3BitstreamMode -> Ac3BitstreamMode -> Bool
$c> :: Ac3BitstreamMode -> Ac3BitstreamMode -> Bool
<= :: Ac3BitstreamMode -> Ac3BitstreamMode -> Bool
$c<= :: Ac3BitstreamMode -> Ac3BitstreamMode -> Bool
< :: Ac3BitstreamMode -> Ac3BitstreamMode -> Bool
$c< :: Ac3BitstreamMode -> Ac3BitstreamMode -> Bool
compare :: Ac3BitstreamMode -> Ac3BitstreamMode -> Ordering
$ccompare :: Ac3BitstreamMode -> Ac3BitstreamMode -> Ordering
Prelude.Ord,
forall x. Rep Ac3BitstreamMode x -> Ac3BitstreamMode
forall x. Ac3BitstreamMode -> Rep Ac3BitstreamMode x
forall a.
(forall x. a -> Rep a x) -> (forall x. Rep a x -> a) -> Generic a
$cto :: forall x. Rep Ac3BitstreamMode x -> Ac3BitstreamMode
$cfrom :: forall x. Ac3BitstreamMode -> Rep Ac3BitstreamMode x
Prelude.Generic
)
deriving newtype
( Eq Ac3BitstreamMode
Int -> Ac3BitstreamMode -> Int
Ac3BitstreamMode -> Int
forall a. Eq a -> (Int -> a -> Int) -> (a -> Int) -> Hashable a
hash :: Ac3BitstreamMode -> Int
$chash :: Ac3BitstreamMode -> Int
hashWithSalt :: Int -> Ac3BitstreamMode -> Int
$chashWithSalt :: Int -> Ac3BitstreamMode -> Int
Prelude.Hashable,
Ac3BitstreamMode -> ()
forall a. (a -> ()) -> NFData a
rnf :: Ac3BitstreamMode -> ()
$crnf :: Ac3BitstreamMode -> ()
Prelude.NFData,
Text -> Either String Ac3BitstreamMode
forall a. (Text -> Either String a) -> FromText a
fromText :: Text -> Either String Ac3BitstreamMode
$cfromText :: Text -> Either String Ac3BitstreamMode
Data.FromText,
Ac3BitstreamMode -> Text
forall a. (a -> Text) -> ToText a
toText :: Ac3BitstreamMode -> Text
$ctoText :: Ac3BitstreamMode -> Text
Data.ToText,
Ac3BitstreamMode -> ByteString
forall a. (a -> ByteString) -> ToByteString a
toBS :: Ac3BitstreamMode -> ByteString
$ctoBS :: Ac3BitstreamMode -> ByteString
Data.ToByteString,
Ac3BitstreamMode -> ByteStringBuilder
forall a. (a -> ByteStringBuilder) -> ToLog a
build :: Ac3BitstreamMode -> ByteStringBuilder
$cbuild :: Ac3BitstreamMode -> ByteStringBuilder
Data.ToLog,
HeaderName -> Ac3BitstreamMode -> [Header]
forall a. (HeaderName -> a -> [Header]) -> ToHeader a
toHeader :: HeaderName -> Ac3BitstreamMode -> [Header]
$ctoHeader :: HeaderName -> Ac3BitstreamMode -> [Header]
Data.ToHeader,
Ac3BitstreamMode -> QueryString
forall a. (a -> QueryString) -> ToQuery a
toQuery :: Ac3BitstreamMode -> QueryString
$ctoQuery :: Ac3BitstreamMode -> QueryString
Data.ToQuery,
Value -> Parser [Ac3BitstreamMode]
Value -> Parser Ac3BitstreamMode
forall a.
(Value -> Parser a) -> (Value -> Parser [a]) -> FromJSON a
parseJSONList :: Value -> Parser [Ac3BitstreamMode]
$cparseJSONList :: Value -> Parser [Ac3BitstreamMode]
parseJSON :: Value -> Parser Ac3BitstreamMode
$cparseJSON :: Value -> Parser Ac3BitstreamMode
Data.FromJSON,
FromJSONKeyFunction [Ac3BitstreamMode]
FromJSONKeyFunction Ac3BitstreamMode
forall a.
FromJSONKeyFunction a -> FromJSONKeyFunction [a] -> FromJSONKey a
fromJSONKeyList :: FromJSONKeyFunction [Ac3BitstreamMode]
$cfromJSONKeyList :: FromJSONKeyFunction [Ac3BitstreamMode]
fromJSONKey :: FromJSONKeyFunction Ac3BitstreamMode
$cfromJSONKey :: FromJSONKeyFunction Ac3BitstreamMode
Data.FromJSONKey,
[Ac3BitstreamMode] -> Encoding
[Ac3BitstreamMode] -> Value
Ac3BitstreamMode -> Encoding
Ac3BitstreamMode -> Value
forall a.
(a -> Value)
-> (a -> Encoding)
-> ([a] -> Value)
-> ([a] -> Encoding)
-> ToJSON a
toEncodingList :: [Ac3BitstreamMode] -> Encoding
$ctoEncodingList :: [Ac3BitstreamMode] -> Encoding
toJSONList :: [Ac3BitstreamMode] -> Value
$ctoJSONList :: [Ac3BitstreamMode] -> Value
toEncoding :: Ac3BitstreamMode -> Encoding
$ctoEncoding :: Ac3BitstreamMode -> Encoding
toJSON :: Ac3BitstreamMode -> Value
$ctoJSON :: Ac3BitstreamMode -> Value
Data.ToJSON,
ToJSONKeyFunction [Ac3BitstreamMode]
ToJSONKeyFunction Ac3BitstreamMode
forall a.
ToJSONKeyFunction a -> ToJSONKeyFunction [a] -> ToJSONKey a
toJSONKeyList :: ToJSONKeyFunction [Ac3BitstreamMode]
$ctoJSONKeyList :: ToJSONKeyFunction [Ac3BitstreamMode]
toJSONKey :: ToJSONKeyFunction Ac3BitstreamMode
$ctoJSONKey :: ToJSONKeyFunction Ac3BitstreamMode
Data.ToJSONKey,
[Node] -> Either String Ac3BitstreamMode
forall a. ([Node] -> Either String a) -> FromXML a
parseXML :: [Node] -> Either String Ac3BitstreamMode
$cparseXML :: [Node] -> Either String Ac3BitstreamMode
Data.FromXML,
Ac3BitstreamMode -> XML
forall a. (a -> XML) -> ToXML a
toXML :: Ac3BitstreamMode -> XML
$ctoXML :: Ac3BitstreamMode -> XML
Data.ToXML
)
pattern Ac3BitstreamMode_COMMENTARY :: Ac3BitstreamMode
pattern = Ac3BitstreamMode' "COMMENTARY"
pattern Ac3BitstreamMode_COMPLETE_MAIN :: Ac3BitstreamMode
pattern $bAc3BitstreamMode_COMPLETE_MAIN :: Ac3BitstreamMode
$mAc3BitstreamMode_COMPLETE_MAIN :: forall {r}. Ac3BitstreamMode -> ((# #) -> r) -> ((# #) -> r) -> r
Ac3BitstreamMode_COMPLETE_MAIN = Ac3BitstreamMode' "COMPLETE_MAIN"
pattern Ac3BitstreamMode_DIALOGUE :: Ac3BitstreamMode
pattern $bAc3BitstreamMode_DIALOGUE :: Ac3BitstreamMode
$mAc3BitstreamMode_DIALOGUE :: forall {r}. Ac3BitstreamMode -> ((# #) -> r) -> ((# #) -> r) -> r
Ac3BitstreamMode_DIALOGUE = Ac3BitstreamMode' "DIALOGUE"
pattern Ac3BitstreamMode_EMERGENCY :: Ac3BitstreamMode
pattern $bAc3BitstreamMode_EMERGENCY :: Ac3BitstreamMode
$mAc3BitstreamMode_EMERGENCY :: forall {r}. Ac3BitstreamMode -> ((# #) -> r) -> ((# #) -> r) -> r
Ac3BitstreamMode_EMERGENCY = Ac3BitstreamMode' "EMERGENCY"
pattern Ac3BitstreamMode_HEARING_IMPAIRED :: Ac3BitstreamMode
pattern $bAc3BitstreamMode_HEARING_IMPAIRED :: Ac3BitstreamMode
$mAc3BitstreamMode_HEARING_IMPAIRED :: forall {r}. Ac3BitstreamMode -> ((# #) -> r) -> ((# #) -> r) -> r
Ac3BitstreamMode_HEARING_IMPAIRED = Ac3BitstreamMode' "HEARING_IMPAIRED"
pattern Ac3BitstreamMode_MUSIC_AND_EFFECTS :: Ac3BitstreamMode
pattern $bAc3BitstreamMode_MUSIC_AND_EFFECTS :: Ac3BitstreamMode
$mAc3BitstreamMode_MUSIC_AND_EFFECTS :: forall {r}. Ac3BitstreamMode -> ((# #) -> r) -> ((# #) -> r) -> r
Ac3BitstreamMode_MUSIC_AND_EFFECTS = Ac3BitstreamMode' "MUSIC_AND_EFFECTS"
pattern Ac3BitstreamMode_VISUALLY_IMPAIRED :: Ac3BitstreamMode
pattern $bAc3BitstreamMode_VISUALLY_IMPAIRED :: Ac3BitstreamMode
$mAc3BitstreamMode_VISUALLY_IMPAIRED :: forall {r}. Ac3BitstreamMode -> ((# #) -> r) -> ((# #) -> r) -> r
Ac3BitstreamMode_VISUALLY_IMPAIRED = Ac3BitstreamMode' "VISUALLY_IMPAIRED"
pattern Ac3BitstreamMode_VOICE_OVER :: Ac3BitstreamMode
pattern $bAc3BitstreamMode_VOICE_OVER :: Ac3BitstreamMode
$mAc3BitstreamMode_VOICE_OVER :: forall {r}. Ac3BitstreamMode -> ((# #) -> r) -> ((# #) -> r) -> r
Ac3BitstreamMode_VOICE_OVER = Ac3BitstreamMode' "VOICE_OVER"
{-# COMPLETE
Ac3BitstreamMode_COMMENTARY,
Ac3BitstreamMode_COMPLETE_MAIN,
Ac3BitstreamMode_DIALOGUE,
Ac3BitstreamMode_EMERGENCY,
Ac3BitstreamMode_HEARING_IMPAIRED,
Ac3BitstreamMode_MUSIC_AND_EFFECTS,
Ac3BitstreamMode_VISUALLY_IMPAIRED,
Ac3BitstreamMode_VOICE_OVER,
Ac3BitstreamMode'
#-}