module Stratosphere.QuickSight.Dashboard.NullValueFormatConfigurationProperty (
NullValueFormatConfigurationProperty(..),
mkNullValueFormatConfigurationProperty
) where
import qualified Data.Aeson as JSON
import qualified Stratosphere.Prelude as Prelude
import Stratosphere.Property
import Stratosphere.ResourceProperties
import Stratosphere.Value
data NullValueFormatConfigurationProperty
=
NullValueFormatConfigurationProperty {NullValueFormatConfigurationProperty -> ()
haddock_workaround_ :: (),
NullValueFormatConfigurationProperty -> Value Text
nullString :: (Value Prelude.Text)}
deriving stock (NullValueFormatConfigurationProperty
-> NullValueFormatConfigurationProperty -> Bool
(NullValueFormatConfigurationProperty
-> NullValueFormatConfigurationProperty -> Bool)
-> (NullValueFormatConfigurationProperty
-> NullValueFormatConfigurationProperty -> Bool)
-> Eq NullValueFormatConfigurationProperty
forall a. (a -> a -> Bool) -> (a -> a -> Bool) -> Eq a
$c== :: NullValueFormatConfigurationProperty
-> NullValueFormatConfigurationProperty -> Bool
== :: NullValueFormatConfigurationProperty
-> NullValueFormatConfigurationProperty -> Bool
$c/= :: NullValueFormatConfigurationProperty
-> NullValueFormatConfigurationProperty -> Bool
/= :: NullValueFormatConfigurationProperty
-> NullValueFormatConfigurationProperty -> Bool
Prelude.Eq, Int -> NullValueFormatConfigurationProperty -> ShowS
[NullValueFormatConfigurationProperty] -> ShowS
NullValueFormatConfigurationProperty -> String
(Int -> NullValueFormatConfigurationProperty -> ShowS)
-> (NullValueFormatConfigurationProperty -> String)
-> ([NullValueFormatConfigurationProperty] -> ShowS)
-> Show NullValueFormatConfigurationProperty
forall a.
(Int -> a -> ShowS) -> (a -> String) -> ([a] -> ShowS) -> Show a
$cshowsPrec :: Int -> NullValueFormatConfigurationProperty -> ShowS
showsPrec :: Int -> NullValueFormatConfigurationProperty -> ShowS
$cshow :: NullValueFormatConfigurationProperty -> String
show :: NullValueFormatConfigurationProperty -> String
$cshowList :: [NullValueFormatConfigurationProperty] -> ShowS
showList :: [NullValueFormatConfigurationProperty] -> ShowS
Prelude.Show)
mkNullValueFormatConfigurationProperty ::
Value Prelude.Text -> NullValueFormatConfigurationProperty
mkNullValueFormatConfigurationProperty :: Value Text -> NullValueFormatConfigurationProperty
mkNullValueFormatConfigurationProperty Value Text
nullString
= NullValueFormatConfigurationProperty
{haddock_workaround_ :: ()
haddock_workaround_ = (), nullString :: Value Text
nullString = Value Text
nullString}
instance ToResourceProperties NullValueFormatConfigurationProperty where
toResourceProperties :: NullValueFormatConfigurationProperty -> ResourceProperties
toResourceProperties NullValueFormatConfigurationProperty {()
Value Text
haddock_workaround_ :: NullValueFormatConfigurationProperty -> ()
nullString :: NullValueFormatConfigurationProperty -> Value Text
haddock_workaround_ :: ()
nullString :: Value Text
..}
= ResourceProperties
{awsType :: Text
awsType = Text
"AWS::QuickSight::Dashboard.NullValueFormatConfiguration",
supportsTags :: Bool
supportsTags = Bool
Prelude.False,
properties :: Object
properties = [Key
"NullString" Key -> Value Text -> (Key, Value)
forall v. ToJSON v => Key -> v -> (Key, Value)
forall e kv v. (KeyValue e kv, ToJSON v) => Key -> v -> kv
JSON..= Value Text
nullString]}
instance JSON.ToJSON NullValueFormatConfigurationProperty where
toJSON :: NullValueFormatConfigurationProperty -> Value
toJSON NullValueFormatConfigurationProperty {()
Value Text
haddock_workaround_ :: NullValueFormatConfigurationProperty -> ()
nullString :: NullValueFormatConfigurationProperty -> Value Text
haddock_workaround_ :: ()
nullString :: Value Text
..}
= [(Key, Value)] -> Value
JSON.object [Key
"NullString" Key -> Value Text -> (Key, Value)
forall v. ToJSON v => Key -> v -> (Key, Value)
forall e kv v. (KeyValue e kv, ToJSON v) => Key -> v -> kv
JSON..= Value Text
nullString]
instance Property "NullString" NullValueFormatConfigurationProperty where
type PropertyType "NullString" NullValueFormatConfigurationProperty = Value Prelude.Text
set :: PropertyType "NullString" NullValueFormatConfigurationProperty
-> NullValueFormatConfigurationProperty
-> NullValueFormatConfigurationProperty
set PropertyType "NullString" NullValueFormatConfigurationProperty
newValue NullValueFormatConfigurationProperty {()
Value Text
haddock_workaround_ :: NullValueFormatConfigurationProperty -> ()
nullString :: NullValueFormatConfigurationProperty -> Value Text
haddock_workaround_ :: ()
nullString :: Value Text
..}
= NullValueFormatConfigurationProperty {nullString :: Value Text
nullString = PropertyType "NullString" NullValueFormatConfigurationProperty
Value Text
newValue, ()
haddock_workaround_ :: ()
haddock_workaround_ :: ()
..}