AWS SDK for C++

AWS SDK for C++ Version 1.11.440

Loading...
Searching...
No Matches
ParameterSliderControl.h
1
6#pragma once
7#include <aws/quicksight/QuickSight_EXPORTS.h>
8#include <aws/core/utils/memory/stl/AWSString.h>
9#include <aws/quicksight/model/SliderControlDisplayOptions.h>
10#include <utility>
11
12namespace Aws
13{
14namespace Utils
15{
16namespace Json
17{
18 class JsonValue;
19 class JsonView;
20} // namespace Json
21} // namespace Utils
22namespace QuickSight
23{
24namespace Model
25{
26
34 {
35 public:
36 AWS_QUICKSIGHT_API ParameterSliderControl();
39 AWS_QUICKSIGHT_API Aws::Utils::Json::JsonValue Jsonize() const;
40
41
43
46 inline const Aws::String& GetParameterControlId() const{ return m_parameterControlId; }
47 inline bool ParameterControlIdHasBeenSet() const { return m_parameterControlIdHasBeenSet; }
48 inline void SetParameterControlId(const Aws::String& value) { m_parameterControlIdHasBeenSet = true; m_parameterControlId = value; }
49 inline void SetParameterControlId(Aws::String&& value) { m_parameterControlIdHasBeenSet = true; m_parameterControlId = std::move(value); }
50 inline void SetParameterControlId(const char* value) { m_parameterControlIdHasBeenSet = true; m_parameterControlId.assign(value); }
52 inline ParameterSliderControl& WithParameterControlId(Aws::String&& value) { SetParameterControlId(std::move(value)); return *this;}
53 inline ParameterSliderControl& WithParameterControlId(const char* value) { SetParameterControlId(value); return *this;}
55
57
60 inline const Aws::String& GetTitle() const{ return m_title; }
61 inline bool TitleHasBeenSet() const { return m_titleHasBeenSet; }
62 inline void SetTitle(const Aws::String& value) { m_titleHasBeenSet = true; m_title = value; }
63 inline void SetTitle(Aws::String&& value) { m_titleHasBeenSet = true; m_title = std::move(value); }
64 inline void SetTitle(const char* value) { m_titleHasBeenSet = true; m_title.assign(value); }
65 inline ParameterSliderControl& WithTitle(const Aws::String& value) { SetTitle(value); return *this;}
66 inline ParameterSliderControl& WithTitle(Aws::String&& value) { SetTitle(std::move(value)); return *this;}
67 inline ParameterSliderControl& WithTitle(const char* value) { SetTitle(value); return *this;}
69
71
74 inline const Aws::String& GetSourceParameterName() const{ return m_sourceParameterName; }
75 inline bool SourceParameterNameHasBeenSet() const { return m_sourceParameterNameHasBeenSet; }
76 inline void SetSourceParameterName(const Aws::String& value) { m_sourceParameterNameHasBeenSet = true; m_sourceParameterName = value; }
77 inline void SetSourceParameterName(Aws::String&& value) { m_sourceParameterNameHasBeenSet = true; m_sourceParameterName = std::move(value); }
78 inline void SetSourceParameterName(const char* value) { m_sourceParameterNameHasBeenSet = true; m_sourceParameterName.assign(value); }
80 inline ParameterSliderControl& WithSourceParameterName(Aws::String&& value) { SetSourceParameterName(std::move(value)); return *this;}
81 inline ParameterSliderControl& WithSourceParameterName(const char* value) { SetSourceParameterName(value); return *this;}
83
85
88 inline const SliderControlDisplayOptions& GetDisplayOptions() const{ return m_displayOptions; }
89 inline bool DisplayOptionsHasBeenSet() const { return m_displayOptionsHasBeenSet; }
90 inline void SetDisplayOptions(const SliderControlDisplayOptions& value) { m_displayOptionsHasBeenSet = true; m_displayOptions = value; }
91 inline void SetDisplayOptions(SliderControlDisplayOptions&& value) { m_displayOptionsHasBeenSet = true; m_displayOptions = std::move(value); }
95
97
100 inline double GetMaximumValue() const{ return m_maximumValue; }
101 inline bool MaximumValueHasBeenSet() const { return m_maximumValueHasBeenSet; }
102 inline void SetMaximumValue(double value) { m_maximumValueHasBeenSet = true; m_maximumValue = value; }
103 inline ParameterSliderControl& WithMaximumValue(double value) { SetMaximumValue(value); return *this;}
105
107
110 inline double GetMinimumValue() const{ return m_minimumValue; }
111 inline bool MinimumValueHasBeenSet() const { return m_minimumValueHasBeenSet; }
112 inline void SetMinimumValue(double value) { m_minimumValueHasBeenSet = true; m_minimumValue = value; }
113 inline ParameterSliderControl& WithMinimumValue(double value) { SetMinimumValue(value); return *this;}
115
117
120 inline double GetStepSize() const{ return m_stepSize; }
121 inline bool StepSizeHasBeenSet() const { return m_stepSizeHasBeenSet; }
122 inline void SetStepSize(double value) { m_stepSizeHasBeenSet = true; m_stepSize = value; }
123 inline ParameterSliderControl& WithStepSize(double value) { SetStepSize(value); return *this;}
125 private:
126
127 Aws::String m_parameterControlId;
128 bool m_parameterControlIdHasBeenSet = false;
129
130 Aws::String m_title;
131 bool m_titleHasBeenSet = false;
132
133 Aws::String m_sourceParameterName;
134 bool m_sourceParameterNameHasBeenSet = false;
135
136 SliderControlDisplayOptions m_displayOptions;
137 bool m_displayOptionsHasBeenSet = false;
138
139 double m_maximumValue;
140 bool m_maximumValueHasBeenSet = false;
141
142 double m_minimumValue;
143 bool m_minimumValueHasBeenSet = false;
144
145 double m_stepSize;
146 bool m_stepSizeHasBeenSet = false;
147 };
148
149} // namespace Model
150} // namespace QuickSight
151} // namespace Aws
ParameterSliderControl & WithSourceParameterName(const Aws::String &value)
ParameterSliderControl & WithParameterControlId(const Aws::String &value)
void SetDisplayOptions(SliderControlDisplayOptions &&value)
ParameterSliderControl & WithDisplayOptions(const SliderControlDisplayOptions &value)
AWS_QUICKSIGHT_API ParameterSliderControl & operator=(Aws::Utils::Json::JsonView jsonValue)
ParameterSliderControl & WithMinimumValue(double value)
const SliderControlDisplayOptions & GetDisplayOptions() const
ParameterSliderControl & WithTitle(Aws::String &&value)
ParameterSliderControl & WithMaximumValue(double value)
AWS_QUICKSIGHT_API ParameterSliderControl(Aws::Utils::Json::JsonView jsonValue)
ParameterSliderControl & WithTitle(const char *value)
ParameterSliderControl & WithParameterControlId(Aws::String &&value)
void SetDisplayOptions(const SliderControlDisplayOptions &value)
ParameterSliderControl & WithSourceParameterName(Aws::String &&value)
AWS_QUICKSIGHT_API Aws::Utils::Json::JsonValue Jsonize() const
ParameterSliderControl & WithDisplayOptions(SliderControlDisplayOptions &&value)
ParameterSliderControl & WithSourceParameterName(const char *value)
ParameterSliderControl & WithTitle(const Aws::String &value)
ParameterSliderControl & WithParameterControlId(const char *value)
ParameterSliderControl & WithStepSize(double value)
std::basic_string< char, std::char_traits< char >, Aws::Allocator< char > > String
Aws::Utils::Json::JsonValue JsonValue