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