AWS SDK for C++

AWS SDK for C++ Version 1.11.440

Loading...
Searching...
No Matches
CreateThemeRequest.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/ThemeConfiguration.h>
11#include <aws/core/utils/memory/stl/AWSVector.h>
12#include <aws/quicksight/model/ResourcePermission.h>
13#include <aws/quicksight/model/Tag.h>
14#include <utility>
15
16namespace Aws
17{
18namespace QuickSight
19{
20namespace Model
21{
22
26 {
27 public:
28 AWS_QUICKSIGHT_API CreateThemeRequest();
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_QUICKSIGHT_API Aws::String SerializePayload() const override;
37
38
40
44 inline const Aws::String& GetAwsAccountId() const{ return m_awsAccountId; }
45 inline bool AwsAccountIdHasBeenSet() const { return m_awsAccountIdHasBeenSet; }
46 inline void SetAwsAccountId(const Aws::String& value) { m_awsAccountIdHasBeenSet = true; m_awsAccountId = value; }
47 inline void SetAwsAccountId(Aws::String&& value) { m_awsAccountIdHasBeenSet = true; m_awsAccountId = std::move(value); }
48 inline void SetAwsAccountId(const char* value) { m_awsAccountIdHasBeenSet = true; m_awsAccountId.assign(value); }
49 inline CreateThemeRequest& WithAwsAccountId(const Aws::String& value) { SetAwsAccountId(value); return *this;}
50 inline CreateThemeRequest& WithAwsAccountId(Aws::String&& value) { SetAwsAccountId(std::move(value)); return *this;}
51 inline CreateThemeRequest& WithAwsAccountId(const char* value) { SetAwsAccountId(value); return *this;}
53
55
59 inline const Aws::String& GetThemeId() const{ return m_themeId; }
60 inline bool ThemeIdHasBeenSet() const { return m_themeIdHasBeenSet; }
61 inline void SetThemeId(const Aws::String& value) { m_themeIdHasBeenSet = true; m_themeId = value; }
62 inline void SetThemeId(Aws::String&& value) { m_themeIdHasBeenSet = true; m_themeId = std::move(value); }
63 inline void SetThemeId(const char* value) { m_themeIdHasBeenSet = true; m_themeId.assign(value); }
64 inline CreateThemeRequest& WithThemeId(const Aws::String& value) { SetThemeId(value); return *this;}
65 inline CreateThemeRequest& WithThemeId(Aws::String&& value) { SetThemeId(std::move(value)); return *this;}
66 inline CreateThemeRequest& WithThemeId(const char* value) { SetThemeId(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 CreateThemeRequest& WithName(const Aws::String& value) { SetName(value); return *this;}
79 inline CreateThemeRequest& WithName(Aws::String&& value) { SetName(std::move(value)); return *this;}
80 inline CreateThemeRequest& WithName(const char* value) { SetName(value); return *this;}
82
84
90 inline const Aws::String& GetBaseThemeId() const{ return m_baseThemeId; }
91 inline bool BaseThemeIdHasBeenSet() const { return m_baseThemeIdHasBeenSet; }
92 inline void SetBaseThemeId(const Aws::String& value) { m_baseThemeIdHasBeenSet = true; m_baseThemeId = value; }
93 inline void SetBaseThemeId(Aws::String&& value) { m_baseThemeIdHasBeenSet = true; m_baseThemeId = std::move(value); }
94 inline void SetBaseThemeId(const char* value) { m_baseThemeIdHasBeenSet = true; m_baseThemeId.assign(value); }
95 inline CreateThemeRequest& WithBaseThemeId(const Aws::String& value) { SetBaseThemeId(value); return *this;}
96 inline CreateThemeRequest& WithBaseThemeId(Aws::String&& value) { SetBaseThemeId(std::move(value)); return *this;}
97 inline CreateThemeRequest& WithBaseThemeId(const char* value) { SetBaseThemeId(value); return *this;}
99
101
107 inline const Aws::String& GetVersionDescription() const{ return m_versionDescription; }
108 inline bool VersionDescriptionHasBeenSet() const { return m_versionDescriptionHasBeenSet; }
109 inline void SetVersionDescription(const Aws::String& value) { m_versionDescriptionHasBeenSet = true; m_versionDescription = value; }
110 inline void SetVersionDescription(Aws::String&& value) { m_versionDescriptionHasBeenSet = true; m_versionDescription = std::move(value); }
111 inline void SetVersionDescription(const char* value) { m_versionDescriptionHasBeenSet = true; m_versionDescription.assign(value); }
112 inline CreateThemeRequest& WithVersionDescription(const Aws::String& value) { SetVersionDescription(value); return *this;}
113 inline CreateThemeRequest& WithVersionDescription(Aws::String&& value) { SetVersionDescription(std::move(value)); return *this;}
114 inline CreateThemeRequest& WithVersionDescription(const char* value) { SetVersionDescription(value); return *this;}
116
118
121 inline const ThemeConfiguration& GetConfiguration() const{ return m_configuration; }
122 inline bool ConfigurationHasBeenSet() const { return m_configurationHasBeenSet; }
123 inline void SetConfiguration(const ThemeConfiguration& value) { m_configurationHasBeenSet = true; m_configuration = value; }
124 inline void SetConfiguration(ThemeConfiguration&& value) { m_configurationHasBeenSet = true; m_configuration = std::move(value); }
125 inline CreateThemeRequest& WithConfiguration(const ThemeConfiguration& value) { SetConfiguration(value); return *this;}
126 inline CreateThemeRequest& WithConfiguration(ThemeConfiguration&& value) { SetConfiguration(std::move(value)); return *this;}
128
130
133 inline const Aws::Vector<ResourcePermission>& GetPermissions() const{ return m_permissions; }
134 inline bool PermissionsHasBeenSet() const { return m_permissionsHasBeenSet; }
135 inline void SetPermissions(const Aws::Vector<ResourcePermission>& value) { m_permissionsHasBeenSet = true; m_permissions = value; }
136 inline void SetPermissions(Aws::Vector<ResourcePermission>&& value) { m_permissionsHasBeenSet = true; m_permissions = std::move(value); }
138 inline CreateThemeRequest& WithPermissions(Aws::Vector<ResourcePermission>&& value) { SetPermissions(std::move(value)); return *this;}
139 inline CreateThemeRequest& AddPermissions(const ResourcePermission& value) { m_permissionsHasBeenSet = true; m_permissions.push_back(value); return *this; }
140 inline CreateThemeRequest& AddPermissions(ResourcePermission&& value) { m_permissionsHasBeenSet = true; m_permissions.push_back(std::move(value)); return *this; }
142
144
148 inline const Aws::Vector<Tag>& GetTags() const{ return m_tags; }
149 inline bool TagsHasBeenSet() const { return m_tagsHasBeenSet; }
150 inline void SetTags(const Aws::Vector<Tag>& value) { m_tagsHasBeenSet = true; m_tags = value; }
151 inline void SetTags(Aws::Vector<Tag>&& value) { m_tagsHasBeenSet = true; m_tags = std::move(value); }
152 inline CreateThemeRequest& WithTags(const Aws::Vector<Tag>& value) { SetTags(value); return *this;}
153 inline CreateThemeRequest& WithTags(Aws::Vector<Tag>&& value) { SetTags(std::move(value)); return *this;}
154 inline CreateThemeRequest& AddTags(const Tag& value) { m_tagsHasBeenSet = true; m_tags.push_back(value); return *this; }
155 inline CreateThemeRequest& AddTags(Tag&& value) { m_tagsHasBeenSet = true; m_tags.push_back(std::move(value)); return *this; }
157 private:
158
159 Aws::String m_awsAccountId;
160 bool m_awsAccountIdHasBeenSet = false;
161
162 Aws::String m_themeId;
163 bool m_themeIdHasBeenSet = false;
164
165 Aws::String m_name;
166 bool m_nameHasBeenSet = false;
167
168 Aws::String m_baseThemeId;
169 bool m_baseThemeIdHasBeenSet = false;
170
171 Aws::String m_versionDescription;
172 bool m_versionDescriptionHasBeenSet = false;
173
174 ThemeConfiguration m_configuration;
175 bool m_configurationHasBeenSet = false;
176
178 bool m_permissionsHasBeenSet = false;
179
180 Aws::Vector<Tag> m_tags;
181 bool m_tagsHasBeenSet = false;
182 };
183
184} // namespace Model
185} // namespace QuickSight
186} // namespace Aws
void SetThemeId(const Aws::String &value)
CreateThemeRequest & WithThemeId(Aws::String &&value)
CreateThemeRequest & WithVersionDescription(const char *value)
void SetTags(const Aws::Vector< Tag > &value)
CreateThemeRequest & AddPermissions(const ResourcePermission &value)
AWS_QUICKSIGHT_API Aws::String SerializePayload() const override
CreateThemeRequest & WithAwsAccountId(const char *value)
CreateThemeRequest & WithBaseThemeId(const char *value)
CreateThemeRequest & WithName(Aws::String &&value)
void SetTags(Aws::Vector< Tag > &&value)
CreateThemeRequest & WithAwsAccountId(Aws::String &&value)
CreateThemeRequest & WithName(const char *value)
void SetBaseThemeId(const Aws::String &value)
void SetPermissions(const Aws::Vector< ResourcePermission > &value)
const Aws::Vector< Tag > & GetTags() const
void SetVersionDescription(const Aws::String &value)
CreateThemeRequest & WithThemeId(const char *value)
void SetConfiguration(ThemeConfiguration &&value)
CreateThemeRequest & WithName(const Aws::String &value)
CreateThemeRequest & WithThemeId(const Aws::String &value)
void SetAwsAccountId(const Aws::String &value)
CreateThemeRequest & WithConfiguration(ThemeConfiguration &&value)
CreateThemeRequest & AddPermissions(ResourcePermission &&value)
CreateThemeRequest & WithBaseThemeId(Aws::String &&value)
CreateThemeRequest & WithTags(const Aws::Vector< Tag > &value)
CreateThemeRequest & WithPermissions(const Aws::Vector< ResourcePermission > &value)
CreateThemeRequest & WithConfiguration(const ThemeConfiguration &value)
CreateThemeRequest & WithPermissions(Aws::Vector< ResourcePermission > &&value)
const ThemeConfiguration & GetConfiguration() const
CreateThemeRequest & WithVersionDescription(Aws::String &&value)
CreateThemeRequest & WithAwsAccountId(const Aws::String &value)
virtual const char * GetServiceRequestName() const override
const Aws::String & GetVersionDescription() const
void SetPermissions(Aws::Vector< ResourcePermission > &&value)
CreateThemeRequest & WithVersionDescription(const Aws::String &value)
CreateThemeRequest & WithTags(Aws::Vector< Tag > &&value)
const Aws::Vector< ResourcePermission > & GetPermissions() const
CreateThemeRequest & WithBaseThemeId(const Aws::String &value)
CreateThemeRequest & AddTags(const Tag &value)
void SetConfiguration(const ThemeConfiguration &value)
CreateThemeRequest & AddTags(Tag &&value)
std::basic_string< char, std::char_traits< char >, Aws::Allocator< char > > String
std::vector< T, Aws::Allocator< T > > Vector