{-# LANGUAGE DeriveGeneric #-}
{-# LANGUAGE DerivingStrategies #-}
{-# LANGUAGE GeneralizedNewtypeDeriving #-}
{-# LANGUAGE LambdaCase #-}
{-# LANGUAGE OverloadedStrings #-}
{-# LANGUAGE PatternSynonyms #-}
{-# LANGUAGE StrictData #-}
{-# LANGUAGE NoImplicitPrelude #-}
{-# OPTIONS_GHC -fno-warn-unused-imports #-}
module Amazonka.QuickSight.Types.FolderType
( FolderType
( ..,
FolderType_SHARED
),
)
where
import qualified Amazonka.Core as Core
import qualified Amazonka.Prelude as Prelude
newtype FolderType = FolderType'
{ FolderType -> Text
fromFolderType ::
Core.Text
}
deriving stock
( Int -> FolderType -> ShowS
[FolderType] -> ShowS
FolderType -> String
(Int -> FolderType -> ShowS)
-> (FolderType -> String)
-> ([FolderType] -> ShowS)
-> Show FolderType
forall a.
(Int -> a -> ShowS) -> (a -> String) -> ([a] -> ShowS) -> Show a
showList :: [FolderType] -> ShowS
$cshowList :: [FolderType] -> ShowS
show :: FolderType -> String
$cshow :: FolderType -> String
showsPrec :: Int -> FolderType -> ShowS
$cshowsPrec :: Int -> FolderType -> ShowS
Prelude.Show,
ReadPrec [FolderType]
ReadPrec FolderType
Int -> ReadS FolderType
ReadS [FolderType]
(Int -> ReadS FolderType)
-> ReadS [FolderType]
-> ReadPrec FolderType
-> ReadPrec [FolderType]
-> Read FolderType
forall a.
(Int -> ReadS a)
-> ReadS [a] -> ReadPrec a -> ReadPrec [a] -> Read a
readListPrec :: ReadPrec [FolderType]
$creadListPrec :: ReadPrec [FolderType]
readPrec :: ReadPrec FolderType
$creadPrec :: ReadPrec FolderType
readList :: ReadS [FolderType]
$creadList :: ReadS [FolderType]
readsPrec :: Int -> ReadS FolderType
$creadsPrec :: Int -> ReadS FolderType
Prelude.Read,
FolderType -> FolderType -> Bool
(FolderType -> FolderType -> Bool)
-> (FolderType -> FolderType -> Bool) -> Eq FolderType
forall a. (a -> a -> Bool) -> (a -> a -> Bool) -> Eq a
/= :: FolderType -> FolderType -> Bool
$c/= :: FolderType -> FolderType -> Bool
== :: FolderType -> FolderType -> Bool
$c== :: FolderType -> FolderType -> Bool
Prelude.Eq,
Eq FolderType
Eq FolderType
-> (FolderType -> FolderType -> Ordering)
-> (FolderType -> FolderType -> Bool)
-> (FolderType -> FolderType -> Bool)
-> (FolderType -> FolderType -> Bool)
-> (FolderType -> FolderType -> Bool)
-> (FolderType -> FolderType -> FolderType)
-> (FolderType -> FolderType -> FolderType)
-> Ord FolderType
FolderType -> FolderType -> Bool
FolderType -> FolderType -> Ordering
FolderType -> FolderType -> FolderType
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 :: FolderType -> FolderType -> FolderType
$cmin :: FolderType -> FolderType -> FolderType
max :: FolderType -> FolderType -> FolderType
$cmax :: FolderType -> FolderType -> FolderType
>= :: FolderType -> FolderType -> Bool
$c>= :: FolderType -> FolderType -> Bool
> :: FolderType -> FolderType -> Bool
$c> :: FolderType -> FolderType -> Bool
<= :: FolderType -> FolderType -> Bool
$c<= :: FolderType -> FolderType -> Bool
< :: FolderType -> FolderType -> Bool
$c< :: FolderType -> FolderType -> Bool
compare :: FolderType -> FolderType -> Ordering
$ccompare :: FolderType -> FolderType -> Ordering
$cp1Ord :: Eq FolderType
Prelude.Ord,
(forall x. FolderType -> Rep FolderType x)
-> (forall x. Rep FolderType x -> FolderType) -> Generic FolderType
forall x. Rep FolderType x -> FolderType
forall x. FolderType -> Rep FolderType x
forall a.
(forall x. a -> Rep a x) -> (forall x. Rep a x -> a) -> Generic a
$cto :: forall x. Rep FolderType x -> FolderType
$cfrom :: forall x. FolderType -> Rep FolderType x
Prelude.Generic
)
deriving newtype
( Int -> FolderType -> Int
FolderType -> Int
(Int -> FolderType -> Int)
-> (FolderType -> Int) -> Hashable FolderType
forall a. (Int -> a -> Int) -> (a -> Int) -> Hashable a
hash :: FolderType -> Int
$chash :: FolderType -> Int
hashWithSalt :: Int -> FolderType -> Int
$chashWithSalt :: Int -> FolderType -> Int
Prelude.Hashable,
FolderType -> ()
(FolderType -> ()) -> NFData FolderType
forall a. (a -> ()) -> NFData a
rnf :: FolderType -> ()
$crnf :: FolderType -> ()
Prelude.NFData,
Text -> Either String FolderType
(Text -> Either String FolderType) -> FromText FolderType
forall a. (Text -> Either String a) -> FromText a
fromText :: Text -> Either String FolderType
$cfromText :: Text -> Either String FolderType
Core.FromText,
FolderType -> Text
(FolderType -> Text) -> ToText FolderType
forall a. (a -> Text) -> ToText a
toText :: FolderType -> Text
$ctoText :: FolderType -> Text
Core.ToText,
FolderType -> ByteString
(FolderType -> ByteString) -> ToByteString FolderType
forall a. (a -> ByteString) -> ToByteString a
toBS :: FolderType -> ByteString
$ctoBS :: FolderType -> ByteString
Core.ToByteString,
FolderType -> ByteStringBuilder
(FolderType -> ByteStringBuilder) -> ToLog FolderType
forall a. (a -> ByteStringBuilder) -> ToLog a
build :: FolderType -> ByteStringBuilder
$cbuild :: FolderType -> ByteStringBuilder
Core.ToLog,
HeaderName -> FolderType -> [Header]
(HeaderName -> FolderType -> [Header]) -> ToHeader FolderType
forall a. (HeaderName -> a -> [Header]) -> ToHeader a
toHeader :: HeaderName -> FolderType -> [Header]
$ctoHeader :: HeaderName -> FolderType -> [Header]
Core.ToHeader,
FolderType -> QueryString
(FolderType -> QueryString) -> ToQuery FolderType
forall a. (a -> QueryString) -> ToQuery a
toQuery :: FolderType -> QueryString
$ctoQuery :: FolderType -> QueryString
Core.ToQuery,
Value -> Parser [FolderType]
Value -> Parser FolderType
(Value -> Parser FolderType)
-> (Value -> Parser [FolderType]) -> FromJSON FolderType
forall a.
(Value -> Parser a) -> (Value -> Parser [a]) -> FromJSON a
parseJSONList :: Value -> Parser [FolderType]
$cparseJSONList :: Value -> Parser [FolderType]
parseJSON :: Value -> Parser FolderType
$cparseJSON :: Value -> Parser FolderType
Core.FromJSON,
FromJSONKeyFunction [FolderType]
FromJSONKeyFunction FolderType
FromJSONKeyFunction FolderType
-> FromJSONKeyFunction [FolderType] -> FromJSONKey FolderType
forall a.
FromJSONKeyFunction a -> FromJSONKeyFunction [a] -> FromJSONKey a
fromJSONKeyList :: FromJSONKeyFunction [FolderType]
$cfromJSONKeyList :: FromJSONKeyFunction [FolderType]
fromJSONKey :: FromJSONKeyFunction FolderType
$cfromJSONKey :: FromJSONKeyFunction FolderType
Core.FromJSONKey,
[FolderType] -> Encoding
[FolderType] -> Value
FolderType -> Encoding
FolderType -> Value
(FolderType -> Value)
-> (FolderType -> Encoding)
-> ([FolderType] -> Value)
-> ([FolderType] -> Encoding)
-> ToJSON FolderType
forall a.
(a -> Value)
-> (a -> Encoding)
-> ([a] -> Value)
-> ([a] -> Encoding)
-> ToJSON a
toEncodingList :: [FolderType] -> Encoding
$ctoEncodingList :: [FolderType] -> Encoding
toJSONList :: [FolderType] -> Value
$ctoJSONList :: [FolderType] -> Value
toEncoding :: FolderType -> Encoding
$ctoEncoding :: FolderType -> Encoding
toJSON :: FolderType -> Value
$ctoJSON :: FolderType -> Value
Core.ToJSON,
ToJSONKeyFunction [FolderType]
ToJSONKeyFunction FolderType
ToJSONKeyFunction FolderType
-> ToJSONKeyFunction [FolderType] -> ToJSONKey FolderType
forall a.
ToJSONKeyFunction a -> ToJSONKeyFunction [a] -> ToJSONKey a
toJSONKeyList :: ToJSONKeyFunction [FolderType]
$ctoJSONKeyList :: ToJSONKeyFunction [FolderType]
toJSONKey :: ToJSONKeyFunction FolderType
$ctoJSONKey :: ToJSONKeyFunction FolderType
Core.ToJSONKey,
[Node] -> Either String FolderType
([Node] -> Either String FolderType) -> FromXML FolderType
forall a. ([Node] -> Either String a) -> FromXML a
parseXML :: [Node] -> Either String FolderType
$cparseXML :: [Node] -> Either String FolderType
Core.FromXML,
FolderType -> XML
(FolderType -> XML) -> ToXML FolderType
forall a. (a -> XML) -> ToXML a
toXML :: FolderType -> XML
$ctoXML :: FolderType -> XML
Core.ToXML
)
pattern FolderType_SHARED :: FolderType
pattern $bFolderType_SHARED :: FolderType
$mFolderType_SHARED :: forall r. FolderType -> (Void# -> r) -> (Void# -> r) -> r
FolderType_SHARED = FolderType' "SHARED"
{-# COMPLETE
FolderType_SHARED,
FolderType'
#-}