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