AWS SDK for C++

AWS SDK for C++ Version 1.11.440

Loading...
Searching...
No Matches
UpdateDashboardRequest.h
1
6#pragma once
7#include <aws/quicksight/QuickSight_EXPORTS.h>
8#include <aws/quicksight/QuickSightRequest.h>
9#include <aws/core/utils/memory/stl/AWSString.h>
10#include <aws/quicksight/model/DashboardSourceEntity.h>
11#include <aws/quicksight/model/Parameters.h>
12#include <aws/quicksight/model/DashboardPublishOptions.h>
13#include <aws/quicksight/model/DashboardVersionDefinition.h>
14#include <aws/quicksight/model/ValidationStrategy.h>
15#include <utility>
16
17namespace Aws
18{
19namespace QuickSight
20{
21namespace Model
22{
23
27 {
28 public:
29 AWS_QUICKSIGHT_API UpdateDashboardRequest();
30
31 // Service request name is the Operation name which will send this request out,
32 // each operation should has unique request name, so that we can get operation's name from this request.
33 // Note: this is not true for response, multiple operations may have the same response name,
34 // so we can not get operation's name from response.
35 inline virtual const char* GetServiceRequestName() const override { return "UpdateDashboard"; }
36
37 AWS_QUICKSIGHT_API Aws::String SerializePayload() const override;
38
39
41
45 inline const Aws::String& GetAwsAccountId() const{ return m_awsAccountId; }
46 inline bool AwsAccountIdHasBeenSet() const { return m_awsAccountIdHasBeenSet; }
47 inline void SetAwsAccountId(const Aws::String& value) { m_awsAccountIdHasBeenSet = true; m_awsAccountId = value; }
48 inline void SetAwsAccountId(Aws::String&& value) { m_awsAccountIdHasBeenSet = true; m_awsAccountId = std::move(value); }
49 inline void SetAwsAccountId(const char* value) { m_awsAccountIdHasBeenSet = true; m_awsAccountId.assign(value); }
50 inline UpdateDashboardRequest& WithAwsAccountId(const Aws::String& value) { SetAwsAccountId(value); return *this;}
51 inline UpdateDashboardRequest& WithAwsAccountId(Aws::String&& value) { SetAwsAccountId(std::move(value)); return *this;}
52 inline UpdateDashboardRequest& WithAwsAccountId(const char* value) { SetAwsAccountId(value); return *this;}
54
56
59 inline const Aws::String& GetDashboardId() const{ return m_dashboardId; }
60 inline bool DashboardIdHasBeenSet() const { return m_dashboardIdHasBeenSet; }
61 inline void SetDashboardId(const Aws::String& value) { m_dashboardIdHasBeenSet = true; m_dashboardId = value; }
62 inline void SetDashboardId(Aws::String&& value) { m_dashboardIdHasBeenSet = true; m_dashboardId = std::move(value); }
63 inline void SetDashboardId(const char* value) { m_dashboardIdHasBeenSet = true; m_dashboardId.assign(value); }
64 inline UpdateDashboardRequest& WithDashboardId(const Aws::String& value) { SetDashboardId(value); return *this;}
65 inline UpdateDashboardRequest& WithDashboardId(Aws::String&& value) { SetDashboardId(std::move(value)); return *this;}
66 inline UpdateDashboardRequest& WithDashboardId(const char* value) { SetDashboardId(value); return *this;}
68
70
73 inline const Aws::String& GetName() const{ return m_name; }
74 inline bool NameHasBeenSet() const { return m_nameHasBeenSet; }
75 inline void SetName(const Aws::String& value) { m_nameHasBeenSet = true; m_name = value; }
76 inline void SetName(Aws::String&& value) { m_nameHasBeenSet = true; m_name = std::move(value); }
77 inline void SetName(const char* value) { m_nameHasBeenSet = true; m_name.assign(value); }
78 inline UpdateDashboardRequest& WithName(const Aws::String& value) { SetName(value); return *this;}
79 inline UpdateDashboardRequest& WithName(Aws::String&& value) { SetName(std::move(value)); return *this;}
80 inline UpdateDashboardRequest& WithName(const char* value) { SetName(value); return *this;}
82
84
99 inline const DashboardSourceEntity& GetSourceEntity() const{ return m_sourceEntity; }
100 inline bool SourceEntityHasBeenSet() const { return m_sourceEntityHasBeenSet; }
101 inline void SetSourceEntity(const DashboardSourceEntity& value) { m_sourceEntityHasBeenSet = true; m_sourceEntity = value; }
102 inline void SetSourceEntity(DashboardSourceEntity&& value) { m_sourceEntityHasBeenSet = true; m_sourceEntity = std::move(value); }
104 inline UpdateDashboardRequest& WithSourceEntity(DashboardSourceEntity&& value) { SetSourceEntity(std::move(value)); return *this;}
106
108
113 inline const Parameters& GetParameters() const{ return m_parameters; }
114 inline bool ParametersHasBeenSet() const { return m_parametersHasBeenSet; }
115 inline void SetParameters(const Parameters& value) { m_parametersHasBeenSet = true; m_parameters = value; }
116 inline void SetParameters(Parameters&& value) { m_parametersHasBeenSet = true; m_parameters = std::move(value); }
117 inline UpdateDashboardRequest& WithParameters(const Parameters& value) { SetParameters(value); return *this;}
118 inline UpdateDashboardRequest& WithParameters(Parameters&& value) { SetParameters(std::move(value)); return *this;}
120
122
125 inline const Aws::String& GetVersionDescription() const{ return m_versionDescription; }
126 inline bool VersionDescriptionHasBeenSet() const { return m_versionDescriptionHasBeenSet; }
127 inline void SetVersionDescription(const Aws::String& value) { m_versionDescriptionHasBeenSet = true; m_versionDescription = value; }
128 inline void SetVersionDescription(Aws::String&& value) { m_versionDescriptionHasBeenSet = true; m_versionDescription = std::move(value); }
129 inline void SetVersionDescription(const char* value) { m_versionDescriptionHasBeenSet = true; m_versionDescription.assign(value); }
131 inline UpdateDashboardRequest& WithVersionDescription(Aws::String&& value) { SetVersionDescription(std::move(value)); return *this;}
132 inline UpdateDashboardRequest& WithVersionDescription(const char* value) { SetVersionDescription(value); return *this;}
134
136
152 inline const DashboardPublishOptions& GetDashboardPublishOptions() const{ return m_dashboardPublishOptions; }
153 inline bool DashboardPublishOptionsHasBeenSet() const { return m_dashboardPublishOptionsHasBeenSet; }
154 inline void SetDashboardPublishOptions(const DashboardPublishOptions& value) { m_dashboardPublishOptionsHasBeenSet = true; m_dashboardPublishOptions = value; }
155 inline void SetDashboardPublishOptions(DashboardPublishOptions&& value) { m_dashboardPublishOptionsHasBeenSet = true; m_dashboardPublishOptions = std::move(value); }
159
161
167 inline const Aws::String& GetThemeArn() const{ return m_themeArn; }
168 inline bool ThemeArnHasBeenSet() const { return m_themeArnHasBeenSet; }
169 inline void SetThemeArn(const Aws::String& value) { m_themeArnHasBeenSet = true; m_themeArn = value; }
170 inline void SetThemeArn(Aws::String&& value) { m_themeArnHasBeenSet = true; m_themeArn = std::move(value); }
171 inline void SetThemeArn(const char* value) { m_themeArnHasBeenSet = true; m_themeArn.assign(value); }
172 inline UpdateDashboardRequest& WithThemeArn(const Aws::String& value) { SetThemeArn(value); return *this;}
173 inline UpdateDashboardRequest& WithThemeArn(Aws::String&& value) { SetThemeArn(std::move(value)); return *this;}
174 inline UpdateDashboardRequest& WithThemeArn(const char* value) { SetThemeArn(value); return *this;}
176
178
182 inline const DashboardVersionDefinition& GetDefinition() const{ return m_definition; }
183 inline bool DefinitionHasBeenSet() const { return m_definitionHasBeenSet; }
184 inline void SetDefinition(const DashboardVersionDefinition& value) { m_definitionHasBeenSet = true; m_definition = value; }
185 inline void SetDefinition(DashboardVersionDefinition&& value) { m_definitionHasBeenSet = true; m_definition = std::move(value); }
187 inline UpdateDashboardRequest& WithDefinition(DashboardVersionDefinition&& value) { SetDefinition(std::move(value)); return *this;}
189
191
195 inline const ValidationStrategy& GetValidationStrategy() const{ return m_validationStrategy; }
196 inline bool ValidationStrategyHasBeenSet() const { return m_validationStrategyHasBeenSet; }
197 inline void SetValidationStrategy(const ValidationStrategy& value) { m_validationStrategyHasBeenSet = true; m_validationStrategy = value; }
198 inline void SetValidationStrategy(ValidationStrategy&& value) { m_validationStrategyHasBeenSet = true; m_validationStrategy = std::move(value); }
202 private:
203
204 Aws::String m_awsAccountId;
205 bool m_awsAccountIdHasBeenSet = false;
206
207 Aws::String m_dashboardId;
208 bool m_dashboardIdHasBeenSet = false;
209
210 Aws::String m_name;
211 bool m_nameHasBeenSet = false;
212
213 DashboardSourceEntity m_sourceEntity;
214 bool m_sourceEntityHasBeenSet = false;
215
216 Parameters m_parameters;
217 bool m_parametersHasBeenSet = false;
218
219 Aws::String m_versionDescription;
220 bool m_versionDescriptionHasBeenSet = false;
221
222 DashboardPublishOptions m_dashboardPublishOptions;
223 bool m_dashboardPublishOptionsHasBeenSet = false;
224
225 Aws::String m_themeArn;
226 bool m_themeArnHasBeenSet = false;
227
228 DashboardVersionDefinition m_definition;
229 bool m_definitionHasBeenSet = false;
230
231 ValidationStrategy m_validationStrategy;
232 bool m_validationStrategyHasBeenSet = false;
233 };
234
235} // namespace Model
236} // namespace QuickSight
237} // namespace Aws
UpdateDashboardRequest & WithDefinition(DashboardVersionDefinition &&value)
void SetSourceEntity(const DashboardSourceEntity &value)
UpdateDashboardRequest & WithAwsAccountId(const Aws::String &value)
void SetDefinition(const DashboardVersionDefinition &value)
void SetDashboardPublishOptions(const DashboardPublishOptions &value)
UpdateDashboardRequest & WithValidationStrategy(const ValidationStrategy &value)
void SetSourceEntity(DashboardSourceEntity &&value)
UpdateDashboardRequest & WithParameters(Parameters &&value)
UpdateDashboardRequest & WithDashboardPublishOptions(const DashboardPublishOptions &value)
UpdateDashboardRequest & WithValidationStrategy(ValidationStrategy &&value)
const DashboardSourceEntity & GetSourceEntity() const
UpdateDashboardRequest & WithName(const char *value)
UpdateDashboardRequest & WithAwsAccountId(Aws::String &&value)
UpdateDashboardRequest & WithDashboardPublishOptions(DashboardPublishOptions &&value)
void SetValidationStrategy(ValidationStrategy &&value)
UpdateDashboardRequest & WithDashboardId(Aws::String &&value)
virtual const char * GetServiceRequestName() const override
UpdateDashboardRequest & WithName(Aws::String &&value)
UpdateDashboardRequest & WithVersionDescription(Aws::String &&value)
UpdateDashboardRequest & WithDashboardId(const Aws::String &value)
void SetDashboardPublishOptions(DashboardPublishOptions &&value)
UpdateDashboardRequest & WithThemeArn(Aws::String &&value)
UpdateDashboardRequest & WithThemeArn(const char *value)
UpdateDashboardRequest & WithAwsAccountId(const char *value)
const ValidationStrategy & GetValidationStrategy() const
void SetDefinition(DashboardVersionDefinition &&value)
const DashboardVersionDefinition & GetDefinition() const
UpdateDashboardRequest & WithDashboardId(const char *value)
UpdateDashboardRequest & WithParameters(const Parameters &value)
UpdateDashboardRequest & WithVersionDescription(const Aws::String &value)
UpdateDashboardRequest & WithName(const Aws::String &value)
UpdateDashboardRequest & WithSourceEntity(DashboardSourceEntity &&value)
AWS_QUICKSIGHT_API Aws::String SerializePayload() const override
const DashboardPublishOptions & GetDashboardPublishOptions() const
void SetValidationStrategy(const ValidationStrategy &value)
UpdateDashboardRequest & WithVersionDescription(const char *value)
UpdateDashboardRequest & WithDefinition(const DashboardVersionDefinition &value)
UpdateDashboardRequest & WithSourceEntity(const DashboardSourceEntity &value)
UpdateDashboardRequest & WithThemeArn(const Aws::String &value)
std::basic_string< char, std::char_traits< char >, Aws::Allocator< char > > String