AWS SDK for C++

AWS SDK for C++ Version 1.11.612

Loading...
Searching...
No Matches
ScatterPlotUnaggregatedFieldWells.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 ScatterPlotUnaggregatedFieldWells() = default;
39 AWS_QUICKSIGHT_API Aws::Utils::Json::JsonValue Jsonize() const;
40
41
43
47 inline const Aws::Vector<DimensionField>& GetXAxis() const { return m_xAxis; }
48 inline bool XAxisHasBeenSet() const { return m_xAxisHasBeenSet; }
49 template<typename XAxisT = Aws::Vector<DimensionField>>
50 void SetXAxis(XAxisT&& value) { m_xAxisHasBeenSet = true; m_xAxis = std::forward<XAxisT>(value); }
51 template<typename XAxisT = Aws::Vector<DimensionField>>
52 ScatterPlotUnaggregatedFieldWells& WithXAxis(XAxisT&& value) { SetXAxis(std::forward<XAxisT>(value)); return *this;}
53 template<typename XAxisT = DimensionField>
54 ScatterPlotUnaggregatedFieldWells& AddXAxis(XAxisT&& value) { m_xAxisHasBeenSet = true; m_xAxis.emplace_back(std::forward<XAxisT>(value)); return *this; }
56
58
62 inline const Aws::Vector<DimensionField>& GetYAxis() const { return m_yAxis; }
63 inline bool YAxisHasBeenSet() const { return m_yAxisHasBeenSet; }
64 template<typename YAxisT = Aws::Vector<DimensionField>>
65 void SetYAxis(YAxisT&& value) { m_yAxisHasBeenSet = true; m_yAxis = std::forward<YAxisT>(value); }
66 template<typename YAxisT = Aws::Vector<DimensionField>>
67 ScatterPlotUnaggregatedFieldWells& WithYAxis(YAxisT&& value) { SetYAxis(std::forward<YAxisT>(value)); return *this;}
68 template<typename YAxisT = DimensionField>
69 ScatterPlotUnaggregatedFieldWells& AddYAxis(YAxisT&& value) { m_yAxisHasBeenSet = true; m_yAxis.emplace_back(std::forward<YAxisT>(value)); return *this; }
71
73
76 inline const Aws::Vector<MeasureField>& GetSize() const { return m_size; }
77 inline bool SizeHasBeenSet() const { return m_sizeHasBeenSet; }
78 template<typename SizeT = Aws::Vector<MeasureField>>
79 void SetSize(SizeT&& value) { m_sizeHasBeenSet = true; m_size = std::forward<SizeT>(value); }
80 template<typename SizeT = Aws::Vector<MeasureField>>
81 ScatterPlotUnaggregatedFieldWells& WithSize(SizeT&& value) { SetSize(std::forward<SizeT>(value)); return *this;}
82 template<typename SizeT = MeasureField>
83 ScatterPlotUnaggregatedFieldWells& AddSize(SizeT&& value) { m_sizeHasBeenSet = true; m_size.emplace_back(std::forward<SizeT>(value)); return *this; }
85
87
90 inline const Aws::Vector<DimensionField>& GetCategory() const { return m_category; }
91 inline bool CategoryHasBeenSet() const { return m_categoryHasBeenSet; }
92 template<typename CategoryT = Aws::Vector<DimensionField>>
93 void SetCategory(CategoryT&& value) { m_categoryHasBeenSet = true; m_category = std::forward<CategoryT>(value); }
94 template<typename CategoryT = Aws::Vector<DimensionField>>
95 ScatterPlotUnaggregatedFieldWells& WithCategory(CategoryT&& value) { SetCategory(std::forward<CategoryT>(value)); return *this;}
96 template<typename CategoryT = DimensionField>
97 ScatterPlotUnaggregatedFieldWells& AddCategory(CategoryT&& value) { m_categoryHasBeenSet = true; m_category.emplace_back(std::forward<CategoryT>(value)); return *this; }
99
101
104 inline const Aws::Vector<DimensionField>& GetLabel() const { return m_label; }
105 inline bool LabelHasBeenSet() const { return m_labelHasBeenSet; }
106 template<typename LabelT = Aws::Vector<DimensionField>>
107 void SetLabel(LabelT&& value) { m_labelHasBeenSet = true; m_label = std::forward<LabelT>(value); }
108 template<typename LabelT = Aws::Vector<DimensionField>>
109 ScatterPlotUnaggregatedFieldWells& WithLabel(LabelT&& value) { SetLabel(std::forward<LabelT>(value)); return *this;}
110 template<typename LabelT = DimensionField>
111 ScatterPlotUnaggregatedFieldWells& AddLabel(LabelT&& value) { m_labelHasBeenSet = true; m_label.emplace_back(std::forward<LabelT>(value)); return *this; }
113 private:
114
116 bool m_xAxisHasBeenSet = false;
117
119 bool m_yAxisHasBeenSet = false;
120
122 bool m_sizeHasBeenSet = false;
123
125 bool m_categoryHasBeenSet = false;
126
128 bool m_labelHasBeenSet = false;
129 };
130
131} // namespace Model
132} // namespace QuickSight
133} // namespace Aws
ScatterPlotUnaggregatedFieldWells & WithCategory(CategoryT &&value)
ScatterPlotUnaggregatedFieldWells & WithXAxis(XAxisT &&value)
ScatterPlotUnaggregatedFieldWells & AddCategory(CategoryT &&value)
ScatterPlotUnaggregatedFieldWells & WithSize(SizeT &&value)
ScatterPlotUnaggregatedFieldWells & AddYAxis(YAxisT &&value)
AWS_QUICKSIGHT_API ScatterPlotUnaggregatedFieldWells()=default
ScatterPlotUnaggregatedFieldWells & AddXAxis(XAxisT &&value)
AWS_QUICKSIGHT_API ScatterPlotUnaggregatedFieldWells(Aws::Utils::Json::JsonView jsonValue)
ScatterPlotUnaggregatedFieldWells & WithYAxis(YAxisT &&value)
AWS_QUICKSIGHT_API ScatterPlotUnaggregatedFieldWells & operator=(Aws::Utils::Json::JsonView jsonValue)
AWS_QUICKSIGHT_API Aws::Utils::Json::JsonValue Jsonize() const
ScatterPlotUnaggregatedFieldWells & WithLabel(LabelT &&value)
ScatterPlotUnaggregatedFieldWells & AddLabel(LabelT &&value)
std::vector< T, Aws::Allocator< T > > Vector
Aws::Utils::Json::JsonValue JsonValue