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

A Layout defines the placement of elements within a sheet.

*

For more information, see Types * of layout in the Amazon QuickSight User Guide.

This is a union * type structure. For this structure to be valid, only one of the attributes can * be defined.

See Also:

AWS * API Reference

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

The configuration that determines what the type of layout for a sheet.

*/ inline const LayoutConfiguration& GetConfiguration() const{ return m_configuration; } /** *

The configuration that determines what the type of layout for a sheet.

*/ inline bool ConfigurationHasBeenSet() const { return m_configurationHasBeenSet; } /** *

The configuration that determines what the type of layout for a sheet.

*/ inline void SetConfiguration(const LayoutConfiguration& value) { m_configurationHasBeenSet = true; m_configuration = value; } /** *

The configuration that determines what the type of layout for a sheet.

*/ inline void SetConfiguration(LayoutConfiguration&& value) { m_configurationHasBeenSet = true; m_configuration = std::move(value); } /** *

The configuration that determines what the type of layout for a sheet.

*/ inline Layout& WithConfiguration(const LayoutConfiguration& value) { SetConfiguration(value); return *this;} /** *

The configuration that determines what the type of layout for a sheet.

*/ inline Layout& WithConfiguration(LayoutConfiguration&& value) { SetConfiguration(std::move(value)); return *this;} private: LayoutConfiguration m_configuration; bool m_configurationHasBeenSet = false; }; } // namespace Model } // namespace QuickSight } // namespace Aws