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