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