{-# 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.TrendmicroConnectorOperator
-- 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.TrendmicroConnectorOperator
  ( TrendmicroConnectorOperator
      ( ..,
        TrendmicroConnectorOperator_ADDITION,
        TrendmicroConnectorOperator_DIVISION,
        TrendmicroConnectorOperator_EQUAL_TO,
        TrendmicroConnectorOperator_MASK_ALL,
        TrendmicroConnectorOperator_MASK_FIRST_N,
        TrendmicroConnectorOperator_MASK_LAST_N,
        TrendmicroConnectorOperator_MULTIPLICATION,
        TrendmicroConnectorOperator_NO_OP,
        TrendmicroConnectorOperator_PROJECTION,
        TrendmicroConnectorOperator_SUBTRACTION,
        TrendmicroConnectorOperator_VALIDATE_NON_NEGATIVE,
        TrendmicroConnectorOperator_VALIDATE_NON_NULL,
        TrendmicroConnectorOperator_VALIDATE_NON_ZERO,
        TrendmicroConnectorOperator_VALIDATE_NUMERIC
      ),
  )
where

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

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

pattern TrendmicroConnectorOperator_ADDITION :: TrendmicroConnectorOperator
pattern $bTrendmicroConnectorOperator_ADDITION :: TrendmicroConnectorOperator
$mTrendmicroConnectorOperator_ADDITION :: forall r.
TrendmicroConnectorOperator -> (Void# -> r) -> (Void# -> r) -> r
TrendmicroConnectorOperator_ADDITION = TrendmicroConnectorOperator' "ADDITION"

pattern TrendmicroConnectorOperator_DIVISION :: TrendmicroConnectorOperator
pattern $bTrendmicroConnectorOperator_DIVISION :: TrendmicroConnectorOperator
$mTrendmicroConnectorOperator_DIVISION :: forall r.
TrendmicroConnectorOperator -> (Void# -> r) -> (Void# -> r) -> r
TrendmicroConnectorOperator_DIVISION = TrendmicroConnectorOperator' "DIVISION"

pattern TrendmicroConnectorOperator_EQUAL_TO :: TrendmicroConnectorOperator
pattern $bTrendmicroConnectorOperator_EQUAL_TO :: TrendmicroConnectorOperator
$mTrendmicroConnectorOperator_EQUAL_TO :: forall r.
TrendmicroConnectorOperator -> (Void# -> r) -> (Void# -> r) -> r
TrendmicroConnectorOperator_EQUAL_TO = TrendmicroConnectorOperator' "EQUAL_TO"

pattern TrendmicroConnectorOperator_MASK_ALL :: TrendmicroConnectorOperator
pattern $bTrendmicroConnectorOperator_MASK_ALL :: TrendmicroConnectorOperator
$mTrendmicroConnectorOperator_MASK_ALL :: forall r.
TrendmicroConnectorOperator -> (Void# -> r) -> (Void# -> r) -> r
TrendmicroConnectorOperator_MASK_ALL = TrendmicroConnectorOperator' "MASK_ALL"

pattern TrendmicroConnectorOperator_MASK_FIRST_N :: TrendmicroConnectorOperator
pattern $bTrendmicroConnectorOperator_MASK_FIRST_N :: TrendmicroConnectorOperator
$mTrendmicroConnectorOperator_MASK_FIRST_N :: forall r.
TrendmicroConnectorOperator -> (Void# -> r) -> (Void# -> r) -> r
TrendmicroConnectorOperator_MASK_FIRST_N = TrendmicroConnectorOperator' "MASK_FIRST_N"

pattern TrendmicroConnectorOperator_MASK_LAST_N :: TrendmicroConnectorOperator
pattern $bTrendmicroConnectorOperator_MASK_LAST_N :: TrendmicroConnectorOperator
$mTrendmicroConnectorOperator_MASK_LAST_N :: forall r.
TrendmicroConnectorOperator -> (Void# -> r) -> (Void# -> r) -> r
TrendmicroConnectorOperator_MASK_LAST_N = TrendmicroConnectorOperator' "MASK_LAST_N"

pattern TrendmicroConnectorOperator_MULTIPLICATION :: TrendmicroConnectorOperator
pattern $bTrendmicroConnectorOperator_MULTIPLICATION :: TrendmicroConnectorOperator
$mTrendmicroConnectorOperator_MULTIPLICATION :: forall r.
TrendmicroConnectorOperator -> (Void# -> r) -> (Void# -> r) -> r
TrendmicroConnectorOperator_MULTIPLICATION = TrendmicroConnectorOperator' "MULTIPLICATION"

pattern TrendmicroConnectorOperator_NO_OP :: TrendmicroConnectorOperator
pattern $bTrendmicroConnectorOperator_NO_OP :: TrendmicroConnectorOperator
$mTrendmicroConnectorOperator_NO_OP :: forall r.
TrendmicroConnectorOperator -> (Void# -> r) -> (Void# -> r) -> r
TrendmicroConnectorOperator_NO_OP = TrendmicroConnectorOperator' "NO_OP"

pattern TrendmicroConnectorOperator_PROJECTION :: TrendmicroConnectorOperator
pattern $bTrendmicroConnectorOperator_PROJECTION :: TrendmicroConnectorOperator
$mTrendmicroConnectorOperator_PROJECTION :: forall r.
TrendmicroConnectorOperator -> (Void# -> r) -> (Void# -> r) -> r
TrendmicroConnectorOperator_PROJECTION = TrendmicroConnectorOperator' "PROJECTION"

pattern TrendmicroConnectorOperator_SUBTRACTION :: TrendmicroConnectorOperator
pattern $bTrendmicroConnectorOperator_SUBTRACTION :: TrendmicroConnectorOperator
$mTrendmicroConnectorOperator_SUBTRACTION :: forall r.
TrendmicroConnectorOperator -> (Void# -> r) -> (Void# -> r) -> r
TrendmicroConnectorOperator_SUBTRACTION = TrendmicroConnectorOperator' "SUBTRACTION"

pattern TrendmicroConnectorOperator_VALIDATE_NON_NEGATIVE :: TrendmicroConnectorOperator
pattern $bTrendmicroConnectorOperator_VALIDATE_NON_NEGATIVE :: TrendmicroConnectorOperator
$mTrendmicroConnectorOperator_VALIDATE_NON_NEGATIVE :: forall r.
TrendmicroConnectorOperator -> (Void# -> r) -> (Void# -> r) -> r
TrendmicroConnectorOperator_VALIDATE_NON_NEGATIVE = TrendmicroConnectorOperator' "VALIDATE_NON_NEGATIVE"

pattern TrendmicroConnectorOperator_VALIDATE_NON_NULL :: TrendmicroConnectorOperator
pattern $bTrendmicroConnectorOperator_VALIDATE_NON_NULL :: TrendmicroConnectorOperator
$mTrendmicroConnectorOperator_VALIDATE_NON_NULL :: forall r.
TrendmicroConnectorOperator -> (Void# -> r) -> (Void# -> r) -> r
TrendmicroConnectorOperator_VALIDATE_NON_NULL = TrendmicroConnectorOperator' "VALIDATE_NON_NULL"

pattern TrendmicroConnectorOperator_VALIDATE_NON_ZERO :: TrendmicroConnectorOperator
pattern $bTrendmicroConnectorOperator_VALIDATE_NON_ZERO :: TrendmicroConnectorOperator
$mTrendmicroConnectorOperator_VALIDATE_NON_ZERO :: forall r.
TrendmicroConnectorOperator -> (Void# -> r) -> (Void# -> r) -> r
TrendmicroConnectorOperator_VALIDATE_NON_ZERO = TrendmicroConnectorOperator' "VALIDATE_NON_ZERO"

pattern TrendmicroConnectorOperator_VALIDATE_NUMERIC :: TrendmicroConnectorOperator
pattern $bTrendmicroConnectorOperator_VALIDATE_NUMERIC :: TrendmicroConnectorOperator
$mTrendmicroConnectorOperator_VALIDATE_NUMERIC :: forall r.
TrendmicroConnectorOperator -> (Void# -> r) -> (Void# -> r) -> r
TrendmicroConnectorOperator_VALIDATE_NUMERIC = TrendmicroConnectorOperator' "VALIDATE_NUMERIC"

{-# COMPLETE
  TrendmicroConnectorOperator_ADDITION,
  TrendmicroConnectorOperator_DIVISION,
  TrendmicroConnectorOperator_EQUAL_TO,
  TrendmicroConnectorOperator_MASK_ALL,
  TrendmicroConnectorOperator_MASK_FIRST_N,
  TrendmicroConnectorOperator_MASK_LAST_N,
  TrendmicroConnectorOperator_MULTIPLICATION,
  TrendmicroConnectorOperator_NO_OP,
  TrendmicroConnectorOperator_PROJECTION,
  TrendmicroConnectorOperator_SUBTRACTION,
  TrendmicroConnectorOperator_VALIDATE_NON_NEGATIVE,
  TrendmicroConnectorOperator_VALIDATE_NON_NULL,
  TrendmicroConnectorOperator_VALIDATE_NON_ZERO,
  TrendmicroConnectorOperator_VALIDATE_NUMERIC,
  TrendmicroConnectorOperator'
  #-}