AWS SDK for C++

AWS SDK for C++ Version 1.11.440

Loading...
Searching...
No Matches
ParameterDropDownControl.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/DropDownControlDisplayOptions.h>
10#include <aws/quicksight/model/SheetControlListType.h>
11#include <aws/quicksight/model/ParameterSelectableValues.h>
12#include <aws/quicksight/model/CascadingControlConfiguration.h>
13#include <aws/quicksight/model/CommitMode.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
38 {
39 public:
40 AWS_QUICKSIGHT_API ParameterDropDownControl();
43 AWS_QUICKSIGHT_API Aws::Utils::Json::JsonValue Jsonize() const;
44
45
47
50 inline const Aws::String& GetParameterControlId() const{ return m_parameterControlId; }
51 inline bool ParameterControlIdHasBeenSet() const { return m_parameterControlIdHasBeenSet; }
52 inline void SetParameterControlId(const Aws::String& value) { m_parameterControlIdHasBeenSet = true; m_parameterControlId = value; }
53 inline void SetParameterControlId(Aws::String&& value) { m_parameterControlIdHasBeenSet = true; m_parameterControlId = std::move(value); }
54 inline void SetParameterControlId(const char* value) { m_parameterControlIdHasBeenSet = true; m_parameterControlId.assign(value); }
56 inline ParameterDropDownControl& WithParameterControlId(Aws::String&& value) { SetParameterControlId(std::move(value)); return *this;}
57 inline ParameterDropDownControl& WithParameterControlId(const char* value) { SetParameterControlId(value); return *this;}
59
61
64 inline const Aws::String& GetTitle() const{ return m_title; }
65 inline bool TitleHasBeenSet() const { return m_titleHasBeenSet; }
66 inline void SetTitle(const Aws::String& value) { m_titleHasBeenSet = true; m_title = value; }
67 inline void SetTitle(Aws::String&& value) { m_titleHasBeenSet = true; m_title = std::move(value); }
68 inline void SetTitle(const char* value) { m_titleHasBeenSet = true; m_title.assign(value); }
69 inline ParameterDropDownControl& WithTitle(const Aws::String& value) { SetTitle(value); return *this;}
70 inline ParameterDropDownControl& WithTitle(Aws::String&& value) { SetTitle(std::move(value)); return *this;}
71 inline ParameterDropDownControl& WithTitle(const char* value) { SetTitle(value); return *this;}
73
75
78 inline const Aws::String& GetSourceParameterName() const{ return m_sourceParameterName; }
79 inline bool SourceParameterNameHasBeenSet() const { return m_sourceParameterNameHasBeenSet; }
80 inline void SetSourceParameterName(const Aws::String& value) { m_sourceParameterNameHasBeenSet = true; m_sourceParameterName = value; }
81 inline void SetSourceParameterName(Aws::String&& value) { m_sourceParameterNameHasBeenSet = true; m_sourceParameterName = std::move(value); }
82 inline void SetSourceParameterName(const char* value) { m_sourceParameterNameHasBeenSet = true; m_sourceParameterName.assign(value); }
84 inline ParameterDropDownControl& WithSourceParameterName(Aws::String&& value) { SetSourceParameterName(std::move(value)); return *this;}
85 inline ParameterDropDownControl& WithSourceParameterName(const char* value) { SetSourceParameterName(value); return *this;}
87
89
92 inline const DropDownControlDisplayOptions& GetDisplayOptions() const{ return m_displayOptions; }
93 inline bool DisplayOptionsHasBeenSet() const { return m_displayOptionsHasBeenSet; }
94 inline void SetDisplayOptions(const DropDownControlDisplayOptions& value) { m_displayOptionsHasBeenSet = true; m_displayOptions = value; }
95 inline void SetDisplayOptions(DropDownControlDisplayOptions&& value) { m_displayOptionsHasBeenSet = true; m_displayOptions = std::move(value); }
99
101
104 inline const SheetControlListType& GetType() const{ return m_type; }
105 inline bool TypeHasBeenSet() const { return m_typeHasBeenSet; }
106 inline void SetType(const SheetControlListType& value) { m_typeHasBeenSet = true; m_type = value; }
107 inline void SetType(SheetControlListType&& value) { m_typeHasBeenSet = true; m_type = std::move(value); }
108 inline ParameterDropDownControl& WithType(const SheetControlListType& value) { SetType(value); return *this;}
109 inline ParameterDropDownControl& WithType(SheetControlListType&& value) { SetType(std::move(value)); return *this;}
111
113
116 inline const ParameterSelectableValues& GetSelectableValues() const{ return m_selectableValues; }
117 inline bool SelectableValuesHasBeenSet() const { return m_selectableValuesHasBeenSet; }
118 inline void SetSelectableValues(const ParameterSelectableValues& value) { m_selectableValuesHasBeenSet = true; m_selectableValues = value; }
119 inline void SetSelectableValues(ParameterSelectableValues&& value) { m_selectableValuesHasBeenSet = true; m_selectableValues = std::move(value); }
123
125
129 inline const CascadingControlConfiguration& GetCascadingControlConfiguration() const{ return m_cascadingControlConfiguration; }
130 inline bool CascadingControlConfigurationHasBeenSet() const { return m_cascadingControlConfigurationHasBeenSet; }
131 inline void SetCascadingControlConfiguration(const CascadingControlConfiguration& value) { m_cascadingControlConfigurationHasBeenSet = true; m_cascadingControlConfiguration = value; }
132 inline void SetCascadingControlConfiguration(CascadingControlConfiguration&& value) { m_cascadingControlConfigurationHasBeenSet = true; m_cascadingControlConfiguration = std::move(value); }
136
138
142 inline const CommitMode& GetCommitMode() const{ return m_commitMode; }
143 inline bool CommitModeHasBeenSet() const { return m_commitModeHasBeenSet; }
144 inline void SetCommitMode(const CommitMode& value) { m_commitModeHasBeenSet = true; m_commitMode = value; }
145 inline void SetCommitMode(CommitMode&& value) { m_commitModeHasBeenSet = true; m_commitMode = std::move(value); }
146 inline ParameterDropDownControl& WithCommitMode(const CommitMode& value) { SetCommitMode(value); return *this;}
147 inline ParameterDropDownControl& WithCommitMode(CommitMode&& value) { SetCommitMode(std::move(value)); return *this;}
149 private:
150
151 Aws::String m_parameterControlId;
152 bool m_parameterControlIdHasBeenSet = false;
153
154 Aws::String m_title;
155 bool m_titleHasBeenSet = false;
156
157 Aws::String m_sourceParameterName;
158 bool m_sourceParameterNameHasBeenSet = false;
159
160 DropDownControlDisplayOptions m_displayOptions;
161 bool m_displayOptionsHasBeenSet = false;
162
164 bool m_typeHasBeenSet = false;
165
166 ParameterSelectableValues m_selectableValues;
167 bool m_selectableValuesHasBeenSet = false;
168
169 CascadingControlConfiguration m_cascadingControlConfiguration;
170 bool m_cascadingControlConfigurationHasBeenSet = false;
171
172 CommitMode m_commitMode;
173 bool m_commitModeHasBeenSet = false;
174 };
175
176} // namespace Model
177} // namespace QuickSight
178} // namespace Aws
ParameterDropDownControl & WithSourceParameterName(Aws::String &&value)
ParameterDropDownControl & WithCascadingControlConfiguration(const CascadingControlConfiguration &value)
ParameterDropDownControl & WithSelectableValues(const ParameterSelectableValues &value)
ParameterDropDownControl & WithParameterControlId(const Aws::String &value)
ParameterDropDownControl & WithTitle(const Aws::String &value)
ParameterDropDownControl & WithCommitMode(CommitMode &&value)
void SetCascadingControlConfiguration(const CascadingControlConfiguration &value)
ParameterDropDownControl & WithSourceParameterName(const char *value)
AWS_QUICKSIGHT_API ParameterDropDownControl(Aws::Utils::Json::JsonView jsonValue)
void SetType(const SheetControlListType &value)
const CascadingControlConfiguration & GetCascadingControlConfiguration() const
const ParameterSelectableValues & GetSelectableValues() const
AWS_QUICKSIGHT_API Aws::Utils::Json::JsonValue Jsonize() const
ParameterDropDownControl & WithParameterControlId(Aws::String &&value)
AWS_QUICKSIGHT_API ParameterDropDownControl & operator=(Aws::Utils::Json::JsonView jsonValue)
ParameterDropDownControl & WithType(SheetControlListType &&value)
ParameterDropDownControl & WithCommitMode(const CommitMode &value)
void SetCascadingControlConfiguration(CascadingControlConfiguration &&value)
void SetDisplayOptions(const DropDownControlDisplayOptions &value)
ParameterDropDownControl & WithSourceParameterName(const Aws::String &value)
const DropDownControlDisplayOptions & GetDisplayOptions() const
ParameterDropDownControl & WithTitle(const char *value)
void SetSelectableValues(const ParameterSelectableValues &value)
ParameterDropDownControl & WithParameterControlId(const char *value)
ParameterDropDownControl & WithType(const SheetControlListType &value)
ParameterDropDownControl & WithSelectableValues(ParameterSelectableValues &&value)
void SetSelectableValues(ParameterSelectableValues &&value)
ParameterDropDownControl & WithDisplayOptions(DropDownControlDisplayOptions &&value)
void SetDisplayOptions(DropDownControlDisplayOptions &&value)
ParameterDropDownControl & WithCascadingControlConfiguration(CascadingControlConfiguration &&value)
ParameterDropDownControl & WithTitle(Aws::String &&value)
ParameterDropDownControl & WithDisplayOptions(const DropDownControlDisplayOptions &value)
std::basic_string< char, std::char_traits< char >, Aws::Allocator< char > > String
Aws::Utils::Json::JsonValue JsonValue