/** * Copyright Amazon.com, Inc. or its affiliates. All Rights Reserved. * SPDX-License-Identifier: Apache-2.0. */ #pragma once #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 of a word cloud visual.

See Also:

AWS * API Reference

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

The field wells of the visual.

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

The field wells of the visual.

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

The field wells of the visual.

*/ inline WordCloudChartConfiguration& WithFieldWells(const WordCloudFieldWells& value) { SetFieldWells(value); return *this;} /** *

The field wells of the visual.

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

The sort configuration of a word cloud visual.

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

The sort configuration of a word cloud visual.

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

The sort configuration of a word cloud visual.

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

The sort configuration of a word cloud visual.

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

The sort configuration of a word cloud visual.

*/ inline WordCloudChartConfiguration& WithSortConfiguration(const WordCloudSortConfiguration& value) { SetSortConfiguration(value); return *this;} /** *

The sort configuration of a word cloud visual.

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

The label options (label text, label visibility, and sort icon visibility) * for the word cloud category.

*/ inline const ChartAxisLabelOptions& GetCategoryLabelOptions() const{ return m_categoryLabelOptions; } /** *

The label options (label text, label visibility, and sort icon visibility) * for the word cloud category.

*/ inline bool CategoryLabelOptionsHasBeenSet() const { return m_categoryLabelOptionsHasBeenSet; } /** *

The label options (label text, label visibility, and sort icon visibility) * for the word cloud category.

*/ inline void SetCategoryLabelOptions(const ChartAxisLabelOptions& value) { m_categoryLabelOptionsHasBeenSet = true; m_categoryLabelOptions = value; } /** *

The label options (label text, label visibility, and sort icon visibility) * for the word cloud category.

*/ inline void SetCategoryLabelOptions(ChartAxisLabelOptions&& value) { m_categoryLabelOptionsHasBeenSet = true; m_categoryLabelOptions = std::move(value); } /** *

The label options (label text, label visibility, and sort icon visibility) * for the word cloud category.

*/ inline WordCloudChartConfiguration& WithCategoryLabelOptions(const ChartAxisLabelOptions& value) { SetCategoryLabelOptions(value); return *this;} /** *

The label options (label text, label visibility, and sort icon visibility) * for the word cloud category.

*/ inline WordCloudChartConfiguration& WithCategoryLabelOptions(ChartAxisLabelOptions&& value) { SetCategoryLabelOptions(std::move(value)); return *this;} /** *

The options for a word cloud visual.

*/ inline const WordCloudOptions& GetWordCloudOptions() const{ return m_wordCloudOptions; } /** *

The options for a word cloud visual.

*/ inline bool WordCloudOptionsHasBeenSet() const { return m_wordCloudOptionsHasBeenSet; } /** *

The options for a word cloud visual.

*/ inline void SetWordCloudOptions(const WordCloudOptions& value) { m_wordCloudOptionsHasBeenSet = true; m_wordCloudOptions = value; } /** *

The options for a word cloud visual.

*/ inline void SetWordCloudOptions(WordCloudOptions&& value) { m_wordCloudOptionsHasBeenSet = true; m_wordCloudOptions = std::move(value); } /** *

The options for a word cloud visual.

*/ inline WordCloudChartConfiguration& WithWordCloudOptions(const WordCloudOptions& value) { SetWordCloudOptions(value); return *this;} /** *

The options for a word cloud visual.

*/ inline WordCloudChartConfiguration& WithWordCloudOptions(WordCloudOptions&& value) { SetWordCloudOptions(std::move(value)); return *this;} private: WordCloudFieldWells m_fieldWells; bool m_fieldWellsHasBeenSet = false; WordCloudSortConfiguration m_sortConfiguration; bool m_sortConfigurationHasBeenSet = false; ChartAxisLabelOptions m_categoryLabelOptions; bool m_categoryLabelOptionsHasBeenSet = false; WordCloudOptions m_wordCloudOptions; bool m_wordCloudOptionsHasBeenSet = false; }; } // namespace Model } // namespace QuickSight } // namespace Aws