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