AWS SDK for C++

AWS SDK for C++ Version 1.11.606

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() = default;
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 template<typename AwsAccountIdT = Aws::String>
52 void SetAwsAccountId(AwsAccountIdT&& value) { m_awsAccountIdHasBeenSet = true; m_awsAccountId = std::forward<AwsAccountIdT>(value); }
53 template<typename AwsAccountIdT = Aws::String>
54 CreateDashboardRequest& WithAwsAccountId(AwsAccountIdT&& value) { SetAwsAccountId(std::forward<AwsAccountIdT>(value)); return *this;}
56
58
61 inline const Aws::String& GetDashboardId() const { return m_dashboardId; }
62 inline bool DashboardIdHasBeenSet() const { return m_dashboardIdHasBeenSet; }
63 template<typename DashboardIdT = Aws::String>
64 void SetDashboardId(DashboardIdT&& value) { m_dashboardIdHasBeenSet = true; m_dashboardId = std::forward<DashboardIdT>(value); }
65 template<typename DashboardIdT = Aws::String>
66 CreateDashboardRequest& WithDashboardId(DashboardIdT&& value) { SetDashboardId(std::forward<DashboardIdT>(value)); return *this;}
68
70
73 inline const Aws::String& GetName() const { return m_name; }
74 inline bool NameHasBeenSet() const { return m_nameHasBeenSet; }
75 template<typename NameT = Aws::String>
76 void SetName(NameT&& value) { m_nameHasBeenSet = true; m_name = std::forward<NameT>(value); }
77 template<typename NameT = Aws::String>
78 CreateDashboardRequest& WithName(NameT&& value) { SetName(std::forward<NameT>(value)); return *this;}
80
82
87 inline const Parameters& GetParameters() const { return m_parameters; }
88 inline bool ParametersHasBeenSet() const { return m_parametersHasBeenSet; }
89 template<typename ParametersT = Parameters>
90 void SetParameters(ParametersT&& value) { m_parametersHasBeenSet = true; m_parameters = std::forward<ParametersT>(value); }
91 template<typename ParametersT = Parameters>
92 CreateDashboardRequest& WithParameters(ParametersT&& value) { SetParameters(std::forward<ParametersT>(value)); return *this;}
94
96
102 inline const Aws::Vector<ResourcePermission>& GetPermissions() const { return m_permissions; }
103 inline bool PermissionsHasBeenSet() const { return m_permissionsHasBeenSet; }
104 template<typename PermissionsT = Aws::Vector<ResourcePermission>>
105 void SetPermissions(PermissionsT&& value) { m_permissionsHasBeenSet = true; m_permissions = std::forward<PermissionsT>(value); }
106 template<typename PermissionsT = Aws::Vector<ResourcePermission>>
107 CreateDashboardRequest& WithPermissions(PermissionsT&& value) { SetPermissions(std::forward<PermissionsT>(value)); return *this;}
108 template<typename PermissionsT = ResourcePermission>
109 CreateDashboardRequest& AddPermissions(PermissionsT&& value) { m_permissionsHasBeenSet = true; m_permissions.emplace_back(std::forward<PermissionsT>(value)); return *this; }
111
113
130 inline const DashboardSourceEntity& GetSourceEntity() const { return m_sourceEntity; }
131 inline bool SourceEntityHasBeenSet() const { return m_sourceEntityHasBeenSet; }
132 template<typename SourceEntityT = DashboardSourceEntity>
133 void SetSourceEntity(SourceEntityT&& value) { m_sourceEntityHasBeenSet = true; m_sourceEntity = std::forward<SourceEntityT>(value); }
134 template<typename SourceEntityT = DashboardSourceEntity>
135 CreateDashboardRequest& WithSourceEntity(SourceEntityT&& value) { SetSourceEntity(std::forward<SourceEntityT>(value)); return *this;}
137
139
143 inline const Aws::Vector<Tag>& GetTags() const { return m_tags; }
144 inline bool TagsHasBeenSet() const { return m_tagsHasBeenSet; }
145 template<typename TagsT = Aws::Vector<Tag>>
146 void SetTags(TagsT&& value) { m_tagsHasBeenSet = true; m_tags = std::forward<TagsT>(value); }
147 template<typename TagsT = Aws::Vector<Tag>>
148 CreateDashboardRequest& WithTags(TagsT&& value) { SetTags(std::forward<TagsT>(value)); return *this;}
149 template<typename TagsT = Tag>
150 CreateDashboardRequest& AddTags(TagsT&& value) { m_tagsHasBeenSet = true; m_tags.emplace_back(std::forward<TagsT>(value)); return *this; }
152
154
157 inline const Aws::String& GetVersionDescription() const { return m_versionDescription; }
158 inline bool VersionDescriptionHasBeenSet() const { return m_versionDescriptionHasBeenSet; }
159 template<typename VersionDescriptionT = Aws::String>
160 void SetVersionDescription(VersionDescriptionT&& value) { m_versionDescriptionHasBeenSet = true; m_versionDescription = std::forward<VersionDescriptionT>(value); }
161 template<typename VersionDescriptionT = Aws::String>
162 CreateDashboardRequest& WithVersionDescription(VersionDescriptionT&& value) { SetVersionDescription(std::forward<VersionDescriptionT>(value)); return *this;}
164
166
182 inline const DashboardPublishOptions& GetDashboardPublishOptions() const { return m_dashboardPublishOptions; }
183 inline bool DashboardPublishOptionsHasBeenSet() const { return m_dashboardPublishOptionsHasBeenSet; }
184 template<typename DashboardPublishOptionsT = DashboardPublishOptions>
185 void SetDashboardPublishOptions(DashboardPublishOptionsT&& value) { m_dashboardPublishOptionsHasBeenSet = true; m_dashboardPublishOptions = std::forward<DashboardPublishOptionsT>(value); }
186 template<typename DashboardPublishOptionsT = DashboardPublishOptions>
187 CreateDashboardRequest& WithDashboardPublishOptions(DashboardPublishOptionsT&& value) { SetDashboardPublishOptions(std::forward<DashboardPublishOptionsT>(value)); return *this;}
189
191
197 inline const Aws::String& GetThemeArn() const { return m_themeArn; }
198 inline bool ThemeArnHasBeenSet() const { return m_themeArnHasBeenSet; }
199 template<typename ThemeArnT = Aws::String>
200 void SetThemeArn(ThemeArnT&& value) { m_themeArnHasBeenSet = true; m_themeArn = std::forward<ThemeArnT>(value); }
201 template<typename ThemeArnT = Aws::String>
202 CreateDashboardRequest& WithThemeArn(ThemeArnT&& value) { SetThemeArn(std::forward<ThemeArnT>(value)); return *this;}
204
206
212 inline const DashboardVersionDefinition& GetDefinition() const { return m_definition; }
213 inline bool DefinitionHasBeenSet() const { return m_definitionHasBeenSet; }
214 template<typename DefinitionT = DashboardVersionDefinition>
215 void SetDefinition(DefinitionT&& value) { m_definitionHasBeenSet = true; m_definition = std::forward<DefinitionT>(value); }
216 template<typename DefinitionT = DashboardVersionDefinition>
217 CreateDashboardRequest& WithDefinition(DefinitionT&& value) { SetDefinition(std::forward<DefinitionT>(value)); return *this;}
219
221
226 inline const ValidationStrategy& GetValidationStrategy() const { return m_validationStrategy; }
227 inline bool ValidationStrategyHasBeenSet() const { return m_validationStrategyHasBeenSet; }
228 template<typename ValidationStrategyT = ValidationStrategy>
229 void SetValidationStrategy(ValidationStrategyT&& value) { m_validationStrategyHasBeenSet = true; m_validationStrategy = std::forward<ValidationStrategyT>(value); }
230 template<typename ValidationStrategyT = ValidationStrategy>
231 CreateDashboardRequest& WithValidationStrategy(ValidationStrategyT&& value) { SetValidationStrategy(std::forward<ValidationStrategyT>(value)); return *this;}
233
235
239 inline const Aws::Vector<Aws::String>& GetFolderArns() const { return m_folderArns; }
240 inline bool FolderArnsHasBeenSet() const { return m_folderArnsHasBeenSet; }
241 template<typename FolderArnsT = Aws::Vector<Aws::String>>
242 void SetFolderArns(FolderArnsT&& value) { m_folderArnsHasBeenSet = true; m_folderArns = std::forward<FolderArnsT>(value); }
243 template<typename FolderArnsT = Aws::Vector<Aws::String>>
244 CreateDashboardRequest& WithFolderArns(FolderArnsT&& value) { SetFolderArns(std::forward<FolderArnsT>(value)); return *this;}
245 template<typename FolderArnsT = Aws::String>
246 CreateDashboardRequest& AddFolderArns(FolderArnsT&& value) { m_folderArnsHasBeenSet = true; m_folderArns.emplace_back(std::forward<FolderArnsT>(value)); return *this; }
248
250
254 inline const LinkSharingConfiguration& GetLinkSharingConfiguration() const { return m_linkSharingConfiguration; }
255 inline bool LinkSharingConfigurationHasBeenSet() const { return m_linkSharingConfigurationHasBeenSet; }
256 template<typename LinkSharingConfigurationT = LinkSharingConfiguration>
257 void SetLinkSharingConfiguration(LinkSharingConfigurationT&& value) { m_linkSharingConfigurationHasBeenSet = true; m_linkSharingConfiguration = std::forward<LinkSharingConfigurationT>(value); }
258 template<typename LinkSharingConfigurationT = LinkSharingConfiguration>
259 CreateDashboardRequest& WithLinkSharingConfiguration(LinkSharingConfigurationT&& value) { SetLinkSharingConfiguration(std::forward<LinkSharingConfigurationT>(value)); return *this;}
261
263
267 inline const Aws::Vector<Aws::String>& GetLinkEntities() const { return m_linkEntities; }
268 inline bool LinkEntitiesHasBeenSet() const { return m_linkEntitiesHasBeenSet; }
269 template<typename LinkEntitiesT = Aws::Vector<Aws::String>>
270 void SetLinkEntities(LinkEntitiesT&& value) { m_linkEntitiesHasBeenSet = true; m_linkEntities = std::forward<LinkEntitiesT>(value); }
271 template<typename LinkEntitiesT = Aws::Vector<Aws::String>>
272 CreateDashboardRequest& WithLinkEntities(LinkEntitiesT&& value) { SetLinkEntities(std::forward<LinkEntitiesT>(value)); return *this;}
273 template<typename LinkEntitiesT = Aws::String>
274 CreateDashboardRequest& AddLinkEntities(LinkEntitiesT&& value) { m_linkEntitiesHasBeenSet = true; m_linkEntities.emplace_back(std::forward<LinkEntitiesT>(value)); return *this; }
276 private:
277
278 Aws::String m_awsAccountId;
279 bool m_awsAccountIdHasBeenSet = false;
280
281 Aws::String m_dashboardId;
282 bool m_dashboardIdHasBeenSet = false;
283
284 Aws::String m_name;
285 bool m_nameHasBeenSet = false;
286
287 Parameters m_parameters;
288 bool m_parametersHasBeenSet = false;
289
291 bool m_permissionsHasBeenSet = false;
292
293 DashboardSourceEntity m_sourceEntity;
294 bool m_sourceEntityHasBeenSet = false;
295
296 Aws::Vector<Tag> m_tags;
297 bool m_tagsHasBeenSet = false;
298
299 Aws::String m_versionDescription;
300 bool m_versionDescriptionHasBeenSet = false;
301
302 DashboardPublishOptions m_dashboardPublishOptions;
303 bool m_dashboardPublishOptionsHasBeenSet = false;
304
305 Aws::String m_themeArn;
306 bool m_themeArnHasBeenSet = false;
307
308 DashboardVersionDefinition m_definition;
309 bool m_definitionHasBeenSet = false;
310
311 ValidationStrategy m_validationStrategy;
312 bool m_validationStrategyHasBeenSet = false;
313
314 Aws::Vector<Aws::String> m_folderArns;
315 bool m_folderArnsHasBeenSet = false;
316
317 LinkSharingConfiguration m_linkSharingConfiguration;
318 bool m_linkSharingConfigurationHasBeenSet = false;
319
320 Aws::Vector<Aws::String> m_linkEntities;
321 bool m_linkEntitiesHasBeenSet = false;
322 };
323
324} // namespace Model
325} // namespace QuickSight
326} // namespace Aws
void SetValidationStrategy(ValidationStrategyT &&value)
CreateDashboardRequest & WithDashboardId(DashboardIdT &&value)
void SetLinkSharingConfiguration(LinkSharingConfigurationT &&value)
virtual const char * GetServiceRequestName() const override
AWS_QUICKSIGHT_API Aws::String SerializePayload() const override
CreateDashboardRequest & WithLinkSharingConfiguration(LinkSharingConfigurationT &&value)
CreateDashboardRequest & WithPermissions(PermissionsT &&value)
AWS_QUICKSIGHT_API CreateDashboardRequest()=default
const Aws::Vector< ResourcePermission > & GetPermissions() const
CreateDashboardRequest & WithFolderArns(FolderArnsT &&value)
CreateDashboardRequest & WithSourceEntity(SourceEntityT &&value)
CreateDashboardRequest & WithDashboardPublishOptions(DashboardPublishOptionsT &&value)
void SetDashboardPublishOptions(DashboardPublishOptionsT &&value)
const LinkSharingConfiguration & GetLinkSharingConfiguration() const
const DashboardSourceEntity & GetSourceEntity() const
CreateDashboardRequest & WithVersionDescription(VersionDescriptionT &&value)
CreateDashboardRequest & WithThemeArn(ThemeArnT &&value)
const Aws::Vector< Aws::String > & GetLinkEntities() const
CreateDashboardRequest & WithDefinition(DefinitionT &&value)
CreateDashboardRequest & WithTags(TagsT &&value)
CreateDashboardRequest & WithLinkEntities(LinkEntitiesT &&value)
CreateDashboardRequest & AddTags(TagsT &&value)
const Aws::Vector< Aws::String > & GetFolderArns() const
CreateDashboardRequest & WithAwsAccountId(AwsAccountIdT &&value)
const DashboardVersionDefinition & GetDefinition() const
void SetVersionDescription(VersionDescriptionT &&value)
CreateDashboardRequest & WithParameters(ParametersT &&value)
CreateDashboardRequest & WithName(NameT &&value)
const ValidationStrategy & GetValidationStrategy() const
CreateDashboardRequest & AddPermissions(PermissionsT &&value)
CreateDashboardRequest & AddLinkEntities(LinkEntitiesT &&value)
CreateDashboardRequest & AddFolderArns(FolderArnsT &&value)
CreateDashboardRequest & WithValidationStrategy(ValidationStrategyT &&value)
const DashboardPublishOptions & GetDashboardPublishOptions() const
std::basic_string< char, std::char_traits< char >, Aws::Allocator< char > > String
std::vector< T, Aws::Allocator< T > > Vector