/** * Copyright Amazon.com, Inc. or its affiliates. All Rights Reserved. * SPDX-License-Identifier: Apache-2.0. */ #pragma once #include #include #include namespace Aws { namespace Utils { namespace Json { class JsonValue; class JsonView; } // namespace Json } // namespace Utils namespace QuickSight { namespace Model { /** *

Configuration options for the canvas of a grid layout.

See * Also:

AWS * API Reference

*/ class GridLayoutCanvasSizeOptions { public: AWS_QUICKSIGHT_API GridLayoutCanvasSizeOptions(); AWS_QUICKSIGHT_API GridLayoutCanvasSizeOptions(Aws::Utils::Json::JsonView jsonValue); AWS_QUICKSIGHT_API GridLayoutCanvasSizeOptions& operator=(Aws::Utils::Json::JsonView jsonValue); AWS_QUICKSIGHT_API Aws::Utils::Json::JsonValue Jsonize() const; /** *

The options that determine the sizing of the canvas used in a grid * layout.

*/ inline const GridLayoutScreenCanvasSizeOptions& GetScreenCanvasSizeOptions() const{ return m_screenCanvasSizeOptions; } /** *

The options that determine the sizing of the canvas used in a grid * layout.

*/ inline bool ScreenCanvasSizeOptionsHasBeenSet() const { return m_screenCanvasSizeOptionsHasBeenSet; } /** *

The options that determine the sizing of the canvas used in a grid * layout.

*/ inline void SetScreenCanvasSizeOptions(const GridLayoutScreenCanvasSizeOptions& value) { m_screenCanvasSizeOptionsHasBeenSet = true; m_screenCanvasSizeOptions = value; } /** *

The options that determine the sizing of the canvas used in a grid * layout.

*/ inline void SetScreenCanvasSizeOptions(GridLayoutScreenCanvasSizeOptions&& value) { m_screenCanvasSizeOptionsHasBeenSet = true; m_screenCanvasSizeOptions = std::move(value); } /** *

The options that determine the sizing of the canvas used in a grid * layout.

*/ inline GridLayoutCanvasSizeOptions& WithScreenCanvasSizeOptions(const GridLayoutScreenCanvasSizeOptions& value) { SetScreenCanvasSizeOptions(value); return *this;} /** *

The options that determine the sizing of the canvas used in a grid * layout.

*/ inline GridLayoutCanvasSizeOptions& WithScreenCanvasSizeOptions(GridLayoutScreenCanvasSizeOptions&& value) { SetScreenCanvasSizeOptions(std::move(value)); return *this;} private: GridLayoutScreenCanvasSizeOptions m_screenCanvasSizeOptions; bool m_screenCanvasSizeOptionsHasBeenSet = false; }; } // namespace Model } // namespace QuickSight } // namespace Aws