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