/** * 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 #include #include namespace Aws { namespace Utils { namespace Json { class JsonValue; class JsonView; } // namespace Json } // namespace Utils namespace QuickSight { namespace Model { /** *

The configuration for a TableVisual.

See Also:

* AWS * API Reference

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

The field wells of the visual.

*/ inline const TableFieldWells& 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 TableFieldWells& value) { m_fieldWellsHasBeenSet = true; m_fieldWells = value; } /** *

The field wells of the visual.

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

The field wells of the visual.

*/ inline TableConfiguration& WithFieldWells(const TableFieldWells& value) { SetFieldWells(value); return *this;} /** *

The field wells of the visual.

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

The sort configuration for a TableVisual.

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

The sort configuration for a TableVisual.

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

The sort configuration for a TableVisual.

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

The sort configuration for a TableVisual.

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

The sort configuration for a TableVisual.

*/ inline TableConfiguration& WithSortConfiguration(const TableSortConfiguration& value) { SetSortConfiguration(value); return *this;} /** *

The sort configuration for a TableVisual.

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

The table options for a table visual.

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

The table options for a table visual.

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

The table options for a table visual.

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

The table options for a table visual.

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

The table options for a table visual.

*/ inline TableConfiguration& WithTableOptions(const TableOptions& value) { SetTableOptions(value); return *this;} /** *

The table options for a table visual.

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

The total options for a table visual.

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

The total options for a table visual.

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

The total options for a table visual.

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

The total options for a table visual.

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

The total options for a table visual.

*/ inline TableConfiguration& WithTotalOptions(const TotalOptions& value) { SetTotalOptions(value); return *this;} /** *

The total options for a table visual.

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

The field options for a table visual.

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

The field options for a table visual.

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

The field options for a table visual.

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

The field options for a table visual.

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

The field options for a table visual.

*/ inline TableConfiguration& WithFieldOptions(const TableFieldOptions& value) { SetFieldOptions(value); return *this;} /** *

The field options for a table visual.

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

The paginated report options for a table visual.

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

The paginated report options for a table visual.

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

The paginated report options for a table visual.

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

The paginated report options for a table visual.

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

The paginated report options for a table visual.

*/ inline TableConfiguration& WithPaginatedReportOptions(const TablePaginatedReportOptions& value) { SetPaginatedReportOptions(value); return *this;} /** *

The paginated report options for a table visual.

*/ inline TableConfiguration& WithPaginatedReportOptions(TablePaginatedReportOptions&& value) { SetPaginatedReportOptions(std::move(value)); return *this;} /** *

A collection of inline visualizations to display within a chart.

*/ inline const Aws::Vector& GetTableInlineVisualizations() const{ return m_tableInlineVisualizations; } /** *

A collection of inline visualizations to display within a chart.

*/ inline bool TableInlineVisualizationsHasBeenSet() const { return m_tableInlineVisualizationsHasBeenSet; } /** *

A collection of inline visualizations to display within a chart.

*/ inline void SetTableInlineVisualizations(const Aws::Vector& value) { m_tableInlineVisualizationsHasBeenSet = true; m_tableInlineVisualizations = value; } /** *

A collection of inline visualizations to display within a chart.

*/ inline void SetTableInlineVisualizations(Aws::Vector&& value) { m_tableInlineVisualizationsHasBeenSet = true; m_tableInlineVisualizations = std::move(value); } /** *

A collection of inline visualizations to display within a chart.

*/ inline TableConfiguration& WithTableInlineVisualizations(const Aws::Vector& value) { SetTableInlineVisualizations(value); return *this;} /** *

A collection of inline visualizations to display within a chart.

*/ inline TableConfiguration& WithTableInlineVisualizations(Aws::Vector&& value) { SetTableInlineVisualizations(std::move(value)); return *this;} /** *

A collection of inline visualizations to display within a chart.

*/ inline TableConfiguration& AddTableInlineVisualizations(const TableInlineVisualization& value) { m_tableInlineVisualizationsHasBeenSet = true; m_tableInlineVisualizations.push_back(value); return *this; } /** *

A collection of inline visualizations to display within a chart.

*/ inline TableConfiguration& AddTableInlineVisualizations(TableInlineVisualization&& value) { m_tableInlineVisualizationsHasBeenSet = true; m_tableInlineVisualizations.push_back(std::move(value)); return *this; } private: TableFieldWells m_fieldWells; bool m_fieldWellsHasBeenSet = false; TableSortConfiguration m_sortConfiguration; bool m_sortConfigurationHasBeenSet = false; TableOptions m_tableOptions; bool m_tableOptionsHasBeenSet = false; TotalOptions m_totalOptions; bool m_totalOptionsHasBeenSet = false; TableFieldOptions m_fieldOptions; bool m_fieldOptionsHasBeenSet = false; TablePaginatedReportOptions m_paginatedReportOptions; bool m_paginatedReportOptionsHasBeenSet = false; Aws::Vector m_tableInlineVisualizations; bool m_tableInlineVisualizationsHasBeenSet = false; }; } // namespace Model } // namespace QuickSight } // namespace Aws