AWS SDK for C++

AWS SDK for C++ Version 1.11.816

Loading...
Searching...
No Matches
ParameterSliderControl.h
1
6#pragma once
7#include <aws/core/utils/memory/stl/AWSString.h>
8#include <aws/quicksight/QuickSight_EXPORTS.h>
9#include <aws/quicksight/model/ControlTitleFormatText.h>
10#include <aws/quicksight/model/SliderControlDisplayOptions.h>
11
12#include <utility>
13
14namespace Aws {
15namespace Utils {
16namespace Json {
17class JsonValue;
18class JsonView;
19} // namespace Json
20} // namespace Utils
21namespace QuickSight {
22namespace Model {
23
31 public:
32 AWS_QUICKSIGHT_API ParameterSliderControl() = default;
35 AWS_QUICKSIGHT_API Aws::Utils::Json::JsonValue Jsonize() const;
36
38
41 inline const Aws::String& GetParameterControlId() const { return m_parameterControlId; }
42 inline bool ParameterControlIdHasBeenSet() const { return m_parameterControlIdHasBeenSet; }
43 template <typename ParameterControlIdT = Aws::String>
44 void SetParameterControlId(ParameterControlIdT&& value) {
45 m_parameterControlIdHasBeenSet = true;
46 m_parameterControlId = std::forward<ParameterControlIdT>(value);
47 }
48 template <typename ParameterControlIdT = Aws::String>
49 ParameterSliderControl& WithParameterControlId(ParameterControlIdT&& value) {
50 SetParameterControlId(std::forward<ParameterControlIdT>(value));
51 return *this;
52 }
54
56
59 inline const Aws::String& GetTitle() const { return m_title; }
60 inline bool TitleHasBeenSet() const { return m_titleHasBeenSet; }
61 template <typename TitleT = Aws::String>
62 void SetTitle(TitleT&& value) {
63 m_titleHasBeenSet = true;
64 m_title = std::forward<TitleT>(value);
65 }
66 template <typename TitleT = Aws::String>
68 SetTitle(std::forward<TitleT>(value));
69 return *this;
70 }
72
74
77 inline const Aws::String& GetSourceParameterName() const { return m_sourceParameterName; }
78 inline bool SourceParameterNameHasBeenSet() const { return m_sourceParameterNameHasBeenSet; }
79 template <typename SourceParameterNameT = Aws::String>
80 void SetSourceParameterName(SourceParameterNameT&& value) {
81 m_sourceParameterNameHasBeenSet = true;
82 m_sourceParameterName = std::forward<SourceParameterNameT>(value);
83 }
84 template <typename SourceParameterNameT = Aws::String>
85 ParameterSliderControl& WithSourceParameterName(SourceParameterNameT&& value) {
86 SetSourceParameterName(std::forward<SourceParameterNameT>(value));
87 return *this;
88 }
90
92
95 inline const SliderControlDisplayOptions& GetDisplayOptions() const { return m_displayOptions; }
96 inline bool DisplayOptionsHasBeenSet() const { return m_displayOptionsHasBeenSet; }
97 template <typename DisplayOptionsT = SliderControlDisplayOptions>
98 void SetDisplayOptions(DisplayOptionsT&& value) {
99 m_displayOptionsHasBeenSet = true;
100 m_displayOptions = std::forward<DisplayOptionsT>(value);
101 }
102 template <typename DisplayOptionsT = SliderControlDisplayOptions>
103 ParameterSliderControl& WithDisplayOptions(DisplayOptionsT&& value) {
104 SetDisplayOptions(std::forward<DisplayOptionsT>(value));
105 return *this;
106 }
108
110
113 inline double GetMaximumValue() const { return m_maximumValue; }
114 inline bool MaximumValueHasBeenSet() const { return m_maximumValueHasBeenSet; }
115 inline void SetMaximumValue(double value) {
116 m_maximumValueHasBeenSet = true;
117 m_maximumValue = value;
118 }
120 SetMaximumValue(value);
121 return *this;
122 }
124
126
129 inline double GetMinimumValue() const { return m_minimumValue; }
130 inline bool MinimumValueHasBeenSet() const { return m_minimumValueHasBeenSet; }
131 inline void SetMinimumValue(double value) {
132 m_minimumValueHasBeenSet = true;
133 m_minimumValue = value;
134 }
136 SetMinimumValue(value);
137 return *this;
138 }
140
142
145 inline double GetStepSize() const { return m_stepSize; }
146 inline bool StepSizeHasBeenSet() const { return m_stepSizeHasBeenSet; }
147 inline void SetStepSize(double value) {
148 m_stepSizeHasBeenSet = true;
149 m_stepSize = value;
150 }
151 inline ParameterSliderControl& WithStepSize(double value) {
152 SetStepSize(value);
153 return *this;
154 }
156
158
161 inline const ControlTitleFormatText& GetControlTitleFormatText() const { return m_controlTitleFormatText; }
162 inline bool ControlTitleFormatTextHasBeenSet() const { return m_controlTitleFormatTextHasBeenSet; }
163 template <typename ControlTitleFormatTextT = ControlTitleFormatText>
164 void SetControlTitleFormatText(ControlTitleFormatTextT&& value) {
165 m_controlTitleFormatTextHasBeenSet = true;
166 m_controlTitleFormatText = std::forward<ControlTitleFormatTextT>(value);
167 }
168 template <typename ControlTitleFormatTextT = ControlTitleFormatText>
169 ParameterSliderControl& WithControlTitleFormatText(ControlTitleFormatTextT&& value) {
170 SetControlTitleFormatText(std::forward<ControlTitleFormatTextT>(value));
171 return *this;
172 }
174 private:
175 Aws::String m_parameterControlId;
176
177 Aws::String m_title;
178
179 Aws::String m_sourceParameterName;
180
181 SliderControlDisplayOptions m_displayOptions;
182
183 double m_maximumValue{0.0};
184
185 double m_minimumValue{0.0};
186
187 double m_stepSize{0.0};
188
189 ControlTitleFormatText m_controlTitleFormatText;
190 bool m_parameterControlIdHasBeenSet = false;
191 bool m_titleHasBeenSet = false;
192 bool m_sourceParameterNameHasBeenSet = false;
193 bool m_displayOptionsHasBeenSet = false;
194 bool m_maximumValueHasBeenSet = false;
195 bool m_minimumValueHasBeenSet = false;
196 bool m_stepSizeHasBeenSet = false;
197 bool m_controlTitleFormatTextHasBeenSet = false;
198};
199
200} // namespace Model
201} // namespace QuickSight
202} // namespace Aws
const ControlTitleFormatText & GetControlTitleFormatText() const
ParameterSliderControl & WithParameterControlId(ParameterControlIdT &&value)
AWS_QUICKSIGHT_API ParameterSliderControl & operator=(Aws::Utils::Json::JsonView jsonValue)
ParameterSliderControl & WithTitle(TitleT &&value)
ParameterSliderControl & WithMinimumValue(double value)
const SliderControlDisplayOptions & GetDisplayOptions() const
ParameterSliderControl & WithSourceParameterName(SourceParameterNameT &&value)
ParameterSliderControl & WithMaximumValue(double value)
AWS_QUICKSIGHT_API ParameterSliderControl(Aws::Utils::Json::JsonView jsonValue)
ParameterSliderControl & WithDisplayOptions(DisplayOptionsT &&value)
void SetSourceParameterName(SourceParameterNameT &&value)
AWS_QUICKSIGHT_API Aws::Utils::Json::JsonValue Jsonize() const
void SetParameterControlId(ParameterControlIdT &&value)
AWS_QUICKSIGHT_API ParameterSliderControl()=default
void SetControlTitleFormatText(ControlTitleFormatTextT &&value)
ParameterSliderControl & WithControlTitleFormatText(ControlTitleFormatTextT &&value)
ParameterSliderControl & WithStepSize(double value)
std::basic_string< char, std::char_traits< char >, Aws::Allocator< char > > String
Aws::Utils::Json::JsonValue JsonValue