{-# 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.AppFlow.Types.InforNexusConnectorOperator
-- Copyright   : (c) 2013-2021 Brendan Hay
-- License     : Mozilla Public License, v. 2.0.
-- Maintainer  : Brendan Hay <brendan.g.hay+amazonka@gmail.com>
-- Stability   : auto-generated
-- Portability : non-portable (GHC extensions)
module Amazonka.AppFlow.Types.InforNexusConnectorOperator
  ( InforNexusConnectorOperator
      ( ..,
        InforNexusConnectorOperator_ADDITION,
        InforNexusConnectorOperator_BETWEEN,
        InforNexusConnectorOperator_DIVISION,
        InforNexusConnectorOperator_EQUAL_TO,
        InforNexusConnectorOperator_MASK_ALL,
        InforNexusConnectorOperator_MASK_FIRST_N,
        InforNexusConnectorOperator_MASK_LAST_N,
        InforNexusConnectorOperator_MULTIPLICATION,
        InforNexusConnectorOperator_NO_OP,
        InforNexusConnectorOperator_PROJECTION,
        InforNexusConnectorOperator_SUBTRACTION,
        InforNexusConnectorOperator_VALIDATE_NON_NEGATIVE,
        InforNexusConnectorOperator_VALIDATE_NON_NULL,
        InforNexusConnectorOperator_VALIDATE_NON_ZERO,
        InforNexusConnectorOperator_VALIDATE_NUMERIC
      ),
  )
where

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

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

pattern InforNexusConnectorOperator_ADDITION :: InforNexusConnectorOperator
pattern $bInforNexusConnectorOperator_ADDITION :: InforNexusConnectorOperator
$mInforNexusConnectorOperator_ADDITION :: forall r.
InforNexusConnectorOperator -> (Void# -> r) -> (Void# -> r) -> r
InforNexusConnectorOperator_ADDITION = InforNexusConnectorOperator' "ADDITION"

pattern InforNexusConnectorOperator_BETWEEN :: InforNexusConnectorOperator
pattern $bInforNexusConnectorOperator_BETWEEN :: InforNexusConnectorOperator
$mInforNexusConnectorOperator_BETWEEN :: forall r.
InforNexusConnectorOperator -> (Void# -> r) -> (Void# -> r) -> r
InforNexusConnectorOperator_BETWEEN = InforNexusConnectorOperator' "BETWEEN"

pattern InforNexusConnectorOperator_DIVISION :: InforNexusConnectorOperator
pattern $bInforNexusConnectorOperator_DIVISION :: InforNexusConnectorOperator
$mInforNexusConnectorOperator_DIVISION :: forall r.
InforNexusConnectorOperator -> (Void# -> r) -> (Void# -> r) -> r
InforNexusConnectorOperator_DIVISION = InforNexusConnectorOperator' "DIVISION"

pattern InforNexusConnectorOperator_EQUAL_TO :: InforNexusConnectorOperator
pattern $bInforNexusConnectorOperator_EQUAL_TO :: InforNexusConnectorOperator
$mInforNexusConnectorOperator_EQUAL_TO :: forall r.
InforNexusConnectorOperator -> (Void# -> r) -> (Void# -> r) -> r
InforNexusConnectorOperator_EQUAL_TO = InforNexusConnectorOperator' "EQUAL_TO"

pattern InforNexusConnectorOperator_MASK_ALL :: InforNexusConnectorOperator
pattern $bInforNexusConnectorOperator_MASK_ALL :: InforNexusConnectorOperator
$mInforNexusConnectorOperator_MASK_ALL :: forall r.
InforNexusConnectorOperator -> (Void# -> r) -> (Void# -> r) -> r
InforNexusConnectorOperator_MASK_ALL = InforNexusConnectorOperator' "MASK_ALL"

pattern InforNexusConnectorOperator_MASK_FIRST_N :: InforNexusConnectorOperator
pattern $bInforNexusConnectorOperator_MASK_FIRST_N :: InforNexusConnectorOperator
$mInforNexusConnectorOperator_MASK_FIRST_N :: forall r.
InforNexusConnectorOperator -> (Void# -> r) -> (Void# -> r) -> r
InforNexusConnectorOperator_MASK_FIRST_N = InforNexusConnectorOperator' "MASK_FIRST_N"

pattern InforNexusConnectorOperator_MASK_LAST_N :: InforNexusConnectorOperator
pattern $bInforNexusConnectorOperator_MASK_LAST_N :: InforNexusConnectorOperator
$mInforNexusConnectorOperator_MASK_LAST_N :: forall r.
InforNexusConnectorOperator -> (Void# -> r) -> (Void# -> r) -> r
InforNexusConnectorOperator_MASK_LAST_N = InforNexusConnectorOperator' "MASK_LAST_N"

pattern InforNexusConnectorOperator_MULTIPLICATION :: InforNexusConnectorOperator
pattern $bInforNexusConnectorOperator_MULTIPLICATION :: InforNexusConnectorOperator
$mInforNexusConnectorOperator_MULTIPLICATION :: forall r.
InforNexusConnectorOperator -> (Void# -> r) -> (Void# -> r) -> r
InforNexusConnectorOperator_MULTIPLICATION = InforNexusConnectorOperator' "MULTIPLICATION"

pattern InforNexusConnectorOperator_NO_OP :: InforNexusConnectorOperator
pattern $bInforNexusConnectorOperator_NO_OP :: InforNexusConnectorOperator
$mInforNexusConnectorOperator_NO_OP :: forall r.
InforNexusConnectorOperator -> (Void# -> r) -> (Void# -> r) -> r
InforNexusConnectorOperator_NO_OP = InforNexusConnectorOperator' "NO_OP"

pattern InforNexusConnectorOperator_PROJECTION :: InforNexusConnectorOperator
pattern $bInforNexusConnectorOperator_PROJECTION :: InforNexusConnectorOperator
$mInforNexusConnectorOperator_PROJECTION :: forall r.
InforNexusConnectorOperator -> (Void# -> r) -> (Void# -> r) -> r
InforNexusConnectorOperator_PROJECTION = InforNexusConnectorOperator' "PROJECTION"

pattern InforNexusConnectorOperator_SUBTRACTION :: InforNexusConnectorOperator
pattern $bInforNexusConnectorOperator_SUBTRACTION :: InforNexusConnectorOperator
$mInforNexusConnectorOperator_SUBTRACTION :: forall r.
InforNexusConnectorOperator -> (Void# -> r) -> (Void# -> r) -> r
InforNexusConnectorOperator_SUBTRACTION = InforNexusConnectorOperator' "SUBTRACTION"

pattern InforNexusConnectorOperator_VALIDATE_NON_NEGATIVE :: InforNexusConnectorOperator
pattern $bInforNexusConnectorOperator_VALIDATE_NON_NEGATIVE :: InforNexusConnectorOperator
$mInforNexusConnectorOperator_VALIDATE_NON_NEGATIVE :: forall r.
InforNexusConnectorOperator -> (Void# -> r) -> (Void# -> r) -> r
InforNexusConnectorOperator_VALIDATE_NON_NEGATIVE = InforNexusConnectorOperator' "VALIDATE_NON_NEGATIVE"

pattern InforNexusConnectorOperator_VALIDATE_NON_NULL :: InforNexusConnectorOperator
pattern $bInforNexusConnectorOperator_VALIDATE_NON_NULL :: InforNexusConnectorOperator
$mInforNexusConnectorOperator_VALIDATE_NON_NULL :: forall r.
InforNexusConnectorOperator -> (Void# -> r) -> (Void# -> r) -> r
InforNexusConnectorOperator_VALIDATE_NON_NULL = InforNexusConnectorOperator' "VALIDATE_NON_NULL"

pattern InforNexusConnectorOperator_VALIDATE_NON_ZERO :: InforNexusConnectorOperator
pattern $bInforNexusConnectorOperator_VALIDATE_NON_ZERO :: InforNexusConnectorOperator
$mInforNexusConnectorOperator_VALIDATE_NON_ZERO :: forall r.
InforNexusConnectorOperator -> (Void# -> r) -> (Void# -> r) -> r
InforNexusConnectorOperator_VALIDATE_NON_ZERO = InforNexusConnectorOperator' "VALIDATE_NON_ZERO"

pattern InforNexusConnectorOperator_VALIDATE_NUMERIC :: InforNexusConnectorOperator
pattern $bInforNexusConnectorOperator_VALIDATE_NUMERIC :: InforNexusConnectorOperator
$mInforNexusConnectorOperator_VALIDATE_NUMERIC :: forall r.
InforNexusConnectorOperator -> (Void# -> r) -> (Void# -> r) -> r
InforNexusConnectorOperator_VALIDATE_NUMERIC = InforNexusConnectorOperator' "VALIDATE_NUMERIC"

{-# COMPLETE
  InforNexusConnectorOperator_ADDITION,
  InforNexusConnectorOperator_BETWEEN,
  InforNexusConnectorOperator_DIVISION,
  InforNexusConnectorOperator_EQUAL_TO,
  InforNexusConnectorOperator_MASK_ALL,
  InforNexusConnectorOperator_MASK_FIRST_N,
  InforNexusConnectorOperator_MASK_LAST_N,
  InforNexusConnectorOperator_MULTIPLICATION,
  InforNexusConnectorOperator_NO_OP,
  InforNexusConnectorOperator_PROJECTION,
  InforNexusConnectorOperator_SUBTRACTION,
  InforNexusConnectorOperator_VALIDATE_NON_NEGATIVE,
  InforNexusConnectorOperator_VALIDATE_NON_NULL,
  InforNexusConnectorOperator_VALIDATE_NON_ZERO,
  InforNexusConnectorOperator_VALIDATE_NUMERIC,
  InforNexusConnectorOperator'
  #-}