{-# 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.DynatraceConnectorOperator
-- 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.DynatraceConnectorOperator
  ( DynatraceConnectorOperator
      ( ..,
        DynatraceConnectorOperator_ADDITION,
        DynatraceConnectorOperator_BETWEEN,
        DynatraceConnectorOperator_DIVISION,
        DynatraceConnectorOperator_EQUAL_TO,
        DynatraceConnectorOperator_MASK_ALL,
        DynatraceConnectorOperator_MASK_FIRST_N,
        DynatraceConnectorOperator_MASK_LAST_N,
        DynatraceConnectorOperator_MULTIPLICATION,
        DynatraceConnectorOperator_NO_OP,
        DynatraceConnectorOperator_PROJECTION,
        DynatraceConnectorOperator_SUBTRACTION,
        DynatraceConnectorOperator_VALIDATE_NON_NEGATIVE,
        DynatraceConnectorOperator_VALIDATE_NON_NULL,
        DynatraceConnectorOperator_VALIDATE_NON_ZERO,
        DynatraceConnectorOperator_VALIDATE_NUMERIC
      ),
  )
where

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

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

pattern DynatraceConnectorOperator_ADDITION :: DynatraceConnectorOperator
pattern $bDynatraceConnectorOperator_ADDITION :: DynatraceConnectorOperator
$mDynatraceConnectorOperator_ADDITION :: forall r.
DynatraceConnectorOperator -> (Void# -> r) -> (Void# -> r) -> r
DynatraceConnectorOperator_ADDITION = DynatraceConnectorOperator' "ADDITION"

pattern DynatraceConnectorOperator_BETWEEN :: DynatraceConnectorOperator
pattern $bDynatraceConnectorOperator_BETWEEN :: DynatraceConnectorOperator
$mDynatraceConnectorOperator_BETWEEN :: forall r.
DynatraceConnectorOperator -> (Void# -> r) -> (Void# -> r) -> r
DynatraceConnectorOperator_BETWEEN = DynatraceConnectorOperator' "BETWEEN"

pattern DynatraceConnectorOperator_DIVISION :: DynatraceConnectorOperator
pattern $bDynatraceConnectorOperator_DIVISION :: DynatraceConnectorOperator
$mDynatraceConnectorOperator_DIVISION :: forall r.
DynatraceConnectorOperator -> (Void# -> r) -> (Void# -> r) -> r
DynatraceConnectorOperator_DIVISION = DynatraceConnectorOperator' "DIVISION"

pattern DynatraceConnectorOperator_EQUAL_TO :: DynatraceConnectorOperator
pattern $bDynatraceConnectorOperator_EQUAL_TO :: DynatraceConnectorOperator
$mDynatraceConnectorOperator_EQUAL_TO :: forall r.
DynatraceConnectorOperator -> (Void# -> r) -> (Void# -> r) -> r
DynatraceConnectorOperator_EQUAL_TO = DynatraceConnectorOperator' "EQUAL_TO"

pattern DynatraceConnectorOperator_MASK_ALL :: DynatraceConnectorOperator
pattern $bDynatraceConnectorOperator_MASK_ALL :: DynatraceConnectorOperator
$mDynatraceConnectorOperator_MASK_ALL :: forall r.
DynatraceConnectorOperator -> (Void# -> r) -> (Void# -> r) -> r
DynatraceConnectorOperator_MASK_ALL = DynatraceConnectorOperator' "MASK_ALL"

pattern DynatraceConnectorOperator_MASK_FIRST_N :: DynatraceConnectorOperator
pattern $bDynatraceConnectorOperator_MASK_FIRST_N :: DynatraceConnectorOperator
$mDynatraceConnectorOperator_MASK_FIRST_N :: forall r.
DynatraceConnectorOperator -> (Void# -> r) -> (Void# -> r) -> r
DynatraceConnectorOperator_MASK_FIRST_N = DynatraceConnectorOperator' "MASK_FIRST_N"

pattern DynatraceConnectorOperator_MASK_LAST_N :: DynatraceConnectorOperator
pattern $bDynatraceConnectorOperator_MASK_LAST_N :: DynatraceConnectorOperator
$mDynatraceConnectorOperator_MASK_LAST_N :: forall r.
DynatraceConnectorOperator -> (Void# -> r) -> (Void# -> r) -> r
DynatraceConnectorOperator_MASK_LAST_N = DynatraceConnectorOperator' "MASK_LAST_N"

pattern DynatraceConnectorOperator_MULTIPLICATION :: DynatraceConnectorOperator
pattern $bDynatraceConnectorOperator_MULTIPLICATION :: DynatraceConnectorOperator
$mDynatraceConnectorOperator_MULTIPLICATION :: forall r.
DynatraceConnectorOperator -> (Void# -> r) -> (Void# -> r) -> r
DynatraceConnectorOperator_MULTIPLICATION = DynatraceConnectorOperator' "MULTIPLICATION"

pattern DynatraceConnectorOperator_NO_OP :: DynatraceConnectorOperator
pattern $bDynatraceConnectorOperator_NO_OP :: DynatraceConnectorOperator
$mDynatraceConnectorOperator_NO_OP :: forall r.
DynatraceConnectorOperator -> (Void# -> r) -> (Void# -> r) -> r
DynatraceConnectorOperator_NO_OP = DynatraceConnectorOperator' "NO_OP"

pattern DynatraceConnectorOperator_PROJECTION :: DynatraceConnectorOperator
pattern $bDynatraceConnectorOperator_PROJECTION :: DynatraceConnectorOperator
$mDynatraceConnectorOperator_PROJECTION :: forall r.
DynatraceConnectorOperator -> (Void# -> r) -> (Void# -> r) -> r
DynatraceConnectorOperator_PROJECTION = DynatraceConnectorOperator' "PROJECTION"

pattern DynatraceConnectorOperator_SUBTRACTION :: DynatraceConnectorOperator
pattern $bDynatraceConnectorOperator_SUBTRACTION :: DynatraceConnectorOperator
$mDynatraceConnectorOperator_SUBTRACTION :: forall r.
DynatraceConnectorOperator -> (Void# -> r) -> (Void# -> r) -> r
DynatraceConnectorOperator_SUBTRACTION = DynatraceConnectorOperator' "SUBTRACTION"

pattern DynatraceConnectorOperator_VALIDATE_NON_NEGATIVE :: DynatraceConnectorOperator
pattern $bDynatraceConnectorOperator_VALIDATE_NON_NEGATIVE :: DynatraceConnectorOperator
$mDynatraceConnectorOperator_VALIDATE_NON_NEGATIVE :: forall r.
DynatraceConnectorOperator -> (Void# -> r) -> (Void# -> r) -> r
DynatraceConnectorOperator_VALIDATE_NON_NEGATIVE = DynatraceConnectorOperator' "VALIDATE_NON_NEGATIVE"

pattern DynatraceConnectorOperator_VALIDATE_NON_NULL :: DynatraceConnectorOperator
pattern $bDynatraceConnectorOperator_VALIDATE_NON_NULL :: DynatraceConnectorOperator
$mDynatraceConnectorOperator_VALIDATE_NON_NULL :: forall r.
DynatraceConnectorOperator -> (Void# -> r) -> (Void# -> r) -> r
DynatraceConnectorOperator_VALIDATE_NON_NULL = DynatraceConnectorOperator' "VALIDATE_NON_NULL"

pattern DynatraceConnectorOperator_VALIDATE_NON_ZERO :: DynatraceConnectorOperator
pattern $bDynatraceConnectorOperator_VALIDATE_NON_ZERO :: DynatraceConnectorOperator
$mDynatraceConnectorOperator_VALIDATE_NON_ZERO :: forall r.
DynatraceConnectorOperator -> (Void# -> r) -> (Void# -> r) -> r
DynatraceConnectorOperator_VALIDATE_NON_ZERO = DynatraceConnectorOperator' "VALIDATE_NON_ZERO"

pattern DynatraceConnectorOperator_VALIDATE_NUMERIC :: DynatraceConnectorOperator
pattern $bDynatraceConnectorOperator_VALIDATE_NUMERIC :: DynatraceConnectorOperator
$mDynatraceConnectorOperator_VALIDATE_NUMERIC :: forall r.
DynatraceConnectorOperator -> (Void# -> r) -> (Void# -> r) -> r
DynatraceConnectorOperator_VALIDATE_NUMERIC = DynatraceConnectorOperator' "VALIDATE_NUMERIC"

{-# COMPLETE
  DynatraceConnectorOperator_ADDITION,
  DynatraceConnectorOperator_BETWEEN,
  DynatraceConnectorOperator_DIVISION,
  DynatraceConnectorOperator_EQUAL_TO,
  DynatraceConnectorOperator_MASK_ALL,
  DynatraceConnectorOperator_MASK_FIRST_N,
  DynatraceConnectorOperator_MASK_LAST_N,
  DynatraceConnectorOperator_MULTIPLICATION,
  DynatraceConnectorOperator_NO_OP,
  DynatraceConnectorOperator_PROJECTION,
  DynatraceConnectorOperator_SUBTRACTION,
  DynatraceConnectorOperator_VALIDATE_NON_NEGATIVE,
  DynatraceConnectorOperator_VALIDATE_NON_NULL,
  DynatraceConnectorOperator_VALIDATE_NON_ZERO,
  DynatraceConnectorOperator_VALIDATE_NUMERIC,
  DynatraceConnectorOperator'
  #-}