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