AWS SDK for C++

AWS SDK for C++ Version 1.11.440

Loading...
Searching...
No Matches
GaugeChartFieldWells.h
1
6#pragma once
7#include <aws/quicksight/QuickSight_EXPORTS.h>
8#include <aws/core/utils/memory/stl/AWSVector.h>
9#include <aws/quicksight/model/MeasureField.h>
10#include <utility>
11
12namespace Aws
13{
14namespace Utils
15{
16namespace Json
17{
18 class JsonValue;
19 class JsonView;
20} // namespace Json
21} // namespace Utils
22namespace QuickSight
23{
24namespace Model
25{
26
34 {
35 public:
36 AWS_QUICKSIGHT_API GaugeChartFieldWells();
37 AWS_QUICKSIGHT_API GaugeChartFieldWells(Aws::Utils::Json::JsonView jsonValue);
39 AWS_QUICKSIGHT_API Aws::Utils::Json::JsonValue Jsonize() const;
40
41
43
46 inline const Aws::Vector<MeasureField>& GetValues() const{ return m_values; }
47 inline bool ValuesHasBeenSet() const { return m_valuesHasBeenSet; }
48 inline void SetValues(const Aws::Vector<MeasureField>& value) { m_valuesHasBeenSet = true; m_values = value; }
49 inline void SetValues(Aws::Vector<MeasureField>&& value) { m_valuesHasBeenSet = true; m_values = std::move(value); }
50 inline GaugeChartFieldWells& WithValues(const Aws::Vector<MeasureField>& value) { SetValues(value); return *this;}
51 inline GaugeChartFieldWells& WithValues(Aws::Vector<MeasureField>&& value) { SetValues(std::move(value)); return *this;}
52 inline GaugeChartFieldWells& AddValues(const MeasureField& value) { m_valuesHasBeenSet = true; m_values.push_back(value); return *this; }
53 inline GaugeChartFieldWells& AddValues(MeasureField&& value) { m_valuesHasBeenSet = true; m_values.push_back(std::move(value)); return *this; }
55
57
60 inline const Aws::Vector<MeasureField>& GetTargetValues() const{ return m_targetValues; }
61 inline bool TargetValuesHasBeenSet() const { return m_targetValuesHasBeenSet; }
62 inline void SetTargetValues(const Aws::Vector<MeasureField>& value) { m_targetValuesHasBeenSet = true; m_targetValues = value; }
63 inline void SetTargetValues(Aws::Vector<MeasureField>&& value) { m_targetValuesHasBeenSet = true; m_targetValues = std::move(value); }
65 inline GaugeChartFieldWells& WithTargetValues(Aws::Vector<MeasureField>&& value) { SetTargetValues(std::move(value)); return *this;}
66 inline GaugeChartFieldWells& AddTargetValues(const MeasureField& value) { m_targetValuesHasBeenSet = true; m_targetValues.push_back(value); return *this; }
67 inline GaugeChartFieldWells& AddTargetValues(MeasureField&& value) { m_targetValuesHasBeenSet = true; m_targetValues.push_back(std::move(value)); return *this; }
69 private:
70
72 bool m_valuesHasBeenSet = false;
73
74 Aws::Vector<MeasureField> m_targetValues;
75 bool m_targetValuesHasBeenSet = false;
76 };
77
78} // namespace Model
79} // namespace QuickSight
80} // namespace Aws
const Aws::Vector< MeasureField > & GetValues() const
GaugeChartFieldWells & WithTargetValues(const Aws::Vector< MeasureField > &value)
GaugeChartFieldWells & AddTargetValues(const MeasureField &value)
GaugeChartFieldWells & WithValues(Aws::Vector< MeasureField > &&value)
GaugeChartFieldWells & AddTargetValues(MeasureField &&value)
AWS_QUICKSIGHT_API Aws::Utils::Json::JsonValue Jsonize() const
GaugeChartFieldWells & WithValues(const Aws::Vector< MeasureField > &value)
const Aws::Vector< MeasureField > & GetTargetValues() const
GaugeChartFieldWells & AddValues(MeasureField &&value)
AWS_QUICKSIGHT_API GaugeChartFieldWells & operator=(Aws::Utils::Json::JsonView jsonValue)
void SetValues(const Aws::Vector< MeasureField > &value)
AWS_QUICKSIGHT_API GaugeChartFieldWells(Aws::Utils::Json::JsonView jsonValue)
void SetTargetValues(const Aws::Vector< MeasureField > &value)
GaugeChartFieldWells & WithTargetValues(Aws::Vector< MeasureField > &&value)
void SetValues(Aws::Vector< MeasureField > &&value)
GaugeChartFieldWells & AddValues(const MeasureField &value)
void SetTargetValues(Aws::Vector< MeasureField > &&value)
std::vector< T, Aws::Allocator< T > > Vector
Aws::Utils::Json::JsonValue JsonValue