{-# 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.GroupFilterAttribute
-- 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.GroupFilterAttribute
  ( GroupFilterAttribute
      ( ..,
        GroupFilterAttribute_GROUP_NAME
      ),
  )
where

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

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

pattern GroupFilterAttribute_GROUP_NAME :: GroupFilterAttribute
pattern $bGroupFilterAttribute_GROUP_NAME :: GroupFilterAttribute
$mGroupFilterAttribute_GROUP_NAME :: forall {r}.
GroupFilterAttribute -> ((# #) -> r) -> ((# #) -> r) -> r
GroupFilterAttribute_GROUP_NAME = GroupFilterAttribute' "GROUP_NAME"

{-# COMPLETE
  GroupFilterAttribute_GROUP_NAME,
  GroupFilterAttribute'
  #-}