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

See * Also:

AWS * API Reference

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

The sort configuration of a group by fields.

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

The sort configuration of a group by fields.

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

The sort configuration of a group by fields.

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

The sort configuration of a group by fields.

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

The sort configuration of a group by fields.

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

The sort configuration of a group by fields.

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

The sort configuration of a group by fields.

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

The sort configuration of a group by fields.

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

The pagination configuration of a table visual or box plot.

*/ inline const PaginationConfiguration& GetPaginationConfiguration() const{ return m_paginationConfiguration; } /** *

The pagination configuration of a table visual or box plot.

*/ inline bool PaginationConfigurationHasBeenSet() const { return m_paginationConfigurationHasBeenSet; } /** *

The pagination configuration of a table visual or box plot.

*/ inline void SetPaginationConfiguration(const PaginationConfiguration& value) { m_paginationConfigurationHasBeenSet = true; m_paginationConfiguration = value; } /** *

The pagination configuration of a table visual or box plot.

*/ inline void SetPaginationConfiguration(PaginationConfiguration&& value) { m_paginationConfigurationHasBeenSet = true; m_paginationConfiguration = std::move(value); } /** *

The pagination configuration of a table visual or box plot.

*/ inline BoxPlotSortConfiguration& WithPaginationConfiguration(const PaginationConfiguration& value) { SetPaginationConfiguration(value); return *this;} /** *

The pagination configuration of a table visual or box plot.

*/ inline BoxPlotSortConfiguration& WithPaginationConfiguration(PaginationConfiguration&& value) { SetPaginationConfiguration(std::move(value)); return *this;} private: Aws::Vector m_categorySort; bool m_categorySortHasBeenSet = false; PaginationConfiguration m_paginationConfiguration; bool m_paginationConfigurationHasBeenSet = false; }; } // namespace Model } // namespace QuickSight } // namespace Aws