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

The free-form layout configuration of a section.

See Also:

* AWS * API Reference

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

*/ inline FreeFormSectionLayoutConfiguration& AddElements(FreeFormLayoutElement&& value) { m_elementsHasBeenSet = true; m_elements.push_back(std::move(value)); return *this; } private: Aws::Vector m_elements; bool m_elementsHasBeenSet = false; }; } // namespace Model } // namespace QuickSight } // namespace Aws