AWS SDK for C++  1.9.159
AWS SDK for C++
UpdateDashboardRequest.h
Go to the documentation of this file.
1 
6 #pragma once
13 #include <utility>
14 
15 namespace Aws
16 {
17 namespace QuickSight
18 {
19 namespace Model
20 {
21 
25  {
26  public:
28 
29  // Service request name is the Operation name which will send this request out,
30  // each operation should has unique request name, so that we can get operation's name from this request.
31  // Note: this is not true for response, multiple operations may have the same response name,
32  // so we can not get operation's name from response.
33  inline virtual const char* GetServiceRequestName() const override { return "UpdateDashboard"; }
34 
35  Aws::String SerializePayload() const override;
36 
37 
42  inline const Aws::String& GetAwsAccountId() const{ return m_awsAccountId; }
43 
48  inline bool AwsAccountIdHasBeenSet() const { return m_awsAccountIdHasBeenSet; }
49 
54  inline void SetAwsAccountId(const Aws::String& value) { m_awsAccountIdHasBeenSet = true; m_awsAccountId = value; }
55 
60  inline void SetAwsAccountId(Aws::String&& value) { m_awsAccountIdHasBeenSet = true; m_awsAccountId = std::move(value); }
61 
66  inline void SetAwsAccountId(const char* value) { m_awsAccountIdHasBeenSet = true; m_awsAccountId.assign(value); }
67 
72  inline UpdateDashboardRequest& WithAwsAccountId(const Aws::String& value) { SetAwsAccountId(value); return *this;}
73 
78  inline UpdateDashboardRequest& WithAwsAccountId(Aws::String&& value) { SetAwsAccountId(std::move(value)); return *this;}
79 
84  inline UpdateDashboardRequest& WithAwsAccountId(const char* value) { SetAwsAccountId(value); return *this;}
85 
86 
90  inline const Aws::String& GetDashboardId() const{ return m_dashboardId; }
91 
95  inline bool DashboardIdHasBeenSet() const { return m_dashboardIdHasBeenSet; }
96 
100  inline void SetDashboardId(const Aws::String& value) { m_dashboardIdHasBeenSet = true; m_dashboardId = value; }
101 
105  inline void SetDashboardId(Aws::String&& value) { m_dashboardIdHasBeenSet = true; m_dashboardId = std::move(value); }
106 
110  inline void SetDashboardId(const char* value) { m_dashboardIdHasBeenSet = true; m_dashboardId.assign(value); }
111 
115  inline UpdateDashboardRequest& WithDashboardId(const Aws::String& value) { SetDashboardId(value); return *this;}
116 
120  inline UpdateDashboardRequest& WithDashboardId(Aws::String&& value) { SetDashboardId(std::move(value)); return *this;}
121 
125  inline UpdateDashboardRequest& WithDashboardId(const char* value) { SetDashboardId(value); return *this;}
126 
127 
131  inline const Aws::String& GetName() const{ return m_name; }
132 
136  inline bool NameHasBeenSet() const { return m_nameHasBeenSet; }
137 
141  inline void SetName(const Aws::String& value) { m_nameHasBeenSet = true; m_name = value; }
142 
146  inline void SetName(Aws::String&& value) { m_nameHasBeenSet = true; m_name = std::move(value); }
147 
151  inline void SetName(const char* value) { m_nameHasBeenSet = true; m_name.assign(value); }
152 
156  inline UpdateDashboardRequest& WithName(const Aws::String& value) { SetName(value); return *this;}
157 
161  inline UpdateDashboardRequest& WithName(Aws::String&& value) { SetName(std::move(value)); return *this;}
162 
166  inline UpdateDashboardRequest& WithName(const char* value) { SetName(value); return *this;}
167 
168 
184  inline const DashboardSourceEntity& GetSourceEntity() const{ return m_sourceEntity; }
185 
201  inline bool SourceEntityHasBeenSet() const { return m_sourceEntityHasBeenSet; }
202 
218  inline void SetSourceEntity(const DashboardSourceEntity& value) { m_sourceEntityHasBeenSet = true; m_sourceEntity = value; }
219 
235  inline void SetSourceEntity(DashboardSourceEntity&& value) { m_sourceEntityHasBeenSet = true; m_sourceEntity = std::move(value); }
236 
252  inline UpdateDashboardRequest& WithSourceEntity(const DashboardSourceEntity& value) { SetSourceEntity(value); return *this;}
253 
269  inline UpdateDashboardRequest& WithSourceEntity(DashboardSourceEntity&& value) { SetSourceEntity(std::move(value)); return *this;}
270 
271 
277  inline const Parameters& GetParameters() const{ return m_parameters; }
278 
284  inline bool ParametersHasBeenSet() const { return m_parametersHasBeenSet; }
285 
291  inline void SetParameters(const Parameters& value) { m_parametersHasBeenSet = true; m_parameters = value; }
292 
298  inline void SetParameters(Parameters&& value) { m_parametersHasBeenSet = true; m_parameters = std::move(value); }
299 
305  inline UpdateDashboardRequest& WithParameters(const Parameters& value) { SetParameters(value); return *this;}
306 
312  inline UpdateDashboardRequest& WithParameters(Parameters&& value) { SetParameters(std::move(value)); return *this;}
313 
314 
318  inline const Aws::String& GetVersionDescription() const{ return m_versionDescription; }
319 
323  inline bool VersionDescriptionHasBeenSet() const { return m_versionDescriptionHasBeenSet; }
324 
328  inline void SetVersionDescription(const Aws::String& value) { m_versionDescriptionHasBeenSet = true; m_versionDescription = value; }
329 
333  inline void SetVersionDescription(Aws::String&& value) { m_versionDescriptionHasBeenSet = true; m_versionDescription = std::move(value); }
334 
338  inline void SetVersionDescription(const char* value) { m_versionDescriptionHasBeenSet = true; m_versionDescription.assign(value); }
339 
343  inline UpdateDashboardRequest& WithVersionDescription(const Aws::String& value) { SetVersionDescription(value); return *this;}
344 
348  inline UpdateDashboardRequest& WithVersionDescription(Aws::String&& value) { SetVersionDescription(std::move(value)); return *this;}
349 
353  inline UpdateDashboardRequest& WithVersionDescription(const char* value) { SetVersionDescription(value); return *this;}
354 
355 
372  inline const DashboardPublishOptions& GetDashboardPublishOptions() const{ return m_dashboardPublishOptions; }
373 
390  inline bool DashboardPublishOptionsHasBeenSet() const { return m_dashboardPublishOptionsHasBeenSet; }
391 
408  inline void SetDashboardPublishOptions(const DashboardPublishOptions& value) { m_dashboardPublishOptionsHasBeenSet = true; m_dashboardPublishOptions = value; }
409 
426  inline void SetDashboardPublishOptions(DashboardPublishOptions&& value) { m_dashboardPublishOptionsHasBeenSet = true; m_dashboardPublishOptions = std::move(value); }
427 
444  inline UpdateDashboardRequest& WithDashboardPublishOptions(const DashboardPublishOptions& value) { SetDashboardPublishOptions(value); return *this;}
445 
462  inline UpdateDashboardRequest& WithDashboardPublishOptions(DashboardPublishOptions&& value) { SetDashboardPublishOptions(std::move(value)); return *this;}
463 
464 
471  inline const Aws::String& GetThemeArn() const{ return m_themeArn; }
472 
479  inline bool ThemeArnHasBeenSet() const { return m_themeArnHasBeenSet; }
480 
487  inline void SetThemeArn(const Aws::String& value) { m_themeArnHasBeenSet = true; m_themeArn = value; }
488 
495  inline void SetThemeArn(Aws::String&& value) { m_themeArnHasBeenSet = true; m_themeArn = std::move(value); }
496 
503  inline void SetThemeArn(const char* value) { m_themeArnHasBeenSet = true; m_themeArn.assign(value); }
504 
511  inline UpdateDashboardRequest& WithThemeArn(const Aws::String& value) { SetThemeArn(value); return *this;}
512 
519  inline UpdateDashboardRequest& WithThemeArn(Aws::String&& value) { SetThemeArn(std::move(value)); return *this;}
520 
527  inline UpdateDashboardRequest& WithThemeArn(const char* value) { SetThemeArn(value); return *this;}
528 
529  private:
530 
531  Aws::String m_awsAccountId;
532  bool m_awsAccountIdHasBeenSet;
533 
534  Aws::String m_dashboardId;
535  bool m_dashboardIdHasBeenSet;
536 
537  Aws::String m_name;
538  bool m_nameHasBeenSet;
539 
540  DashboardSourceEntity m_sourceEntity;
541  bool m_sourceEntityHasBeenSet;
542 
543  Parameters m_parameters;
544  bool m_parametersHasBeenSet;
545 
546  Aws::String m_versionDescription;
547  bool m_versionDescriptionHasBeenSet;
548 
549  DashboardPublishOptions m_dashboardPublishOptions;
550  bool m_dashboardPublishOptionsHasBeenSet;
551 
552  Aws::String m_themeArn;
553  bool m_themeArnHasBeenSet;
554  };
555 
556 } // namespace Model
557 } // namespace QuickSight
558 } // namespace Aws
Parameters.h
Aws::QuickSight::Model::UpdateDashboardRequest::WithThemeArn
UpdateDashboardRequest & WithThemeArn(Aws::String &&value)
Definition: UpdateDashboardRequest.h:519
Aws::QuickSight::Model::UpdateDashboardRequest::GetServiceRequestName
virtual const char * GetServiceRequestName() const override
Definition: UpdateDashboardRequest.h:33
Aws::QuickSight::Model::UpdateDashboardRequest::WithVersionDescription
UpdateDashboardRequest & WithVersionDescription(const char *value)
Definition: UpdateDashboardRequest.h:353
Aws::QuickSight::Model::UpdateDashboardRequest::WithDashboardId
UpdateDashboardRequest & WithDashboardId(const char *value)
Definition: UpdateDashboardRequest.h:125
Aws::QuickSight::Model::UpdateDashboardRequest::SerializePayload
Aws::String SerializePayload() const override
QuickSight_EXPORTS.h
Aws::QuickSight::Model::UpdateDashboardRequest::ParametersHasBeenSet
bool ParametersHasBeenSet() const
Definition: UpdateDashboardRequest.h:284
Aws::QuickSight::Model::UpdateDashboardRequest::SetThemeArn
void SetThemeArn(const Aws::String &value)
Definition: UpdateDashboardRequest.h:487
Aws::QuickSight::Model::UpdateDashboardRequest::SetParameters
void SetParameters(const Parameters &value)
Definition: UpdateDashboardRequest.h:291
Aws::QuickSight::Model::UpdateDashboardRequest::SetDashboardId
void SetDashboardId(Aws::String &&value)
Definition: UpdateDashboardRequest.h:105
Aws::QuickSight::Model::UpdateDashboardRequest::WithAwsAccountId
UpdateDashboardRequest & WithAwsAccountId(Aws::String &&value)
Definition: UpdateDashboardRequest.h:78
Aws::QuickSight::Model::UpdateDashboardRequest::SetName
void SetName(const char *value)
Definition: UpdateDashboardRequest.h:151
Aws::QuickSight::Model::UpdateDashboardRequest::SetAwsAccountId
void SetAwsAccountId(Aws::String &&value)
Definition: UpdateDashboardRequest.h:60
Aws::QuickSight::Model::UpdateDashboardRequest::GetAwsAccountId
const Aws::String & GetAwsAccountId() const
Definition: UpdateDashboardRequest.h:42
Aws::QuickSight::Model::UpdateDashboardRequest::SetThemeArn
void SetThemeArn(Aws::String &&value)
Definition: UpdateDashboardRequest.h:495
Aws::QuickSight::Model::UpdateDashboardRequest::GetDashboardPublishOptions
const DashboardPublishOptions & GetDashboardPublishOptions() const
Definition: UpdateDashboardRequest.h:372
Aws::QuickSight::Model::DashboardSourceEntity
Definition: DashboardSourceEntity.h:32
Aws::QuickSight::Model::UpdateDashboardRequest::SetAwsAccountId
void SetAwsAccountId(const char *value)
Definition: UpdateDashboardRequest.h:66
Aws::QuickSight::Model::UpdateDashboardRequest::SourceEntityHasBeenSet
bool SourceEntityHasBeenSet() const
Definition: UpdateDashboardRequest.h:201
Aws::QuickSight::Model::DashboardPublishOptions
Definition: DashboardPublishOptions.h:34
Aws::QuickSight::Model::UpdateDashboardRequest::WithDashboardId
UpdateDashboardRequest & WithDashboardId(Aws::String &&value)
Definition: UpdateDashboardRequest.h:120
Aws::QuickSight::Model::UpdateDashboardRequest::AwsAccountIdHasBeenSet
bool AwsAccountIdHasBeenSet() const
Definition: UpdateDashboardRequest.h:48
Aws::QuickSight::Model::UpdateDashboardRequest::WithSourceEntity
UpdateDashboardRequest & WithSourceEntity(const DashboardSourceEntity &value)
Definition: UpdateDashboardRequest.h:252
Aws::QuickSight::Model::UpdateDashboardRequest::WithParameters
UpdateDashboardRequest & WithParameters(Parameters &&value)
Definition: UpdateDashboardRequest.h:312
Aws::QuickSight::Model::UpdateDashboardRequest::WithAwsAccountId
UpdateDashboardRequest & WithAwsAccountId(const char *value)
Definition: UpdateDashboardRequest.h:84
Aws::QuickSight::Model::UpdateDashboardRequest::SetName
void SetName(Aws::String &&value)
Definition: UpdateDashboardRequest.h:146
Aws::QuickSight::Model::Parameters
Definition: Parameters.h:37
Aws::QuickSight::Model::UpdateDashboardRequest::SetDashboardId
void SetDashboardId(const char *value)
Definition: UpdateDashboardRequest.h:110
Aws::QuickSight::Model::UpdateDashboardRequest::SetParameters
void SetParameters(Parameters &&value)
Definition: UpdateDashboardRequest.h:298
Aws::QuickSight::Model::UpdateDashboardRequest::SetDashboardPublishOptions
void SetDashboardPublishOptions(const DashboardPublishOptions &value)
Definition: UpdateDashboardRequest.h:408
Aws::QuickSight::Model::UpdateDashboardRequest::GetThemeArn
const Aws::String & GetThemeArn() const
Definition: UpdateDashboardRequest.h:471
Aws::QuickSight::Model::UpdateDashboardRequest::SetVersionDescription
void SetVersionDescription(const Aws::String &value)
Definition: UpdateDashboardRequest.h:328
Aws::QuickSight::Model::UpdateDashboardRequest::SetThemeArn
void SetThemeArn(const char *value)
Definition: UpdateDashboardRequest.h:503
Aws::QuickSight::Model::UpdateDashboardRequest::WithAwsAccountId
UpdateDashboardRequest & WithAwsAccountId(const Aws::String &value)
Definition: UpdateDashboardRequest.h:72
Aws::QuickSight::Model::UpdateDashboardRequest::SetDashboardPublishOptions
void SetDashboardPublishOptions(DashboardPublishOptions &&value)
Definition: UpdateDashboardRequest.h:426
Aws::QuickSight::Model::UpdateDashboardRequest::GetSourceEntity
const DashboardSourceEntity & GetSourceEntity() const
Definition: UpdateDashboardRequest.h:184
Aws::QuickSight::Model::UpdateDashboardRequest::DashboardPublishOptionsHasBeenSet
bool DashboardPublishOptionsHasBeenSet() const
Definition: UpdateDashboardRequest.h:390
QuickSightRequest.h
Aws::QuickSight::Model::UpdateDashboardRequest::GetVersionDescription
const Aws::String & GetVersionDescription() const
Definition: UpdateDashboardRequest.h:318
Aws::QuickSight::Model::UpdateDashboardRequest::WithName
UpdateDashboardRequest & WithName(const char *value)
Definition: UpdateDashboardRequest.h:166
AWSString.h
Aws::QuickSight::Model::UpdateDashboardRequest::WithDashboardPublishOptions
UpdateDashboardRequest & WithDashboardPublishOptions(DashboardPublishOptions &&value)
Definition: UpdateDashboardRequest.h:462
Aws::QuickSight::Model::UpdateDashboardRequest::DashboardIdHasBeenSet
bool DashboardIdHasBeenSet() const
Definition: UpdateDashboardRequest.h:95
Aws::QuickSight::Model::UpdateDashboardRequest::WithParameters
UpdateDashboardRequest & WithParameters(const Parameters &value)
Definition: UpdateDashboardRequest.h:305
Aws::QuickSight::Model::UpdateDashboardRequest::WithDashboardPublishOptions
UpdateDashboardRequest & WithDashboardPublishOptions(const DashboardPublishOptions &value)
Definition: UpdateDashboardRequest.h:444
Aws::QuickSight::Model::UpdateDashboardRequest::WithDashboardId
UpdateDashboardRequest & WithDashboardId(const Aws::String &value)
Definition: UpdateDashboardRequest.h:115
Aws::QuickSight::Model::UpdateDashboardRequest::GetParameters
const Parameters & GetParameters() const
Definition: UpdateDashboardRequest.h:277
Aws::QuickSight::Model::UpdateDashboardRequest::SetSourceEntity
void SetSourceEntity(DashboardSourceEntity &&value)
Definition: UpdateDashboardRequest.h:235
Aws::QuickSight::Model::UpdateDashboardRequest::NameHasBeenSet
bool NameHasBeenSet() const
Definition: UpdateDashboardRequest.h:136
Aws::QuickSight::Model::UpdateDashboardRequest
Definition: UpdateDashboardRequest.h:25
Aws::QuickSight::Model::UpdateDashboardRequest::SetAwsAccountId
void SetAwsAccountId(const Aws::String &value)
Definition: UpdateDashboardRequest.h:54
DashboardSourceEntity.h
Aws::QuickSight::Model::UpdateDashboardRequest::SetName
void SetName(const Aws::String &value)
Definition: UpdateDashboardRequest.h:141
Aws::QuickSight::Model::UpdateDashboardRequest::SetVersionDescription
void SetVersionDescription(Aws::String &&value)
Definition: UpdateDashboardRequest.h:333
Aws::QuickSight::Model::UpdateDashboardRequest::WithName
UpdateDashboardRequest & WithName(const Aws::String &value)
Definition: UpdateDashboardRequest.h:156
Aws::QuickSight::Model::UpdateDashboardRequest::WithThemeArn
UpdateDashboardRequest & WithThemeArn(const Aws::String &value)
Definition: UpdateDashboardRequest.h:511
Aws::QuickSight::Model::UpdateDashboardRequest::WithVersionDescription
UpdateDashboardRequest & WithVersionDescription(Aws::String &&value)
Definition: UpdateDashboardRequest.h:348
AWS_QUICKSIGHT_API
#define AWS_QUICKSIGHT_API
Definition: QuickSight_EXPORTS.h:28
Aws
Definition: AccessManagementClient.h:15
Aws::QuickSight::Model::UpdateDashboardRequest::GetDashboardId
const Aws::String & GetDashboardId() const
Definition: UpdateDashboardRequest.h:90
Aws::String
std::basic_string< char, std::char_traits< char >, Aws::Allocator< char > > String
Definition: AWSString.h:97
Aws::QuickSight::Model::UpdateDashboardRequest::VersionDescriptionHasBeenSet
bool VersionDescriptionHasBeenSet() const
Definition: UpdateDashboardRequest.h:323
Aws::QuickSight::Model::UpdateDashboardRequest::ThemeArnHasBeenSet
bool ThemeArnHasBeenSet() const
Definition: UpdateDashboardRequest.h:479
Aws::QuickSight::Model::UpdateDashboardRequest::SetSourceEntity
void SetSourceEntity(const DashboardSourceEntity &value)
Definition: UpdateDashboardRequest.h:218
DashboardPublishOptions.h
Aws::QuickSight::Model::UpdateDashboardRequest::SetVersionDescription
void SetVersionDescription(const char *value)
Definition: UpdateDashboardRequest.h:338
Aws::QuickSight::Model::UpdateDashboardRequest::WithVersionDescription
UpdateDashboardRequest & WithVersionDescription(const Aws::String &value)
Definition: UpdateDashboardRequest.h:343
Aws::QuickSight::QuickSightRequest
Definition: QuickSightRequest.h:17
Aws::QuickSight::Model::UpdateDashboardRequest::WithThemeArn
UpdateDashboardRequest & WithThemeArn(const char *value)
Definition: UpdateDashboardRequest.h:527
Aws::QuickSight::Model::UpdateDashboardRequest::SetDashboardId
void SetDashboardId(const Aws::String &value)
Definition: UpdateDashboardRequest.h:100
Aws::QuickSight::Model::UpdateDashboardRequest::WithSourceEntity
UpdateDashboardRequest & WithSourceEntity(DashboardSourceEntity &&value)
Definition: UpdateDashboardRequest.h:269
Aws::QuickSight::Model::UpdateDashboardRequest::WithName
UpdateDashboardRequest & WithName(Aws::String &&value)
Definition: UpdateDashboardRequest.h:161
Aws::QuickSight::Model::UpdateDashboardRequest::UpdateDashboardRequest
UpdateDashboardRequest()
Aws::QuickSight::Model::UpdateDashboardRequest::GetName
const Aws::String & GetName() const
Definition: UpdateDashboardRequest.h:131