{-# 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.AuditManager.Types.KeywordInputType
-- 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.AuditManager.Types.KeywordInputType
  ( KeywordInputType
      ( ..,
        KeywordInputType_SELECT_FROM_LIST
      ),
  )
where

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

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

pattern KeywordInputType_SELECT_FROM_LIST :: KeywordInputType
pattern $bKeywordInputType_SELECT_FROM_LIST :: KeywordInputType
$mKeywordInputType_SELECT_FROM_LIST :: forall {r}. KeywordInputType -> ((# #) -> r) -> ((# #) -> r) -> r
KeywordInputType_SELECT_FROM_LIST = KeywordInputType' "SELECT_FROM_LIST"

{-# COMPLETE
  KeywordInputType_SELECT_FROM_LIST,
  KeywordInputType'
  #-}