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