{-# 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.SlotFilterName
-- 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.SlotFilterName
  ( SlotFilterName
      ( ..,
        SlotFilterName_SlotName
      ),
  )
where

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

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

pattern SlotFilterName_SlotName :: SlotFilterName
pattern $bSlotFilterName_SlotName :: SlotFilterName
$mSlotFilterName_SlotName :: forall {r}. SlotFilterName -> ((# #) -> r) -> ((# #) -> r) -> r
SlotFilterName_SlotName = SlotFilterName' "SlotName"

{-# COMPLETE
  SlotFilterName_SlotName,
  SlotFilterName'
  #-}