{-# 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.Prelude as Prelude
newtype ProtectiveEquipmentType = ProtectiveEquipmentType'
{ ProtectiveEquipmentType -> Text
fromProtectiveEquipmentType ::
Core.Text
}
deriving stock
( Int -> ProtectiveEquipmentType -> ShowS
[ProtectiveEquipmentType] -> ShowS
ProtectiveEquipmentType -> String
(Int -> ProtectiveEquipmentType -> ShowS)
-> (ProtectiveEquipmentType -> String)
-> ([ProtectiveEquipmentType] -> ShowS)
-> Show ProtectiveEquipmentType
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]
(Int -> ReadS ProtectiveEquipmentType)
-> ReadS [ProtectiveEquipmentType]
-> ReadPrec ProtectiveEquipmentType
-> ReadPrec [ProtectiveEquipmentType]
-> Read 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
(ProtectiveEquipmentType -> ProtectiveEquipmentType -> Bool)
-> (ProtectiveEquipmentType -> ProtectiveEquipmentType -> Bool)
-> Eq ProtectiveEquipmentType
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
Eq ProtectiveEquipmentType
-> (ProtectiveEquipmentType -> ProtectiveEquipmentType -> Ordering)
-> (ProtectiveEquipmentType -> ProtectiveEquipmentType -> Bool)
-> (ProtectiveEquipmentType -> ProtectiveEquipmentType -> Bool)
-> (ProtectiveEquipmentType -> ProtectiveEquipmentType -> Bool)
-> (ProtectiveEquipmentType -> ProtectiveEquipmentType -> Bool)
-> (ProtectiveEquipmentType
-> ProtectiveEquipmentType -> ProtectiveEquipmentType)
-> (ProtectiveEquipmentType
-> ProtectiveEquipmentType -> ProtectiveEquipmentType)
-> Ord 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
$cp1Ord :: Eq ProtectiveEquipmentType
Prelude.Ord,
(forall x.
ProtectiveEquipmentType -> Rep ProtectiveEquipmentType x)
-> (forall x.
Rep ProtectiveEquipmentType x -> ProtectiveEquipmentType)
-> Generic ProtectiveEquipmentType
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
( Int -> ProtectiveEquipmentType -> Int
ProtectiveEquipmentType -> Int
(Int -> ProtectiveEquipmentType -> Int)
-> (ProtectiveEquipmentType -> Int)
-> Hashable ProtectiveEquipmentType
forall 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 -> ()
(ProtectiveEquipmentType -> ()) -> NFData ProtectiveEquipmentType
forall a. (a -> ()) -> NFData a
rnf :: ProtectiveEquipmentType -> ()
$crnf :: ProtectiveEquipmentType -> ()
Prelude.NFData,
Text -> Either String ProtectiveEquipmentType
(Text -> Either String ProtectiveEquipmentType)
-> FromText ProtectiveEquipmentType
forall a. (Text -> Either String a) -> FromText a
fromText :: Text -> Either String ProtectiveEquipmentType
$cfromText :: Text -> Either String ProtectiveEquipmentType
Core.FromText,
ProtectiveEquipmentType -> Text
(ProtectiveEquipmentType -> Text) -> ToText ProtectiveEquipmentType
forall a. (a -> Text) -> ToText a
toText :: ProtectiveEquipmentType -> Text
$ctoText :: ProtectiveEquipmentType -> Text
Core.ToText,
ProtectiveEquipmentType -> ByteString
(ProtectiveEquipmentType -> ByteString)
-> ToByteString ProtectiveEquipmentType
forall a. (a -> ByteString) -> ToByteString a
toBS :: ProtectiveEquipmentType -> ByteString
$ctoBS :: ProtectiveEquipmentType -> ByteString
Core.ToByteString,
ProtectiveEquipmentType -> ByteStringBuilder
(ProtectiveEquipmentType -> ByteStringBuilder)
-> ToLog ProtectiveEquipmentType
forall a. (a -> ByteStringBuilder) -> ToLog a
build :: ProtectiveEquipmentType -> ByteStringBuilder
$cbuild :: ProtectiveEquipmentType -> ByteStringBuilder
Core.ToLog,
HeaderName -> ProtectiveEquipmentType -> [Header]
(HeaderName -> ProtectiveEquipmentType -> [Header])
-> ToHeader ProtectiveEquipmentType
forall a. (HeaderName -> a -> [Header]) -> ToHeader a
toHeader :: HeaderName -> ProtectiveEquipmentType -> [Header]
$ctoHeader :: HeaderName -> ProtectiveEquipmentType -> [Header]
Core.ToHeader,
ProtectiveEquipmentType -> QueryString
(ProtectiveEquipmentType -> QueryString)
-> ToQuery ProtectiveEquipmentType
forall a. (a -> QueryString) -> ToQuery a
toQuery :: ProtectiveEquipmentType -> QueryString
$ctoQuery :: ProtectiveEquipmentType -> QueryString
Core.ToQuery,
Value -> Parser [ProtectiveEquipmentType]
Value -> Parser ProtectiveEquipmentType
(Value -> Parser ProtectiveEquipmentType)
-> (Value -> Parser [ProtectiveEquipmentType])
-> FromJSON 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
Core.FromJSON,
FromJSONKeyFunction [ProtectiveEquipmentType]
FromJSONKeyFunction ProtectiveEquipmentType
FromJSONKeyFunction ProtectiveEquipmentType
-> FromJSONKeyFunction [ProtectiveEquipmentType]
-> FromJSONKey ProtectiveEquipmentType
forall a.
FromJSONKeyFunction a -> FromJSONKeyFunction [a] -> FromJSONKey a
fromJSONKeyList :: FromJSONKeyFunction [ProtectiveEquipmentType]
$cfromJSONKeyList :: FromJSONKeyFunction [ProtectiveEquipmentType]
fromJSONKey :: FromJSONKeyFunction ProtectiveEquipmentType
$cfromJSONKey :: FromJSONKeyFunction ProtectiveEquipmentType
Core.FromJSONKey,
[ProtectiveEquipmentType] -> Encoding
[ProtectiveEquipmentType] -> Value
ProtectiveEquipmentType -> Encoding
ProtectiveEquipmentType -> Value
(ProtectiveEquipmentType -> Value)
-> (ProtectiveEquipmentType -> Encoding)
-> ([ProtectiveEquipmentType] -> Value)
-> ([ProtectiveEquipmentType] -> Encoding)
-> ToJSON ProtectiveEquipmentType
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
Core.ToJSON,
ToJSONKeyFunction [ProtectiveEquipmentType]
ToJSONKeyFunction ProtectiveEquipmentType
ToJSONKeyFunction ProtectiveEquipmentType
-> ToJSONKeyFunction [ProtectiveEquipmentType]
-> ToJSONKey ProtectiveEquipmentType
forall a.
ToJSONKeyFunction a -> ToJSONKeyFunction [a] -> ToJSONKey a
toJSONKeyList :: ToJSONKeyFunction [ProtectiveEquipmentType]
$ctoJSONKeyList :: ToJSONKeyFunction [ProtectiveEquipmentType]
toJSONKey :: ToJSONKeyFunction ProtectiveEquipmentType
$ctoJSONKey :: ToJSONKeyFunction ProtectiveEquipmentType
Core.ToJSONKey,
[Node] -> Either String ProtectiveEquipmentType
([Node] -> Either String ProtectiveEquipmentType)
-> FromXML ProtectiveEquipmentType
forall a. ([Node] -> Either String a) -> FromXML a
parseXML :: [Node] -> Either String ProtectiveEquipmentType
$cparseXML :: [Node] -> Either String ProtectiveEquipmentType
Core.FromXML,
ProtectiveEquipmentType -> XML
(ProtectiveEquipmentType -> XML) -> ToXML ProtectiveEquipmentType
forall a. (a -> XML) -> ToXML a
toXML :: ProtectiveEquipmentType -> XML
$ctoXML :: ProtectiveEquipmentType -> XML
Core.ToXML
)
pattern ProtectiveEquipmentType_FACE_COVER :: ProtectiveEquipmentType
pattern $bProtectiveEquipmentType_FACE_COVER :: ProtectiveEquipmentType
$mProtectiveEquipmentType_FACE_COVER :: forall r.
ProtectiveEquipmentType -> (Void# -> r) -> (Void# -> r) -> r
ProtectiveEquipmentType_FACE_COVER = ProtectiveEquipmentType' "FACE_COVER"
pattern ProtectiveEquipmentType_HAND_COVER :: ProtectiveEquipmentType
pattern $bProtectiveEquipmentType_HAND_COVER :: ProtectiveEquipmentType
$mProtectiveEquipmentType_HAND_COVER :: forall r.
ProtectiveEquipmentType -> (Void# -> r) -> (Void# -> r) -> r
ProtectiveEquipmentType_HAND_COVER = ProtectiveEquipmentType' "HAND_COVER"
pattern ProtectiveEquipmentType_HEAD_COVER :: ProtectiveEquipmentType
pattern $bProtectiveEquipmentType_HEAD_COVER :: ProtectiveEquipmentType
$mProtectiveEquipmentType_HEAD_COVER :: forall r.
ProtectiveEquipmentType -> (Void# -> r) -> (Void# -> r) -> r
ProtectiveEquipmentType_HEAD_COVER = ProtectiveEquipmentType' "HEAD_COVER"
{-# COMPLETE
ProtectiveEquipmentType_FACE_COVER,
ProtectiveEquipmentType_HAND_COVER,
ProtectiveEquipmentType_HEAD_COVER,
ProtectiveEquipmentType'
#-}