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