{-# 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.ImportFilterName
-- 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.ImportFilterName
  ( ImportFilterName
      ( ..,
        ImportFilterName_ImportResourceType
      ),
  )
where

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

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

pattern ImportFilterName_ImportResourceType :: ImportFilterName
pattern $bImportFilterName_ImportResourceType :: ImportFilterName
$mImportFilterName_ImportResourceType :: forall {r}. ImportFilterName -> ((# #) -> r) -> ((# #) -> r) -> r
ImportFilterName_ImportResourceType = ImportFilterName' "ImportResourceType"

{-# COMPLETE
  ImportFilterName_ImportResourceType,
  ImportFilterName'
  #-}