{-# 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.QuickSight.Types.GroupFilterOperator
-- 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.QuickSight.Types.GroupFilterOperator
  ( GroupFilterOperator
      ( ..,
        GroupFilterOperator_StartsWith
      ),
  )
where

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

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

pattern GroupFilterOperator_StartsWith :: GroupFilterOperator
pattern $bGroupFilterOperator_StartsWith :: GroupFilterOperator
$mGroupFilterOperator_StartsWith :: forall {r}.
GroupFilterOperator -> ((# #) -> r) -> ((# #) -> r) -> r
GroupFilterOperator_StartsWith = GroupFilterOperator' "StartsWith"

{-# COMPLETE
  GroupFilterOperator_StartsWith,
  GroupFilterOperator'
  #-}