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