/** * Copyright Amazon.com, Inc. or its affiliates. All Rights Reserved. * SPDX-License-Identifier: Apache-2.0. */ #pragma once #include #include #include #include #include #include #include #include namespace Aws { namespace Utils { namespace Json { class JsonValue; class JsonView; } // namespace Json } // namespace Utils namespace QuickSight { namespace Model { /** *

The configuration for a PivotTableVisual.

See * Also:

AWS * API Reference

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

The field wells of the visual.

*/ inline const PivotTableFieldWells& GetFieldWells() const{ return m_fieldWells; } /** *

The field wells of the visual.

*/ inline bool FieldWellsHasBeenSet() const { return m_fieldWellsHasBeenSet; } /** *

The field wells of the visual.

*/ inline void SetFieldWells(const PivotTableFieldWells& value) { m_fieldWellsHasBeenSet = true; m_fieldWells = value; } /** *

The field wells of the visual.

*/ inline void SetFieldWells(PivotTableFieldWells&& value) { m_fieldWellsHasBeenSet = true; m_fieldWells = std::move(value); } /** *

The field wells of the visual.

*/ inline PivotTableConfiguration& WithFieldWells(const PivotTableFieldWells& value) { SetFieldWells(value); return *this;} /** *

The field wells of the visual.

*/ inline PivotTableConfiguration& WithFieldWells(PivotTableFieldWells&& value) { SetFieldWells(std::move(value)); return *this;} /** *

The sort configuration for a PivotTableVisual.

*/ inline const PivotTableSortConfiguration& GetSortConfiguration() const{ return m_sortConfiguration; } /** *

The sort configuration for a PivotTableVisual.

*/ inline bool SortConfigurationHasBeenSet() const { return m_sortConfigurationHasBeenSet; } /** *

The sort configuration for a PivotTableVisual.

*/ inline void SetSortConfiguration(const PivotTableSortConfiguration& value) { m_sortConfigurationHasBeenSet = true; m_sortConfiguration = value; } /** *

The sort configuration for a PivotTableVisual.

*/ inline void SetSortConfiguration(PivotTableSortConfiguration&& value) { m_sortConfigurationHasBeenSet = true; m_sortConfiguration = std::move(value); } /** *

The sort configuration for a PivotTableVisual.

*/ inline PivotTableConfiguration& WithSortConfiguration(const PivotTableSortConfiguration& value) { SetSortConfiguration(value); return *this;} /** *

The sort configuration for a PivotTableVisual.

*/ inline PivotTableConfiguration& WithSortConfiguration(PivotTableSortConfiguration&& value) { SetSortConfiguration(std::move(value)); return *this;} /** *

The table options for a pivot table visual.

*/ inline const PivotTableOptions& GetTableOptions() const{ return m_tableOptions; } /** *

The table options for a pivot table visual.

*/ inline bool TableOptionsHasBeenSet() const { return m_tableOptionsHasBeenSet; } /** *

The table options for a pivot table visual.

*/ inline void SetTableOptions(const PivotTableOptions& value) { m_tableOptionsHasBeenSet = true; m_tableOptions = value; } /** *

The table options for a pivot table visual.

*/ inline void SetTableOptions(PivotTableOptions&& value) { m_tableOptionsHasBeenSet = true; m_tableOptions = std::move(value); } /** *

The table options for a pivot table visual.

*/ inline PivotTableConfiguration& WithTableOptions(const PivotTableOptions& value) { SetTableOptions(value); return *this;} /** *

The table options for a pivot table visual.

*/ inline PivotTableConfiguration& WithTableOptions(PivotTableOptions&& value) { SetTableOptions(std::move(value)); return *this;} /** *

The total options for a pivot table visual.

*/ inline const PivotTableTotalOptions& GetTotalOptions() const{ return m_totalOptions; } /** *

The total options for a pivot table visual.

*/ inline bool TotalOptionsHasBeenSet() const { return m_totalOptionsHasBeenSet; } /** *

The total options for a pivot table visual.

*/ inline void SetTotalOptions(const PivotTableTotalOptions& value) { m_totalOptionsHasBeenSet = true; m_totalOptions = value; } /** *

The total options for a pivot table visual.

*/ inline void SetTotalOptions(PivotTableTotalOptions&& value) { m_totalOptionsHasBeenSet = true; m_totalOptions = std::move(value); } /** *

The total options for a pivot table visual.

*/ inline PivotTableConfiguration& WithTotalOptions(const PivotTableTotalOptions& value) { SetTotalOptions(value); return *this;} /** *

The total options for a pivot table visual.

*/ inline PivotTableConfiguration& WithTotalOptions(PivotTableTotalOptions&& value) { SetTotalOptions(std::move(value)); return *this;} /** *

The field options for a pivot table visual.

*/ inline const PivotTableFieldOptions& GetFieldOptions() const{ return m_fieldOptions; } /** *

The field options for a pivot table visual.

*/ inline bool FieldOptionsHasBeenSet() const { return m_fieldOptionsHasBeenSet; } /** *

The field options for a pivot table visual.

*/ inline void SetFieldOptions(const PivotTableFieldOptions& value) { m_fieldOptionsHasBeenSet = true; m_fieldOptions = value; } /** *

The field options for a pivot table visual.

*/ inline void SetFieldOptions(PivotTableFieldOptions&& value) { m_fieldOptionsHasBeenSet = true; m_fieldOptions = std::move(value); } /** *

The field options for a pivot table visual.

*/ inline PivotTableConfiguration& WithFieldOptions(const PivotTableFieldOptions& value) { SetFieldOptions(value); return *this;} /** *

The field options for a pivot table visual.

*/ inline PivotTableConfiguration& WithFieldOptions(PivotTableFieldOptions&& value) { SetFieldOptions(std::move(value)); return *this;} /** *

The paginated report options for a pivot table visual.

*/ inline const PivotTablePaginatedReportOptions& GetPaginatedReportOptions() const{ return m_paginatedReportOptions; } /** *

The paginated report options for a pivot table visual.

*/ inline bool PaginatedReportOptionsHasBeenSet() const { return m_paginatedReportOptionsHasBeenSet; } /** *

The paginated report options for a pivot table visual.

*/ inline void SetPaginatedReportOptions(const PivotTablePaginatedReportOptions& value) { m_paginatedReportOptionsHasBeenSet = true; m_paginatedReportOptions = value; } /** *

The paginated report options for a pivot table visual.

*/ inline void SetPaginatedReportOptions(PivotTablePaginatedReportOptions&& value) { m_paginatedReportOptionsHasBeenSet = true; m_paginatedReportOptions = std::move(value); } /** *

The paginated report options for a pivot table visual.

*/ inline PivotTableConfiguration& WithPaginatedReportOptions(const PivotTablePaginatedReportOptions& value) { SetPaginatedReportOptions(value); return *this;} /** *

The paginated report options for a pivot table visual.

*/ inline PivotTableConfiguration& WithPaginatedReportOptions(PivotTablePaginatedReportOptions&& value) { SetPaginatedReportOptions(std::move(value)); return *this;} private: PivotTableFieldWells m_fieldWells; bool m_fieldWellsHasBeenSet = false; PivotTableSortConfiguration m_sortConfiguration; bool m_sortConfigurationHasBeenSet = false; PivotTableOptions m_tableOptions; bool m_tableOptionsHasBeenSet = false; PivotTableTotalOptions m_totalOptions; bool m_totalOptionsHasBeenSet = false; PivotTableFieldOptions m_fieldOptions; bool m_fieldOptionsHasBeenSet = false; PivotTablePaginatedReportOptions m_paginatedReportOptions; bool m_paginatedReportOptionsHasBeenSet = false; }; } // namespace Model } // namespace QuickSight } // namespace Aws