{-# 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.ExportFilterName
-- 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.ExportFilterName
  ( ExportFilterName
      ( ..,
        ExportFilterName_ExportResourceType
      ),
  )
where

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

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

pattern ExportFilterName_ExportResourceType :: ExportFilterName
pattern $bExportFilterName_ExportResourceType :: ExportFilterName
$mExportFilterName_ExportResourceType :: forall {r}. ExportFilterName -> ((# #) -> r) -> ((# #) -> r) -> r
ExportFilterName_ExportResourceType = ExportFilterName' "ExportResourceType"

{-# COMPLETE
  ExportFilterName_ExportResourceType,
  ExportFilterName'
  #-}