AWS SDK for C++

AWS SDK for C++ Version 1.11.606

Loading...
Searching...
No Matches
PluginVisualFieldWell.h
1
6#pragma once
7#include <aws/quicksight/QuickSight_EXPORTS.h>
8#include <aws/quicksight/model/PluginVisualAxisName.h>
9#include <aws/core/utils/memory/stl/AWSVector.h>
10#include <aws/quicksight/model/DimensionField.h>
11#include <aws/quicksight/model/MeasureField.h>
12#include <aws/quicksight/model/UnaggregatedField.h>
13#include <utility>
14
15namespace Aws
16{
17namespace Utils
18{
19namespace Json
20{
21 class JsonValue;
22 class JsonView;
23} // namespace Json
24} // namespace Utils
25namespace QuickSight
26{
27namespace Model
28{
29
37 {
38 public:
39 AWS_QUICKSIGHT_API PluginVisualFieldWell() = default;
42 AWS_QUICKSIGHT_API Aws::Utils::Json::JsonValue Jsonize() const;
43
44
46
49 inline PluginVisualAxisName GetAxisName() const { return m_axisName; }
50 inline bool AxisNameHasBeenSet() const { return m_axisNameHasBeenSet; }
51 inline void SetAxisName(PluginVisualAxisName value) { m_axisNameHasBeenSet = true; m_axisName = value; }
54
56
59 inline const Aws::Vector<DimensionField>& GetDimensions() const { return m_dimensions; }
60 inline bool DimensionsHasBeenSet() const { return m_dimensionsHasBeenSet; }
61 template<typename DimensionsT = Aws::Vector<DimensionField>>
62 void SetDimensions(DimensionsT&& value) { m_dimensionsHasBeenSet = true; m_dimensions = std::forward<DimensionsT>(value); }
63 template<typename DimensionsT = Aws::Vector<DimensionField>>
64 PluginVisualFieldWell& WithDimensions(DimensionsT&& value) { SetDimensions(std::forward<DimensionsT>(value)); return *this;}
65 template<typename DimensionsT = DimensionField>
66 PluginVisualFieldWell& AddDimensions(DimensionsT&& value) { m_dimensionsHasBeenSet = true; m_dimensions.emplace_back(std::forward<DimensionsT>(value)); return *this; }
68
70
73 inline const Aws::Vector<MeasureField>& GetMeasures() const { return m_measures; }
74 inline bool MeasuresHasBeenSet() const { return m_measuresHasBeenSet; }
75 template<typename MeasuresT = Aws::Vector<MeasureField>>
76 void SetMeasures(MeasuresT&& value) { m_measuresHasBeenSet = true; m_measures = std::forward<MeasuresT>(value); }
77 template<typename MeasuresT = Aws::Vector<MeasureField>>
78 PluginVisualFieldWell& WithMeasures(MeasuresT&& value) { SetMeasures(std::forward<MeasuresT>(value)); return *this;}
79 template<typename MeasuresT = MeasureField>
80 PluginVisualFieldWell& AddMeasures(MeasuresT&& value) { m_measuresHasBeenSet = true; m_measures.emplace_back(std::forward<MeasuresT>(value)); return *this; }
82
84
87 inline const Aws::Vector<UnaggregatedField>& GetUnaggregated() const { return m_unaggregated; }
88 inline bool UnaggregatedHasBeenSet() const { return m_unaggregatedHasBeenSet; }
89 template<typename UnaggregatedT = Aws::Vector<UnaggregatedField>>
90 void SetUnaggregated(UnaggregatedT&& value) { m_unaggregatedHasBeenSet = true; m_unaggregated = std::forward<UnaggregatedT>(value); }
91 template<typename UnaggregatedT = Aws::Vector<UnaggregatedField>>
92 PluginVisualFieldWell& WithUnaggregated(UnaggregatedT&& value) { SetUnaggregated(std::forward<UnaggregatedT>(value)); return *this;}
93 template<typename UnaggregatedT = UnaggregatedField>
94 PluginVisualFieldWell& AddUnaggregated(UnaggregatedT&& value) { m_unaggregatedHasBeenSet = true; m_unaggregated.emplace_back(std::forward<UnaggregatedT>(value)); return *this; }
96 private:
97
99 bool m_axisNameHasBeenSet = false;
100
101 Aws::Vector<DimensionField> m_dimensions;
102 bool m_dimensionsHasBeenSet = false;
103
104 Aws::Vector<MeasureField> m_measures;
105 bool m_measuresHasBeenSet = false;
106
107 Aws::Vector<UnaggregatedField> m_unaggregated;
108 bool m_unaggregatedHasBeenSet = false;
109 };
110
111} // namespace Model
112} // namespace QuickSight
113} // namespace Aws
const Aws::Vector< DimensionField > & GetDimensions() const
AWS_QUICKSIGHT_API Aws::Utils::Json::JsonValue Jsonize() const
PluginVisualFieldWell & WithDimensions(DimensionsT &&value)
PluginVisualFieldWell & AddDimensions(DimensionsT &&value)
PluginVisualFieldWell & AddUnaggregated(UnaggregatedT &&value)
const Aws::Vector< MeasureField > & GetMeasures() const
PluginVisualFieldWell & AddMeasures(MeasuresT &&value)
AWS_QUICKSIGHT_API PluginVisualFieldWell()=default
PluginVisualFieldWell & WithAxisName(PluginVisualAxisName value)
AWS_QUICKSIGHT_API PluginVisualFieldWell(Aws::Utils::Json::JsonView jsonValue)
AWS_QUICKSIGHT_API PluginVisualFieldWell & operator=(Aws::Utils::Json::JsonView jsonValue)
PluginVisualFieldWell & WithMeasures(MeasuresT &&value)
const Aws::Vector< UnaggregatedField > & GetUnaggregated() const
PluginVisualFieldWell & WithUnaggregated(UnaggregatedT &&value)
std::vector< T, Aws::Allocator< T > > Vector
Aws::Utils::Json::JsonValue JsonValue