{-# 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.ExportFilterOperator
-- 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.ExportFilterOperator
  ( ExportFilterOperator
      ( ..,
        ExportFilterOperator_CO,
        ExportFilterOperator_EQ
      ),
  )
where

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

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

pattern ExportFilterOperator_CO :: ExportFilterOperator
pattern $bExportFilterOperator_CO :: ExportFilterOperator
$mExportFilterOperator_CO :: forall {r}.
ExportFilterOperator -> ((# #) -> r) -> ((# #) -> r) -> r
ExportFilterOperator_CO = ExportFilterOperator' "CO"

pattern ExportFilterOperator_EQ :: ExportFilterOperator
pattern $bExportFilterOperator_EQ :: ExportFilterOperator
$mExportFilterOperator_EQ :: forall {r}.
ExportFilterOperator -> ((# #) -> r) -> ((# #) -> r) -> r
ExportFilterOperator_EQ = ExportFilterOperator' "EQ"

{-# COMPLETE
  ExportFilterOperator_CO,
  ExportFilterOperator_EQ,
  ExportFilterOperator'
  #-}