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