/** * 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 line chart.

See Also:

AWS * API Reference

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

The sort configuration of the category fields.

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

The sort configuration of the category fields.

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

The sort configuration of the category fields.

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

The sort configuration of the category fields.

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

The sort configuration of the category fields.

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

The sort configuration of the category fields.

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

The sort configuration of the category fields.

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

The sort configuration of the category fields.

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

The limit on the number of categories that are displayed in a line chart.

*/ inline const ItemsLimitConfiguration& GetCategoryItemsLimitConfiguration() const{ return m_categoryItemsLimitConfiguration; } /** *

The limit on the number of categories that are displayed in a line chart.

*/ inline bool CategoryItemsLimitConfigurationHasBeenSet() const { return m_categoryItemsLimitConfigurationHasBeenSet; } /** *

The limit on the number of categories that are displayed in a line chart.

*/ inline void SetCategoryItemsLimitConfiguration(const ItemsLimitConfiguration& value) { m_categoryItemsLimitConfigurationHasBeenSet = true; m_categoryItemsLimitConfiguration = value; } /** *

The limit on the number of categories that are displayed in a line chart.

*/ inline void SetCategoryItemsLimitConfiguration(ItemsLimitConfiguration&& value) { m_categoryItemsLimitConfigurationHasBeenSet = true; m_categoryItemsLimitConfiguration = std::move(value); } /** *

The limit on the number of categories that are displayed in a line chart.

*/ inline LineChartSortConfiguration& WithCategoryItemsLimitConfiguration(const ItemsLimitConfiguration& value) { SetCategoryItemsLimitConfiguration(value); return *this;} /** *

The limit on the number of categories that are displayed in a line chart.

*/ inline LineChartSortConfiguration& WithCategoryItemsLimitConfiguration(ItemsLimitConfiguration&& value) { SetCategoryItemsLimitConfiguration(std::move(value)); return *this;} /** *

The limit on the number of lines that are displayed in a line chart.

*/ inline const ItemsLimitConfiguration& GetColorItemsLimitConfiguration() const{ return m_colorItemsLimitConfiguration; } /** *

The limit on the number of lines that are displayed in a line chart.

*/ inline bool ColorItemsLimitConfigurationHasBeenSet() const { return m_colorItemsLimitConfigurationHasBeenSet; } /** *

The limit on the number of lines that are displayed in a line chart.

*/ inline void SetColorItemsLimitConfiguration(const ItemsLimitConfiguration& value) { m_colorItemsLimitConfigurationHasBeenSet = true; m_colorItemsLimitConfiguration = value; } /** *

The limit on the number of lines that are displayed in a line chart.

*/ inline void SetColorItemsLimitConfiguration(ItemsLimitConfiguration&& value) { m_colorItemsLimitConfigurationHasBeenSet = true; m_colorItemsLimitConfiguration = std::move(value); } /** *

The limit on the number of lines that are displayed in a line chart.

*/ inline LineChartSortConfiguration& WithColorItemsLimitConfiguration(const ItemsLimitConfiguration& value) { SetColorItemsLimitConfiguration(value); return *this;} /** *

The limit on the number of lines that are displayed in a line chart.

*/ inline LineChartSortConfiguration& WithColorItemsLimitConfiguration(ItemsLimitConfiguration&& value) { SetColorItemsLimitConfiguration(std::move(value)); return *this;} /** *

The sort configuration of the small multiples field.

*/ inline const Aws::Vector& GetSmallMultiplesSort() const{ return m_smallMultiplesSort; } /** *

The sort configuration of the small multiples field.

*/ inline bool SmallMultiplesSortHasBeenSet() const { return m_smallMultiplesSortHasBeenSet; } /** *

The sort configuration of the small multiples field.

*/ inline void SetSmallMultiplesSort(const Aws::Vector& value) { m_smallMultiplesSortHasBeenSet = true; m_smallMultiplesSort = value; } /** *

The sort configuration of the small multiples field.

*/ inline void SetSmallMultiplesSort(Aws::Vector&& value) { m_smallMultiplesSortHasBeenSet = true; m_smallMultiplesSort = std::move(value); } /** *

The sort configuration of the small multiples field.

*/ inline LineChartSortConfiguration& WithSmallMultiplesSort(const Aws::Vector& value) { SetSmallMultiplesSort(value); return *this;} /** *

The sort configuration of the small multiples field.

*/ inline LineChartSortConfiguration& WithSmallMultiplesSort(Aws::Vector&& value) { SetSmallMultiplesSort(std::move(value)); return *this;} /** *

The sort configuration of the small multiples field.

*/ inline LineChartSortConfiguration& AddSmallMultiplesSort(const FieldSortOptions& value) { m_smallMultiplesSortHasBeenSet = true; m_smallMultiplesSort.push_back(value); return *this; } /** *

The sort configuration of the small multiples field.

*/ inline LineChartSortConfiguration& AddSmallMultiplesSort(FieldSortOptions&& value) { m_smallMultiplesSortHasBeenSet = true; m_smallMultiplesSort.push_back(std::move(value)); return *this; } /** *

The limit on the number of small multiples panels that are displayed.

*/ inline const ItemsLimitConfiguration& GetSmallMultiplesLimitConfiguration() const{ return m_smallMultiplesLimitConfiguration; } /** *

The limit on the number of small multiples panels that are displayed.

*/ inline bool SmallMultiplesLimitConfigurationHasBeenSet() const { return m_smallMultiplesLimitConfigurationHasBeenSet; } /** *

The limit on the number of small multiples panels that are displayed.

*/ inline void SetSmallMultiplesLimitConfiguration(const ItemsLimitConfiguration& value) { m_smallMultiplesLimitConfigurationHasBeenSet = true; m_smallMultiplesLimitConfiguration = value; } /** *

The limit on the number of small multiples panels that are displayed.

*/ inline void SetSmallMultiplesLimitConfiguration(ItemsLimitConfiguration&& value) { m_smallMultiplesLimitConfigurationHasBeenSet = true; m_smallMultiplesLimitConfiguration = std::move(value); } /** *

The limit on the number of small multiples panels that are displayed.

*/ inline LineChartSortConfiguration& WithSmallMultiplesLimitConfiguration(const ItemsLimitConfiguration& value) { SetSmallMultiplesLimitConfiguration(value); return *this;} /** *

The limit on the number of small multiples panels that are displayed.

*/ inline LineChartSortConfiguration& WithSmallMultiplesLimitConfiguration(ItemsLimitConfiguration&& value) { SetSmallMultiplesLimitConfiguration(std::move(value)); return *this;} private: Aws::Vector m_categorySort; bool m_categorySortHasBeenSet = false; ItemsLimitConfiguration m_categoryItemsLimitConfiguration; bool m_categoryItemsLimitConfigurationHasBeenSet = false; ItemsLimitConfiguration m_colorItemsLimitConfiguration; bool m_colorItemsLimitConfigurationHasBeenSet = false; Aws::Vector m_smallMultiplesSort; bool m_smallMultiplesSortHasBeenSet = false; ItemsLimitConfiguration m_smallMultiplesLimitConfiguration; bool m_smallMultiplesLimitConfigurationHasBeenSet = false; }; } // namespace Model } // namespace QuickSight } // namespace Aws