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