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