/**
* Copyright Amazon.com, Inc. or its affiliates. All Rights Reserved.
* SPDX-License-Identifier: Apache-2.0.
*/
#pragma once
#include The options for a paper canvas of a section-based layout.See
* Also:
AWS
* API Reference
The paper size that is used to define canvas dimensions.
*/ inline const PaperSize& GetPaperSize() const{ return m_paperSize; } /** *The paper size that is used to define canvas dimensions.
*/ inline bool PaperSizeHasBeenSet() const { return m_paperSizeHasBeenSet; } /** *The paper size that is used to define canvas dimensions.
*/ inline void SetPaperSize(const PaperSize& value) { m_paperSizeHasBeenSet = true; m_paperSize = value; } /** *The paper size that is used to define canvas dimensions.
*/ inline void SetPaperSize(PaperSize&& value) { m_paperSizeHasBeenSet = true; m_paperSize = std::move(value); } /** *The paper size that is used to define canvas dimensions.
*/ inline SectionBasedLayoutPaperCanvasSizeOptions& WithPaperSize(const PaperSize& value) { SetPaperSize(value); return *this;} /** *The paper size that is used to define canvas dimensions.
*/ inline SectionBasedLayoutPaperCanvasSizeOptions& WithPaperSize(PaperSize&& value) { SetPaperSize(std::move(value)); return *this;} /** *The paper orientation that is used to define canvas dimensions. Choose one of * the following options:
PORTRAIT
LANDSCAPE
*The paper orientation that is used to define canvas dimensions. Choose one of * the following options:
PORTRAIT
LANDSCAPE
*The paper orientation that is used to define canvas dimensions. Choose one of * the following options:
PORTRAIT
LANDSCAPE
*The paper orientation that is used to define canvas dimensions. Choose one of * the following options:
PORTRAIT
LANDSCAPE
*The paper orientation that is used to define canvas dimensions. Choose one of * the following options:
PORTRAIT
LANDSCAPE
*The paper orientation that is used to define canvas dimensions. Choose one of * the following options:
PORTRAIT
LANDSCAPE
*Defines the spacing between the canvas content and the top, bottom, left, and * right edges.
*/ inline const Spacing& GetPaperMargin() const{ return m_paperMargin; } /** *Defines the spacing between the canvas content and the top, bottom, left, and * right edges.
*/ inline bool PaperMarginHasBeenSet() const { return m_paperMarginHasBeenSet; } /** *Defines the spacing between the canvas content and the top, bottom, left, and * right edges.
*/ inline void SetPaperMargin(const Spacing& value) { m_paperMarginHasBeenSet = true; m_paperMargin = value; } /** *Defines the spacing between the canvas content and the top, bottom, left, and * right edges.
*/ inline void SetPaperMargin(Spacing&& value) { m_paperMarginHasBeenSet = true; m_paperMargin = std::move(value); } /** *Defines the spacing between the canvas content and the top, bottom, left, and * right edges.
*/ inline SectionBasedLayoutPaperCanvasSizeOptions& WithPaperMargin(const Spacing& value) { SetPaperMargin(value); return *this;} /** *Defines the spacing between the canvas content and the top, bottom, left, and * right edges.
*/ inline SectionBasedLayoutPaperCanvasSizeOptions& WithPaperMargin(Spacing&& value) { SetPaperMargin(std::move(value)); return *this;} private: PaperSize m_paperSize; bool m_paperSizeHasBeenSet = false; PaperOrientation m_paperOrientation; bool m_paperOrientationHasBeenSet = false; Spacing m_paperMargin; bool m_paperMarginHasBeenSet = false; }; } // namespace Model } // namespace QuickSight } // namespace Aws