AWS SDK for C++

AWS SDK for C++ Version 1.11.440

Loading...
Searching...
No Matches
ParameterListControl.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/ListControlDisplayOptions.h>
10#include <aws/quicksight/model/SheetControlListType.h>
11#include <aws/quicksight/model/ParameterSelectableValues.h>
12#include <aws/quicksight/model/CascadingControlConfiguration.h>
13#include <utility>
14
15namespace Aws
16{
17namespace Utils
18{
19namespace Json
20{
21 class JsonValue;
22 class JsonView;
23} // namespace Json
24} // namespace Utils
25namespace QuickSight
26{
27namespace Model
28{
29
37 {
38 public:
39 AWS_QUICKSIGHT_API ParameterListControl();
40 AWS_QUICKSIGHT_API ParameterListControl(Aws::Utils::Json::JsonView jsonValue);
42 AWS_QUICKSIGHT_API Aws::Utils::Json::JsonValue Jsonize() const;
43
44
46
49 inline const Aws::String& GetParameterControlId() const{ return m_parameterControlId; }
50 inline bool ParameterControlIdHasBeenSet() const { return m_parameterControlIdHasBeenSet; }
51 inline void SetParameterControlId(const Aws::String& value) { m_parameterControlIdHasBeenSet = true; m_parameterControlId = value; }
52 inline void SetParameterControlId(Aws::String&& value) { m_parameterControlIdHasBeenSet = true; m_parameterControlId = std::move(value); }
53 inline void SetParameterControlId(const char* value) { m_parameterControlIdHasBeenSet = true; m_parameterControlId.assign(value); }
55 inline ParameterListControl& WithParameterControlId(Aws::String&& value) { SetParameterControlId(std::move(value)); return *this;}
56 inline ParameterListControl& WithParameterControlId(const char* value) { SetParameterControlId(value); return *this;}
58
60
63 inline const Aws::String& GetTitle() const{ return m_title; }
64 inline bool TitleHasBeenSet() const { return m_titleHasBeenSet; }
65 inline void SetTitle(const Aws::String& value) { m_titleHasBeenSet = true; m_title = value; }
66 inline void SetTitle(Aws::String&& value) { m_titleHasBeenSet = true; m_title = std::move(value); }
67 inline void SetTitle(const char* value) { m_titleHasBeenSet = true; m_title.assign(value); }
68 inline ParameterListControl& WithTitle(const Aws::String& value) { SetTitle(value); return *this;}
69 inline ParameterListControl& WithTitle(Aws::String&& value) { SetTitle(std::move(value)); return *this;}
70 inline ParameterListControl& WithTitle(const char* value) { SetTitle(value); return *this;}
72
74
77 inline const Aws::String& GetSourceParameterName() const{ return m_sourceParameterName; }
78 inline bool SourceParameterNameHasBeenSet() const { return m_sourceParameterNameHasBeenSet; }
79 inline void SetSourceParameterName(const Aws::String& value) { m_sourceParameterNameHasBeenSet = true; m_sourceParameterName = value; }
80 inline void SetSourceParameterName(Aws::String&& value) { m_sourceParameterNameHasBeenSet = true; m_sourceParameterName = std::move(value); }
81 inline void SetSourceParameterName(const char* value) { m_sourceParameterNameHasBeenSet = true; m_sourceParameterName.assign(value); }
83 inline ParameterListControl& WithSourceParameterName(Aws::String&& value) { SetSourceParameterName(std::move(value)); return *this;}
84 inline ParameterListControl& WithSourceParameterName(const char* value) { SetSourceParameterName(value); return *this;}
86
88
91 inline const ListControlDisplayOptions& GetDisplayOptions() const{ return m_displayOptions; }
92 inline bool DisplayOptionsHasBeenSet() const { return m_displayOptionsHasBeenSet; }
93 inline void SetDisplayOptions(const ListControlDisplayOptions& value) { m_displayOptionsHasBeenSet = true; m_displayOptions = value; }
94 inline void SetDisplayOptions(ListControlDisplayOptions&& value) { m_displayOptionsHasBeenSet = true; m_displayOptions = std::move(value); }
96 inline ParameterListControl& WithDisplayOptions(ListControlDisplayOptions&& value) { SetDisplayOptions(std::move(value)); return *this;}
98
100
103 inline const SheetControlListType& GetType() const{ return m_type; }
104 inline bool TypeHasBeenSet() const { return m_typeHasBeenSet; }
105 inline void SetType(const SheetControlListType& value) { m_typeHasBeenSet = true; m_type = value; }
106 inline void SetType(SheetControlListType&& value) { m_typeHasBeenSet = true; m_type = std::move(value); }
107 inline ParameterListControl& WithType(const SheetControlListType& value) { SetType(value); return *this;}
108 inline ParameterListControl& WithType(SheetControlListType&& value) { SetType(std::move(value)); return *this;}
110
112
115 inline const ParameterSelectableValues& GetSelectableValues() const{ return m_selectableValues; }
116 inline bool SelectableValuesHasBeenSet() const { return m_selectableValuesHasBeenSet; }
117 inline void SetSelectableValues(const ParameterSelectableValues& value) { m_selectableValuesHasBeenSet = true; m_selectableValues = value; }
118 inline void SetSelectableValues(ParameterSelectableValues&& value) { m_selectableValuesHasBeenSet = true; m_selectableValues = std::move(value); }
122
124
128 inline const CascadingControlConfiguration& GetCascadingControlConfiguration() const{ return m_cascadingControlConfiguration; }
129 inline bool CascadingControlConfigurationHasBeenSet() const { return m_cascadingControlConfigurationHasBeenSet; }
130 inline void SetCascadingControlConfiguration(const CascadingControlConfiguration& value) { m_cascadingControlConfigurationHasBeenSet = true; m_cascadingControlConfiguration = value; }
131 inline void SetCascadingControlConfiguration(CascadingControlConfiguration&& value) { m_cascadingControlConfigurationHasBeenSet = true; m_cascadingControlConfiguration = std::move(value); }
135 private:
136
137 Aws::String m_parameterControlId;
138 bool m_parameterControlIdHasBeenSet = false;
139
140 Aws::String m_title;
141 bool m_titleHasBeenSet = false;
142
143 Aws::String m_sourceParameterName;
144 bool m_sourceParameterNameHasBeenSet = false;
145
146 ListControlDisplayOptions m_displayOptions;
147 bool m_displayOptionsHasBeenSet = false;
148
150 bool m_typeHasBeenSet = false;
151
152 ParameterSelectableValues m_selectableValues;
153 bool m_selectableValuesHasBeenSet = false;
154
155 CascadingControlConfiguration m_cascadingControlConfiguration;
156 bool m_cascadingControlConfigurationHasBeenSet = false;
157 };
158
159} // namespace Model
160} // namespace QuickSight
161} // namespace Aws
ParameterListControl & WithTitle(const char *value)
void SetSelectableValues(ParameterSelectableValues &&value)
AWS_QUICKSIGHT_API ParameterListControl(Aws::Utils::Json::JsonView jsonValue)
ParameterListControl & WithParameterControlId(const char *value)
AWS_QUICKSIGHT_API ParameterListControl & operator=(Aws::Utils::Json::JsonView jsonValue)
ParameterListControl & WithTitle(const Aws::String &value)
const ListControlDisplayOptions & GetDisplayOptions() const
ParameterListControl & WithDisplayOptions(const ListControlDisplayOptions &value)
ParameterListControl & WithType(const SheetControlListType &value)
ParameterListControl & WithSourceParameterName(const char *value)
void SetDisplayOptions(ListControlDisplayOptions &&value)
ParameterListControl & WithSelectableValues(const ParameterSelectableValues &value)
ParameterListControl & WithSelectableValues(ParameterSelectableValues &&value)
ParameterListControl & WithCascadingControlConfiguration(CascadingControlConfiguration &&value)
ParameterListControl & WithType(SheetControlListType &&value)
void SetParameterControlId(const Aws::String &value)
void SetSelectableValues(const ParameterSelectableValues &value)
AWS_QUICKSIGHT_API Aws::Utils::Json::JsonValue Jsonize() const
void SetType(const SheetControlListType &value)
const ParameterSelectableValues & GetSelectableValues() const
void SetCascadingControlConfiguration(const CascadingControlConfiguration &value)
const CascadingControlConfiguration & GetCascadingControlConfiguration() const
const SheetControlListType & GetType() const
ParameterListControl & WithSourceParameterName(const Aws::String &value)
ParameterListControl & WithParameterControlId(Aws::String &&value)
void SetDisplayOptions(const ListControlDisplayOptions &value)
ParameterListControl & WithParameterControlId(const Aws::String &value)
ParameterListControl & WithSourceParameterName(Aws::String &&value)
void SetCascadingControlConfiguration(CascadingControlConfiguration &&value)
ParameterListControl & WithTitle(Aws::String &&value)
void SetType(SheetControlListType &&value)
void SetSourceParameterName(const Aws::String &value)
ParameterListControl & WithCascadingControlConfiguration(const CascadingControlConfiguration &value)
ParameterListControl & WithDisplayOptions(ListControlDisplayOptions &&value)
std::basic_string< char, std::char_traits< char >, Aws::Allocator< char > > String
Aws::Utils::Json::JsonValue JsonValue