AWS SDK for C++

AWS SDK for C++ Version 1.11.606

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() = default;
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 template<typename CategoryT = Aws::Vector<DimensionField>>
49 void SetCategory(CategoryT&& value) { m_categoryHasBeenSet = true; m_category = std::forward<CategoryT>(value); }
50 template<typename CategoryT = Aws::Vector<DimensionField>>
51 ComboChartAggregatedFieldWells& WithCategory(CategoryT&& value) { SetCategory(std::forward<CategoryT>(value)); return *this;}
52 template<typename CategoryT = DimensionField>
53 ComboChartAggregatedFieldWells& AddCategory(CategoryT&& value) { m_categoryHasBeenSet = true; m_category.emplace_back(std::forward<CategoryT>(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 template<typename BarValuesT = Aws::Vector<MeasureField>>
63 void SetBarValues(BarValuesT&& value) { m_barValuesHasBeenSet = true; m_barValues = std::forward<BarValuesT>(value); }
64 template<typename BarValuesT = Aws::Vector<MeasureField>>
65 ComboChartAggregatedFieldWells& WithBarValues(BarValuesT&& value) { SetBarValues(std::forward<BarValuesT>(value)); return *this;}
66 template<typename BarValuesT = MeasureField>
67 ComboChartAggregatedFieldWells& AddBarValues(BarValuesT&& value) { m_barValuesHasBeenSet = true; m_barValues.emplace_back(std::forward<BarValuesT>(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 template<typename ColorsT = Aws::Vector<DimensionField>>
77 void SetColors(ColorsT&& value) { m_colorsHasBeenSet = true; m_colors = std::forward<ColorsT>(value); }
78 template<typename ColorsT = Aws::Vector<DimensionField>>
79 ComboChartAggregatedFieldWells& WithColors(ColorsT&& value) { SetColors(std::forward<ColorsT>(value)); return *this;}
80 template<typename ColorsT = DimensionField>
81 ComboChartAggregatedFieldWells& AddColors(ColorsT&& value) { m_colorsHasBeenSet = true; m_colors.emplace_back(std::forward<ColorsT>(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 template<typename LineValuesT = Aws::Vector<MeasureField>>
91 void SetLineValues(LineValuesT&& value) { m_lineValuesHasBeenSet = true; m_lineValues = std::forward<LineValuesT>(value); }
92 template<typename LineValuesT = Aws::Vector<MeasureField>>
93 ComboChartAggregatedFieldWells& WithLineValues(LineValuesT&& value) { SetLineValues(std::forward<LineValuesT>(value)); return *this;}
94 template<typename LineValuesT = MeasureField>
95 ComboChartAggregatedFieldWells& AddLineValues(LineValuesT&& value) { m_lineValuesHasBeenSet = true; m_lineValues.emplace_back(std::forward<LineValuesT>(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(ColorsT &&value)
AWS_QUICKSIGHT_API ComboChartAggregatedFieldWells()=default
ComboChartAggregatedFieldWells & WithColors(ColorsT &&value)
ComboChartAggregatedFieldWells & WithCategory(CategoryT &&value)
AWS_QUICKSIGHT_API ComboChartAggregatedFieldWells & operator=(Aws::Utils::Json::JsonView jsonValue)
ComboChartAggregatedFieldWells & WithLineValues(LineValuesT &&value)
AWS_QUICKSIGHT_API ComboChartAggregatedFieldWells(Aws::Utils::Json::JsonView jsonValue)
ComboChartAggregatedFieldWells & AddBarValues(BarValuesT &&value)
ComboChartAggregatedFieldWells & AddCategory(CategoryT &&value)
ComboChartAggregatedFieldWells & AddLineValues(LineValuesT &&value)
const Aws::Vector< DimensionField > & GetCategory() const
ComboChartAggregatedFieldWells & WithBarValues(BarValuesT &&value)
AWS_QUICKSIGHT_API Aws::Utils::Json::JsonValue Jsonize() const
std::vector< T, Aws::Allocator< T > > Vector
Aws::Utils::Json::JsonValue JsonValue