AWS SDK for C++

AWS SDK for C++ Version 1.11.754

Loading...
Searching...
No Matches
GaugeChartFieldWells.h
1
6#pragma once
7#include <aws/core/utils/memory/stl/AWSVector.h>
8#include <aws/quicksight/QuickSight_EXPORTS.h>
9#include <aws/quicksight/model/MeasureField.h>
10
11#include <utility>
12
13namespace Aws {
14namespace Utils {
15namespace Json {
16class JsonValue;
17class JsonView;
18} // namespace Json
19} // namespace Utils
20namespace QuickSight {
21namespace Model {
22
30 public:
31 AWS_QUICKSIGHT_API GaugeChartFieldWells() = default;
32 AWS_QUICKSIGHT_API GaugeChartFieldWells(Aws::Utils::Json::JsonView jsonValue);
34 AWS_QUICKSIGHT_API Aws::Utils::Json::JsonValue Jsonize() const;
35
37
40 inline const Aws::Vector<MeasureField>& GetValues() const { return m_values; }
41 inline bool ValuesHasBeenSet() const { return m_valuesHasBeenSet; }
42 template <typename ValuesT = Aws::Vector<MeasureField>>
43 void SetValues(ValuesT&& value) {
44 m_valuesHasBeenSet = true;
45 m_values = std::forward<ValuesT>(value);
46 }
47 template <typename ValuesT = Aws::Vector<MeasureField>>
48 GaugeChartFieldWells& WithValues(ValuesT&& value) {
49 SetValues(std::forward<ValuesT>(value));
50 return *this;
51 }
52 template <typename ValuesT = MeasureField>
53 GaugeChartFieldWells& AddValues(ValuesT&& value) {
54 m_valuesHasBeenSet = true;
55 m_values.emplace_back(std::forward<ValuesT>(value));
56 return *this;
57 }
59
61
64 inline const Aws::Vector<MeasureField>& GetTargetValues() const { return m_targetValues; }
65 inline bool TargetValuesHasBeenSet() const { return m_targetValuesHasBeenSet; }
66 template <typename TargetValuesT = Aws::Vector<MeasureField>>
67 void SetTargetValues(TargetValuesT&& value) {
68 m_targetValuesHasBeenSet = true;
69 m_targetValues = std::forward<TargetValuesT>(value);
70 }
71 template <typename TargetValuesT = Aws::Vector<MeasureField>>
72 GaugeChartFieldWells& WithTargetValues(TargetValuesT&& value) {
73 SetTargetValues(std::forward<TargetValuesT>(value));
74 return *this;
75 }
76 template <typename TargetValuesT = MeasureField>
77 GaugeChartFieldWells& AddTargetValues(TargetValuesT&& value) {
78 m_targetValuesHasBeenSet = true;
79 m_targetValues.emplace_back(std::forward<TargetValuesT>(value));
80 return *this;
81 }
83 private:
85
86 Aws::Vector<MeasureField> m_targetValues;
87 bool m_valuesHasBeenSet = false;
88 bool m_targetValuesHasBeenSet = false;
89};
90
91} // namespace Model
92} // namespace QuickSight
93} // 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