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