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