{-# 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.Eac3DrcLine
( Eac3DrcLine
( ..,
Eac3DrcLine_FILM_LIGHT,
Eac3DrcLine_FILM_STANDARD,
Eac3DrcLine_MUSIC_LIGHT,
Eac3DrcLine_MUSIC_STANDARD,
Eac3DrcLine_NONE,
Eac3DrcLine_SPEECH
),
)
where
import qualified Amazonka.Core as Core
import qualified Amazonka.Data as Data
import qualified Amazonka.Prelude as Prelude
newtype Eac3DrcLine = Eac3DrcLine'
{ Eac3DrcLine -> Text
fromEac3DrcLine ::
Data.Text
}
deriving stock
( Int -> Eac3DrcLine -> ShowS
[Eac3DrcLine] -> ShowS
Eac3DrcLine -> String
forall a.
(Int -> a -> ShowS) -> (a -> String) -> ([a] -> ShowS) -> Show a
showList :: [Eac3DrcLine] -> ShowS
$cshowList :: [Eac3DrcLine] -> ShowS
show :: Eac3DrcLine -> String
$cshow :: Eac3DrcLine -> String
showsPrec :: Int -> Eac3DrcLine -> ShowS
$cshowsPrec :: Int -> Eac3DrcLine -> ShowS
Prelude.Show,
ReadPrec [Eac3DrcLine]
ReadPrec Eac3DrcLine
Int -> ReadS Eac3DrcLine
ReadS [Eac3DrcLine]
forall a.
(Int -> ReadS a)
-> ReadS [a] -> ReadPrec a -> ReadPrec [a] -> Read a
readListPrec :: ReadPrec [Eac3DrcLine]
$creadListPrec :: ReadPrec [Eac3DrcLine]
readPrec :: ReadPrec Eac3DrcLine
$creadPrec :: ReadPrec Eac3DrcLine
readList :: ReadS [Eac3DrcLine]
$creadList :: ReadS [Eac3DrcLine]
readsPrec :: Int -> ReadS Eac3DrcLine
$creadsPrec :: Int -> ReadS Eac3DrcLine
Prelude.Read,
Eac3DrcLine -> Eac3DrcLine -> Bool
forall a. (a -> a -> Bool) -> (a -> a -> Bool) -> Eq a
/= :: Eac3DrcLine -> Eac3DrcLine -> Bool
$c/= :: Eac3DrcLine -> Eac3DrcLine -> Bool
== :: Eac3DrcLine -> Eac3DrcLine -> Bool
$c== :: Eac3DrcLine -> Eac3DrcLine -> Bool
Prelude.Eq,
Eq Eac3DrcLine
Eac3DrcLine -> Eac3DrcLine -> Bool
Eac3DrcLine -> Eac3DrcLine -> Ordering
Eac3DrcLine -> Eac3DrcLine -> Eac3DrcLine
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 :: Eac3DrcLine -> Eac3DrcLine -> Eac3DrcLine
$cmin :: Eac3DrcLine -> Eac3DrcLine -> Eac3DrcLine
max :: Eac3DrcLine -> Eac3DrcLine -> Eac3DrcLine
$cmax :: Eac3DrcLine -> Eac3DrcLine -> Eac3DrcLine
>= :: Eac3DrcLine -> Eac3DrcLine -> Bool
$c>= :: Eac3DrcLine -> Eac3DrcLine -> Bool
> :: Eac3DrcLine -> Eac3DrcLine -> Bool
$c> :: Eac3DrcLine -> Eac3DrcLine -> Bool
<= :: Eac3DrcLine -> Eac3DrcLine -> Bool
$c<= :: Eac3DrcLine -> Eac3DrcLine -> Bool
< :: Eac3DrcLine -> Eac3DrcLine -> Bool
$c< :: Eac3DrcLine -> Eac3DrcLine -> Bool
compare :: Eac3DrcLine -> Eac3DrcLine -> Ordering
$ccompare :: Eac3DrcLine -> Eac3DrcLine -> Ordering
Prelude.Ord,
forall x. Rep Eac3DrcLine x -> Eac3DrcLine
forall x. Eac3DrcLine -> Rep Eac3DrcLine x
forall a.
(forall x. a -> Rep a x) -> (forall x. Rep a x -> a) -> Generic a
$cto :: forall x. Rep Eac3DrcLine x -> Eac3DrcLine
$cfrom :: forall x. Eac3DrcLine -> Rep Eac3DrcLine x
Prelude.Generic
)
deriving newtype
( Eq Eac3DrcLine
Int -> Eac3DrcLine -> Int
Eac3DrcLine -> Int
forall a. Eq a -> (Int -> a -> Int) -> (a -> Int) -> Hashable a
hash :: Eac3DrcLine -> Int
$chash :: Eac3DrcLine -> Int
hashWithSalt :: Int -> Eac3DrcLine -> Int
$chashWithSalt :: Int -> Eac3DrcLine -> Int
Prelude.Hashable,
Eac3DrcLine -> ()
forall a. (a -> ()) -> NFData a
rnf :: Eac3DrcLine -> ()
$crnf :: Eac3DrcLine -> ()
Prelude.NFData,
Text -> Either String Eac3DrcLine
forall a. (Text -> Either String a) -> FromText a
fromText :: Text -> Either String Eac3DrcLine
$cfromText :: Text -> Either String Eac3DrcLine
Data.FromText,
Eac3DrcLine -> Text
forall a. (a -> Text) -> ToText a
toText :: Eac3DrcLine -> Text
$ctoText :: Eac3DrcLine -> Text
Data.ToText,
Eac3DrcLine -> ByteString
forall a. (a -> ByteString) -> ToByteString a
toBS :: Eac3DrcLine -> ByteString
$ctoBS :: Eac3DrcLine -> ByteString
Data.ToByteString,
Eac3DrcLine -> ByteStringBuilder
forall a. (a -> ByteStringBuilder) -> ToLog a
build :: Eac3DrcLine -> ByteStringBuilder
$cbuild :: Eac3DrcLine -> ByteStringBuilder
Data.ToLog,
HeaderName -> Eac3DrcLine -> [Header]
forall a. (HeaderName -> a -> [Header]) -> ToHeader a
toHeader :: HeaderName -> Eac3DrcLine -> [Header]
$ctoHeader :: HeaderName -> Eac3DrcLine -> [Header]
Data.ToHeader,
Eac3DrcLine -> QueryString
forall a. (a -> QueryString) -> ToQuery a
toQuery :: Eac3DrcLine -> QueryString
$ctoQuery :: Eac3DrcLine -> QueryString
Data.ToQuery,
Value -> Parser [Eac3DrcLine]
Value -> Parser Eac3DrcLine
forall a.
(Value -> Parser a) -> (Value -> Parser [a]) -> FromJSON a
parseJSONList :: Value -> Parser [Eac3DrcLine]
$cparseJSONList :: Value -> Parser [Eac3DrcLine]
parseJSON :: Value -> Parser Eac3DrcLine
$cparseJSON :: Value -> Parser Eac3DrcLine
Data.FromJSON,
FromJSONKeyFunction [Eac3DrcLine]
FromJSONKeyFunction Eac3DrcLine
forall a.
FromJSONKeyFunction a -> FromJSONKeyFunction [a] -> FromJSONKey a
fromJSONKeyList :: FromJSONKeyFunction [Eac3DrcLine]
$cfromJSONKeyList :: FromJSONKeyFunction [Eac3DrcLine]
fromJSONKey :: FromJSONKeyFunction Eac3DrcLine
$cfromJSONKey :: FromJSONKeyFunction Eac3DrcLine
Data.FromJSONKey,
[Eac3DrcLine] -> Encoding
[Eac3DrcLine] -> Value
Eac3DrcLine -> Encoding
Eac3DrcLine -> Value
forall a.
(a -> Value)
-> (a -> Encoding)
-> ([a] -> Value)
-> ([a] -> Encoding)
-> ToJSON a
toEncodingList :: [Eac3DrcLine] -> Encoding
$ctoEncodingList :: [Eac3DrcLine] -> Encoding
toJSONList :: [Eac3DrcLine] -> Value
$ctoJSONList :: [Eac3DrcLine] -> Value
toEncoding :: Eac3DrcLine -> Encoding
$ctoEncoding :: Eac3DrcLine -> Encoding
toJSON :: Eac3DrcLine -> Value
$ctoJSON :: Eac3DrcLine -> Value
Data.ToJSON,
ToJSONKeyFunction [Eac3DrcLine]
ToJSONKeyFunction Eac3DrcLine
forall a.
ToJSONKeyFunction a -> ToJSONKeyFunction [a] -> ToJSONKey a
toJSONKeyList :: ToJSONKeyFunction [Eac3DrcLine]
$ctoJSONKeyList :: ToJSONKeyFunction [Eac3DrcLine]
toJSONKey :: ToJSONKeyFunction Eac3DrcLine
$ctoJSONKey :: ToJSONKeyFunction Eac3DrcLine
Data.ToJSONKey,
[Node] -> Either String Eac3DrcLine
forall a. ([Node] -> Either String a) -> FromXML a
parseXML :: [Node] -> Either String Eac3DrcLine
$cparseXML :: [Node] -> Either String Eac3DrcLine
Data.FromXML,
Eac3DrcLine -> XML
forall a. (a -> XML) -> ToXML a
toXML :: Eac3DrcLine -> XML
$ctoXML :: Eac3DrcLine -> XML
Data.ToXML
)
pattern Eac3DrcLine_FILM_LIGHT :: Eac3DrcLine
pattern $bEac3DrcLine_FILM_LIGHT :: Eac3DrcLine
$mEac3DrcLine_FILM_LIGHT :: forall {r}. Eac3DrcLine -> ((# #) -> r) -> ((# #) -> r) -> r
Eac3DrcLine_FILM_LIGHT = Eac3DrcLine' "FILM_LIGHT"
pattern Eac3DrcLine_FILM_STANDARD :: Eac3DrcLine
pattern $bEac3DrcLine_FILM_STANDARD :: Eac3DrcLine
$mEac3DrcLine_FILM_STANDARD :: forall {r}. Eac3DrcLine -> ((# #) -> r) -> ((# #) -> r) -> r
Eac3DrcLine_FILM_STANDARD = Eac3DrcLine' "FILM_STANDARD"
pattern Eac3DrcLine_MUSIC_LIGHT :: Eac3DrcLine
pattern $bEac3DrcLine_MUSIC_LIGHT :: Eac3DrcLine
$mEac3DrcLine_MUSIC_LIGHT :: forall {r}. Eac3DrcLine -> ((# #) -> r) -> ((# #) -> r) -> r
Eac3DrcLine_MUSIC_LIGHT = Eac3DrcLine' "MUSIC_LIGHT"
pattern Eac3DrcLine_MUSIC_STANDARD :: Eac3DrcLine
pattern $bEac3DrcLine_MUSIC_STANDARD :: Eac3DrcLine
$mEac3DrcLine_MUSIC_STANDARD :: forall {r}. Eac3DrcLine -> ((# #) -> r) -> ((# #) -> r) -> r
Eac3DrcLine_MUSIC_STANDARD = Eac3DrcLine' "MUSIC_STANDARD"
pattern Eac3DrcLine_NONE :: Eac3DrcLine
pattern $bEac3DrcLine_NONE :: Eac3DrcLine
$mEac3DrcLine_NONE :: forall {r}. Eac3DrcLine -> ((# #) -> r) -> ((# #) -> r) -> r
Eac3DrcLine_NONE = Eac3DrcLine' "NONE"
pattern Eac3DrcLine_SPEECH :: Eac3DrcLine
pattern $bEac3DrcLine_SPEECH :: Eac3DrcLine
$mEac3DrcLine_SPEECH :: forall {r}. Eac3DrcLine -> ((# #) -> r) -> ((# #) -> r) -> r
Eac3DrcLine_SPEECH = Eac3DrcLine' "SPEECH"
{-# COMPLETE
Eac3DrcLine_FILM_LIGHT,
Eac3DrcLine_FILM_STANDARD,
Eac3DrcLine_MUSIC_LIGHT,
Eac3DrcLine_MUSIC_STANDARD,
Eac3DrcLine_NONE,
Eac3DrcLine_SPEECH,
Eac3DrcLine'
#-}