module Stratosphere.QuickSight.Template.BodySectionContentProperty ( module Exports, BodySectionContentProperty(..), mkBodySectionContentProperty ) where import qualified Data.Aeson as JSON import qualified Stratosphere.Prelude as Prelude import Stratosphere.Property import {-# SOURCE #-} Stratosphere.QuickSight.Template.SectionLayoutConfigurationProperty as Exports import Stratosphere.ResourceProperties data BodySectionContentProperty = -- | See: BodySectionContentProperty {haddock_workaround_ :: (), -- | See: layout :: (Prelude.Maybe SectionLayoutConfigurationProperty)} deriving stock (Prelude.Eq, Prelude.Show) mkBodySectionContentProperty :: BodySectionContentProperty mkBodySectionContentProperty = BodySectionContentProperty {haddock_workaround_ = (), layout = Prelude.Nothing} instance ToResourceProperties BodySectionContentProperty where toResourceProperties BodySectionContentProperty {..} = ResourceProperties {awsType = "AWS::QuickSight::Template.BodySectionContent", supportsTags = Prelude.False, properties = Prelude.fromList (Prelude.catMaybes [(JSON..=) "Layout" Prelude.<$> layout])} instance JSON.ToJSON BodySectionContentProperty where toJSON BodySectionContentProperty {..} = JSON.object (Prelude.fromList (Prelude.catMaybes [(JSON..=) "Layout" Prelude.<$> layout])) instance Property "Layout" BodySectionContentProperty where type PropertyType "Layout" BodySectionContentProperty = SectionLayoutConfigurationProperty set newValue BodySectionContentProperty {..} = BodySectionContentProperty {layout = Prelude.pure newValue, ..}