AWS SDK for C++

AWS SDK for C++ Version 1.11.612

Loading...
Searching...
No Matches
BarChartAggregatedFieldWells.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 BarChartAggregatedFieldWells() = 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 BarChartAggregatedFieldWells& WithCategory(CategoryT&& value) { SetCategory(std::forward<CategoryT>(value)); return *this;}
52 template<typename CategoryT = DimensionField>
53 BarChartAggregatedFieldWells& AddCategory(CategoryT&& value) { m_categoryHasBeenSet = true; m_category.emplace_back(std::forward<CategoryT>(value)); return *this; }
55
57
60 inline const Aws::Vector<MeasureField>& GetValues() const { return m_values; }
61 inline bool ValuesHasBeenSet() const { return m_valuesHasBeenSet; }
62 template<typename ValuesT = Aws::Vector<MeasureField>>
63 void SetValues(ValuesT&& value) { m_valuesHasBeenSet = true; m_values = std::forward<ValuesT>(value); }
64 template<typename ValuesT = Aws::Vector<MeasureField>>
65 BarChartAggregatedFieldWells& WithValues(ValuesT&& value) { SetValues(std::forward<ValuesT>(value)); return *this;}
66 template<typename ValuesT = MeasureField>
67 BarChartAggregatedFieldWells& AddValues(ValuesT&& value) { m_valuesHasBeenSet = true; m_values.emplace_back(std::forward<ValuesT>(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 BarChartAggregatedFieldWells& WithColors(ColorsT&& value) { SetColors(std::forward<ColorsT>(value)); return *this;}
80 template<typename ColorsT = DimensionField>
81 BarChartAggregatedFieldWells& AddColors(ColorsT&& value) { m_colorsHasBeenSet = true; m_colors.emplace_back(std::forward<ColorsT>(value)); return *this; }
83
85
88 inline const Aws::Vector<DimensionField>& GetSmallMultiples() const { return m_smallMultiples; }
89 inline bool SmallMultiplesHasBeenSet() const { return m_smallMultiplesHasBeenSet; }
90 template<typename SmallMultiplesT = Aws::Vector<DimensionField>>
91 void SetSmallMultiples(SmallMultiplesT&& value) { m_smallMultiplesHasBeenSet = true; m_smallMultiples = std::forward<SmallMultiplesT>(value); }
92 template<typename SmallMultiplesT = Aws::Vector<DimensionField>>
93 BarChartAggregatedFieldWells& WithSmallMultiples(SmallMultiplesT&& value) { SetSmallMultiples(std::forward<SmallMultiplesT>(value)); return *this;}
94 template<typename SmallMultiplesT = DimensionField>
95 BarChartAggregatedFieldWells& AddSmallMultiples(SmallMultiplesT&& value) { m_smallMultiplesHasBeenSet = true; m_smallMultiples.emplace_back(std::forward<SmallMultiplesT>(value)); return *this; }
97 private:
98
100 bool m_categoryHasBeenSet = false;
101
103 bool m_valuesHasBeenSet = false;
104
106 bool m_colorsHasBeenSet = false;
107
108 Aws::Vector<DimensionField> m_smallMultiples;
109 bool m_smallMultiplesHasBeenSet = false;
110 };
111
112} // namespace Model
113} // namespace QuickSight
114} // namespace Aws
const Aws::Vector< DimensionField > & GetSmallMultiples() const
AWS_QUICKSIGHT_API BarChartAggregatedFieldWells()=default
BarChartAggregatedFieldWells & AddColors(ColorsT &&value)
BarChartAggregatedFieldWells & WithValues(ValuesT &&value)
AWS_QUICKSIGHT_API Aws::Utils::Json::JsonValue Jsonize() const
const Aws::Vector< MeasureField > & GetValues() const
AWS_QUICKSIGHT_API BarChartAggregatedFieldWells & operator=(Aws::Utils::Json::JsonView jsonValue)
BarChartAggregatedFieldWells & AddValues(ValuesT &&value)
const Aws::Vector< DimensionField > & GetCategory() const
BarChartAggregatedFieldWells & WithColors(ColorsT &&value)
BarChartAggregatedFieldWells & WithSmallMultiples(SmallMultiplesT &&value)
const Aws::Vector< DimensionField > & GetColors() const
BarChartAggregatedFieldWells & WithCategory(CategoryT &&value)
BarChartAggregatedFieldWells & AddCategory(CategoryT &&value)
BarChartAggregatedFieldWells & AddSmallMultiples(SmallMultiplesT &&value)
AWS_QUICKSIGHT_API BarChartAggregatedFieldWells(Aws::Utils::Json::JsonView jsonValue)
std::vector< T, Aws::Allocator< T > > Vector
Aws::Utils::Json::JsonValue JsonValue