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