/** * 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 * GaugeChartVisual.

See Also:

AWS * API Reference

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

The value field wells of a GaugeChartVisual.

*/ inline const Aws::Vector& GetValues() const{ return m_values; } /** *

The value field wells of a GaugeChartVisual.

*/ inline bool ValuesHasBeenSet() const { return m_valuesHasBeenSet; } /** *

The value field wells of a GaugeChartVisual.

*/ inline void SetValues(const Aws::Vector& value) { m_valuesHasBeenSet = true; m_values = value; } /** *

The value field wells of a GaugeChartVisual.

*/ inline void SetValues(Aws::Vector&& value) { m_valuesHasBeenSet = true; m_values = std::move(value); } /** *

The value field wells of a GaugeChartVisual.

*/ inline GaugeChartFieldWells& WithValues(const Aws::Vector& value) { SetValues(value); return *this;} /** *

The value field wells of a GaugeChartVisual.

*/ inline GaugeChartFieldWells& WithValues(Aws::Vector&& value) { SetValues(std::move(value)); return *this;} /** *

The value field wells of a GaugeChartVisual.

*/ inline GaugeChartFieldWells& AddValues(const MeasureField& value) { m_valuesHasBeenSet = true; m_values.push_back(value); return *this; } /** *

The value field wells of a GaugeChartVisual.

*/ inline GaugeChartFieldWells& AddValues(MeasureField&& value) { m_valuesHasBeenSet = true; m_values.push_back(std::move(value)); return *this; } /** *

The target value field wells of a GaugeChartVisual.

*/ inline const Aws::Vector& GetTargetValues() const{ return m_targetValues; } /** *

The target value field wells of a GaugeChartVisual.

*/ inline bool TargetValuesHasBeenSet() const { return m_targetValuesHasBeenSet; } /** *

The target value field wells of a GaugeChartVisual.

*/ inline void SetTargetValues(const Aws::Vector& value) { m_targetValuesHasBeenSet = true; m_targetValues = value; } /** *

The target value field wells of a GaugeChartVisual.

*/ inline void SetTargetValues(Aws::Vector&& value) { m_targetValuesHasBeenSet = true; m_targetValues = std::move(value); } /** *

The target value field wells of a GaugeChartVisual.

*/ inline GaugeChartFieldWells& WithTargetValues(const Aws::Vector& value) { SetTargetValues(value); return *this;} /** *

The target value field wells of a GaugeChartVisual.

*/ inline GaugeChartFieldWells& WithTargetValues(Aws::Vector&& value) { SetTargetValues(std::move(value)); return *this;} /** *

The target value field wells of a GaugeChartVisual.

*/ inline GaugeChartFieldWells& AddTargetValues(const MeasureField& value) { m_targetValuesHasBeenSet = true; m_targetValues.push_back(value); return *this; } /** *

The target value field wells of a GaugeChartVisual.

*/ inline GaugeChartFieldWells& AddTargetValues(MeasureField&& value) { m_targetValuesHasBeenSet = true; m_targetValues.push_back(std::move(value)); return *this; } private: Aws::Vector m_values; bool m_valuesHasBeenSet = false; Aws::Vector m_targetValues; bool m_targetValuesHasBeenSet = false; }; } // namespace Model } // namespace QuickSight } // namespace Aws