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