{-# LANGUAGE DeriveGeneric #-}
{-# LANGUAGE DerivingStrategies #-}
{-# LANGUAGE GeneralizedNewtypeDeriving #-}
{-# LANGUAGE LambdaCase #-}
{-# LANGUAGE OverloadedStrings #-}
{-# LANGUAGE PatternSynonyms #-}
{-# LANGUAGE StrictData #-}
{-# LANGUAGE NoImplicitPrelude #-}
{-# OPTIONS_GHC -fno-warn-unused-imports #-}

-- Derived from AWS service descriptions, licensed under Apache 2.0.

-- |
-- Module      : Amazonka.DevOpsGuru.Types.InsightFeedbackOption
-- Copyright   : (c) 2013-2023 Brendan Hay
-- License     : Mozilla Public License, v. 2.0.
-- Maintainer  : Brendan Hay
-- Stability   : auto-generated
-- Portability : non-portable (GHC extensions)
module Amazonka.DevOpsGuru.Types.InsightFeedbackOption
  ( InsightFeedbackOption
      ( ..,
        InsightFeedbackOption_ALERT_TOO_SENSITIVE,
        InsightFeedbackOption_DATA_INCORRECT,
        InsightFeedbackOption_DATA_NOISY_ANOMALY,
        InsightFeedbackOption_RECOMMENDATION_USEFUL,
        InsightFeedbackOption_VALID_COLLECTION
      ),
  )
where

import qualified Amazonka.Core as Core
import qualified Amazonka.Data as Data
import qualified Amazonka.Prelude as Prelude

newtype InsightFeedbackOption = InsightFeedbackOption'
  { InsightFeedbackOption -> Text
fromInsightFeedbackOption ::
      Data.Text
  }
  deriving stock
    ( Int -> InsightFeedbackOption -> ShowS
[InsightFeedbackOption] -> ShowS
InsightFeedbackOption -> String
forall a.
(Int -> a -> ShowS) -> (a -> String) -> ([a] -> ShowS) -> Show a
showList :: [InsightFeedbackOption] -> ShowS
$cshowList :: [InsightFeedbackOption] -> ShowS
show :: InsightFeedbackOption -> String
$cshow :: InsightFeedbackOption -> String
showsPrec :: Int -> InsightFeedbackOption -> ShowS
$cshowsPrec :: Int -> InsightFeedbackOption -> ShowS
Prelude.Show,
      ReadPrec [InsightFeedbackOption]
ReadPrec InsightFeedbackOption
Int -> ReadS InsightFeedbackOption
ReadS [InsightFeedbackOption]
forall a.
(Int -> ReadS a)
-> ReadS [a] -> ReadPrec a -> ReadPrec [a] -> Read a
readListPrec :: ReadPrec [InsightFeedbackOption]
$creadListPrec :: ReadPrec [InsightFeedbackOption]
readPrec :: ReadPrec InsightFeedbackOption
$creadPrec :: ReadPrec InsightFeedbackOption
readList :: ReadS [InsightFeedbackOption]
$creadList :: ReadS [InsightFeedbackOption]
readsPrec :: Int -> ReadS InsightFeedbackOption
$creadsPrec :: Int -> ReadS InsightFeedbackOption
Prelude.Read,
      InsightFeedbackOption -> InsightFeedbackOption -> Bool
forall a. (a -> a -> Bool) -> (a -> a -> Bool) -> Eq a
/= :: InsightFeedbackOption -> InsightFeedbackOption -> Bool
$c/= :: InsightFeedbackOption -> InsightFeedbackOption -> Bool
== :: InsightFeedbackOption -> InsightFeedbackOption -> Bool
$c== :: InsightFeedbackOption -> InsightFeedbackOption -> Bool
Prelude.Eq,
      Eq InsightFeedbackOption
InsightFeedbackOption -> InsightFeedbackOption -> Bool
InsightFeedbackOption -> InsightFeedbackOption -> Ordering
InsightFeedbackOption
-> InsightFeedbackOption -> InsightFeedbackOption
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 :: InsightFeedbackOption
-> InsightFeedbackOption -> InsightFeedbackOption
$cmin :: InsightFeedbackOption
-> InsightFeedbackOption -> InsightFeedbackOption
max :: InsightFeedbackOption
-> InsightFeedbackOption -> InsightFeedbackOption
$cmax :: InsightFeedbackOption
-> InsightFeedbackOption -> InsightFeedbackOption
>= :: InsightFeedbackOption -> InsightFeedbackOption -> Bool
$c>= :: InsightFeedbackOption -> InsightFeedbackOption -> Bool
> :: InsightFeedbackOption -> InsightFeedbackOption -> Bool
$c> :: InsightFeedbackOption -> InsightFeedbackOption -> Bool
<= :: InsightFeedbackOption -> InsightFeedbackOption -> Bool
$c<= :: InsightFeedbackOption -> InsightFeedbackOption -> Bool
< :: InsightFeedbackOption -> InsightFeedbackOption -> Bool
$c< :: InsightFeedbackOption -> InsightFeedbackOption -> Bool
compare :: InsightFeedbackOption -> InsightFeedbackOption -> Ordering
$ccompare :: InsightFeedbackOption -> InsightFeedbackOption -> Ordering
Prelude.Ord,
      forall x. Rep InsightFeedbackOption x -> InsightFeedbackOption
forall x. InsightFeedbackOption -> Rep InsightFeedbackOption x
forall a.
(forall x. a -> Rep a x) -> (forall x. Rep a x -> a) -> Generic a
$cto :: forall x. Rep InsightFeedbackOption x -> InsightFeedbackOption
$cfrom :: forall x. InsightFeedbackOption -> Rep InsightFeedbackOption x
Prelude.Generic
    )
  deriving newtype
    ( Eq InsightFeedbackOption
Int -> InsightFeedbackOption -> Int
InsightFeedbackOption -> Int
forall a. Eq a -> (Int -> a -> Int) -> (a -> Int) -> Hashable a
hash :: InsightFeedbackOption -> Int
$chash :: InsightFeedbackOption -> Int
hashWithSalt :: Int -> InsightFeedbackOption -> Int
$chashWithSalt :: Int -> InsightFeedbackOption -> Int
Prelude.Hashable,
      InsightFeedbackOption -> ()
forall a. (a -> ()) -> NFData a
rnf :: InsightFeedbackOption -> ()
$crnf :: InsightFeedbackOption -> ()
Prelude.NFData,
      Text -> Either String InsightFeedbackOption
forall a. (Text -> Either String a) -> FromText a
fromText :: Text -> Either String InsightFeedbackOption
$cfromText :: Text -> Either String InsightFeedbackOption
Data.FromText,
      InsightFeedbackOption -> Text
forall a. (a -> Text) -> ToText a
toText :: InsightFeedbackOption -> Text
$ctoText :: InsightFeedbackOption -> Text
Data.ToText,
      InsightFeedbackOption -> ByteString
forall a. (a -> ByteString) -> ToByteString a
toBS :: InsightFeedbackOption -> ByteString
$ctoBS :: InsightFeedbackOption -> ByteString
Data.ToByteString,
      InsightFeedbackOption -> ByteStringBuilder
forall a. (a -> ByteStringBuilder) -> ToLog a
build :: InsightFeedbackOption -> ByteStringBuilder
$cbuild :: InsightFeedbackOption -> ByteStringBuilder
Data.ToLog,
      HeaderName -> InsightFeedbackOption -> [Header]
forall a. (HeaderName -> a -> [Header]) -> ToHeader a
toHeader :: HeaderName -> InsightFeedbackOption -> [Header]
$ctoHeader :: HeaderName -> InsightFeedbackOption -> [Header]
Data.ToHeader,
      InsightFeedbackOption -> QueryString
forall a. (a -> QueryString) -> ToQuery a
toQuery :: InsightFeedbackOption -> QueryString
$ctoQuery :: InsightFeedbackOption -> QueryString
Data.ToQuery,
      Value -> Parser [InsightFeedbackOption]
Value -> Parser InsightFeedbackOption
forall a.
(Value -> Parser a) -> (Value -> Parser [a]) -> FromJSON a
parseJSONList :: Value -> Parser [InsightFeedbackOption]
$cparseJSONList :: Value -> Parser [InsightFeedbackOption]
parseJSON :: Value -> Parser InsightFeedbackOption
$cparseJSON :: Value -> Parser InsightFeedbackOption
Data.FromJSON,
      FromJSONKeyFunction [InsightFeedbackOption]
FromJSONKeyFunction InsightFeedbackOption
forall a.
FromJSONKeyFunction a -> FromJSONKeyFunction [a] -> FromJSONKey a
fromJSONKeyList :: FromJSONKeyFunction [InsightFeedbackOption]
$cfromJSONKeyList :: FromJSONKeyFunction [InsightFeedbackOption]
fromJSONKey :: FromJSONKeyFunction InsightFeedbackOption
$cfromJSONKey :: FromJSONKeyFunction InsightFeedbackOption
Data.FromJSONKey,
      [InsightFeedbackOption] -> Encoding
[InsightFeedbackOption] -> Value
InsightFeedbackOption -> Encoding
InsightFeedbackOption -> Value
forall a.
(a -> Value)
-> (a -> Encoding)
-> ([a] -> Value)
-> ([a] -> Encoding)
-> ToJSON a
toEncodingList :: [InsightFeedbackOption] -> Encoding
$ctoEncodingList :: [InsightFeedbackOption] -> Encoding
toJSONList :: [InsightFeedbackOption] -> Value
$ctoJSONList :: [InsightFeedbackOption] -> Value
toEncoding :: InsightFeedbackOption -> Encoding
$ctoEncoding :: InsightFeedbackOption -> Encoding
toJSON :: InsightFeedbackOption -> Value
$ctoJSON :: InsightFeedbackOption -> Value
Data.ToJSON,
      ToJSONKeyFunction [InsightFeedbackOption]
ToJSONKeyFunction InsightFeedbackOption
forall a.
ToJSONKeyFunction a -> ToJSONKeyFunction [a] -> ToJSONKey a
toJSONKeyList :: ToJSONKeyFunction [InsightFeedbackOption]
$ctoJSONKeyList :: ToJSONKeyFunction [InsightFeedbackOption]
toJSONKey :: ToJSONKeyFunction InsightFeedbackOption
$ctoJSONKey :: ToJSONKeyFunction InsightFeedbackOption
Data.ToJSONKey,
      [Node] -> Either String InsightFeedbackOption
forall a. ([Node] -> Either String a) -> FromXML a
parseXML :: [Node] -> Either String InsightFeedbackOption
$cparseXML :: [Node] -> Either String InsightFeedbackOption
Data.FromXML,
      InsightFeedbackOption -> XML
forall a. (a -> XML) -> ToXML a
toXML :: InsightFeedbackOption -> XML
$ctoXML :: InsightFeedbackOption -> XML
Data.ToXML
    )

pattern InsightFeedbackOption_ALERT_TOO_SENSITIVE :: InsightFeedbackOption
pattern $bInsightFeedbackOption_ALERT_TOO_SENSITIVE :: InsightFeedbackOption
$mInsightFeedbackOption_ALERT_TOO_SENSITIVE :: forall {r}.
InsightFeedbackOption -> ((# #) -> r) -> ((# #) -> r) -> r
InsightFeedbackOption_ALERT_TOO_SENSITIVE = InsightFeedbackOption' "ALERT_TOO_SENSITIVE"

pattern InsightFeedbackOption_DATA_INCORRECT :: InsightFeedbackOption
pattern $bInsightFeedbackOption_DATA_INCORRECT :: InsightFeedbackOption
$mInsightFeedbackOption_DATA_INCORRECT :: forall {r}.
InsightFeedbackOption -> ((# #) -> r) -> ((# #) -> r) -> r
InsightFeedbackOption_DATA_INCORRECT = InsightFeedbackOption' "DATA_INCORRECT"

pattern InsightFeedbackOption_DATA_NOISY_ANOMALY :: InsightFeedbackOption
pattern $bInsightFeedbackOption_DATA_NOISY_ANOMALY :: InsightFeedbackOption
$mInsightFeedbackOption_DATA_NOISY_ANOMALY :: forall {r}.
InsightFeedbackOption -> ((# #) -> r) -> ((# #) -> r) -> r
InsightFeedbackOption_DATA_NOISY_ANOMALY = InsightFeedbackOption' "DATA_NOISY_ANOMALY"

pattern InsightFeedbackOption_RECOMMENDATION_USEFUL :: InsightFeedbackOption
pattern $bInsightFeedbackOption_RECOMMENDATION_USEFUL :: InsightFeedbackOption
$mInsightFeedbackOption_RECOMMENDATION_USEFUL :: forall {r}.
InsightFeedbackOption -> ((# #) -> r) -> ((# #) -> r) -> r
InsightFeedbackOption_RECOMMENDATION_USEFUL = InsightFeedbackOption' "RECOMMENDATION_USEFUL"

pattern InsightFeedbackOption_VALID_COLLECTION :: InsightFeedbackOption
pattern $bInsightFeedbackOption_VALID_COLLECTION :: InsightFeedbackOption
$mInsightFeedbackOption_VALID_COLLECTION :: forall {r}.
InsightFeedbackOption -> ((# #) -> r) -> ((# #) -> r) -> r
InsightFeedbackOption_VALID_COLLECTION = InsightFeedbackOption' "VALID_COLLECTION"

{-# COMPLETE
  InsightFeedbackOption_ALERT_TOO_SENSITIVE,
  InsightFeedbackOption_DATA_INCORRECT,
  InsightFeedbackOption_DATA_NOISY_ANOMALY,
  InsightFeedbackOption_RECOMMENDATION_USEFUL,
  InsightFeedbackOption_VALID_COLLECTION,
  InsightFeedbackOption'
  #-}