AWS SDK for C++

AWS SDK for C++ Version 1.11.606

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() = default;
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 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 KPIFieldWells& WithValues(ValuesT&& value) { SetValues(std::forward<ValuesT>(value)); return *this;}
52 template<typename ValuesT = MeasureField>
53 KPIFieldWells& 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 KPIFieldWells& WithTargetValues(TargetValuesT&& value) { SetTargetValues(std::forward<TargetValuesT>(value)); return *this;}
66 template<typename TargetValuesT = MeasureField>
67 KPIFieldWells& AddTargetValues(TargetValuesT&& value) { m_targetValuesHasBeenSet = true; m_targetValues.emplace_back(std::forward<TargetValuesT>(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 template<typename TrendGroupsT = Aws::Vector<DimensionField>>
77 void SetTrendGroups(TrendGroupsT&& value) { m_trendGroupsHasBeenSet = true; m_trendGroups = std::forward<TrendGroupsT>(value); }
78 template<typename TrendGroupsT = Aws::Vector<DimensionField>>
79 KPIFieldWells& WithTrendGroups(TrendGroupsT&& value) { SetTrendGroups(std::forward<TrendGroupsT>(value)); return *this;}
80 template<typename TrendGroupsT = DimensionField>
81 KPIFieldWells& AddTrendGroups(TrendGroupsT&& value) { m_trendGroupsHasBeenSet = true; m_trendGroups.emplace_back(std::forward<TrendGroupsT>(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
AWS_QUICKSIGHT_API KPIFieldWells()=default
const Aws::Vector< MeasureField > & GetTargetValues() const
KPIFieldWells & WithValues(ValuesT &&value)
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
void SetTrendGroups(TrendGroupsT &&value)
const Aws::Vector< DimensionField > & GetTrendGroups() const
KPIFieldWells & AddTrendGroups(TrendGroupsT &&value)
KPIFieldWells & AddValues(ValuesT &&value)
KPIFieldWells & WithTrendGroups(TrendGroupsT &&value)
void SetTargetValues(TargetValuesT &&value)
KPIFieldWells & WithTargetValues(TargetValuesT &&value)
const Aws::Vector< MeasureField > & GetValues() const
KPIFieldWells & AddTargetValues(TargetValuesT &&value)
std::vector< T, Aws::Allocator< T > > Vector
Aws::Utils::Json::JsonValue JsonValue