AWS SDK for C++

AWS SDK for C++ Version 1.11.606

Loading...
Searching...
No Matches
LineChartAggregatedFieldWells.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 LineChartAggregatedFieldWells() = default;
39 AWS_QUICKSIGHT_API Aws::Utils::Json::JsonValue Jsonize() const;
40
41
43
47 inline const Aws::Vector<DimensionField>& GetCategory() const { return m_category; }
48 inline bool CategoryHasBeenSet() const { return m_categoryHasBeenSet; }
49 template<typename CategoryT = Aws::Vector<DimensionField>>
50 void SetCategory(CategoryT&& value) { m_categoryHasBeenSet = true; m_category = std::forward<CategoryT>(value); }
51 template<typename CategoryT = Aws::Vector<DimensionField>>
52 LineChartAggregatedFieldWells& WithCategory(CategoryT&& value) { SetCategory(std::forward<CategoryT>(value)); return *this;}
53 template<typename CategoryT = DimensionField>
54 LineChartAggregatedFieldWells& AddCategory(CategoryT&& value) { m_categoryHasBeenSet = true; m_category.emplace_back(std::forward<CategoryT>(value)); return *this; }
56
58
62 inline const Aws::Vector<MeasureField>& GetValues() const { return m_values; }
63 inline bool ValuesHasBeenSet() const { return m_valuesHasBeenSet; }
64 template<typename ValuesT = Aws::Vector<MeasureField>>
65 void SetValues(ValuesT&& value) { m_valuesHasBeenSet = true; m_values = std::forward<ValuesT>(value); }
66 template<typename ValuesT = Aws::Vector<MeasureField>>
67 LineChartAggregatedFieldWells& WithValues(ValuesT&& value) { SetValues(std::forward<ValuesT>(value)); return *this;}
68 template<typename ValuesT = MeasureField>
69 LineChartAggregatedFieldWells& AddValues(ValuesT&& value) { m_valuesHasBeenSet = true; m_values.emplace_back(std::forward<ValuesT>(value)); return *this; }
71
73
77 inline const Aws::Vector<DimensionField>& GetColors() const { return m_colors; }
78 inline bool ColorsHasBeenSet() const { return m_colorsHasBeenSet; }
79 template<typename ColorsT = Aws::Vector<DimensionField>>
80 void SetColors(ColorsT&& value) { m_colorsHasBeenSet = true; m_colors = std::forward<ColorsT>(value); }
81 template<typename ColorsT = Aws::Vector<DimensionField>>
82 LineChartAggregatedFieldWells& WithColors(ColorsT&& value) { SetColors(std::forward<ColorsT>(value)); return *this;}
83 template<typename ColorsT = DimensionField>
84 LineChartAggregatedFieldWells& AddColors(ColorsT&& value) { m_colorsHasBeenSet = true; m_colors.emplace_back(std::forward<ColorsT>(value)); return *this; }
86
88
91 inline const Aws::Vector<DimensionField>& GetSmallMultiples() const { return m_smallMultiples; }
92 inline bool SmallMultiplesHasBeenSet() const { return m_smallMultiplesHasBeenSet; }
93 template<typename SmallMultiplesT = Aws::Vector<DimensionField>>
94 void SetSmallMultiples(SmallMultiplesT&& value) { m_smallMultiplesHasBeenSet = true; m_smallMultiples = std::forward<SmallMultiplesT>(value); }
95 template<typename SmallMultiplesT = Aws::Vector<DimensionField>>
96 LineChartAggregatedFieldWells& WithSmallMultiples(SmallMultiplesT&& value) { SetSmallMultiples(std::forward<SmallMultiplesT>(value)); return *this;}
97 template<typename SmallMultiplesT = DimensionField>
98 LineChartAggregatedFieldWells& AddSmallMultiples(SmallMultiplesT&& value) { m_smallMultiplesHasBeenSet = true; m_smallMultiples.emplace_back(std::forward<SmallMultiplesT>(value)); return *this; }
100 private:
101
103 bool m_categoryHasBeenSet = false;
104
106 bool m_valuesHasBeenSet = false;
107
109 bool m_colorsHasBeenSet = false;
110
111 Aws::Vector<DimensionField> m_smallMultiples;
112 bool m_smallMultiplesHasBeenSet = false;
113 };
114
115} // namespace Model
116} // namespace QuickSight
117} // namespace Aws
AWS_QUICKSIGHT_API LineChartAggregatedFieldWells(Aws::Utils::Json::JsonView jsonValue)
AWS_QUICKSIGHT_API LineChartAggregatedFieldWells()=default
const Aws::Vector< DimensionField > & GetSmallMultiples() const
LineChartAggregatedFieldWells & AddSmallMultiples(SmallMultiplesT &&value)
LineChartAggregatedFieldWells & WithValues(ValuesT &&value)
LineChartAggregatedFieldWells & AddCategory(CategoryT &&value)
LineChartAggregatedFieldWells & AddValues(ValuesT &&value)
AWS_QUICKSIGHT_API LineChartAggregatedFieldWells & operator=(Aws::Utils::Json::JsonView jsonValue)
LineChartAggregatedFieldWells & WithColors(ColorsT &&value)
LineChartAggregatedFieldWells & WithSmallMultiples(SmallMultiplesT &&value)
const Aws::Vector< DimensionField > & GetColors() const
LineChartAggregatedFieldWells & AddColors(ColorsT &&value)
AWS_QUICKSIGHT_API Aws::Utils::Json::JsonValue Jsonize() const
LineChartAggregatedFieldWells & WithCategory(CategoryT &&value)
const Aws::Vector< DimensionField > & GetCategory() const
std::vector< T, Aws::Allocator< T > > Vector
Aws::Utils::Json::JsonValue JsonValue