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