/** * 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 aggregated field well for the table.

See Also:

AWS * API Reference

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

The group by field well for a pivot table. Values are grouped by group by * fields.

*/ inline const Aws::Vector& GetGroupBy() const{ return m_groupBy; } /** *

The group by field well for a pivot table. Values are grouped by group by * fields.

*/ inline bool GroupByHasBeenSet() const { return m_groupByHasBeenSet; } /** *

The group by field well for a pivot table. Values are grouped by group by * fields.

*/ inline void SetGroupBy(const Aws::Vector& value) { m_groupByHasBeenSet = true; m_groupBy = value; } /** *

The group by field well for a pivot table. Values are grouped by group by * fields.

*/ inline void SetGroupBy(Aws::Vector&& value) { m_groupByHasBeenSet = true; m_groupBy = std::move(value); } /** *

The group by field well for a pivot table. Values are grouped by group by * fields.

*/ inline TableAggregatedFieldWells& WithGroupBy(const Aws::Vector& value) { SetGroupBy(value); return *this;} /** *

The group by field well for a pivot table. Values are grouped by group by * fields.

*/ inline TableAggregatedFieldWells& WithGroupBy(Aws::Vector&& value) { SetGroupBy(std::move(value)); return *this;} /** *

The group by field well for a pivot table. Values are grouped by group by * fields.

*/ inline TableAggregatedFieldWells& AddGroupBy(const DimensionField& value) { m_groupByHasBeenSet = true; m_groupBy.push_back(value); return *this; } /** *

The group by field well for a pivot table. Values are grouped by group by * fields.

*/ inline TableAggregatedFieldWells& AddGroupBy(DimensionField&& value) { m_groupByHasBeenSet = true; m_groupBy.push_back(std::move(value)); return *this; } /** *

The values field well for a pivot table. Values are aggregated based on group * by fields.

*/ inline const Aws::Vector& GetValues() const{ return m_values; } /** *

The values field well for a pivot table. Values are aggregated based on group * by fields.

*/ inline bool ValuesHasBeenSet() const { return m_valuesHasBeenSet; } /** *

The values field well for a pivot table. Values are aggregated based on group * by fields.

*/ inline void SetValues(const Aws::Vector& value) { m_valuesHasBeenSet = true; m_values = value; } /** *

The values field well for a pivot table. Values are aggregated based on group * by fields.

*/ inline void SetValues(Aws::Vector&& value) { m_valuesHasBeenSet = true; m_values = std::move(value); } /** *

The values field well for a pivot table. Values are aggregated based on group * by fields.

*/ inline TableAggregatedFieldWells& WithValues(const Aws::Vector& value) { SetValues(value); return *this;} /** *

The values field well for a pivot table. Values are aggregated based on group * by fields.

*/ inline TableAggregatedFieldWells& WithValues(Aws::Vector&& value) { SetValues(std::move(value)); return *this;} /** *

The values field well for a pivot table. Values are aggregated based on group * by fields.

*/ inline TableAggregatedFieldWells& AddValues(const MeasureField& value) { m_valuesHasBeenSet = true; m_values.push_back(value); return *this; } /** *

The values field well for a pivot table. Values are aggregated based on group * by fields.

*/ inline TableAggregatedFieldWells& AddValues(MeasureField&& value) { m_valuesHasBeenSet = true; m_values.push_back(std::move(value)); return *this; } private: Aws::Vector m_groupBy; bool m_groupByHasBeenSet = false; Aws::Vector m_values; bool m_valuesHasBeenSet = false; }; } // namespace Model } // namespace QuickSight } // namespace Aws