/** * 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 { /** *

The options that determine the default settings for a section-based layout * configuration.

See Also:

AWS * API Reference

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

Determines the screen canvas size options for a section-based layout.

*/ inline const SectionBasedLayoutCanvasSizeOptions& GetCanvasSizeOptions() const{ return m_canvasSizeOptions; } /** *

Determines the screen canvas size options for a section-based layout.

*/ inline bool CanvasSizeOptionsHasBeenSet() const { return m_canvasSizeOptionsHasBeenSet; } /** *

Determines the screen canvas size options for a section-based layout.

*/ inline void SetCanvasSizeOptions(const SectionBasedLayoutCanvasSizeOptions& value) { m_canvasSizeOptionsHasBeenSet = true; m_canvasSizeOptions = value; } /** *

Determines the screen canvas size options for a section-based layout.

*/ inline void SetCanvasSizeOptions(SectionBasedLayoutCanvasSizeOptions&& value) { m_canvasSizeOptionsHasBeenSet = true; m_canvasSizeOptions = std::move(value); } /** *

Determines the screen canvas size options for a section-based layout.

*/ inline DefaultSectionBasedLayoutConfiguration& WithCanvasSizeOptions(const SectionBasedLayoutCanvasSizeOptions& value) { SetCanvasSizeOptions(value); return *this;} /** *

Determines the screen canvas size options for a section-based layout.

*/ inline DefaultSectionBasedLayoutConfiguration& WithCanvasSizeOptions(SectionBasedLayoutCanvasSizeOptions&& value) { SetCanvasSizeOptions(std::move(value)); return *this;} private: SectionBasedLayoutCanvasSizeOptions m_canvasSizeOptions; bool m_canvasSizeOptionsHasBeenSet = false; }; } // namespace Model } // namespace QuickSight } // namespace Aws