{-# 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.GoogleAnalyticsConnectorOperator
-- 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.AppFlow.Types.GoogleAnalyticsConnectorOperator
  ( GoogleAnalyticsConnectorOperator
      ( ..,
        GoogleAnalyticsConnectorOperator_BETWEEN,
        GoogleAnalyticsConnectorOperator_PROJECTION
      ),
  )
where

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

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

pattern GoogleAnalyticsConnectorOperator_BETWEEN :: GoogleAnalyticsConnectorOperator
pattern $bGoogleAnalyticsConnectorOperator_BETWEEN :: GoogleAnalyticsConnectorOperator
$mGoogleAnalyticsConnectorOperator_BETWEEN :: forall {r}.
GoogleAnalyticsConnectorOperator
-> ((# #) -> r) -> ((# #) -> r) -> r
GoogleAnalyticsConnectorOperator_BETWEEN = GoogleAnalyticsConnectorOperator' "BETWEEN"

pattern GoogleAnalyticsConnectorOperator_PROJECTION :: GoogleAnalyticsConnectorOperator
pattern $bGoogleAnalyticsConnectorOperator_PROJECTION :: GoogleAnalyticsConnectorOperator
$mGoogleAnalyticsConnectorOperator_PROJECTION :: forall {r}.
GoogleAnalyticsConnectorOperator
-> ((# #) -> r) -> ((# #) -> r) -> r
GoogleAnalyticsConnectorOperator_PROJECTION = GoogleAnalyticsConnectorOperator' "PROJECTION"

{-# COMPLETE
  GoogleAnalyticsConnectorOperator_BETWEEN,
  GoogleAnalyticsConnectorOperator_PROJECTION,
  GoogleAnalyticsConnectorOperator'
  #-}