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