{-# LANGUAGE DeriveGeneric #-}
{-# LANGUAGE DerivingStrategies #-}
{-# LANGUAGE GeneralizedNewtypeDeriving #-}
{-# LANGUAGE LambdaCase #-}
{-# LANGUAGE OverloadedStrings #-}
{-# LANGUAGE PatternSynonyms #-}
{-# LANGUAGE StrictData #-}
{-# LANGUAGE NoImplicitPrelude #-}
{-# OPTIONS_GHC -fno-warn-unused-imports #-}
module Amazonka.KinesisVideoArchivedMedia.Types.DASHDisplayFragmentTimestamp
( DASHDisplayFragmentTimestamp
( ..,
DASHDisplayFragmentTimestamp_ALWAYS,
DASHDisplayFragmentTimestamp_NEVER
),
)
where
import qualified Amazonka.Core as Core
import qualified Amazonka.Data as Data
import qualified Amazonka.Prelude as Prelude
newtype DASHDisplayFragmentTimestamp = DASHDisplayFragmentTimestamp'
{ DASHDisplayFragmentTimestamp -> Text
fromDASHDisplayFragmentTimestamp ::
Data.Text
}
deriving stock
( Int -> DASHDisplayFragmentTimestamp -> ShowS
[DASHDisplayFragmentTimestamp] -> ShowS
DASHDisplayFragmentTimestamp -> String
forall a.
(Int -> a -> ShowS) -> (a -> String) -> ([a] -> ShowS) -> Show a
showList :: [DASHDisplayFragmentTimestamp] -> ShowS
$cshowList :: [DASHDisplayFragmentTimestamp] -> ShowS
show :: DASHDisplayFragmentTimestamp -> String
$cshow :: DASHDisplayFragmentTimestamp -> String
showsPrec :: Int -> DASHDisplayFragmentTimestamp -> ShowS
$cshowsPrec :: Int -> DASHDisplayFragmentTimestamp -> ShowS
Prelude.Show,
ReadPrec [DASHDisplayFragmentTimestamp]
ReadPrec DASHDisplayFragmentTimestamp
Int -> ReadS DASHDisplayFragmentTimestamp
ReadS [DASHDisplayFragmentTimestamp]
forall a.
(Int -> ReadS a)
-> ReadS [a] -> ReadPrec a -> ReadPrec [a] -> Read a
readListPrec :: ReadPrec [DASHDisplayFragmentTimestamp]
$creadListPrec :: ReadPrec [DASHDisplayFragmentTimestamp]
readPrec :: ReadPrec DASHDisplayFragmentTimestamp
$creadPrec :: ReadPrec DASHDisplayFragmentTimestamp
readList :: ReadS [DASHDisplayFragmentTimestamp]
$creadList :: ReadS [DASHDisplayFragmentTimestamp]
readsPrec :: Int -> ReadS DASHDisplayFragmentTimestamp
$creadsPrec :: Int -> ReadS DASHDisplayFragmentTimestamp
Prelude.Read,
DASHDisplayFragmentTimestamp
-> DASHDisplayFragmentTimestamp -> Bool
forall a. (a -> a -> Bool) -> (a -> a -> Bool) -> Eq a
/= :: DASHDisplayFragmentTimestamp
-> DASHDisplayFragmentTimestamp -> Bool
$c/= :: DASHDisplayFragmentTimestamp
-> DASHDisplayFragmentTimestamp -> Bool
== :: DASHDisplayFragmentTimestamp
-> DASHDisplayFragmentTimestamp -> Bool
$c== :: DASHDisplayFragmentTimestamp
-> DASHDisplayFragmentTimestamp -> Bool
Prelude.Eq,
Eq DASHDisplayFragmentTimestamp
DASHDisplayFragmentTimestamp
-> DASHDisplayFragmentTimestamp -> Bool
DASHDisplayFragmentTimestamp
-> DASHDisplayFragmentTimestamp -> Ordering
DASHDisplayFragmentTimestamp
-> DASHDisplayFragmentTimestamp -> DASHDisplayFragmentTimestamp
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 :: DASHDisplayFragmentTimestamp
-> DASHDisplayFragmentTimestamp -> DASHDisplayFragmentTimestamp
$cmin :: DASHDisplayFragmentTimestamp
-> DASHDisplayFragmentTimestamp -> DASHDisplayFragmentTimestamp
max :: DASHDisplayFragmentTimestamp
-> DASHDisplayFragmentTimestamp -> DASHDisplayFragmentTimestamp
$cmax :: DASHDisplayFragmentTimestamp
-> DASHDisplayFragmentTimestamp -> DASHDisplayFragmentTimestamp
>= :: DASHDisplayFragmentTimestamp
-> DASHDisplayFragmentTimestamp -> Bool
$c>= :: DASHDisplayFragmentTimestamp
-> DASHDisplayFragmentTimestamp -> Bool
> :: DASHDisplayFragmentTimestamp
-> DASHDisplayFragmentTimestamp -> Bool
$c> :: DASHDisplayFragmentTimestamp
-> DASHDisplayFragmentTimestamp -> Bool
<= :: DASHDisplayFragmentTimestamp
-> DASHDisplayFragmentTimestamp -> Bool
$c<= :: DASHDisplayFragmentTimestamp
-> DASHDisplayFragmentTimestamp -> Bool
< :: DASHDisplayFragmentTimestamp
-> DASHDisplayFragmentTimestamp -> Bool
$c< :: DASHDisplayFragmentTimestamp
-> DASHDisplayFragmentTimestamp -> Bool
compare :: DASHDisplayFragmentTimestamp
-> DASHDisplayFragmentTimestamp -> Ordering
$ccompare :: DASHDisplayFragmentTimestamp
-> DASHDisplayFragmentTimestamp -> Ordering
Prelude.Ord,
forall x.
Rep DASHDisplayFragmentTimestamp x -> DASHDisplayFragmentTimestamp
forall x.
DASHDisplayFragmentTimestamp -> Rep DASHDisplayFragmentTimestamp x
forall a.
(forall x. a -> Rep a x) -> (forall x. Rep a x -> a) -> Generic a
$cto :: forall x.
Rep DASHDisplayFragmentTimestamp x -> DASHDisplayFragmentTimestamp
$cfrom :: forall x.
DASHDisplayFragmentTimestamp -> Rep DASHDisplayFragmentTimestamp x
Prelude.Generic
)
deriving newtype
( Eq DASHDisplayFragmentTimestamp
Int -> DASHDisplayFragmentTimestamp -> Int
DASHDisplayFragmentTimestamp -> Int
forall a. Eq a -> (Int -> a -> Int) -> (a -> Int) -> Hashable a
hash :: DASHDisplayFragmentTimestamp -> Int
$chash :: DASHDisplayFragmentTimestamp -> Int
hashWithSalt :: Int -> DASHDisplayFragmentTimestamp -> Int
$chashWithSalt :: Int -> DASHDisplayFragmentTimestamp -> Int
Prelude.Hashable,
DASHDisplayFragmentTimestamp -> ()
forall a. (a -> ()) -> NFData a
rnf :: DASHDisplayFragmentTimestamp -> ()
$crnf :: DASHDisplayFragmentTimestamp -> ()
Prelude.NFData,
Text -> Either String DASHDisplayFragmentTimestamp
forall a. (Text -> Either String a) -> FromText a
fromText :: Text -> Either String DASHDisplayFragmentTimestamp
$cfromText :: Text -> Either String DASHDisplayFragmentTimestamp
Data.FromText,
DASHDisplayFragmentTimestamp -> Text
forall a. (a -> Text) -> ToText a
toText :: DASHDisplayFragmentTimestamp -> Text
$ctoText :: DASHDisplayFragmentTimestamp -> Text
Data.ToText,
DASHDisplayFragmentTimestamp -> ByteString
forall a. (a -> ByteString) -> ToByteString a
toBS :: DASHDisplayFragmentTimestamp -> ByteString
$ctoBS :: DASHDisplayFragmentTimestamp -> ByteString
Data.ToByteString,
DASHDisplayFragmentTimestamp -> ByteStringBuilder
forall a. (a -> ByteStringBuilder) -> ToLog a
build :: DASHDisplayFragmentTimestamp -> ByteStringBuilder
$cbuild :: DASHDisplayFragmentTimestamp -> ByteStringBuilder
Data.ToLog,
HeaderName -> DASHDisplayFragmentTimestamp -> [Header]
forall a. (HeaderName -> a -> [Header]) -> ToHeader a
toHeader :: HeaderName -> DASHDisplayFragmentTimestamp -> [Header]
$ctoHeader :: HeaderName -> DASHDisplayFragmentTimestamp -> [Header]
Data.ToHeader,
DASHDisplayFragmentTimestamp -> QueryString
forall a. (a -> QueryString) -> ToQuery a
toQuery :: DASHDisplayFragmentTimestamp -> QueryString
$ctoQuery :: DASHDisplayFragmentTimestamp -> QueryString
Data.ToQuery,
Value -> Parser [DASHDisplayFragmentTimestamp]
Value -> Parser DASHDisplayFragmentTimestamp
forall a.
(Value -> Parser a) -> (Value -> Parser [a]) -> FromJSON a
parseJSONList :: Value -> Parser [DASHDisplayFragmentTimestamp]
$cparseJSONList :: Value -> Parser [DASHDisplayFragmentTimestamp]
parseJSON :: Value -> Parser DASHDisplayFragmentTimestamp
$cparseJSON :: Value -> Parser DASHDisplayFragmentTimestamp
Data.FromJSON,
FromJSONKeyFunction [DASHDisplayFragmentTimestamp]
FromJSONKeyFunction DASHDisplayFragmentTimestamp
forall a.
FromJSONKeyFunction a -> FromJSONKeyFunction [a] -> FromJSONKey a
fromJSONKeyList :: FromJSONKeyFunction [DASHDisplayFragmentTimestamp]
$cfromJSONKeyList :: FromJSONKeyFunction [DASHDisplayFragmentTimestamp]
fromJSONKey :: FromJSONKeyFunction DASHDisplayFragmentTimestamp
$cfromJSONKey :: FromJSONKeyFunction DASHDisplayFragmentTimestamp
Data.FromJSONKey,
[DASHDisplayFragmentTimestamp] -> Encoding
[DASHDisplayFragmentTimestamp] -> Value
DASHDisplayFragmentTimestamp -> Encoding
DASHDisplayFragmentTimestamp -> Value
forall a.
(a -> Value)
-> (a -> Encoding)
-> ([a] -> Value)
-> ([a] -> Encoding)
-> ToJSON a
toEncodingList :: [DASHDisplayFragmentTimestamp] -> Encoding
$ctoEncodingList :: [DASHDisplayFragmentTimestamp] -> Encoding
toJSONList :: [DASHDisplayFragmentTimestamp] -> Value
$ctoJSONList :: [DASHDisplayFragmentTimestamp] -> Value
toEncoding :: DASHDisplayFragmentTimestamp -> Encoding
$ctoEncoding :: DASHDisplayFragmentTimestamp -> Encoding
toJSON :: DASHDisplayFragmentTimestamp -> Value
$ctoJSON :: DASHDisplayFragmentTimestamp -> Value
Data.ToJSON,
ToJSONKeyFunction [DASHDisplayFragmentTimestamp]
ToJSONKeyFunction DASHDisplayFragmentTimestamp
forall a.
ToJSONKeyFunction a -> ToJSONKeyFunction [a] -> ToJSONKey a
toJSONKeyList :: ToJSONKeyFunction [DASHDisplayFragmentTimestamp]
$ctoJSONKeyList :: ToJSONKeyFunction [DASHDisplayFragmentTimestamp]
toJSONKey :: ToJSONKeyFunction DASHDisplayFragmentTimestamp
$ctoJSONKey :: ToJSONKeyFunction DASHDisplayFragmentTimestamp
Data.ToJSONKey,
[Node] -> Either String DASHDisplayFragmentTimestamp
forall a. ([Node] -> Either String a) -> FromXML a
parseXML :: [Node] -> Either String DASHDisplayFragmentTimestamp
$cparseXML :: [Node] -> Either String DASHDisplayFragmentTimestamp
Data.FromXML,
DASHDisplayFragmentTimestamp -> XML
forall a. (a -> XML) -> ToXML a
toXML :: DASHDisplayFragmentTimestamp -> XML
$ctoXML :: DASHDisplayFragmentTimestamp -> XML
Data.ToXML
)
pattern DASHDisplayFragmentTimestamp_ALWAYS :: DASHDisplayFragmentTimestamp
pattern $bDASHDisplayFragmentTimestamp_ALWAYS :: DASHDisplayFragmentTimestamp
$mDASHDisplayFragmentTimestamp_ALWAYS :: forall {r}.
DASHDisplayFragmentTimestamp -> ((# #) -> r) -> ((# #) -> r) -> r
DASHDisplayFragmentTimestamp_ALWAYS = DASHDisplayFragmentTimestamp' "ALWAYS"
pattern DASHDisplayFragmentTimestamp_NEVER :: DASHDisplayFragmentTimestamp
pattern $bDASHDisplayFragmentTimestamp_NEVER :: DASHDisplayFragmentTimestamp
$mDASHDisplayFragmentTimestamp_NEVER :: forall {r}.
DASHDisplayFragmentTimestamp -> ((# #) -> r) -> ((# #) -> r) -> r
DASHDisplayFragmentTimestamp_NEVER = DASHDisplayFragmentTimestamp' "NEVER"
{-# COMPLETE
DASHDisplayFragmentTimestamp_ALWAYS,
DASHDisplayFragmentTimestamp_NEVER,
DASHDisplayFragmentTimestamp'
#-}