AWS SDK for C++

AWS SDK for C++ Version 1.11.612

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() = default;
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 template<typename ValuesT = Aws::Vector<MeasureField>>
49 void SetValues(ValuesT&& value) { m_valuesHasBeenSet = true; m_values = std::forward<ValuesT>(value); }
50 template<typename ValuesT = Aws::Vector<MeasureField>>
51 GaugeChartFieldWells& WithValues(ValuesT&& value) { SetValues(std::forward<ValuesT>(value)); return *this;}
52 template<typename ValuesT = MeasureField>
53 GaugeChartFieldWells& AddValues(ValuesT&& value) { m_valuesHasBeenSet = true; m_values.emplace_back(std::forward<ValuesT>(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 template<typename TargetValuesT = Aws::Vector<MeasureField>>
63 void SetTargetValues(TargetValuesT&& value) { m_targetValuesHasBeenSet = true; m_targetValues = std::forward<TargetValuesT>(value); }
64 template<typename TargetValuesT = Aws::Vector<MeasureField>>
65 GaugeChartFieldWells& WithTargetValues(TargetValuesT&& value) { SetTargetValues(std::forward<TargetValuesT>(value)); return *this;}
66 template<typename TargetValuesT = MeasureField>
67 GaugeChartFieldWells& AddTargetValues(TargetValuesT&& value) { m_targetValuesHasBeenSet = true; m_targetValues.emplace_back(std::forward<TargetValuesT>(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
AWS_QUICKSIGHT_API GaugeChartFieldWells()=default
AWS_QUICKSIGHT_API Aws::Utils::Json::JsonValue Jsonize() const
const Aws::Vector< MeasureField > & GetTargetValues() const
AWS_QUICKSIGHT_API GaugeChartFieldWells & operator=(Aws::Utils::Json::JsonView jsonValue)
GaugeChartFieldWells & WithValues(ValuesT &&value)
GaugeChartFieldWells & AddValues(ValuesT &&value)
GaugeChartFieldWells & AddTargetValues(TargetValuesT &&value)
AWS_QUICKSIGHT_API GaugeChartFieldWells(Aws::Utils::Json::JsonView jsonValue)
GaugeChartFieldWells & WithTargetValues(TargetValuesT &&value)
std::vector< T, Aws::Allocator< T > > Vector
Aws::Utils::Json::JsonValue JsonValue