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