/**
* Copyright Amazon.com, Inc. or its affiliates. All Rights Reserved.
* SPDX-License-Identifier: Apache-2.0.
*/
#pragma once
#include sort-configuration-descriptionSee Also:
AWS
* API Reference
The sort configuration of category fields.
*/ inline const Aws::VectorThe sort configuration of category fields.
*/ inline bool CategorySortHasBeenSet() const { return m_categorySortHasBeenSet; } /** *The sort configuration of category fields.
*/ inline void SetCategorySort(const Aws::VectorThe sort configuration of category fields.
*/ inline void SetCategorySort(Aws::VectorThe sort configuration of category fields.
*/ inline BarChartSortConfiguration& WithCategorySort(const Aws::VectorThe sort configuration of category fields.
*/ inline BarChartSortConfiguration& WithCategorySort(Aws::VectorThe sort configuration of category fields.
*/ inline BarChartSortConfiguration& AddCategorySort(const FieldSortOptions& value) { m_categorySortHasBeenSet = true; m_categorySort.push_back(value); return *this; } /** *The sort configuration of category fields.
*/ inline BarChartSortConfiguration& AddCategorySort(FieldSortOptions&& value) { m_categorySortHasBeenSet = true; m_categorySort.push_back(std::move(value)); return *this; } /** *The limit on the number of categories displayed in a bar chart.
*/ inline const ItemsLimitConfiguration& GetCategoryItemsLimit() const{ return m_categoryItemsLimit; } /** *The limit on the number of categories displayed in a bar chart.
*/ inline bool CategoryItemsLimitHasBeenSet() const { return m_categoryItemsLimitHasBeenSet; } /** *The limit on the number of categories displayed in a bar chart.
*/ inline void SetCategoryItemsLimit(const ItemsLimitConfiguration& value) { m_categoryItemsLimitHasBeenSet = true; m_categoryItemsLimit = value; } /** *The limit on the number of categories displayed in a bar chart.
*/ inline void SetCategoryItemsLimit(ItemsLimitConfiguration&& value) { m_categoryItemsLimitHasBeenSet = true; m_categoryItemsLimit = std::move(value); } /** *The limit on the number of categories displayed in a bar chart.
*/ inline BarChartSortConfiguration& WithCategoryItemsLimit(const ItemsLimitConfiguration& value) { SetCategoryItemsLimit(value); return *this;} /** *The limit on the number of categories displayed in a bar chart.
*/ inline BarChartSortConfiguration& WithCategoryItemsLimit(ItemsLimitConfiguration&& value) { SetCategoryItemsLimit(std::move(value)); return *this;} /** *The sort configuration of color fields in a bar chart.
*/ inline const Aws::VectorThe sort configuration of color fields in a bar chart.
*/ inline bool ColorSortHasBeenSet() const { return m_colorSortHasBeenSet; } /** *The sort configuration of color fields in a bar chart.
*/ inline void SetColorSort(const Aws::VectorThe sort configuration of color fields in a bar chart.
*/ inline void SetColorSort(Aws::VectorThe sort configuration of color fields in a bar chart.
*/ inline BarChartSortConfiguration& WithColorSort(const Aws::VectorThe sort configuration of color fields in a bar chart.
*/ inline BarChartSortConfiguration& WithColorSort(Aws::VectorThe sort configuration of color fields in a bar chart.
*/ inline BarChartSortConfiguration& AddColorSort(const FieldSortOptions& value) { m_colorSortHasBeenSet = true; m_colorSort.push_back(value); return *this; } /** *The sort configuration of color fields in a bar chart.
*/ inline BarChartSortConfiguration& AddColorSort(FieldSortOptions&& value) { m_colorSortHasBeenSet = true; m_colorSort.push_back(std::move(value)); return *this; } /** *The limit on the number of values displayed in a bar chart.
*/ inline const ItemsLimitConfiguration& GetColorItemsLimit() const{ return m_colorItemsLimit; } /** *The limit on the number of values displayed in a bar chart.
*/ inline bool ColorItemsLimitHasBeenSet() const { return m_colorItemsLimitHasBeenSet; } /** *The limit on the number of values displayed in a bar chart.
*/ inline void SetColorItemsLimit(const ItemsLimitConfiguration& value) { m_colorItemsLimitHasBeenSet = true; m_colorItemsLimit = value; } /** *The limit on the number of values displayed in a bar chart.
*/ inline void SetColorItemsLimit(ItemsLimitConfiguration&& value) { m_colorItemsLimitHasBeenSet = true; m_colorItemsLimit = std::move(value); } /** *The limit on the number of values displayed in a bar chart.
*/ inline BarChartSortConfiguration& WithColorItemsLimit(const ItemsLimitConfiguration& value) { SetColorItemsLimit(value); return *this;} /** *The limit on the number of values displayed in a bar chart.
*/ inline BarChartSortConfiguration& WithColorItemsLimit(ItemsLimitConfiguration&& value) { SetColorItemsLimit(std::move(value)); return *this;} /** *The sort configuration of the small multiples field.
*/ inline const Aws::VectorThe 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::VectorThe sort configuration of the small multiples field.
*/ inline void SetSmallMultiplesSort(Aws::VectorThe sort configuration of the small multiples field.
*/ inline BarChartSortConfiguration& WithSmallMultiplesSort(const Aws::VectorThe sort configuration of the small multiples field.
*/ inline BarChartSortConfiguration& WithSmallMultiplesSort(Aws::VectorThe sort configuration of the small multiples field.
*/ inline BarChartSortConfiguration& AddSmallMultiplesSort(const FieldSortOptions& value) { m_smallMultiplesSortHasBeenSet = true; m_smallMultiplesSort.push_back(value); return *this; } /** *The sort configuration of the small multiples field.
*/ inline BarChartSortConfiguration& 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 BarChartSortConfiguration& WithSmallMultiplesLimitConfiguration(const ItemsLimitConfiguration& value) { SetSmallMultiplesLimitConfiguration(value); return *this;} /** *The limit on the number of small multiples panels that are displayed.
*/ inline BarChartSortConfiguration& WithSmallMultiplesLimitConfiguration(ItemsLimitConfiguration&& value) { SetSmallMultiplesLimitConfiguration(std::move(value)); return *this;} private: Aws::Vector