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