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