/** * 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 RadarChartVisual.

See * Also:

AWS * API Reference

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

The category sort options of a radar chart.

*/ inline const Aws::Vector& GetCategorySort() const{ return m_categorySort; } /** *

The category sort options of a radar chart.

*/ inline bool CategorySortHasBeenSet() const { return m_categorySortHasBeenSet; } /** *

The category sort options of a radar chart.

*/ inline void SetCategorySort(const Aws::Vector& value) { m_categorySortHasBeenSet = true; m_categorySort = value; } /** *

The category sort options of a radar chart.

*/ inline void SetCategorySort(Aws::Vector&& value) { m_categorySortHasBeenSet = true; m_categorySort = std::move(value); } /** *

The category sort options of a radar chart.

*/ inline RadarChartSortConfiguration& WithCategorySort(const Aws::Vector& value) { SetCategorySort(value); return *this;} /** *

The category sort options of a radar chart.

*/ inline RadarChartSortConfiguration& WithCategorySort(Aws::Vector&& value) { SetCategorySort(std::move(value)); return *this;} /** *

The category sort options of a radar chart.

*/ inline RadarChartSortConfiguration& AddCategorySort(const FieldSortOptions& value) { m_categorySortHasBeenSet = true; m_categorySort.push_back(value); return *this; } /** *

The category sort options of a radar chart.

*/ inline RadarChartSortConfiguration& AddCategorySort(FieldSortOptions&& value) { m_categorySortHasBeenSet = true; m_categorySort.push_back(std::move(value)); return *this; } /** *

The category items limit for a radar chart.

*/ inline const ItemsLimitConfiguration& GetCategoryItemsLimit() const{ return m_categoryItemsLimit; } /** *

The category items limit for a radar chart.

*/ inline bool CategoryItemsLimitHasBeenSet() const { return m_categoryItemsLimitHasBeenSet; } /** *

The category items limit for a radar chart.

*/ inline void SetCategoryItemsLimit(const ItemsLimitConfiguration& value) { m_categoryItemsLimitHasBeenSet = true; m_categoryItemsLimit = value; } /** *

The category items limit for a radar chart.

*/ inline void SetCategoryItemsLimit(ItemsLimitConfiguration&& value) { m_categoryItemsLimitHasBeenSet = true; m_categoryItemsLimit = std::move(value); } /** *

The category items limit for a radar chart.

*/ inline RadarChartSortConfiguration& WithCategoryItemsLimit(const ItemsLimitConfiguration& value) { SetCategoryItemsLimit(value); return *this;} /** *

The category items limit for a radar chart.

*/ inline RadarChartSortConfiguration& WithCategoryItemsLimit(ItemsLimitConfiguration&& value) { SetCategoryItemsLimit(std::move(value)); return *this;} /** *

The color sort configuration of a radar chart.

*/ inline const Aws::Vector& GetColorSort() const{ return m_colorSort; } /** *

The color sort configuration of a radar chart.

*/ inline bool ColorSortHasBeenSet() const { return m_colorSortHasBeenSet; } /** *

The color sort configuration of a radar chart.

*/ inline void SetColorSort(const Aws::Vector& value) { m_colorSortHasBeenSet = true; m_colorSort = value; } /** *

The color sort configuration of a radar chart.

*/ inline void SetColorSort(Aws::Vector&& value) { m_colorSortHasBeenSet = true; m_colorSort = std::move(value); } /** *

The color sort configuration of a radar chart.

*/ inline RadarChartSortConfiguration& WithColorSort(const Aws::Vector& value) { SetColorSort(value); return *this;} /** *

The color sort configuration of a radar chart.

*/ inline RadarChartSortConfiguration& WithColorSort(Aws::Vector&& value) { SetColorSort(std::move(value)); return *this;} /** *

The color sort configuration of a radar chart.

*/ inline RadarChartSortConfiguration& AddColorSort(const FieldSortOptions& value) { m_colorSortHasBeenSet = true; m_colorSort.push_back(value); return *this; } /** *

The color sort configuration of a radar chart.

*/ inline RadarChartSortConfiguration& AddColorSort(FieldSortOptions&& value) { m_colorSortHasBeenSet = true; m_colorSort.push_back(std::move(value)); return *this; } /** *

The color items limit of a radar chart.

*/ inline const ItemsLimitConfiguration& GetColorItemsLimit() const{ return m_colorItemsLimit; } /** *

The color items limit of a radar chart.

*/ inline bool ColorItemsLimitHasBeenSet() const { return m_colorItemsLimitHasBeenSet; } /** *

The color items limit of a radar chart.

*/ inline void SetColorItemsLimit(const ItemsLimitConfiguration& value) { m_colorItemsLimitHasBeenSet = true; m_colorItemsLimit = value; } /** *

The color items limit of a radar chart.

*/ inline void SetColorItemsLimit(ItemsLimitConfiguration&& value) { m_colorItemsLimitHasBeenSet = true; m_colorItemsLimit = std::move(value); } /** *

The color items limit of a radar chart.

*/ inline RadarChartSortConfiguration& WithColorItemsLimit(const ItemsLimitConfiguration& value) { SetColorItemsLimit(value); return *this;} /** *

The color items limit of a radar chart.

*/ inline RadarChartSortConfiguration& WithColorItemsLimit(ItemsLimitConfiguration&& value) { SetColorItemsLimit(std::move(value)); return *this;} private: Aws::Vector m_categorySort; bool m_categorySortHasBeenSet = false; ItemsLimitConfiguration m_categoryItemsLimit; bool m_categoryItemsLimitHasBeenSet = false; Aws::Vector m_colorSort; bool m_colorSortHasBeenSet = false; ItemsLimitConfiguration m_colorItemsLimit; bool m_colorItemsLimitHasBeenSet = false; }; } // namespace Model } // namespace QuickSight } // namespace Aws