AWS SDK for C++

AWS SDK for C++ Version 1.11.440

Loading...
Searching...
No Matches
ComboChartAggregatedFieldWells.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/DimensionField.h>
10#include <aws/quicksight/model/MeasureField.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 ComboChartAggregatedFieldWells();
39 AWS_QUICKSIGHT_API Aws::Utils::Json::JsonValue Jsonize() const;
40
41
43
46 inline const Aws::Vector<DimensionField>& GetCategory() const{ return m_category; }
47 inline bool CategoryHasBeenSet() const { return m_categoryHasBeenSet; }
48 inline void SetCategory(const Aws::Vector<DimensionField>& value) { m_categoryHasBeenSet = true; m_category = value; }
49 inline void SetCategory(Aws::Vector<DimensionField>&& value) { m_categoryHasBeenSet = true; m_category = std::move(value); }
51 inline ComboChartAggregatedFieldWells& WithCategory(Aws::Vector<DimensionField>&& value) { SetCategory(std::move(value)); return *this;}
52 inline ComboChartAggregatedFieldWells& AddCategory(const DimensionField& value) { m_categoryHasBeenSet = true; m_category.push_back(value); return *this; }
53 inline ComboChartAggregatedFieldWells& AddCategory(DimensionField&& value) { m_categoryHasBeenSet = true; m_category.push_back(std::move(value)); return *this; }
55
57
60 inline const Aws::Vector<MeasureField>& GetBarValues() const{ return m_barValues; }
61 inline bool BarValuesHasBeenSet() const { return m_barValuesHasBeenSet; }
62 inline void SetBarValues(const Aws::Vector<MeasureField>& value) { m_barValuesHasBeenSet = true; m_barValues = value; }
63 inline void SetBarValues(Aws::Vector<MeasureField>&& value) { m_barValuesHasBeenSet = true; m_barValues = std::move(value); }
65 inline ComboChartAggregatedFieldWells& WithBarValues(Aws::Vector<MeasureField>&& value) { SetBarValues(std::move(value)); return *this;}
66 inline ComboChartAggregatedFieldWells& AddBarValues(const MeasureField& value) { m_barValuesHasBeenSet = true; m_barValues.push_back(value); return *this; }
67 inline ComboChartAggregatedFieldWells& AddBarValues(MeasureField&& value) { m_barValuesHasBeenSet = true; m_barValues.push_back(std::move(value)); return *this; }
69
71
74 inline const Aws::Vector<DimensionField>& GetColors() const{ return m_colors; }
75 inline bool ColorsHasBeenSet() const { return m_colorsHasBeenSet; }
76 inline void SetColors(const Aws::Vector<DimensionField>& value) { m_colorsHasBeenSet = true; m_colors = value; }
77 inline void SetColors(Aws::Vector<DimensionField>&& value) { m_colorsHasBeenSet = true; m_colors = std::move(value); }
79 inline ComboChartAggregatedFieldWells& WithColors(Aws::Vector<DimensionField>&& value) { SetColors(std::move(value)); return *this;}
80 inline ComboChartAggregatedFieldWells& AddColors(const DimensionField& value) { m_colorsHasBeenSet = true; m_colors.push_back(value); return *this; }
81 inline ComboChartAggregatedFieldWells& AddColors(DimensionField&& value) { m_colorsHasBeenSet = true; m_colors.push_back(std::move(value)); return *this; }
83
85
88 inline const Aws::Vector<MeasureField>& GetLineValues() const{ return m_lineValues; }
89 inline bool LineValuesHasBeenSet() const { return m_lineValuesHasBeenSet; }
90 inline void SetLineValues(const Aws::Vector<MeasureField>& value) { m_lineValuesHasBeenSet = true; m_lineValues = value; }
91 inline void SetLineValues(Aws::Vector<MeasureField>&& value) { m_lineValuesHasBeenSet = true; m_lineValues = std::move(value); }
93 inline ComboChartAggregatedFieldWells& WithLineValues(Aws::Vector<MeasureField>&& value) { SetLineValues(std::move(value)); return *this;}
94 inline ComboChartAggregatedFieldWells& AddLineValues(const MeasureField& value) { m_lineValuesHasBeenSet = true; m_lineValues.push_back(value); return *this; }
95 inline ComboChartAggregatedFieldWells& AddLineValues(MeasureField&& value) { m_lineValuesHasBeenSet = true; m_lineValues.push_back(std::move(value)); return *this; }
97 private:
98
100 bool m_categoryHasBeenSet = false;
101
102 Aws::Vector<MeasureField> m_barValues;
103 bool m_barValuesHasBeenSet = false;
104
106 bool m_colorsHasBeenSet = false;
107
108 Aws::Vector<MeasureField> m_lineValues;
109 bool m_lineValuesHasBeenSet = false;
110 };
111
112} // namespace Model
113} // namespace QuickSight
114} // namespace Aws
ComboChartAggregatedFieldWells & AddColors(DimensionField &&value)
ComboChartAggregatedFieldWells & WithBarValues(const Aws::Vector< MeasureField > &value)
ComboChartAggregatedFieldWells & AddBarValues(MeasureField &&value)
ComboChartAggregatedFieldWells & AddColors(const DimensionField &value)
void SetBarValues(const Aws::Vector< MeasureField > &value)
ComboChartAggregatedFieldWells & WithLineValues(const Aws::Vector< MeasureField > &value)
ComboChartAggregatedFieldWells & WithColors(Aws::Vector< DimensionField > &&value)
AWS_QUICKSIGHT_API ComboChartAggregatedFieldWells & operator=(Aws::Utils::Json::JsonView jsonValue)
void SetLineValues(const Aws::Vector< MeasureField > &value)
ComboChartAggregatedFieldWells & WithCategory(const Aws::Vector< DimensionField > &value)
void SetColors(const Aws::Vector< DimensionField > &value)
ComboChartAggregatedFieldWells & WithColors(const Aws::Vector< DimensionField > &value)
ComboChartAggregatedFieldWells & AddCategory(DimensionField &&value)
ComboChartAggregatedFieldWells & AddLineValues(MeasureField &&value)
AWS_QUICKSIGHT_API ComboChartAggregatedFieldWells(Aws::Utils::Json::JsonView jsonValue)
ComboChartAggregatedFieldWells & WithBarValues(Aws::Vector< MeasureField > &&value)
ComboChartAggregatedFieldWells & WithLineValues(Aws::Vector< MeasureField > &&value)
ComboChartAggregatedFieldWells & AddLineValues(const MeasureField &value)
ComboChartAggregatedFieldWells & AddBarValues(const MeasureField &value)
ComboChartAggregatedFieldWells & WithCategory(Aws::Vector< DimensionField > &&value)
ComboChartAggregatedFieldWells & AddCategory(const DimensionField &value)
const Aws::Vector< DimensionField > & GetCategory() const
AWS_QUICKSIGHT_API Aws::Utils::Json::JsonValue Jsonize() const
void SetCategory(const Aws::Vector< DimensionField > &value)
std::vector< T, Aws::Allocator< T > > Vector
Aws::Utils::Json::JsonValue JsonValue