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

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

The aggregated field wells of a bar chart.

*/ inline const BarChartAggregatedFieldWells& GetBarChartAggregatedFieldWells() const{ return m_barChartAggregatedFieldWells; } /** *

The aggregated field wells of a bar chart.

*/ inline bool BarChartAggregatedFieldWellsHasBeenSet() const { return m_barChartAggregatedFieldWellsHasBeenSet; } /** *

The aggregated field wells of a bar chart.

*/ inline void SetBarChartAggregatedFieldWells(const BarChartAggregatedFieldWells& value) { m_barChartAggregatedFieldWellsHasBeenSet = true; m_barChartAggregatedFieldWells = value; } /** *

The aggregated field wells of a bar chart.

*/ inline void SetBarChartAggregatedFieldWells(BarChartAggregatedFieldWells&& value) { m_barChartAggregatedFieldWellsHasBeenSet = true; m_barChartAggregatedFieldWells = std::move(value); } /** *

The aggregated field wells of a bar chart.

*/ inline BarChartFieldWells& WithBarChartAggregatedFieldWells(const BarChartAggregatedFieldWells& value) { SetBarChartAggregatedFieldWells(value); return *this;} /** *

The aggregated field wells of a bar chart.

*/ inline BarChartFieldWells& WithBarChartAggregatedFieldWells(BarChartAggregatedFieldWells&& value) { SetBarChartAggregatedFieldWells(std::move(value)); return *this;} private: BarChartAggregatedFieldWells m_barChartAggregatedFieldWells; bool m_barChartAggregatedFieldWellsHasBeenSet = false; }; } // namespace Model } // namespace QuickSight } // namespace Aws