/** * 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 of a free-form layout * configuration.

See Also:

AWS * API Reference

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

Determines the screen canvas size options for a free-form layout.

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

Determines the screen canvas size options for a free-form layout.

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

Determines the screen canvas size options for a free-form layout.

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

Determines the screen canvas size options for a free-form layout.

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

Determines the screen canvas size options for a free-form layout.

*/ inline DefaultFreeFormLayoutConfiguration& WithCanvasSizeOptions(const FreeFormLayoutCanvasSizeOptions& value) { SetCanvasSizeOptions(value); return *this;} /** *

Determines the screen canvas size options for a free-form layout.

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