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