AWS SDK for C++

AWS SDK for C++ Version 1.11.440

Loading...
Searching...
No Matches
CreateDashboardRequest.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/Parameters.h>
11#include <aws/core/utils/memory/stl/AWSVector.h>
12#include <aws/quicksight/model/DashboardSourceEntity.h>
13#include <aws/quicksight/model/DashboardPublishOptions.h>
14#include <aws/quicksight/model/DashboardVersionDefinition.h>
15#include <aws/quicksight/model/ValidationStrategy.h>
16#include <aws/quicksight/model/LinkSharingConfiguration.h>
17#include <aws/quicksight/model/ResourcePermission.h>
18#include <aws/quicksight/model/Tag.h>
19#include <utility>
20
21namespace Aws
22{
23namespace QuickSight
24{
25namespace Model
26{
27
31 {
32 public:
33 AWS_QUICKSIGHT_API CreateDashboardRequest();
34
35 // Service request name is the Operation name which will send this request out,
36 // each operation should has unique request name, so that we can get operation's name from this request.
37 // Note: this is not true for response, multiple operations may have the same response name,
38 // so we can not get operation's name from response.
39 inline virtual const char* GetServiceRequestName() const override { return "CreateDashboard"; }
40
41 AWS_QUICKSIGHT_API Aws::String SerializePayload() const override;
42
43
45
49 inline const Aws::String& GetAwsAccountId() const{ return m_awsAccountId; }
50 inline bool AwsAccountIdHasBeenSet() const { return m_awsAccountIdHasBeenSet; }
51 inline void SetAwsAccountId(const Aws::String& value) { m_awsAccountIdHasBeenSet = true; m_awsAccountId = value; }
52 inline void SetAwsAccountId(Aws::String&& value) { m_awsAccountIdHasBeenSet = true; m_awsAccountId = std::move(value); }
53 inline void SetAwsAccountId(const char* value) { m_awsAccountIdHasBeenSet = true; m_awsAccountId.assign(value); }
54 inline CreateDashboardRequest& WithAwsAccountId(const Aws::String& value) { SetAwsAccountId(value); return *this;}
55 inline CreateDashboardRequest& WithAwsAccountId(Aws::String&& value) { SetAwsAccountId(std::move(value)); return *this;}
56 inline CreateDashboardRequest& WithAwsAccountId(const char* value) { SetAwsAccountId(value); return *this;}
58
60
63 inline const Aws::String& GetDashboardId() const{ return m_dashboardId; }
64 inline bool DashboardIdHasBeenSet() const { return m_dashboardIdHasBeenSet; }
65 inline void SetDashboardId(const Aws::String& value) { m_dashboardIdHasBeenSet = true; m_dashboardId = value; }
66 inline void SetDashboardId(Aws::String&& value) { m_dashboardIdHasBeenSet = true; m_dashboardId = std::move(value); }
67 inline void SetDashboardId(const char* value) { m_dashboardIdHasBeenSet = true; m_dashboardId.assign(value); }
68 inline CreateDashboardRequest& WithDashboardId(const Aws::String& value) { SetDashboardId(value); return *this;}
69 inline CreateDashboardRequest& WithDashboardId(Aws::String&& value) { SetDashboardId(std::move(value)); return *this;}
70 inline CreateDashboardRequest& WithDashboardId(const char* value) { SetDashboardId(value); return *this;}
72
74
77 inline const Aws::String& GetName() const{ return m_name; }
78 inline bool NameHasBeenSet() const { return m_nameHasBeenSet; }
79 inline void SetName(const Aws::String& value) { m_nameHasBeenSet = true; m_name = value; }
80 inline void SetName(Aws::String&& value) { m_nameHasBeenSet = true; m_name = std::move(value); }
81 inline void SetName(const char* value) { m_nameHasBeenSet = true; m_name.assign(value); }
82 inline CreateDashboardRequest& WithName(const Aws::String& value) { SetName(value); return *this;}
83 inline CreateDashboardRequest& WithName(Aws::String&& value) { SetName(std::move(value)); return *this;}
84 inline CreateDashboardRequest& WithName(const char* value) { SetName(value); return *this;}
86
88
93 inline const Parameters& GetParameters() const{ return m_parameters; }
94 inline bool ParametersHasBeenSet() const { return m_parametersHasBeenSet; }
95 inline void SetParameters(const Parameters& value) { m_parametersHasBeenSet = true; m_parameters = value; }
96 inline void SetParameters(Parameters&& value) { m_parametersHasBeenSet = true; m_parameters = std::move(value); }
97 inline CreateDashboardRequest& WithParameters(const Parameters& value) { SetParameters(value); return *this;}
98 inline CreateDashboardRequest& WithParameters(Parameters&& value) { SetParameters(std::move(value)); return *this;}
100
102
108 inline const Aws::Vector<ResourcePermission>& GetPermissions() const{ return m_permissions; }
109 inline bool PermissionsHasBeenSet() const { return m_permissionsHasBeenSet; }
110 inline void SetPermissions(const Aws::Vector<ResourcePermission>& value) { m_permissionsHasBeenSet = true; m_permissions = value; }
111 inline void SetPermissions(Aws::Vector<ResourcePermission>&& value) { m_permissionsHasBeenSet = true; m_permissions = std::move(value); }
114 inline CreateDashboardRequest& AddPermissions(const ResourcePermission& value) { m_permissionsHasBeenSet = true; m_permissions.push_back(value); return *this; }
115 inline CreateDashboardRequest& AddPermissions(ResourcePermission&& value) { m_permissionsHasBeenSet = true; m_permissions.push_back(std::move(value)); return *this; }
117
119
136 inline const DashboardSourceEntity& GetSourceEntity() const{ return m_sourceEntity; }
137 inline bool SourceEntityHasBeenSet() const { return m_sourceEntityHasBeenSet; }
138 inline void SetSourceEntity(const DashboardSourceEntity& value) { m_sourceEntityHasBeenSet = true; m_sourceEntity = value; }
139 inline void SetSourceEntity(DashboardSourceEntity&& value) { m_sourceEntityHasBeenSet = true; m_sourceEntity = std::move(value); }
141 inline CreateDashboardRequest& WithSourceEntity(DashboardSourceEntity&& value) { SetSourceEntity(std::move(value)); return *this;}
143
145
149 inline const Aws::Vector<Tag>& GetTags() const{ return m_tags; }
150 inline bool TagsHasBeenSet() const { return m_tagsHasBeenSet; }
151 inline void SetTags(const Aws::Vector<Tag>& value) { m_tagsHasBeenSet = true; m_tags = value; }
152 inline void SetTags(Aws::Vector<Tag>&& value) { m_tagsHasBeenSet = true; m_tags = std::move(value); }
153 inline CreateDashboardRequest& WithTags(const Aws::Vector<Tag>& value) { SetTags(value); return *this;}
154 inline CreateDashboardRequest& WithTags(Aws::Vector<Tag>&& value) { SetTags(std::move(value)); return *this;}
155 inline CreateDashboardRequest& AddTags(const Tag& value) { m_tagsHasBeenSet = true; m_tags.push_back(value); return *this; }
156 inline CreateDashboardRequest& AddTags(Tag&& value) { m_tagsHasBeenSet = true; m_tags.push_back(std::move(value)); return *this; }
158
160
163 inline const Aws::String& GetVersionDescription() const{ return m_versionDescription; }
164 inline bool VersionDescriptionHasBeenSet() const { return m_versionDescriptionHasBeenSet; }
165 inline void SetVersionDescription(const Aws::String& value) { m_versionDescriptionHasBeenSet = true; m_versionDescription = value; }
166 inline void SetVersionDescription(Aws::String&& value) { m_versionDescriptionHasBeenSet = true; m_versionDescription = std::move(value); }
167 inline void SetVersionDescription(const char* value) { m_versionDescriptionHasBeenSet = true; m_versionDescription.assign(value); }
169 inline CreateDashboardRequest& WithVersionDescription(Aws::String&& value) { SetVersionDescription(std::move(value)); return *this;}
170 inline CreateDashboardRequest& WithVersionDescription(const char* value) { SetVersionDescription(value); return *this;}
172
174
190 inline const DashboardPublishOptions& GetDashboardPublishOptions() const{ return m_dashboardPublishOptions; }
191 inline bool DashboardPublishOptionsHasBeenSet() const { return m_dashboardPublishOptionsHasBeenSet; }
192 inline void SetDashboardPublishOptions(const DashboardPublishOptions& value) { m_dashboardPublishOptionsHasBeenSet = true; m_dashboardPublishOptions = value; }
193 inline void SetDashboardPublishOptions(DashboardPublishOptions&& value) { m_dashboardPublishOptionsHasBeenSet = true; m_dashboardPublishOptions = std::move(value); }
197
199
205 inline const Aws::String& GetThemeArn() const{ return m_themeArn; }
206 inline bool ThemeArnHasBeenSet() const { return m_themeArnHasBeenSet; }
207 inline void SetThemeArn(const Aws::String& value) { m_themeArnHasBeenSet = true; m_themeArn = value; }
208 inline void SetThemeArn(Aws::String&& value) { m_themeArnHasBeenSet = true; m_themeArn = std::move(value); }
209 inline void SetThemeArn(const char* value) { m_themeArnHasBeenSet = true; m_themeArn.assign(value); }
210 inline CreateDashboardRequest& WithThemeArn(const Aws::String& value) { SetThemeArn(value); return *this;}
211 inline CreateDashboardRequest& WithThemeArn(Aws::String&& value) { SetThemeArn(std::move(value)); return *this;}
212 inline CreateDashboardRequest& WithThemeArn(const char* value) { SetThemeArn(value); return *this;}
214
216
222 inline const DashboardVersionDefinition& GetDefinition() const{ return m_definition; }
223 inline bool DefinitionHasBeenSet() const { return m_definitionHasBeenSet; }
224 inline void SetDefinition(const DashboardVersionDefinition& value) { m_definitionHasBeenSet = true; m_definition = value; }
225 inline void SetDefinition(DashboardVersionDefinition&& value) { m_definitionHasBeenSet = true; m_definition = std::move(value); }
227 inline CreateDashboardRequest& WithDefinition(DashboardVersionDefinition&& value) { SetDefinition(std::move(value)); return *this;}
229
231
236 inline const ValidationStrategy& GetValidationStrategy() const{ return m_validationStrategy; }
237 inline bool ValidationStrategyHasBeenSet() const { return m_validationStrategyHasBeenSet; }
238 inline void SetValidationStrategy(const ValidationStrategy& value) { m_validationStrategyHasBeenSet = true; m_validationStrategy = value; }
239 inline void SetValidationStrategy(ValidationStrategy&& value) { m_validationStrategyHasBeenSet = true; m_validationStrategy = std::move(value); }
243
245
249 inline const Aws::Vector<Aws::String>& GetFolderArns() const{ return m_folderArns; }
250 inline bool FolderArnsHasBeenSet() const { return m_folderArnsHasBeenSet; }
251 inline void SetFolderArns(const Aws::Vector<Aws::String>& value) { m_folderArnsHasBeenSet = true; m_folderArns = value; }
252 inline void SetFolderArns(Aws::Vector<Aws::String>&& value) { m_folderArnsHasBeenSet = true; m_folderArns = std::move(value); }
254 inline CreateDashboardRequest& WithFolderArns(Aws::Vector<Aws::String>&& value) { SetFolderArns(std::move(value)); return *this;}
255 inline CreateDashboardRequest& AddFolderArns(const Aws::String& value) { m_folderArnsHasBeenSet = true; m_folderArns.push_back(value); return *this; }
256 inline CreateDashboardRequest& AddFolderArns(Aws::String&& value) { m_folderArnsHasBeenSet = true; m_folderArns.push_back(std::move(value)); return *this; }
257 inline CreateDashboardRequest& AddFolderArns(const char* value) { m_folderArnsHasBeenSet = true; m_folderArns.push_back(value); return *this; }
259
261
265 inline const LinkSharingConfiguration& GetLinkSharingConfiguration() const{ return m_linkSharingConfiguration; }
266 inline bool LinkSharingConfigurationHasBeenSet() const { return m_linkSharingConfigurationHasBeenSet; }
267 inline void SetLinkSharingConfiguration(const LinkSharingConfiguration& value) { m_linkSharingConfigurationHasBeenSet = true; m_linkSharingConfiguration = value; }
268 inline void SetLinkSharingConfiguration(LinkSharingConfiguration&& value) { m_linkSharingConfigurationHasBeenSet = true; m_linkSharingConfiguration = std::move(value); }
272
274
278 inline const Aws::Vector<Aws::String>& GetLinkEntities() const{ return m_linkEntities; }
279 inline bool LinkEntitiesHasBeenSet() const { return m_linkEntitiesHasBeenSet; }
280 inline void SetLinkEntities(const Aws::Vector<Aws::String>& value) { m_linkEntitiesHasBeenSet = true; m_linkEntities = value; }
281 inline void SetLinkEntities(Aws::Vector<Aws::String>&& value) { m_linkEntitiesHasBeenSet = true; m_linkEntities = std::move(value); }
283 inline CreateDashboardRequest& WithLinkEntities(Aws::Vector<Aws::String>&& value) { SetLinkEntities(std::move(value)); return *this;}
284 inline CreateDashboardRequest& AddLinkEntities(const Aws::String& value) { m_linkEntitiesHasBeenSet = true; m_linkEntities.push_back(value); return *this; }
285 inline CreateDashboardRequest& AddLinkEntities(Aws::String&& value) { m_linkEntitiesHasBeenSet = true; m_linkEntities.push_back(std::move(value)); return *this; }
286 inline CreateDashboardRequest& AddLinkEntities(const char* value) { m_linkEntitiesHasBeenSet = true; m_linkEntities.push_back(value); return *this; }
288 private:
289
290 Aws::String m_awsAccountId;
291 bool m_awsAccountIdHasBeenSet = false;
292
293 Aws::String m_dashboardId;
294 bool m_dashboardIdHasBeenSet = false;
295
296 Aws::String m_name;
297 bool m_nameHasBeenSet = false;
298
299 Parameters m_parameters;
300 bool m_parametersHasBeenSet = false;
301
303 bool m_permissionsHasBeenSet = false;
304
305 DashboardSourceEntity m_sourceEntity;
306 bool m_sourceEntityHasBeenSet = false;
307
308 Aws::Vector<Tag> m_tags;
309 bool m_tagsHasBeenSet = false;
310
311 Aws::String m_versionDescription;
312 bool m_versionDescriptionHasBeenSet = false;
313
314 DashboardPublishOptions m_dashboardPublishOptions;
315 bool m_dashboardPublishOptionsHasBeenSet = false;
316
317 Aws::String m_themeArn;
318 bool m_themeArnHasBeenSet = false;
319
320 DashboardVersionDefinition m_definition;
321 bool m_definitionHasBeenSet = false;
322
323 ValidationStrategy m_validationStrategy;
324 bool m_validationStrategyHasBeenSet = false;
325
326 Aws::Vector<Aws::String> m_folderArns;
327 bool m_folderArnsHasBeenSet = false;
328
329 LinkSharingConfiguration m_linkSharingConfiguration;
330 bool m_linkSharingConfigurationHasBeenSet = false;
331
332 Aws::Vector<Aws::String> m_linkEntities;
333 bool m_linkEntitiesHasBeenSet = false;
334 };
335
336} // namespace Model
337} // namespace QuickSight
338} // namespace Aws
void SetFolderArns(Aws::Vector< Aws::String > &&value)
CreateDashboardRequest & WithDashboardId(const Aws::String &value)
CreateDashboardRequest & WithLinkSharingConfiguration(const LinkSharingConfiguration &value)
virtual const char * GetServiceRequestName() const override
AWS_QUICKSIGHT_API Aws::String SerializePayload() const override
CreateDashboardRequest & WithParameters(const Parameters &value)
CreateDashboardRequest & WithVersionDescription(const Aws::String &value)
void SetDashboardPublishOptions(DashboardPublishOptions &&value)
CreateDashboardRequest & WithLinkSharingConfiguration(LinkSharingConfiguration &&value)
void SetValidationStrategy(ValidationStrategy &&value)
CreateDashboardRequest & WithSourceEntity(DashboardSourceEntity &&value)
CreateDashboardRequest & WithThemeArn(const char *value)
CreateDashboardRequest & WithTags(Aws::Vector< Tag > &&value)
CreateDashboardRequest & WithSourceEntity(const DashboardSourceEntity &value)
CreateDashboardRequest & WithFolderArns(const Aws::Vector< Aws::String > &value)
CreateDashboardRequest & WithPermissions(const Aws::Vector< ResourcePermission > &value)
CreateDashboardRequest & AddTags(Tag &&value)
const Aws::Vector< ResourcePermission > & GetPermissions() const
CreateDashboardRequest & WithFolderArns(Aws::Vector< Aws::String > &&value)
void SetDefinition(const DashboardVersionDefinition &value)
CreateDashboardRequest & WithDashboardPublishOptions(DashboardPublishOptions &&value)
CreateDashboardRequest & AddLinkEntities(const char *value)
CreateDashboardRequest & AddLinkEntities(Aws::String &&value)
const LinkSharingConfiguration & GetLinkSharingConfiguration() const
const DashboardSourceEntity & GetSourceEntity() const
CreateDashboardRequest & WithDefinition(DashboardVersionDefinition &&value)
void SetLinkEntities(Aws::Vector< Aws::String > &&value)
void SetSourceEntity(DashboardSourceEntity &&value)
CreateDashboardRequest & WithVersionDescription(Aws::String &&value)
CreateDashboardRequest & WithDashboardPublishOptions(const DashboardPublishOptions &value)
const Aws::Vector< Aws::String > & GetLinkEntities() const
void SetSourceEntity(const DashboardSourceEntity &value)
void SetLinkSharingConfiguration(LinkSharingConfiguration &&value)
CreateDashboardRequest & AddFolderArns(const Aws::String &value)
CreateDashboardRequest & AddPermissions(ResourcePermission &&value)
CreateDashboardRequest & WithLinkEntities(Aws::Vector< Aws::String > &&value)
CreateDashboardRequest & WithTags(const Aws::Vector< Tag > &value)
void SetPermissions(const Aws::Vector< ResourcePermission > &value)
CreateDashboardRequest & WithDashboardId(Aws::String &&value)
const Aws::Vector< Aws::String > & GetFolderArns() const
void SetDefinition(DashboardVersionDefinition &&value)
CreateDashboardRequest & WithLinkEntities(const Aws::Vector< Aws::String > &value)
CreateDashboardRequest & WithThemeArn(const Aws::String &value)
CreateDashboardRequest & WithName(Aws::String &&value)
CreateDashboardRequest & WithParameters(Parameters &&value)
void SetValidationStrategy(const ValidationStrategy &value)
CreateDashboardRequest & AddPermissions(const ResourcePermission &value)
void SetLinkEntities(const Aws::Vector< Aws::String > &value)
CreateDashboardRequest & WithAwsAccountId(const Aws::String &value)
void SetTags(const Aws::Vector< Tag > &value)
CreateDashboardRequest & WithDefinition(const DashboardVersionDefinition &value)
CreateDashboardRequest & AddTags(const Tag &value)
CreateDashboardRequest & AddFolderArns(Aws::String &&value)
CreateDashboardRequest & WithName(const Aws::String &value)
CreateDashboardRequest & WithName(const char *value)
CreateDashboardRequest & AddLinkEntities(const Aws::String &value)
void SetLinkSharingConfiguration(const LinkSharingConfiguration &value)
CreateDashboardRequest & AddFolderArns(const char *value)
const DashboardVersionDefinition & GetDefinition() const
void SetFolderArns(const Aws::Vector< Aws::String > &value)
CreateDashboardRequest & WithVersionDescription(const char *value)
const ValidationStrategy & GetValidationStrategy() const
CreateDashboardRequest & WithThemeArn(Aws::String &&value)
CreateDashboardRequest & WithValidationStrategy(ValidationStrategy &&value)
void SetPermissions(Aws::Vector< ResourcePermission > &&value)
CreateDashboardRequest & WithPermissions(Aws::Vector< ResourcePermission > &&value)
CreateDashboardRequest & WithValidationStrategy(const ValidationStrategy &value)
CreateDashboardRequest & WithAwsAccountId(Aws::String &&value)
void SetDashboardPublishOptions(const DashboardPublishOptions &value)
CreateDashboardRequest & WithDashboardId(const char *value)
const DashboardPublishOptions & GetDashboardPublishOptions() const
CreateDashboardRequest & WithAwsAccountId(const char *value)
std::basic_string< char, std::char_traits< char >, Aws::Allocator< char > > String
std::vector< T, Aws::Allocator< T > > Vector