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

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

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

pattern FolderFilterAttribute_PARENT_FOLDER_ARN :: FolderFilterAttribute
pattern $bFolderFilterAttribute_PARENT_FOLDER_ARN :: FolderFilterAttribute
$mFolderFilterAttribute_PARENT_FOLDER_ARN :: forall r.
FolderFilterAttribute -> (Void# -> r) -> (Void# -> r) -> r
FolderFilterAttribute_PARENT_FOLDER_ARN = FolderFilterAttribute' "PARENT_FOLDER_ARN"

{-# COMPLETE
  FolderFilterAttribute_PARENT_FOLDER_ARN,
  FolderFilterAttribute'
  #-}