AWS SDK for C++

AWS SDK for C++ Version 1.11.440

Loading...
Searching...
No Matches
ParameterControl.h
1
6#pragma once
7#include <aws/quicksight/QuickSight_EXPORTS.h>
8#include <aws/quicksight/model/ParameterDateTimePickerControl.h>
9#include <aws/quicksight/model/ParameterListControl.h>
10#include <aws/quicksight/model/ParameterDropDownControl.h>
11#include <aws/quicksight/model/ParameterTextFieldControl.h>
12#include <aws/quicksight/model/ParameterTextAreaControl.h>
13#include <aws/quicksight/model/ParameterSliderControl.h>
14#include <utility>
15
16namespace Aws
17{
18namespace Utils
19{
20namespace Json
21{
22 class JsonValue;
23 class JsonView;
24} // namespace Json
25} // namespace Utils
26namespace QuickSight
27{
28namespace Model
29{
30
39 {
40 public:
41 AWS_QUICKSIGHT_API ParameterControl();
42 AWS_QUICKSIGHT_API ParameterControl(Aws::Utils::Json::JsonView jsonValue);
44 AWS_QUICKSIGHT_API Aws::Utils::Json::JsonValue Jsonize() const;
45
46
48
51 inline const ParameterDateTimePickerControl& GetDateTimePicker() const{ return m_dateTimePicker; }
52 inline bool DateTimePickerHasBeenSet() const { return m_dateTimePickerHasBeenSet; }
53 inline void SetDateTimePicker(const ParameterDateTimePickerControl& value) { m_dateTimePickerHasBeenSet = true; m_dateTimePicker = value; }
54 inline void SetDateTimePicker(ParameterDateTimePickerControl&& value) { m_dateTimePickerHasBeenSet = true; m_dateTimePicker = std::move(value); }
56 inline ParameterControl& WithDateTimePicker(ParameterDateTimePickerControl&& value) { SetDateTimePicker(std::move(value)); return *this;}
58
60
64 inline const ParameterListControl& GetList() const{ return m_list; }
65 inline bool ListHasBeenSet() const { return m_listHasBeenSet; }
66 inline void SetList(const ParameterListControl& value) { m_listHasBeenSet = true; m_list = value; }
67 inline void SetList(ParameterListControl&& value) { m_listHasBeenSet = true; m_list = std::move(value); }
68 inline ParameterControl& WithList(const ParameterListControl& value) { SetList(value); return *this;}
69 inline ParameterControl& WithList(ParameterListControl&& value) { SetList(std::move(value)); return *this;}
71
73
77 inline const ParameterDropDownControl& GetDropdown() const{ return m_dropdown; }
78 inline bool DropdownHasBeenSet() const { return m_dropdownHasBeenSet; }
79 inline void SetDropdown(const ParameterDropDownControl& value) { m_dropdownHasBeenSet = true; m_dropdown = value; }
80 inline void SetDropdown(ParameterDropDownControl&& value) { m_dropdownHasBeenSet = true; m_dropdown = std::move(value); }
81 inline ParameterControl& WithDropdown(const ParameterDropDownControl& value) { SetDropdown(value); return *this;}
82 inline ParameterControl& WithDropdown(ParameterDropDownControl&& value) { SetDropdown(std::move(value)); return *this;}
84
86
89 inline const ParameterTextFieldControl& GetTextField() const{ return m_textField; }
90 inline bool TextFieldHasBeenSet() const { return m_textFieldHasBeenSet; }
91 inline void SetTextField(const ParameterTextFieldControl& value) { m_textFieldHasBeenSet = true; m_textField = value; }
92 inline void SetTextField(ParameterTextFieldControl&& value) { m_textFieldHasBeenSet = true; m_textField = std::move(value); }
93 inline ParameterControl& WithTextField(const ParameterTextFieldControl& value) { SetTextField(value); return *this;}
94 inline ParameterControl& WithTextField(ParameterTextFieldControl&& value) { SetTextField(std::move(value)); return *this;}
96
98
101 inline const ParameterTextAreaControl& GetTextArea() const{ return m_textArea; }
102 inline bool TextAreaHasBeenSet() const { return m_textAreaHasBeenSet; }
103 inline void SetTextArea(const ParameterTextAreaControl& value) { m_textAreaHasBeenSet = true; m_textArea = value; }
104 inline void SetTextArea(ParameterTextAreaControl&& value) { m_textAreaHasBeenSet = true; m_textArea = std::move(value); }
105 inline ParameterControl& WithTextArea(const ParameterTextAreaControl& value) { SetTextArea(value); return *this;}
106 inline ParameterControl& WithTextArea(ParameterTextAreaControl&& value) { SetTextArea(std::move(value)); return *this;}
108
110
114 inline const ParameterSliderControl& GetSlider() const{ return m_slider; }
115 inline bool SliderHasBeenSet() const { return m_sliderHasBeenSet; }
116 inline void SetSlider(const ParameterSliderControl& value) { m_sliderHasBeenSet = true; m_slider = value; }
117 inline void SetSlider(ParameterSliderControl&& value) { m_sliderHasBeenSet = true; m_slider = std::move(value); }
118 inline ParameterControl& WithSlider(const ParameterSliderControl& value) { SetSlider(value); return *this;}
119 inline ParameterControl& WithSlider(ParameterSliderControl&& value) { SetSlider(std::move(value)); return *this;}
121 private:
122
123 ParameterDateTimePickerControl m_dateTimePicker;
124 bool m_dateTimePickerHasBeenSet = false;
125
127 bool m_listHasBeenSet = false;
128
129 ParameterDropDownControl m_dropdown;
130 bool m_dropdownHasBeenSet = false;
131
132 ParameterTextFieldControl m_textField;
133 bool m_textFieldHasBeenSet = false;
134
135 ParameterTextAreaControl m_textArea;
136 bool m_textAreaHasBeenSet = false;
137
138 ParameterSliderControl m_slider;
139 bool m_sliderHasBeenSet = false;
140 };
141
142} // namespace Model
143} // namespace QuickSight
144} // namespace Aws
void SetSlider(const ParameterSliderControl &value)
AWS_QUICKSIGHT_API ParameterControl & operator=(Aws::Utils::Json::JsonView jsonValue)
ParameterControl & WithDateTimePicker(ParameterDateTimePickerControl &&value)
void SetTextField(ParameterTextFieldControl &&value)
ParameterControl & WithSlider(const ParameterSliderControl &value)
void SetDateTimePicker(const ParameterDateTimePickerControl &value)
void SetSlider(ParameterSliderControl &&value)
ParameterControl & WithDropdown(const ParameterDropDownControl &value)
const ParameterDropDownControl & GetDropdown() const
ParameterControl & WithTextArea(ParameterTextAreaControl &&value)
ParameterControl & WithSlider(ParameterSliderControl &&value)
const ParameterTextFieldControl & GetTextField() const
ParameterControl & WithDropdown(ParameterDropDownControl &&value)
ParameterControl & WithTextArea(const ParameterTextAreaControl &value)
void SetDropdown(ParameterDropDownControl &&value)
const ParameterListControl & GetList() const
void SetList(const ParameterListControl &value)
void SetTextField(const ParameterTextFieldControl &value)
AWS_QUICKSIGHT_API ParameterControl(Aws::Utils::Json::JsonView jsonValue)
ParameterControl & WithDateTimePicker(const ParameterDateTimePickerControl &value)
void SetTextArea(const ParameterTextAreaControl &value)
void SetDateTimePicker(ParameterDateTimePickerControl &&value)
ParameterControl & WithTextField(ParameterTextFieldControl &&value)
void SetTextArea(ParameterTextAreaControl &&value)
const ParameterDateTimePickerControl & GetDateTimePicker() const
ParameterControl & WithList(const ParameterListControl &value)
const ParameterTextAreaControl & GetTextArea() const
ParameterControl & WithList(ParameterListControl &&value)
AWS_QUICKSIGHT_API Aws::Utils::Json::JsonValue Jsonize() const
void SetList(ParameterListControl &&value)
void SetDropdown(const ParameterDropDownControl &value)
ParameterControl & WithTextField(const ParameterTextFieldControl &value)
const ParameterSliderControl & GetSlider() const
Aws::Utils::Json::JsonValue JsonValue