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