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

See Also:

AWS * API Reference

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

The value field wells of a KPI visual.

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

The value field wells of a KPI visual.

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

The value field wells of a KPI visual.

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

The value field wells of a KPI visual.

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

The value field wells of a KPI visual.

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

The value field wells of a KPI visual.

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

The value field wells of a KPI visual.

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

The value field wells of a KPI visual.

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

The target value field wells of a KPI visual.

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

The target value field wells of a KPI visual.

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

The target value field wells of a KPI visual.

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

The target value field wells of a KPI visual.

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

The target value field wells of a KPI visual.

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

The target value field wells of a KPI visual.

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

The target value field wells of a KPI visual.

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

The target value field wells of a KPI visual.

*/ inline KPIFieldWells& AddTargetValues(MeasureField&& value) { m_targetValuesHasBeenSet = true; m_targetValues.push_back(std::move(value)); return *this; } /** *

The trend group field wells of a KPI visual.

*/ inline const Aws::Vector& GetTrendGroups() const{ return m_trendGroups; } /** *

The trend group field wells of a KPI visual.

*/ inline bool TrendGroupsHasBeenSet() const { return m_trendGroupsHasBeenSet; } /** *

The trend group field wells of a KPI visual.

*/ inline void SetTrendGroups(const Aws::Vector& value) { m_trendGroupsHasBeenSet = true; m_trendGroups = value; } /** *

The trend group field wells of a KPI visual.

*/ inline void SetTrendGroups(Aws::Vector&& value) { m_trendGroupsHasBeenSet = true; m_trendGroups = std::move(value); } /** *

The trend group field wells of a KPI visual.

*/ inline KPIFieldWells& WithTrendGroups(const Aws::Vector& value) { SetTrendGroups(value); return *this;} /** *

The trend group field wells of a KPI visual.

*/ inline KPIFieldWells& WithTrendGroups(Aws::Vector&& value) { SetTrendGroups(std::move(value)); return *this;} /** *

The trend group field wells of a KPI visual.

*/ inline KPIFieldWells& AddTrendGroups(const DimensionField& value) { m_trendGroupsHasBeenSet = true; m_trendGroups.push_back(value); return *this; } /** *

The trend group field wells of a KPI visual.

*/ inline KPIFieldWells& AddTrendGroups(DimensionField&& value) { m_trendGroupsHasBeenSet = true; m_trendGroups.push_back(std::move(value)); return *this; } private: Aws::Vector m_values; bool m_valuesHasBeenSet = false; Aws::Vector m_targetValues; bool m_targetValuesHasBeenSet = false; Aws::Vector m_trendGroups; bool m_trendGroupsHasBeenSet = false; }; } // namespace Model } // namespace QuickSight } // namespace Aws