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