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