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