{-# 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.Prelude as Prelude
newtype H265Tier = H265Tier'
{ H265Tier -> Text
fromH265Tier ::
Core.Text
}
deriving stock
( Int -> H265Tier -> ShowS
[H265Tier] -> ShowS
H265Tier -> String
(Int -> H265Tier -> ShowS)
-> (H265Tier -> String) -> ([H265Tier] -> ShowS) -> Show H265Tier
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]
(Int -> ReadS H265Tier)
-> ReadS [H265Tier]
-> ReadPrec H265Tier
-> ReadPrec [H265Tier]
-> Read 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
(H265Tier -> H265Tier -> Bool)
-> (H265Tier -> H265Tier -> Bool) -> Eq H265Tier
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
Eq H265Tier
-> (H265Tier -> H265Tier -> Ordering)
-> (H265Tier -> H265Tier -> Bool)
-> (H265Tier -> H265Tier -> Bool)
-> (H265Tier -> H265Tier -> Bool)
-> (H265Tier -> H265Tier -> Bool)
-> (H265Tier -> H265Tier -> H265Tier)
-> (H265Tier -> H265Tier -> H265Tier)
-> Ord 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
$cp1Ord :: Eq H265Tier
Prelude.Ord,
(forall x. H265Tier -> Rep H265Tier x)
-> (forall x. Rep H265Tier x -> H265Tier) -> Generic H265Tier
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
( Int -> H265Tier -> Int
H265Tier -> Int
(Int -> H265Tier -> Int) -> (H265Tier -> Int) -> Hashable H265Tier
forall 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 -> ()
(H265Tier -> ()) -> NFData H265Tier
forall a. (a -> ()) -> NFData a
rnf :: H265Tier -> ()
$crnf :: H265Tier -> ()
Prelude.NFData,
Text -> Either String H265Tier
(Text -> Either String H265Tier) -> FromText H265Tier
forall a. (Text -> Either String a) -> FromText a
fromText :: Text -> Either String H265Tier
$cfromText :: Text -> Either String H265Tier
Core.FromText,
H265Tier -> Text
(H265Tier -> Text) -> ToText H265Tier
forall a. (a -> Text) -> ToText a
toText :: H265Tier -> Text
$ctoText :: H265Tier -> Text
Core.ToText,
H265Tier -> ByteString
(H265Tier -> ByteString) -> ToByteString H265Tier
forall a. (a -> ByteString) -> ToByteString a
toBS :: H265Tier -> ByteString
$ctoBS :: H265Tier -> ByteString
Core.ToByteString,
H265Tier -> ByteStringBuilder
(H265Tier -> ByteStringBuilder) -> ToLog H265Tier
forall a. (a -> ByteStringBuilder) -> ToLog a
build :: H265Tier -> ByteStringBuilder
$cbuild :: H265Tier -> ByteStringBuilder
Core.ToLog,
HeaderName -> H265Tier -> [Header]
(HeaderName -> H265Tier -> [Header]) -> ToHeader H265Tier
forall a. (HeaderName -> a -> [Header]) -> ToHeader a
toHeader :: HeaderName -> H265Tier -> [Header]
$ctoHeader :: HeaderName -> H265Tier -> [Header]
Core.ToHeader,
H265Tier -> QueryString
(H265Tier -> QueryString) -> ToQuery H265Tier
forall a. (a -> QueryString) -> ToQuery a
toQuery :: H265Tier -> QueryString
$ctoQuery :: H265Tier -> QueryString
Core.ToQuery,
Value -> Parser [H265Tier]
Value -> Parser H265Tier
(Value -> Parser H265Tier)
-> (Value -> Parser [H265Tier]) -> FromJSON 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
Core.FromJSON,
FromJSONKeyFunction [H265Tier]
FromJSONKeyFunction H265Tier
FromJSONKeyFunction H265Tier
-> FromJSONKeyFunction [H265Tier] -> FromJSONKey H265Tier
forall a.
FromJSONKeyFunction a -> FromJSONKeyFunction [a] -> FromJSONKey a
fromJSONKeyList :: FromJSONKeyFunction [H265Tier]
$cfromJSONKeyList :: FromJSONKeyFunction [H265Tier]
fromJSONKey :: FromJSONKeyFunction H265Tier
$cfromJSONKey :: FromJSONKeyFunction H265Tier
Core.FromJSONKey,
[H265Tier] -> Encoding
[H265Tier] -> Value
H265Tier -> Encoding
H265Tier -> Value
(H265Tier -> Value)
-> (H265Tier -> Encoding)
-> ([H265Tier] -> Value)
-> ([H265Tier] -> Encoding)
-> ToJSON H265Tier
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
Core.ToJSON,
ToJSONKeyFunction [H265Tier]
ToJSONKeyFunction H265Tier
ToJSONKeyFunction H265Tier
-> ToJSONKeyFunction [H265Tier] -> ToJSONKey H265Tier
forall a.
ToJSONKeyFunction a -> ToJSONKeyFunction [a] -> ToJSONKey a
toJSONKeyList :: ToJSONKeyFunction [H265Tier]
$ctoJSONKeyList :: ToJSONKeyFunction [H265Tier]
toJSONKey :: ToJSONKeyFunction H265Tier
$ctoJSONKey :: ToJSONKeyFunction H265Tier
Core.ToJSONKey,
[Node] -> Either String H265Tier
([Node] -> Either String H265Tier) -> FromXML H265Tier
forall a. ([Node] -> Either String a) -> FromXML a
parseXML :: [Node] -> Either String H265Tier
$cparseXML :: [Node] -> Either String H265Tier
Core.FromXML,
H265Tier -> XML
(H265Tier -> XML) -> ToXML H265Tier
forall a. (a -> XML) -> ToXML a
toXML :: H265Tier -> XML
$ctoXML :: H265Tier -> XML
Core.ToXML
)
pattern H265Tier_HIGH :: H265Tier
pattern $bH265Tier_HIGH :: H265Tier
$mH265Tier_HIGH :: forall r. H265Tier -> (Void# -> r) -> (Void# -> r) -> r
H265Tier_HIGH = H265Tier' "HIGH"
pattern H265Tier_MAIN :: H265Tier
pattern $bH265Tier_MAIN :: H265Tier
$mH265Tier_MAIN :: forall r. H265Tier -> (Void# -> r) -> (Void# -> r) -> r
H265Tier_MAIN = H265Tier' "MAIN"
{-# COMPLETE
H265Tier_HIGH,
H265Tier_MAIN,
H265Tier'
#-}