AWS SDK for C++

AWS SDK for C++ Version 1.11.748

Loading...
Searching...
No Matches
DefaultSliderControlOptions.h
1
6#pragma once
7#include <aws/quicksight/QuickSight_EXPORTS.h>
8#include <aws/quicksight/model/SheetControlSliderType.h>
9#include <aws/quicksight/model/SliderControlDisplayOptions.h>
10
11#include <utility>
12
13namespace Aws {
14namespace Utils {
15namespace Json {
16class JsonValue;
17class JsonView;
18} // namespace Json
19} // namespace Utils
20namespace QuickSight {
21namespace Model {
22
30 public:
31 AWS_QUICKSIGHT_API DefaultSliderControlOptions() = default;
34 AWS_QUICKSIGHT_API Aws::Utils::Json::JsonValue Jsonize() const;
35
37
40 inline const SliderControlDisplayOptions& GetDisplayOptions() const { return m_displayOptions; }
41 inline bool DisplayOptionsHasBeenSet() const { return m_displayOptionsHasBeenSet; }
42 template <typename DisplayOptionsT = SliderControlDisplayOptions>
43 void SetDisplayOptions(DisplayOptionsT&& value) {
44 m_displayOptionsHasBeenSet = true;
45 m_displayOptions = std::forward<DisplayOptionsT>(value);
46 }
47 template <typename DisplayOptionsT = SliderControlDisplayOptions>
49 SetDisplayOptions(std::forward<DisplayOptionsT>(value));
50 return *this;
51 }
53
55
61 inline SheetControlSliderType GetType() const { return m_type; }
62 inline bool TypeHasBeenSet() const { return m_typeHasBeenSet; }
63 inline void SetType(SheetControlSliderType value) {
64 m_typeHasBeenSet = true;
65 m_type = value;
66 }
68 SetType(value);
69 return *this;
70 }
72
74
77 inline double GetMaximumValue() const { return m_maximumValue; }
78 inline bool MaximumValueHasBeenSet() const { return m_maximumValueHasBeenSet; }
79 inline void SetMaximumValue(double value) {
80 m_maximumValueHasBeenSet = true;
81 m_maximumValue = value;
82 }
84 SetMaximumValue(value);
85 return *this;
86 }
88
90
93 inline double GetMinimumValue() const { return m_minimumValue; }
94 inline bool MinimumValueHasBeenSet() const { return m_minimumValueHasBeenSet; }
95 inline void SetMinimumValue(double value) {
96 m_minimumValueHasBeenSet = true;
97 m_minimumValue = value;
98 }
100 SetMinimumValue(value);
101 return *this;
102 }
104
106
109 inline double GetStepSize() const { return m_stepSize; }
110 inline bool StepSizeHasBeenSet() const { return m_stepSizeHasBeenSet; }
111 inline void SetStepSize(double value) {
112 m_stepSizeHasBeenSet = true;
113 m_stepSize = value;
114 }
116 SetStepSize(value);
117 return *this;
118 }
120 private:
121 SliderControlDisplayOptions m_displayOptions;
122
124
125 double m_maximumValue{0.0};
126
127 double m_minimumValue{0.0};
128
129 double m_stepSize{0.0};
130 bool m_displayOptionsHasBeenSet = false;
131 bool m_typeHasBeenSet = false;
132 bool m_maximumValueHasBeenSet = false;
133 bool m_minimumValueHasBeenSet = false;
134 bool m_stepSizeHasBeenSet = false;
135};
136
137} // namespace Model
138} // namespace QuickSight
139} // namespace Aws
AWS_QUICKSIGHT_API DefaultSliderControlOptions & operator=(Aws::Utils::Json::JsonView jsonValue)
DefaultSliderControlOptions & WithMaximumValue(double value)
AWS_QUICKSIGHT_API DefaultSliderControlOptions(Aws::Utils::Json::JsonView jsonValue)
DefaultSliderControlOptions & WithStepSize(double value)
AWS_QUICKSIGHT_API Aws::Utils::Json::JsonValue Jsonize() const
AWS_QUICKSIGHT_API DefaultSliderControlOptions()=default
DefaultSliderControlOptions & WithType(SheetControlSliderType value)
DefaultSliderControlOptions & WithMinimumValue(double value)
DefaultSliderControlOptions & WithDisplayOptions(DisplayOptionsT &&value)
const SliderControlDisplayOptions & GetDisplayOptions() const
Aws::Utils::Json::JsonValue JsonValue