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

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 PieChartFieldWells { public: AWS_QUICKSIGHT_API PieChartFieldWells(); AWS_QUICKSIGHT_API PieChartFieldWells(Aws::Utils::Json::JsonView jsonValue); AWS_QUICKSIGHT_API PieChartFieldWells& operator=(Aws::Utils::Json::JsonView jsonValue); AWS_QUICKSIGHT_API Aws::Utils::Json::JsonValue Jsonize() const; /** *

The field well configuration of a pie chart.

*/ inline const PieChartAggregatedFieldWells& GetPieChartAggregatedFieldWells() const{ return m_pieChartAggregatedFieldWells; } /** *

The field well configuration of a pie chart.

*/ inline bool PieChartAggregatedFieldWellsHasBeenSet() const { return m_pieChartAggregatedFieldWellsHasBeenSet; } /** *

The field well configuration of a pie chart.

*/ inline void SetPieChartAggregatedFieldWells(const PieChartAggregatedFieldWells& value) { m_pieChartAggregatedFieldWellsHasBeenSet = true; m_pieChartAggregatedFieldWells = value; } /** *

The field well configuration of a pie chart.

*/ inline void SetPieChartAggregatedFieldWells(PieChartAggregatedFieldWells&& value) { m_pieChartAggregatedFieldWellsHasBeenSet = true; m_pieChartAggregatedFieldWells = std::move(value); } /** *

The field well configuration of a pie chart.

*/ inline PieChartFieldWells& WithPieChartAggregatedFieldWells(const PieChartAggregatedFieldWells& value) { SetPieChartAggregatedFieldWells(value); return *this;} /** *

The field well configuration of a pie chart.

*/ inline PieChartFieldWells& WithPieChartAggregatedFieldWells(PieChartAggregatedFieldWells&& value) { SetPieChartAggregatedFieldWells(std::move(value)); return *this;} private: PieChartAggregatedFieldWells m_pieChartAggregatedFieldWells; bool m_pieChartAggregatedFieldWellsHasBeenSet = false; }; } // namespace Model } // namespace QuickSight } // namespace Aws