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

The configuration of a free-form layout.

See Also:

AWS * API Reference

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

The elements that are included in a free-form layout.

*/ inline const Aws::Vector& GetElements() const{ return m_elements; } /** *

The elements that are included in a free-form layout.

*/ inline bool ElementsHasBeenSet() const { return m_elementsHasBeenSet; } /** *

The elements that are included in a free-form layout.

*/ inline void SetElements(const Aws::Vector& value) { m_elementsHasBeenSet = true; m_elements = value; } /** *

The elements that are included in a free-form layout.

*/ inline void SetElements(Aws::Vector&& value) { m_elementsHasBeenSet = true; m_elements = std::move(value); } /** *

The elements that are included in a free-form layout.

*/ inline FreeFormLayoutConfiguration& WithElements(const Aws::Vector& value) { SetElements(value); return *this;} /** *

The elements that are included in a free-form layout.

*/ inline FreeFormLayoutConfiguration& WithElements(Aws::Vector&& value) { SetElements(std::move(value)); return *this;} /** *

The elements that are included in a free-form layout.

*/ inline FreeFormLayoutConfiguration& AddElements(const FreeFormLayoutElement& value) { m_elementsHasBeenSet = true; m_elements.push_back(value); return *this; } /** *

The elements that are included in a free-form layout.

*/ inline FreeFormLayoutConfiguration& AddElements(FreeFormLayoutElement&& value) { m_elementsHasBeenSet = true; m_elements.push_back(std::move(value)); return *this; } inline const FreeFormLayoutCanvasSizeOptions& GetCanvasSizeOptions() const{ return m_canvasSizeOptions; } inline bool CanvasSizeOptionsHasBeenSet() const { return m_canvasSizeOptionsHasBeenSet; } inline void SetCanvasSizeOptions(const FreeFormLayoutCanvasSizeOptions& value) { m_canvasSizeOptionsHasBeenSet = true; m_canvasSizeOptions = value; } inline void SetCanvasSizeOptions(FreeFormLayoutCanvasSizeOptions&& value) { m_canvasSizeOptionsHasBeenSet = true; m_canvasSizeOptions = std::move(value); } inline FreeFormLayoutConfiguration& WithCanvasSizeOptions(const FreeFormLayoutCanvasSizeOptions& value) { SetCanvasSizeOptions(value); return *this;} inline FreeFormLayoutConfiguration& WithCanvasSizeOptions(FreeFormLayoutCanvasSizeOptions&& value) { SetCanvasSizeOptions(std::move(value)); return *this;} private: Aws::Vector m_elements; bool m_elementsHasBeenSet = false; FreeFormLayoutCanvasSizeOptions m_canvasSizeOptions; bool m_canvasSizeOptionsHasBeenSet = false; }; } // namespace Model } // namespace QuickSight } // namespace Aws