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