AWS SDK for C++  1.9.44
AWS SDK for C++
CreateThemeRequest.h
Go to the documentation of this file.
1 
6 #pragma once
14 #include <utility>
15 
16 namespace Aws
17 {
18 namespace QuickSight
19 {
20 namespace Model
21 {
22 
26  {
27  public:
29 
30  // Service request name is the Operation name which will send this request out,
31  // each operation should has unique request name, so that we can get operation's name from this request.
32  // Note: this is not true for response, multiple operations may have the same response name,
33  // so we can not get operation's name from response.
34  inline virtual const char* GetServiceRequestName() const override { return "CreateTheme"; }
35 
36  Aws::String SerializePayload() const override;
37 
38 
42  inline const Aws::String& GetAwsAccountId() const{ return m_awsAccountId; }
43 
47  inline bool AwsAccountIdHasBeenSet() const { return m_awsAccountIdHasBeenSet; }
48 
52  inline void SetAwsAccountId(const Aws::String& value) { m_awsAccountIdHasBeenSet = true; m_awsAccountId = value; }
53 
57  inline void SetAwsAccountId(Aws::String&& value) { m_awsAccountIdHasBeenSet = true; m_awsAccountId = std::move(value); }
58 
62  inline void SetAwsAccountId(const char* value) { m_awsAccountIdHasBeenSet = true; m_awsAccountId.assign(value); }
63 
67  inline CreateThemeRequest& WithAwsAccountId(const Aws::String& value) { SetAwsAccountId(value); return *this;}
68 
72  inline CreateThemeRequest& WithAwsAccountId(Aws::String&& value) { SetAwsAccountId(std::move(value)); return *this;}
73 
77  inline CreateThemeRequest& WithAwsAccountId(const char* value) { SetAwsAccountId(value); return *this;}
78 
79 
84  inline const Aws::String& GetThemeId() const{ return m_themeId; }
85 
90  inline bool ThemeIdHasBeenSet() const { return m_themeIdHasBeenSet; }
91 
96  inline void SetThemeId(const Aws::String& value) { m_themeIdHasBeenSet = true; m_themeId = value; }
97 
102  inline void SetThemeId(Aws::String&& value) { m_themeIdHasBeenSet = true; m_themeId = std::move(value); }
103 
108  inline void SetThemeId(const char* value) { m_themeIdHasBeenSet = true; m_themeId.assign(value); }
109 
114  inline CreateThemeRequest& WithThemeId(const Aws::String& value) { SetThemeId(value); return *this;}
115 
120  inline CreateThemeRequest& WithThemeId(Aws::String&& value) { SetThemeId(std::move(value)); return *this;}
121 
126  inline CreateThemeRequest& WithThemeId(const char* value) { SetThemeId(value); return *this;}
127 
128 
132  inline const Aws::String& GetName() const{ return m_name; }
133 
137  inline bool NameHasBeenSet() const { return m_nameHasBeenSet; }
138 
142  inline void SetName(const Aws::String& value) { m_nameHasBeenSet = true; m_name = value; }
143 
147  inline void SetName(Aws::String&& value) { m_nameHasBeenSet = true; m_name = std::move(value); }
148 
152  inline void SetName(const char* value) { m_nameHasBeenSet = true; m_name.assign(value); }
153 
157  inline CreateThemeRequest& WithName(const Aws::String& value) { SetName(value); return *this;}
158 
162  inline CreateThemeRequest& WithName(Aws::String&& value) { SetName(std::move(value)); return *this;}
163 
167  inline CreateThemeRequest& WithName(const char* value) { SetName(value); return *this;}
168 
169 
176  inline const Aws::String& GetBaseThemeId() const{ return m_baseThemeId; }
177 
184  inline bool BaseThemeIdHasBeenSet() const { return m_baseThemeIdHasBeenSet; }
185 
192  inline void SetBaseThemeId(const Aws::String& value) { m_baseThemeIdHasBeenSet = true; m_baseThemeId = value; }
193 
200  inline void SetBaseThemeId(Aws::String&& value) { m_baseThemeIdHasBeenSet = true; m_baseThemeId = std::move(value); }
201 
208  inline void SetBaseThemeId(const char* value) { m_baseThemeIdHasBeenSet = true; m_baseThemeId.assign(value); }
209 
216  inline CreateThemeRequest& WithBaseThemeId(const Aws::String& value) { SetBaseThemeId(value); return *this;}
217 
224  inline CreateThemeRequest& WithBaseThemeId(Aws::String&& value) { SetBaseThemeId(std::move(value)); return *this;}
225 
232  inline CreateThemeRequest& WithBaseThemeId(const char* value) { SetBaseThemeId(value); return *this;}
233 
234 
241  inline const Aws::String& GetVersionDescription() const{ return m_versionDescription; }
242 
249  inline bool VersionDescriptionHasBeenSet() const { return m_versionDescriptionHasBeenSet; }
250 
257  inline void SetVersionDescription(const Aws::String& value) { m_versionDescriptionHasBeenSet = true; m_versionDescription = value; }
258 
265  inline void SetVersionDescription(Aws::String&& value) { m_versionDescriptionHasBeenSet = true; m_versionDescription = std::move(value); }
266 
273  inline void SetVersionDescription(const char* value) { m_versionDescriptionHasBeenSet = true; m_versionDescription.assign(value); }
274 
281  inline CreateThemeRequest& WithVersionDescription(const Aws::String& value) { SetVersionDescription(value); return *this;}
282 
289  inline CreateThemeRequest& WithVersionDescription(Aws::String&& value) { SetVersionDescription(std::move(value)); return *this;}
290 
297  inline CreateThemeRequest& WithVersionDescription(const char* value) { SetVersionDescription(value); return *this;}
298 
299 
303  inline const ThemeConfiguration& GetConfiguration() const{ return m_configuration; }
304 
308  inline bool ConfigurationHasBeenSet() const { return m_configurationHasBeenSet; }
309 
313  inline void SetConfiguration(const ThemeConfiguration& value) { m_configurationHasBeenSet = true; m_configuration = value; }
314 
318  inline void SetConfiguration(ThemeConfiguration&& value) { m_configurationHasBeenSet = true; m_configuration = std::move(value); }
319 
323  inline CreateThemeRequest& WithConfiguration(const ThemeConfiguration& value) { SetConfiguration(value); return *this;}
324 
328  inline CreateThemeRequest& WithConfiguration(ThemeConfiguration&& value) { SetConfiguration(std::move(value)); return *this;}
329 
330 
334  inline const Aws::Vector<ResourcePermission>& GetPermissions() const{ return m_permissions; }
335 
339  inline bool PermissionsHasBeenSet() const { return m_permissionsHasBeenSet; }
340 
344  inline void SetPermissions(const Aws::Vector<ResourcePermission>& value) { m_permissionsHasBeenSet = true; m_permissions = value; }
345 
349  inline void SetPermissions(Aws::Vector<ResourcePermission>&& value) { m_permissionsHasBeenSet = true; m_permissions = std::move(value); }
350 
354  inline CreateThemeRequest& WithPermissions(const Aws::Vector<ResourcePermission>& value) { SetPermissions(value); return *this;}
355 
359  inline CreateThemeRequest& WithPermissions(Aws::Vector<ResourcePermission>&& value) { SetPermissions(std::move(value)); return *this;}
360 
364  inline CreateThemeRequest& AddPermissions(const ResourcePermission& value) { m_permissionsHasBeenSet = true; m_permissions.push_back(value); return *this; }
365 
369  inline CreateThemeRequest& AddPermissions(ResourcePermission&& value) { m_permissionsHasBeenSet = true; m_permissions.push_back(std::move(value)); return *this; }
370 
371 
376  inline const Aws::Vector<Tag>& GetTags() const{ return m_tags; }
377 
382  inline bool TagsHasBeenSet() const { return m_tagsHasBeenSet; }
383 
388  inline void SetTags(const Aws::Vector<Tag>& value) { m_tagsHasBeenSet = true; m_tags = value; }
389 
394  inline void SetTags(Aws::Vector<Tag>&& value) { m_tagsHasBeenSet = true; m_tags = std::move(value); }
395 
400  inline CreateThemeRequest& WithTags(const Aws::Vector<Tag>& value) { SetTags(value); return *this;}
401 
406  inline CreateThemeRequest& WithTags(Aws::Vector<Tag>&& value) { SetTags(std::move(value)); return *this;}
407 
412  inline CreateThemeRequest& AddTags(const Tag& value) { m_tagsHasBeenSet = true; m_tags.push_back(value); return *this; }
413 
418  inline CreateThemeRequest& AddTags(Tag&& value) { m_tagsHasBeenSet = true; m_tags.push_back(std::move(value)); return *this; }
419 
420  private:
421 
422  Aws::String m_awsAccountId;
423  bool m_awsAccountIdHasBeenSet;
424 
425  Aws::String m_themeId;
426  bool m_themeIdHasBeenSet;
427 
428  Aws::String m_name;
429  bool m_nameHasBeenSet;
430 
431  Aws::String m_baseThemeId;
432  bool m_baseThemeIdHasBeenSet;
433 
434  Aws::String m_versionDescription;
435  bool m_versionDescriptionHasBeenSet;
436 
437  ThemeConfiguration m_configuration;
438  bool m_configurationHasBeenSet;
439 
440  Aws::Vector<ResourcePermission> m_permissions;
441  bool m_permissionsHasBeenSet;
442 
443  Aws::Vector<Tag> m_tags;
444  bool m_tagsHasBeenSet;
445  };
446 
447 } // namespace Model
448 } // namespace QuickSight
449 } // namespace Aws
Aws::QuickSight::Model::CreateThemeRequest::AddTags
CreateThemeRequest & AddTags(const Tag &value)
Definition: CreateThemeRequest.h:412
Tag.h
Aws::QuickSight::Model::CreateThemeRequest::SetConfiguration
void SetConfiguration(ThemeConfiguration &&value)
Definition: CreateThemeRequest.h:318
QuickSight_EXPORTS.h
Aws::QuickSight::Model::CreateThemeRequest::GetName
const Aws::String & GetName() const
Definition: CreateThemeRequest.h:132
Aws::QuickSight::Model::CreateThemeRequest::WithName
CreateThemeRequest & WithName(const char *value)
Definition: CreateThemeRequest.h:167
Aws::QuickSight::Model::CreateThemeRequest::ThemeIdHasBeenSet
bool ThemeIdHasBeenSet() const
Definition: CreateThemeRequest.h:90
Aws::QuickSight::Model::CreateThemeRequest::WithBaseThemeId
CreateThemeRequest & WithBaseThemeId(const Aws::String &value)
Definition: CreateThemeRequest.h:216
Aws::QuickSight::Model::CreateThemeRequest::WithConfiguration
CreateThemeRequest & WithConfiguration(ThemeConfiguration &&value)
Definition: CreateThemeRequest.h:328
Aws::QuickSight::Model::CreateThemeRequest::WithThemeId
CreateThemeRequest & WithThemeId(const Aws::String &value)
Definition: CreateThemeRequest.h:114
Aws::QuickSight::Model::Tag
Definition: Tag.h:33
Aws::QuickSight::Model::CreateThemeRequest::WithAwsAccountId
CreateThemeRequest & WithAwsAccountId(Aws::String &&value)
Definition: CreateThemeRequest.h:72
Aws::QuickSight::Model::CreateThemeRequest
Definition: CreateThemeRequest.h:26
Aws::Vector
std::vector< T, Aws::Allocator< T > > Vector
Definition: AWSVector.h:17
Aws::QuickSight::Model::CreateThemeRequest::GetServiceRequestName
virtual const char * GetServiceRequestName() const override
Definition: CreateThemeRequest.h:34
Aws::QuickSight::Model::CreateThemeRequest::GetVersionDescription
const Aws::String & GetVersionDescription() const
Definition: CreateThemeRequest.h:241
Aws::QuickSight::Model::CreateThemeRequest::PermissionsHasBeenSet
bool PermissionsHasBeenSet() const
Definition: CreateThemeRequest.h:339
Aws::QuickSight::Model::CreateThemeRequest::SetBaseThemeId
void SetBaseThemeId(const char *value)
Definition: CreateThemeRequest.h:208
Aws::QuickSight::Model::CreateThemeRequest::GetPermissions
const Aws::Vector< ResourcePermission > & GetPermissions() const
Definition: CreateThemeRequest.h:334
Aws::QuickSight::Model::CreateThemeRequest::GetBaseThemeId
const Aws::String & GetBaseThemeId() const
Definition: CreateThemeRequest.h:176
Aws::QuickSight::Model::CreateThemeRequest::AddPermissions
CreateThemeRequest & AddPermissions(ResourcePermission &&value)
Definition: CreateThemeRequest.h:369
Aws::QuickSight::Model::CreateThemeRequest::VersionDescriptionHasBeenSet
bool VersionDescriptionHasBeenSet() const
Definition: CreateThemeRequest.h:249
Aws::QuickSight::Model::CreateThemeRequest::SetPermissions
void SetPermissions(const Aws::Vector< ResourcePermission > &value)
Definition: CreateThemeRequest.h:344
Aws::QuickSight::Model::CreateThemeRequest::SetTags
void SetTags(Aws::Vector< Tag > &&value)
Definition: CreateThemeRequest.h:394
AWSVector.h
Aws::QuickSight::Model::CreateThemeRequest::SetAwsAccountId
void SetAwsAccountId(const Aws::String &value)
Definition: CreateThemeRequest.h:52
Aws::QuickSight::Model::CreateThemeRequest::WithVersionDescription
CreateThemeRequest & WithVersionDescription(const Aws::String &value)
Definition: CreateThemeRequest.h:281
Aws::QuickSight::Model::CreateThemeRequest::WithAwsAccountId
CreateThemeRequest & WithAwsAccountId(const char *value)
Definition: CreateThemeRequest.h:77
Aws::QuickSight::Model::CreateThemeRequest::GetAwsAccountId
const Aws::String & GetAwsAccountId() const
Definition: CreateThemeRequest.h:42
Aws::QuickSight::Model::CreateThemeRequest::SetThemeId
void SetThemeId(const char *value)
Definition: CreateThemeRequest.h:108
Aws::QuickSight::Model::CreateThemeRequest::SetBaseThemeId
void SetBaseThemeId(const Aws::String &value)
Definition: CreateThemeRequest.h:192
Aws::QuickSight::Model::CreateThemeRequest::CreateThemeRequest
CreateThemeRequest()
Aws::QuickSight::Model::CreateThemeRequest::AwsAccountIdHasBeenSet
bool AwsAccountIdHasBeenSet() const
Definition: CreateThemeRequest.h:47
QuickSightRequest.h
Aws::QuickSight::Model::CreateThemeRequest::SetName
void SetName(const Aws::String &value)
Definition: CreateThemeRequest.h:142
Aws::QuickSight::Model::ResourcePermission
Definition: ResourcePermission.h:33
Aws::QuickSight::Model::CreateThemeRequest::SetVersionDescription
void SetVersionDescription(const char *value)
Definition: CreateThemeRequest.h:273
Aws::QuickSight::Model::CreateThemeRequest::GetThemeId
const Aws::String & GetThemeId() const
Definition: CreateThemeRequest.h:84
Aws::QuickSight::Model::ThemeConfiguration
Definition: ThemeConfiguration.h:35
Aws::QuickSight::Model::CreateThemeRequest::WithTags
CreateThemeRequest & WithTags(Aws::Vector< Tag > &&value)
Definition: CreateThemeRequest.h:406
Aws::QuickSight::Model::CreateThemeRequest::SetThemeId
void SetThemeId(const Aws::String &value)
Definition: CreateThemeRequest.h:96
Aws::QuickSight::Model::CreateThemeRequest::SetVersionDescription
void SetVersionDescription(const Aws::String &value)
Definition: CreateThemeRequest.h:257
Aws::QuickSight::Model::CreateThemeRequest::SetAwsAccountId
void SetAwsAccountId(const char *value)
Definition: CreateThemeRequest.h:62
ResourcePermission.h
Aws::QuickSight::Model::CreateThemeRequest::WithPermissions
CreateThemeRequest & WithPermissions(Aws::Vector< ResourcePermission > &&value)
Definition: CreateThemeRequest.h:359
ThemeConfiguration.h
Aws::QuickSight::Model::CreateThemeRequest::AddTags
CreateThemeRequest & AddTags(Tag &&value)
Definition: CreateThemeRequest.h:418
Aws::QuickSight::Model::CreateThemeRequest::SetConfiguration
void SetConfiguration(const ThemeConfiguration &value)
Definition: CreateThemeRequest.h:313
AWSString.h
Aws::QuickSight::Model::CreateThemeRequest::WithBaseThemeId
CreateThemeRequest & WithBaseThemeId(const char *value)
Definition: CreateThemeRequest.h:232
Aws::QuickSight::Model::CreateThemeRequest::WithVersionDescription
CreateThemeRequest & WithVersionDescription(Aws::String &&value)
Definition: CreateThemeRequest.h:289
Aws::QuickSight::Model::CreateThemeRequest::SetName
void SetName(Aws::String &&value)
Definition: CreateThemeRequest.h:147
Aws::QuickSight::Model::CreateThemeRequest::WithAwsAccountId
CreateThemeRequest & WithAwsAccountId(const Aws::String &value)
Definition: CreateThemeRequest.h:67
Aws::QuickSight::Model::CreateThemeRequest::WithThemeId
CreateThemeRequest & WithThemeId(Aws::String &&value)
Definition: CreateThemeRequest.h:120
Aws::QuickSight::Model::CreateThemeRequest::SetVersionDescription
void SetVersionDescription(Aws::String &&value)
Definition: CreateThemeRequest.h:265
Aws::QuickSight::Model::CreateThemeRequest::SerializePayload
Aws::String SerializePayload() const override
Aws::QuickSight::Model::CreateThemeRequest::WithBaseThemeId
CreateThemeRequest & WithBaseThemeId(Aws::String &&value)
Definition: CreateThemeRequest.h:224
Aws::QuickSight::Model::CreateThemeRequest::WithName
CreateThemeRequest & WithName(Aws::String &&value)
Definition: CreateThemeRequest.h:162
Aws::QuickSight::Model::CreateThemeRequest::SetTags
void SetTags(const Aws::Vector< Tag > &value)
Definition: CreateThemeRequest.h:388
Aws::QuickSight::Model::CreateThemeRequest::WithConfiguration
CreateThemeRequest & WithConfiguration(const ThemeConfiguration &value)
Definition: CreateThemeRequest.h:323
Aws::QuickSight::Model::CreateThemeRequest::SetPermissions
void SetPermissions(Aws::Vector< ResourcePermission > &&value)
Definition: CreateThemeRequest.h:349
Aws::QuickSight::Model::CreateThemeRequest::SetBaseThemeId
void SetBaseThemeId(Aws::String &&value)
Definition: CreateThemeRequest.h:200
Aws::QuickSight::Model::CreateThemeRequest::WithThemeId
CreateThemeRequest & WithThemeId(const char *value)
Definition: CreateThemeRequest.h:126
Aws::QuickSight::Model::CreateThemeRequest::SetName
void SetName(const char *value)
Definition: CreateThemeRequest.h:152
Aws::QuickSight::Model::CreateThemeRequest::GetTags
const Aws::Vector< Tag > & GetTags() const
Definition: CreateThemeRequest.h:376
Aws::QuickSight::Model::CreateThemeRequest::SetThemeId
void SetThemeId(Aws::String &&value)
Definition: CreateThemeRequest.h:102
Aws::QuickSight::Model::CreateThemeRequest::TagsHasBeenSet
bool TagsHasBeenSet() const
Definition: CreateThemeRequest.h:382
AWS_QUICKSIGHT_API
#define AWS_QUICKSIGHT_API
Definition: QuickSight_EXPORTS.h:28
Aws
Definition: AccessManagementClient.h:15
Aws::String
std::basic_string< char, std::char_traits< char >, Aws::Allocator< char > > String
Definition: AWSString.h:97
Aws::QuickSight::Model::CreateThemeRequest::BaseThemeIdHasBeenSet
bool BaseThemeIdHasBeenSet() const
Definition: CreateThemeRequest.h:184
Aws::QuickSight::Model::CreateThemeRequest::WithPermissions
CreateThemeRequest & WithPermissions(const Aws::Vector< ResourcePermission > &value)
Definition: CreateThemeRequest.h:354
Aws::QuickSight::Model::CreateThemeRequest::GetConfiguration
const ThemeConfiguration & GetConfiguration() const
Definition: CreateThemeRequest.h:303
Aws::QuickSight::Model::CreateThemeRequest::SetAwsAccountId
void SetAwsAccountId(Aws::String &&value)
Definition: CreateThemeRequest.h:57
Aws::QuickSight::Model::CreateThemeRequest::AddPermissions
CreateThemeRequest & AddPermissions(const ResourcePermission &value)
Definition: CreateThemeRequest.h:364
Aws::QuickSight::Model::CreateThemeRequest::ConfigurationHasBeenSet
bool ConfigurationHasBeenSet() const
Definition: CreateThemeRequest.h:308
Aws::QuickSight::QuickSightRequest
Definition: QuickSightRequest.h:17
Aws::QuickSight::Model::CreateThemeRequest::WithTags
CreateThemeRequest & WithTags(const Aws::Vector< Tag > &value)
Definition: CreateThemeRequest.h:400
Aws::QuickSight::Model::CreateThemeRequest::WithName
CreateThemeRequest & WithName(const Aws::String &value)
Definition: CreateThemeRequest.h:157
Aws::QuickSight::Model::CreateThemeRequest::WithVersionDescription
CreateThemeRequest & WithVersionDescription(const char *value)
Definition: CreateThemeRequest.h:297
Aws::QuickSight::Model::CreateThemeRequest::NameHasBeenSet
bool NameHasBeenSet() const
Definition: CreateThemeRequest.h:137