AWS SDK for C++

AWS SDK for C++ Version 1.11.440

Loading...
Searching...
No Matches
KPIFieldWells.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 <aws/quicksight/model/DimensionField.h>
11#include <utility>
12
13namespace Aws
14{
15namespace Utils
16{
17namespace Json
18{
19 class JsonValue;
20 class JsonView;
21} // namespace Json
22} // namespace Utils
23namespace QuickSight
24{
25namespace Model
26{
27
34 {
35 public:
36 AWS_QUICKSIGHT_API KPIFieldWells();
37 AWS_QUICKSIGHT_API KPIFieldWells(Aws::Utils::Json::JsonView jsonValue);
38 AWS_QUICKSIGHT_API KPIFieldWells& operator=(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 KPIFieldWells& WithValues(const Aws::Vector<MeasureField>& value) { SetValues(value); return *this;}
51 inline KPIFieldWells& WithValues(Aws::Vector<MeasureField>&& value) { SetValues(std::move(value)); return *this;}
52 inline KPIFieldWells& AddValues(const MeasureField& value) { m_valuesHasBeenSet = true; m_values.push_back(value); return *this; }
53 inline KPIFieldWells& 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); }
64 inline KPIFieldWells& WithTargetValues(const Aws::Vector<MeasureField>& value) { SetTargetValues(value); return *this;}
65 inline KPIFieldWells& WithTargetValues(Aws::Vector<MeasureField>&& value) { SetTargetValues(std::move(value)); return *this;}
66 inline KPIFieldWells& AddTargetValues(const MeasureField& value) { m_targetValuesHasBeenSet = true; m_targetValues.push_back(value); return *this; }
67 inline KPIFieldWells& AddTargetValues(MeasureField&& value) { m_targetValuesHasBeenSet = true; m_targetValues.push_back(std::move(value)); return *this; }
69
71
74 inline const Aws::Vector<DimensionField>& GetTrendGroups() const{ return m_trendGroups; }
75 inline bool TrendGroupsHasBeenSet() const { return m_trendGroupsHasBeenSet; }
76 inline void SetTrendGroups(const Aws::Vector<DimensionField>& value) { m_trendGroupsHasBeenSet = true; m_trendGroups = value; }
77 inline void SetTrendGroups(Aws::Vector<DimensionField>&& value) { m_trendGroupsHasBeenSet = true; m_trendGroups = std::move(value); }
78 inline KPIFieldWells& WithTrendGroups(const Aws::Vector<DimensionField>& value) { SetTrendGroups(value); return *this;}
79 inline KPIFieldWells& WithTrendGroups(Aws::Vector<DimensionField>&& value) { SetTrendGroups(std::move(value)); return *this;}
80 inline KPIFieldWells& AddTrendGroups(const DimensionField& value) { m_trendGroupsHasBeenSet = true; m_trendGroups.push_back(value); return *this; }
81 inline KPIFieldWells& AddTrendGroups(DimensionField&& value) { m_trendGroupsHasBeenSet = true; m_trendGroups.push_back(std::move(value)); return *this; }
83 private:
84
86 bool m_valuesHasBeenSet = false;
87
88 Aws::Vector<MeasureField> m_targetValues;
89 bool m_targetValuesHasBeenSet = false;
90
91 Aws::Vector<DimensionField> m_trendGroups;
92 bool m_trendGroupsHasBeenSet = false;
93 };
94
95} // namespace Model
96} // namespace QuickSight
97} // namespace Aws
KPIFieldWells & AddValues(MeasureField &&value)
KPIFieldWells & WithTargetValues(Aws::Vector< MeasureField > &&value)
KPIFieldWells & WithTrendGroups(Aws::Vector< DimensionField > &&value)
KPIFieldWells & AddTargetValues(const MeasureField &value)
const Aws::Vector< MeasureField > & GetTargetValues() const
KPIFieldWells & WithValues(const Aws::Vector< MeasureField > &value)
AWS_QUICKSIGHT_API KPIFieldWells(Aws::Utils::Json::JsonView jsonValue)
AWS_QUICKSIGHT_API KPIFieldWells & operator=(Aws::Utils::Json::JsonView jsonValue)
KPIFieldWells & WithTrendGroups(const Aws::Vector< DimensionField > &value)
KPIFieldWells & AddTrendGroups(const DimensionField &value)
void SetTargetValues(Aws::Vector< MeasureField > &&value)
AWS_QUICKSIGHT_API Aws::Utils::Json::JsonValue Jsonize() const
const Aws::Vector< DimensionField > & GetTrendGroups() const
void SetTargetValues(const Aws::Vector< MeasureField > &value)
void SetValues(Aws::Vector< MeasureField > &&value)
KPIFieldWells & WithTargetValues(const Aws::Vector< MeasureField > &value)
KPIFieldWells & AddValues(const MeasureField &value)
void SetTrendGroups(Aws::Vector< DimensionField > &&value)
void SetValues(const Aws::Vector< MeasureField > &value)
KPIFieldWells & WithValues(Aws::Vector< MeasureField > &&value)
KPIFieldWells & AddTrendGroups(DimensionField &&value)
void SetTrendGroups(const Aws::Vector< DimensionField > &value)
const Aws::Vector< MeasureField > & GetValues() const
KPIFieldWells & AddTargetValues(MeasureField &&value)
std::vector< T, Aws::Allocator< T > > Vector
Aws::Utils::Json::JsonValue JsonValue