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