{-# 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.DataSetFilterAttribute
-- 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.DataSetFilterAttribute
  ( DataSetFilterAttribute
      ( ..,
        DataSetFilterAttribute_DATASET_NAME,
        DataSetFilterAttribute_DIRECT_QUICKSIGHT_OWNER,
        DataSetFilterAttribute_DIRECT_QUICKSIGHT_SOLE_OWNER,
        DataSetFilterAttribute_DIRECT_QUICKSIGHT_VIEWER_OR_OWNER,
        DataSetFilterAttribute_QUICKSIGHT_OWNER,
        DataSetFilterAttribute_QUICKSIGHT_VIEWER_OR_OWNER
      ),
  )
where

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

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

pattern DataSetFilterAttribute_DATASET_NAME :: DataSetFilterAttribute
pattern $bDataSetFilterAttribute_DATASET_NAME :: DataSetFilterAttribute
$mDataSetFilterAttribute_DATASET_NAME :: forall {r}.
DataSetFilterAttribute -> ((# #) -> r) -> ((# #) -> r) -> r
DataSetFilterAttribute_DATASET_NAME = DataSetFilterAttribute' "DATASET_NAME"

pattern DataSetFilterAttribute_DIRECT_QUICKSIGHT_OWNER :: DataSetFilterAttribute
pattern $bDataSetFilterAttribute_DIRECT_QUICKSIGHT_OWNER :: DataSetFilterAttribute
$mDataSetFilterAttribute_DIRECT_QUICKSIGHT_OWNER :: forall {r}.
DataSetFilterAttribute -> ((# #) -> r) -> ((# #) -> r) -> r
DataSetFilterAttribute_DIRECT_QUICKSIGHT_OWNER = DataSetFilterAttribute' "DIRECT_QUICKSIGHT_OWNER"

pattern DataSetFilterAttribute_DIRECT_QUICKSIGHT_SOLE_OWNER :: DataSetFilterAttribute
pattern $bDataSetFilterAttribute_DIRECT_QUICKSIGHT_SOLE_OWNER :: DataSetFilterAttribute
$mDataSetFilterAttribute_DIRECT_QUICKSIGHT_SOLE_OWNER :: forall {r}.
DataSetFilterAttribute -> ((# #) -> r) -> ((# #) -> r) -> r
DataSetFilterAttribute_DIRECT_QUICKSIGHT_SOLE_OWNER = DataSetFilterAttribute' "DIRECT_QUICKSIGHT_SOLE_OWNER"

pattern DataSetFilterAttribute_DIRECT_QUICKSIGHT_VIEWER_OR_OWNER :: DataSetFilterAttribute
pattern $bDataSetFilterAttribute_DIRECT_QUICKSIGHT_VIEWER_OR_OWNER :: DataSetFilterAttribute
$mDataSetFilterAttribute_DIRECT_QUICKSIGHT_VIEWER_OR_OWNER :: forall {r}.
DataSetFilterAttribute -> ((# #) -> r) -> ((# #) -> r) -> r
DataSetFilterAttribute_DIRECT_QUICKSIGHT_VIEWER_OR_OWNER = DataSetFilterAttribute' "DIRECT_QUICKSIGHT_VIEWER_OR_OWNER"

pattern DataSetFilterAttribute_QUICKSIGHT_OWNER :: DataSetFilterAttribute
pattern $bDataSetFilterAttribute_QUICKSIGHT_OWNER :: DataSetFilterAttribute
$mDataSetFilterAttribute_QUICKSIGHT_OWNER :: forall {r}.
DataSetFilterAttribute -> ((# #) -> r) -> ((# #) -> r) -> r
DataSetFilterAttribute_QUICKSIGHT_OWNER = DataSetFilterAttribute' "QUICKSIGHT_OWNER"

pattern DataSetFilterAttribute_QUICKSIGHT_VIEWER_OR_OWNER :: DataSetFilterAttribute
pattern $bDataSetFilterAttribute_QUICKSIGHT_VIEWER_OR_OWNER :: DataSetFilterAttribute
$mDataSetFilterAttribute_QUICKSIGHT_VIEWER_OR_OWNER :: forall {r}.
DataSetFilterAttribute -> ((# #) -> r) -> ((# #) -> r) -> r
DataSetFilterAttribute_QUICKSIGHT_VIEWER_OR_OWNER = DataSetFilterAttribute' "QUICKSIGHT_VIEWER_OR_OWNER"

{-# COMPLETE
  DataSetFilterAttribute_DATASET_NAME,
  DataSetFilterAttribute_DIRECT_QUICKSIGHT_OWNER,
  DataSetFilterAttribute_DIRECT_QUICKSIGHT_SOLE_OWNER,
  DataSetFilterAttribute_DIRECT_QUICKSIGHT_VIEWER_OR_OWNER,
  DataSetFilterAttribute_QUICKSIGHT_OWNER,
  DataSetFilterAttribute_QUICKSIGHT_VIEWER_OR_OWNER,
  DataSetFilterAttribute'
  #-}