{-# 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.BotLocaleFilterName
-- 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.BotLocaleFilterName
  ( BotLocaleFilterName
      ( ..,
        BotLocaleFilterName_BotLocaleName
      ),
  )
where

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

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

pattern BotLocaleFilterName_BotLocaleName :: BotLocaleFilterName
pattern $bBotLocaleFilterName_BotLocaleName :: BotLocaleFilterName
$mBotLocaleFilterName_BotLocaleName :: forall {r}.
BotLocaleFilterName -> ((# #) -> r) -> ((# #) -> r) -> r
BotLocaleFilterName_BotLocaleName = BotLocaleFilterName' "BotLocaleName"

{-# COMPLETE
  BotLocaleFilterName_BotLocaleName,
  BotLocaleFilterName'
  #-}