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