/** * 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 wells of a word cloud.

See Also:

AWS * API Reference

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

The group by field well of a word cloud. Values are grouped by group by * fields.

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

The group by field well of a word cloud. Values are grouped by group by * fields.

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

The group by field well of a word cloud. 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 of a word cloud. 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 of a word cloud. Values are grouped by group by * fields.

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

The group by field well of a word cloud. Values are grouped by group by * fields.

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

The group by field well of a word cloud. Values are grouped by group by * fields.

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

The group by field well of a word cloud. Values are grouped by group by * fields.

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

The size field well of a word cloud. Values are aggregated based on group by * fields.

*/ inline const Aws::Vector& GetSize() const{ return m_size; } /** *

The size field well of a word cloud. Values are aggregated based on group by * fields.

*/ inline bool SizeHasBeenSet() const { return m_sizeHasBeenSet; } /** *

The size field well of a word cloud. Values are aggregated based on group by * fields.

*/ inline void SetSize(const Aws::Vector& value) { m_sizeHasBeenSet = true; m_size = value; } /** *

The size field well of a word cloud. Values are aggregated based on group by * fields.

*/ inline void SetSize(Aws::Vector&& value) { m_sizeHasBeenSet = true; m_size = std::move(value); } /** *

The size field well of a word cloud. Values are aggregated based on group by * fields.

*/ inline WordCloudAggregatedFieldWells& WithSize(const Aws::Vector& value) { SetSize(value); return *this;} /** *

The size field well of a word cloud. Values are aggregated based on group by * fields.

*/ inline WordCloudAggregatedFieldWells& WithSize(Aws::Vector&& value) { SetSize(std::move(value)); return *this;} /** *

The size field well of a word cloud. Values are aggregated based on group by * fields.

*/ inline WordCloudAggregatedFieldWells& AddSize(const MeasureField& value) { m_sizeHasBeenSet = true; m_size.push_back(value); return *this; } /** *

The size field well of a word cloud. Values are aggregated based on group by * fields.

*/ inline WordCloudAggregatedFieldWells& AddSize(MeasureField&& value) { m_sizeHasBeenSet = true; m_size.push_back(std::move(value)); return *this; } private: Aws::Vector m_groupBy; bool m_groupByHasBeenSet = false; Aws::Vector m_size; bool m_sizeHasBeenSet = false; }; } // namespace Model } // namespace QuickSight } // namespace Aws