{-# 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.Data as Data
import qualified Amazonka.Prelude as Prelude
newtype SmoothGroupTimestampOffsetMode = SmoothGroupTimestampOffsetMode'
{ SmoothGroupTimestampOffsetMode -> Text
fromSmoothGroupTimestampOffsetMode ::
Data.Text
}
deriving stock
( Int -> SmoothGroupTimestampOffsetMode -> ShowS
[SmoothGroupTimestampOffsetMode] -> ShowS
SmoothGroupTimestampOffsetMode -> String
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]
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
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
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
Prelude.Ord,
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
( Eq SmoothGroupTimestampOffsetMode
Int -> SmoothGroupTimestampOffsetMode -> Int
SmoothGroupTimestampOffsetMode -> Int
forall a. Eq 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 -> ()
forall a. (a -> ()) -> NFData a
rnf :: SmoothGroupTimestampOffsetMode -> ()
$crnf :: SmoothGroupTimestampOffsetMode -> ()
Prelude.NFData,
Text -> Either String SmoothGroupTimestampOffsetMode
forall a. (Text -> Either String a) -> FromText a
fromText :: Text -> Either String SmoothGroupTimestampOffsetMode
$cfromText :: Text -> Either String SmoothGroupTimestampOffsetMode
Data.FromText,
SmoothGroupTimestampOffsetMode -> Text
forall a. (a -> Text) -> ToText a
toText :: SmoothGroupTimestampOffsetMode -> Text
$ctoText :: SmoothGroupTimestampOffsetMode -> Text
Data.ToText,
SmoothGroupTimestampOffsetMode -> ByteString
forall a. (a -> ByteString) -> ToByteString a
toBS :: SmoothGroupTimestampOffsetMode -> ByteString
$ctoBS :: SmoothGroupTimestampOffsetMode -> ByteString
Data.ToByteString,
SmoothGroupTimestampOffsetMode -> ByteStringBuilder
forall a. (a -> ByteStringBuilder) -> ToLog a
build :: SmoothGroupTimestampOffsetMode -> ByteStringBuilder
$cbuild :: SmoothGroupTimestampOffsetMode -> ByteStringBuilder
Data.ToLog,
HeaderName -> SmoothGroupTimestampOffsetMode -> [Header]
forall a. (HeaderName -> a -> [Header]) -> ToHeader a
toHeader :: HeaderName -> SmoothGroupTimestampOffsetMode -> [Header]
$ctoHeader :: HeaderName -> SmoothGroupTimestampOffsetMode -> [Header]
Data.ToHeader,
SmoothGroupTimestampOffsetMode -> QueryString
forall a. (a -> QueryString) -> ToQuery a
toQuery :: SmoothGroupTimestampOffsetMode -> QueryString
$ctoQuery :: SmoothGroupTimestampOffsetMode -> QueryString
Data.ToQuery,
Value -> Parser [SmoothGroupTimestampOffsetMode]
Value -> Parser 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
Data.FromJSON,
FromJSONKeyFunction [SmoothGroupTimestampOffsetMode]
FromJSONKeyFunction SmoothGroupTimestampOffsetMode
forall a.
FromJSONKeyFunction a -> FromJSONKeyFunction [a] -> FromJSONKey a
fromJSONKeyList :: FromJSONKeyFunction [SmoothGroupTimestampOffsetMode]
$cfromJSONKeyList :: FromJSONKeyFunction [SmoothGroupTimestampOffsetMode]
fromJSONKey :: FromJSONKeyFunction SmoothGroupTimestampOffsetMode
$cfromJSONKey :: FromJSONKeyFunction SmoothGroupTimestampOffsetMode
Data.FromJSONKey,
[SmoothGroupTimestampOffsetMode] -> Encoding
[SmoothGroupTimestampOffsetMode] -> Value
SmoothGroupTimestampOffsetMode -> Encoding
SmoothGroupTimestampOffsetMode -> Value
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
Data.ToJSON,
ToJSONKeyFunction [SmoothGroupTimestampOffsetMode]
ToJSONKeyFunction SmoothGroupTimestampOffsetMode
forall a.
ToJSONKeyFunction a -> ToJSONKeyFunction [a] -> ToJSONKey a
toJSONKeyList :: ToJSONKeyFunction [SmoothGroupTimestampOffsetMode]
$ctoJSONKeyList :: ToJSONKeyFunction [SmoothGroupTimestampOffsetMode]
toJSONKey :: ToJSONKeyFunction SmoothGroupTimestampOffsetMode
$ctoJSONKey :: ToJSONKeyFunction SmoothGroupTimestampOffsetMode
Data.ToJSONKey,
[Node] -> Either String SmoothGroupTimestampOffsetMode
forall a. ([Node] -> Either String a) -> FromXML a
parseXML :: [Node] -> Either String SmoothGroupTimestampOffsetMode
$cparseXML :: [Node] -> Either String SmoothGroupTimestampOffsetMode
Data.FromXML,
SmoothGroupTimestampOffsetMode -> XML
forall a. (a -> XML) -> ToXML a
toXML :: SmoothGroupTimestampOffsetMode -> XML
$ctoXML :: SmoothGroupTimestampOffsetMode -> XML
Data.ToXML
)
pattern SmoothGroupTimestampOffsetMode_USE_CONFIGURED_OFFSET :: SmoothGroupTimestampOffsetMode
pattern $bSmoothGroupTimestampOffsetMode_USE_CONFIGURED_OFFSET :: SmoothGroupTimestampOffsetMode
$mSmoothGroupTimestampOffsetMode_USE_CONFIGURED_OFFSET :: forall {r}.
SmoothGroupTimestampOffsetMode -> ((# #) -> r) -> ((# #) -> 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 -> ((# #) -> r) -> ((# #) -> r) -> r
SmoothGroupTimestampOffsetMode_USE_EVENT_START_DATE = SmoothGroupTimestampOffsetMode' "USE_EVENT_START_DATE"
{-# COMPLETE
SmoothGroupTimestampOffsetMode_USE_CONFIGURED_OFFSET,
SmoothGroupTimestampOffsetMode_USE_EVENT_START_DATE,
SmoothGroupTimestampOffsetMode'
#-}