{-# 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.LexV2Models.Types.BotFilterName
-- 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.LexV2Models.Types.BotFilterName
  ( BotFilterName
      ( ..,
        BotFilterName_BotName
      ),
  )
where

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

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

pattern BotFilterName_BotName :: BotFilterName
pattern $bBotFilterName_BotName :: BotFilterName
$mBotFilterName_BotName :: forall {r}. BotFilterName -> ((# #) -> r) -> ((# #) -> r) -> r
BotFilterName_BotName = BotFilterName' "BotName"

{-# COMPLETE
  BotFilterName_BotName,
  BotFilterName'
  #-}