/** * 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 sort configuration of a tree map.

See Also:

AWS * API Reference

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

The sort configuration of group by fields.

*/ inline const Aws::Vector& GetTreeMapSort() const{ return m_treeMapSort; } /** *

The sort configuration of group by fields.

*/ inline bool TreeMapSortHasBeenSet() const { return m_treeMapSortHasBeenSet; } /** *

The sort configuration of group by fields.

*/ inline void SetTreeMapSort(const Aws::Vector& value) { m_treeMapSortHasBeenSet = true; m_treeMapSort = value; } /** *

The sort configuration of group by fields.

*/ inline void SetTreeMapSort(Aws::Vector&& value) { m_treeMapSortHasBeenSet = true; m_treeMapSort = std::move(value); } /** *

The sort configuration of group by fields.

*/ inline TreeMapSortConfiguration& WithTreeMapSort(const Aws::Vector& value) { SetTreeMapSort(value); return *this;} /** *

The sort configuration of group by fields.

*/ inline TreeMapSortConfiguration& WithTreeMapSort(Aws::Vector&& value) { SetTreeMapSort(std::move(value)); return *this;} /** *

The sort configuration of group by fields.

*/ inline TreeMapSortConfiguration& AddTreeMapSort(const FieldSortOptions& value) { m_treeMapSortHasBeenSet = true; m_treeMapSort.push_back(value); return *this; } /** *

The sort configuration of group by fields.

*/ inline TreeMapSortConfiguration& AddTreeMapSort(FieldSortOptions&& value) { m_treeMapSortHasBeenSet = true; m_treeMapSort.push_back(std::move(value)); return *this; } /** *

The limit on the number of groups that are displayed.

*/ inline const ItemsLimitConfiguration& GetTreeMapGroupItemsLimitConfiguration() const{ return m_treeMapGroupItemsLimitConfiguration; } /** *

The limit on the number of groups that are displayed.

*/ inline bool TreeMapGroupItemsLimitConfigurationHasBeenSet() const { return m_treeMapGroupItemsLimitConfigurationHasBeenSet; } /** *

The limit on the number of groups that are displayed.

*/ inline void SetTreeMapGroupItemsLimitConfiguration(const ItemsLimitConfiguration& value) { m_treeMapGroupItemsLimitConfigurationHasBeenSet = true; m_treeMapGroupItemsLimitConfiguration = value; } /** *

The limit on the number of groups that are displayed.

*/ inline void SetTreeMapGroupItemsLimitConfiguration(ItemsLimitConfiguration&& value) { m_treeMapGroupItemsLimitConfigurationHasBeenSet = true; m_treeMapGroupItemsLimitConfiguration = std::move(value); } /** *

The limit on the number of groups that are displayed.

*/ inline TreeMapSortConfiguration& WithTreeMapGroupItemsLimitConfiguration(const ItemsLimitConfiguration& value) { SetTreeMapGroupItemsLimitConfiguration(value); return *this;} /** *

The limit on the number of groups that are displayed.

*/ inline TreeMapSortConfiguration& WithTreeMapGroupItemsLimitConfiguration(ItemsLimitConfiguration&& value) { SetTreeMapGroupItemsLimitConfiguration(std::move(value)); return *this;} private: Aws::Vector m_treeMapSort; bool m_treeMapSortHasBeenSet = false; ItemsLimitConfiguration m_treeMapGroupItemsLimitConfiguration; bool m_treeMapGroupItemsLimitConfigurationHasBeenSet = false; }; } // namespace Model } // namespace QuickSight } // namespace Aws