AWS SDK for C++

AWS SDK for C++ Version 1.11.440

Loading...
Searching...
No Matches
DefaultSliderControlOptions.h
1
6#pragma once
7#include <aws/quicksight/QuickSight_EXPORTS.h>
8#include <aws/quicksight/model/SliderControlDisplayOptions.h>
9#include <aws/quicksight/model/SheetControlSliderType.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 DefaultSliderControlOptions();
39 AWS_QUICKSIGHT_API Aws::Utils::Json::JsonValue Jsonize() const;
40
41
43
46 inline const SliderControlDisplayOptions& GetDisplayOptions() const{ return m_displayOptions; }
47 inline bool DisplayOptionsHasBeenSet() const { return m_displayOptionsHasBeenSet; }
48 inline void SetDisplayOptions(const SliderControlDisplayOptions& value) { m_displayOptionsHasBeenSet = true; m_displayOptions = value; }
49 inline void SetDisplayOptions(SliderControlDisplayOptions&& value) { m_displayOptionsHasBeenSet = true; m_displayOptions = std::move(value); }
53
55
61 inline const SheetControlSliderType& GetType() const{ return m_type; }
62 inline bool TypeHasBeenSet() const { return m_typeHasBeenSet; }
63 inline void SetType(const SheetControlSliderType& value) { m_typeHasBeenSet = true; m_type = value; }
64 inline void SetType(SheetControlSliderType&& value) { m_typeHasBeenSet = true; m_type = std::move(value); }
65 inline DefaultSliderControlOptions& WithType(const SheetControlSliderType& value) { SetType(value); return *this;}
66 inline DefaultSliderControlOptions& WithType(SheetControlSliderType&& value) { SetType(std::move(value)); return *this;}
68
70
73 inline double GetMaximumValue() const{ return m_maximumValue; }
74 inline bool MaximumValueHasBeenSet() const { return m_maximumValueHasBeenSet; }
75 inline void SetMaximumValue(double value) { m_maximumValueHasBeenSet = true; m_maximumValue = value; }
76 inline DefaultSliderControlOptions& WithMaximumValue(double value) { SetMaximumValue(value); return *this;}
78
80
83 inline double GetMinimumValue() const{ return m_minimumValue; }
84 inline bool MinimumValueHasBeenSet() const { return m_minimumValueHasBeenSet; }
85 inline void SetMinimumValue(double value) { m_minimumValueHasBeenSet = true; m_minimumValue = value; }
86 inline DefaultSliderControlOptions& WithMinimumValue(double value) { SetMinimumValue(value); return *this;}
88
90
93 inline double GetStepSize() const{ return m_stepSize; }
94 inline bool StepSizeHasBeenSet() const { return m_stepSizeHasBeenSet; }
95 inline void SetStepSize(double value) { m_stepSizeHasBeenSet = true; m_stepSize = value; }
96 inline DefaultSliderControlOptions& WithStepSize(double value) { SetStepSize(value); return *this;}
98 private:
99
100 SliderControlDisplayOptions m_displayOptions;
101 bool m_displayOptionsHasBeenSet = false;
102
104 bool m_typeHasBeenSet = false;
105
106 double m_maximumValue;
107 bool m_maximumValueHasBeenSet = false;
108
109 double m_minimumValue;
110 bool m_minimumValueHasBeenSet = false;
111
112 double m_stepSize;
113 bool m_stepSizeHasBeenSet = false;
114 };
115
116} // namespace Model
117} // namespace QuickSight
118} // namespace Aws
AWS_QUICKSIGHT_API DefaultSliderControlOptions & operator=(Aws::Utils::Json::JsonView jsonValue)
DefaultSliderControlOptions & WithMaximumValue(double value)
DefaultSliderControlOptions & WithType(SheetControlSliderType &&value)
void SetDisplayOptions(SliderControlDisplayOptions &&value)
AWS_QUICKSIGHT_API DefaultSliderControlOptions(Aws::Utils::Json::JsonView jsonValue)
DefaultSliderControlOptions & WithDisplayOptions(SliderControlDisplayOptions &&value)
DefaultSliderControlOptions & WithStepSize(double value)
AWS_QUICKSIGHT_API Aws::Utils::Json::JsonValue Jsonize() const
DefaultSliderControlOptions & WithDisplayOptions(const SliderControlDisplayOptions &value)
DefaultSliderControlOptions & WithMinimumValue(double value)
DefaultSliderControlOptions & WithType(const SheetControlSliderType &value)
void SetDisplayOptions(const SliderControlDisplayOptions &value)
const SliderControlDisplayOptions & GetDisplayOptions() const
Aws::Utils::Json::JsonValue JsonValue