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

The field well configuration of a scatter plot.

This is a union type * structure. For this structure to be valid, only one of the attributes can be * defined.

See Also:

AWS * API Reference

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

The aggregated field wells of a scatter plot. The x and y-axes of scatter * plots with aggregated field wells are aggregated by category, label, or * both.

*/ inline const ScatterPlotCategoricallyAggregatedFieldWells& GetScatterPlotCategoricallyAggregatedFieldWells() const{ return m_scatterPlotCategoricallyAggregatedFieldWells; } /** *

The aggregated field wells of a scatter plot. The x and y-axes of scatter * plots with aggregated field wells are aggregated by category, label, or * both.

*/ inline bool ScatterPlotCategoricallyAggregatedFieldWellsHasBeenSet() const { return m_scatterPlotCategoricallyAggregatedFieldWellsHasBeenSet; } /** *

The aggregated field wells of a scatter plot. The x and y-axes of scatter * plots with aggregated field wells are aggregated by category, label, or * both.

*/ inline void SetScatterPlotCategoricallyAggregatedFieldWells(const ScatterPlotCategoricallyAggregatedFieldWells& value) { m_scatterPlotCategoricallyAggregatedFieldWellsHasBeenSet = true; m_scatterPlotCategoricallyAggregatedFieldWells = value; } /** *

The aggregated field wells of a scatter plot. The x and y-axes of scatter * plots with aggregated field wells are aggregated by category, label, or * both.

*/ inline void SetScatterPlotCategoricallyAggregatedFieldWells(ScatterPlotCategoricallyAggregatedFieldWells&& value) { m_scatterPlotCategoricallyAggregatedFieldWellsHasBeenSet = true; m_scatterPlotCategoricallyAggregatedFieldWells = std::move(value); } /** *

The aggregated field wells of a scatter plot. The x and y-axes of scatter * plots with aggregated field wells are aggregated by category, label, or * both.

*/ inline ScatterPlotFieldWells& WithScatterPlotCategoricallyAggregatedFieldWells(const ScatterPlotCategoricallyAggregatedFieldWells& value) { SetScatterPlotCategoricallyAggregatedFieldWells(value); return *this;} /** *

The aggregated field wells of a scatter plot. The x and y-axes of scatter * plots with aggregated field wells are aggregated by category, label, or * both.

*/ inline ScatterPlotFieldWells& WithScatterPlotCategoricallyAggregatedFieldWells(ScatterPlotCategoricallyAggregatedFieldWells&& value) { SetScatterPlotCategoricallyAggregatedFieldWells(std::move(value)); return *this;} /** *

The unaggregated field wells of a scatter plot. The x and y-axes of these * scatter plots are unaggregated.

*/ inline const ScatterPlotUnaggregatedFieldWells& GetScatterPlotUnaggregatedFieldWells() const{ return m_scatterPlotUnaggregatedFieldWells; } /** *

The unaggregated field wells of a scatter plot. The x and y-axes of these * scatter plots are unaggregated.

*/ inline bool ScatterPlotUnaggregatedFieldWellsHasBeenSet() const { return m_scatterPlotUnaggregatedFieldWellsHasBeenSet; } /** *

The unaggregated field wells of a scatter plot. The x and y-axes of these * scatter plots are unaggregated.

*/ inline void SetScatterPlotUnaggregatedFieldWells(const ScatterPlotUnaggregatedFieldWells& value) { m_scatterPlotUnaggregatedFieldWellsHasBeenSet = true; m_scatterPlotUnaggregatedFieldWells = value; } /** *

The unaggregated field wells of a scatter plot. The x and y-axes of these * scatter plots are unaggregated.

*/ inline void SetScatterPlotUnaggregatedFieldWells(ScatterPlotUnaggregatedFieldWells&& value) { m_scatterPlotUnaggregatedFieldWellsHasBeenSet = true; m_scatterPlotUnaggregatedFieldWells = std::move(value); } /** *

The unaggregated field wells of a scatter plot. The x and y-axes of these * scatter plots are unaggregated.

*/ inline ScatterPlotFieldWells& WithScatterPlotUnaggregatedFieldWells(const ScatterPlotUnaggregatedFieldWells& value) { SetScatterPlotUnaggregatedFieldWells(value); return *this;} /** *

The unaggregated field wells of a scatter plot. The x and y-axes of these * scatter plots are unaggregated.

*/ inline ScatterPlotFieldWells& WithScatterPlotUnaggregatedFieldWells(ScatterPlotUnaggregatedFieldWells&& value) { SetScatterPlotUnaggregatedFieldWells(std::move(value)); return *this;} private: ScatterPlotCategoricallyAggregatedFieldWells m_scatterPlotCategoricallyAggregatedFieldWells; bool m_scatterPlotCategoricallyAggregatedFieldWellsHasBeenSet = false; ScatterPlotUnaggregatedFieldWells m_scatterPlotUnaggregatedFieldWells; bool m_scatterPlotUnaggregatedFieldWellsHasBeenSet = false; }; } // namespace Model } // namespace QuickSight } // namespace Aws