AWS SDK for C++  1.8.126
AWS SDK for C++
UpdateThemeRequest.h
Go to the documentation of this file.
1 
6 #pragma once
11 #include <utility>
12 
13 namespace Aws
14 {
15 namespace QuickSight
16 {
17 namespace Model
18 {
19 
23  {
24  public:
26 
27  // Service request name is the Operation name which will send this request out,
28  // each operation should has unique request name, so that we can get operation's name from this request.
29  // Note: this is not true for response, multiple operations may have the same response name,
30  // so we can not get operation's name from response.
31  inline virtual const char* GetServiceRequestName() const override { return "UpdateTheme"; }
32 
33  Aws::String SerializePayload() const override;
34 
35 
39  inline const Aws::String& GetAwsAccountId() const{ return m_awsAccountId; }
40 
44  inline bool AwsAccountIdHasBeenSet() const { return m_awsAccountIdHasBeenSet; }
45 
49  inline void SetAwsAccountId(const Aws::String& value) { m_awsAccountIdHasBeenSet = true; m_awsAccountId = value; }
50 
54  inline void SetAwsAccountId(Aws::String&& value) { m_awsAccountIdHasBeenSet = true; m_awsAccountId = std::move(value); }
55 
59  inline void SetAwsAccountId(const char* value) { m_awsAccountIdHasBeenSet = true; m_awsAccountId.assign(value); }
60 
64  inline UpdateThemeRequest& WithAwsAccountId(const Aws::String& value) { SetAwsAccountId(value); return *this;}
65 
69  inline UpdateThemeRequest& WithAwsAccountId(Aws::String&& value) { SetAwsAccountId(std::move(value)); return *this;}
70 
74  inline UpdateThemeRequest& WithAwsAccountId(const char* value) { SetAwsAccountId(value); return *this;}
75 
76 
80  inline const Aws::String& GetThemeId() const{ return m_themeId; }
81 
85  inline bool ThemeIdHasBeenSet() const { return m_themeIdHasBeenSet; }
86 
90  inline void SetThemeId(const Aws::String& value) { m_themeIdHasBeenSet = true; m_themeId = value; }
91 
95  inline void SetThemeId(Aws::String&& value) { m_themeIdHasBeenSet = true; m_themeId = std::move(value); }
96 
100  inline void SetThemeId(const char* value) { m_themeIdHasBeenSet = true; m_themeId.assign(value); }
101 
105  inline UpdateThemeRequest& WithThemeId(const Aws::String& value) { SetThemeId(value); return *this;}
106 
110  inline UpdateThemeRequest& WithThemeId(Aws::String&& value) { SetThemeId(std::move(value)); return *this;}
111 
115  inline UpdateThemeRequest& WithThemeId(const char* value) { SetThemeId(value); return *this;}
116 
117 
121  inline const Aws::String& GetName() const{ return m_name; }
122 
126  inline bool NameHasBeenSet() const { return m_nameHasBeenSet; }
127 
131  inline void SetName(const Aws::String& value) { m_nameHasBeenSet = true; m_name = value; }
132 
136  inline void SetName(Aws::String&& value) { m_nameHasBeenSet = true; m_name = std::move(value); }
137 
141  inline void SetName(const char* value) { m_nameHasBeenSet = true; m_name.assign(value); }
142 
146  inline UpdateThemeRequest& WithName(const Aws::String& value) { SetName(value); return *this;}
147 
151  inline UpdateThemeRequest& WithName(Aws::String&& value) { SetName(std::move(value)); return *this;}
152 
156  inline UpdateThemeRequest& WithName(const char* value) { SetName(value); return *this;}
157 
158 
163  inline const Aws::String& GetBaseThemeId() const{ return m_baseThemeId; }
164 
169  inline bool BaseThemeIdHasBeenSet() const { return m_baseThemeIdHasBeenSet; }
170 
175  inline void SetBaseThemeId(const Aws::String& value) { m_baseThemeIdHasBeenSet = true; m_baseThemeId = value; }
176 
181  inline void SetBaseThemeId(Aws::String&& value) { m_baseThemeIdHasBeenSet = true; m_baseThemeId = std::move(value); }
182 
187  inline void SetBaseThemeId(const char* value) { m_baseThemeIdHasBeenSet = true; m_baseThemeId.assign(value); }
188 
193  inline UpdateThemeRequest& WithBaseThemeId(const Aws::String& value) { SetBaseThemeId(value); return *this;}
194 
199  inline UpdateThemeRequest& WithBaseThemeId(Aws::String&& value) { SetBaseThemeId(std::move(value)); return *this;}
200 
205  inline UpdateThemeRequest& WithBaseThemeId(const char* value) { SetBaseThemeId(value); return *this;}
206 
207 
214  inline const Aws::String& GetVersionDescription() const{ return m_versionDescription; }
215 
222  inline bool VersionDescriptionHasBeenSet() const { return m_versionDescriptionHasBeenSet; }
223 
230  inline void SetVersionDescription(const Aws::String& value) { m_versionDescriptionHasBeenSet = true; m_versionDescription = value; }
231 
238  inline void SetVersionDescription(Aws::String&& value) { m_versionDescriptionHasBeenSet = true; m_versionDescription = std::move(value); }
239 
246  inline void SetVersionDescription(const char* value) { m_versionDescriptionHasBeenSet = true; m_versionDescription.assign(value); }
247 
254  inline UpdateThemeRequest& WithVersionDescription(const Aws::String& value) { SetVersionDescription(value); return *this;}
255 
262  inline UpdateThemeRequest& WithVersionDescription(Aws::String&& value) { SetVersionDescription(std::move(value)); return *this;}
263 
270  inline UpdateThemeRequest& WithVersionDescription(const char* value) { SetVersionDescription(value); return *this;}
271 
272 
276  inline const ThemeConfiguration& GetConfiguration() const{ return m_configuration; }
277 
281  inline bool ConfigurationHasBeenSet() const { return m_configurationHasBeenSet; }
282 
286  inline void SetConfiguration(const ThemeConfiguration& value) { m_configurationHasBeenSet = true; m_configuration = value; }
287 
291  inline void SetConfiguration(ThemeConfiguration&& value) { m_configurationHasBeenSet = true; m_configuration = std::move(value); }
292 
296  inline UpdateThemeRequest& WithConfiguration(const ThemeConfiguration& value) { SetConfiguration(value); return *this;}
297 
301  inline UpdateThemeRequest& WithConfiguration(ThemeConfiguration&& value) { SetConfiguration(std::move(value)); return *this;}
302 
303  private:
304 
305  Aws::String m_awsAccountId;
306  bool m_awsAccountIdHasBeenSet;
307 
308  Aws::String m_themeId;
309  bool m_themeIdHasBeenSet;
310 
311  Aws::String m_name;
312  bool m_nameHasBeenSet;
313 
314  Aws::String m_baseThemeId;
315  bool m_baseThemeIdHasBeenSet;
316 
317  Aws::String m_versionDescription;
318  bool m_versionDescriptionHasBeenSet;
319 
320  ThemeConfiguration m_configuration;
321  bool m_configurationHasBeenSet;
322  };
323 
324 } // namespace Model
325 } // namespace QuickSight
326 } // namespace Aws
Aws::QuickSight::Model::UpdateThemeRequest::GetConfiguration
const ThemeConfiguration & GetConfiguration() const
Definition: UpdateThemeRequest.h:276
Aws::QuickSight::Model::UpdateThemeRequest::SetVersionDescription
void SetVersionDescription(const Aws::String &value)
Definition: UpdateThemeRequest.h:230
Aws::QuickSight::Model::UpdateThemeRequest::WithVersionDescription
UpdateThemeRequest & WithVersionDescription(const Aws::String &value)
Definition: UpdateThemeRequest.h:254
QuickSight_EXPORTS.h
Aws::QuickSight::Model::UpdateThemeRequest::AwsAccountIdHasBeenSet
bool AwsAccountIdHasBeenSet() const
Definition: UpdateThemeRequest.h:44
Aws::QuickSight::Model::UpdateThemeRequest::SetConfiguration
void SetConfiguration(const ThemeConfiguration &value)
Definition: UpdateThemeRequest.h:286
Aws::QuickSight::Model::UpdateThemeRequest::GetAwsAccountId
const Aws::String & GetAwsAccountId() const
Definition: UpdateThemeRequest.h:39
Aws::QuickSight::Model::UpdateThemeRequest
Definition: UpdateThemeRequest.h:23
Aws::QuickSight::Model::UpdateThemeRequest::ThemeIdHasBeenSet
bool ThemeIdHasBeenSet() const
Definition: UpdateThemeRequest.h:85
Aws::QuickSight::Model::UpdateThemeRequest::SetName
void SetName(const char *value)
Definition: UpdateThemeRequest.h:141
Aws::QuickSight::Model::UpdateThemeRequest::WithAwsAccountId
UpdateThemeRequest & WithAwsAccountId(Aws::String &&value)
Definition: UpdateThemeRequest.h:69
Aws::QuickSight::Model::UpdateThemeRequest::SetAwsAccountId
void SetAwsAccountId(const Aws::String &value)
Definition: UpdateThemeRequest.h:49
Aws::QuickSight::Model::UpdateThemeRequest::WithVersionDescription
UpdateThemeRequest & WithVersionDescription(const char *value)
Definition: UpdateThemeRequest.h:270
Aws::QuickSight::Model::UpdateThemeRequest::BaseThemeIdHasBeenSet
bool BaseThemeIdHasBeenSet() const
Definition: UpdateThemeRequest.h:169
Aws::QuickSight::Model::UpdateThemeRequest::SetAwsAccountId
void SetAwsAccountId(Aws::String &&value)
Definition: UpdateThemeRequest.h:54
Aws::QuickSight::Model::UpdateThemeRequest::WithBaseThemeId
UpdateThemeRequest & WithBaseThemeId(const char *value)
Definition: UpdateThemeRequest.h:205
Aws::QuickSight::Model::UpdateThemeRequest::WithAwsAccountId
UpdateThemeRequest & WithAwsAccountId(const Aws::String &value)
Definition: UpdateThemeRequest.h:64
Aws::QuickSight::Model::UpdateThemeRequest::WithVersionDescription
UpdateThemeRequest & WithVersionDescription(Aws::String &&value)
Definition: UpdateThemeRequest.h:262
Aws::QuickSight::Model::UpdateThemeRequest::NameHasBeenSet
bool NameHasBeenSet() const
Definition: UpdateThemeRequest.h:126
Aws::QuickSight::Model::UpdateThemeRequest::SetBaseThemeId
void SetBaseThemeId(Aws::String &&value)
Definition: UpdateThemeRequest.h:181
Aws::QuickSight::Model::UpdateThemeRequest::WithConfiguration
UpdateThemeRequest & WithConfiguration(const ThemeConfiguration &value)
Definition: UpdateThemeRequest.h:296
Aws::QuickSight::Model::UpdateThemeRequest::WithThemeId
UpdateThemeRequest & WithThemeId(Aws::String &&value)
Definition: UpdateThemeRequest.h:110
Aws::QuickSight::Model::UpdateThemeRequest::SetVersionDescription
void SetVersionDescription(Aws::String &&value)
Definition: UpdateThemeRequest.h:238
Aws::QuickSight::Model::UpdateThemeRequest::SetThemeId
void SetThemeId(const char *value)
Definition: UpdateThemeRequest.h:100
Aws::QuickSight::Model::UpdateThemeRequest::SetName
void SetName(const Aws::String &value)
Definition: UpdateThemeRequest.h:131
Aws::QuickSight::Model::UpdateThemeRequest::SetThemeId
void SetThemeId(Aws::String &&value)
Definition: UpdateThemeRequest.h:95
Aws::QuickSight::Model::UpdateThemeRequest::SetAwsAccountId
void SetAwsAccountId(const char *value)
Definition: UpdateThemeRequest.h:59
Aws::QuickSight::Model::UpdateThemeRequest::WithBaseThemeId
UpdateThemeRequest & WithBaseThemeId(const Aws::String &value)
Definition: UpdateThemeRequest.h:193
QuickSightRequest.h
Aws::QuickSight::Model::UpdateThemeRequest::UpdateThemeRequest
UpdateThemeRequest()
Aws::QuickSight::Model::UpdateThemeRequest::VersionDescriptionHasBeenSet
bool VersionDescriptionHasBeenSet() const
Definition: UpdateThemeRequest.h:222
Aws::QuickSight::Model::ThemeConfiguration
Definition: ThemeConfiguration.h:35
Aws::QuickSight::Model::UpdateThemeRequest::WithThemeId
UpdateThemeRequest & WithThemeId(const Aws::String &value)
Definition: UpdateThemeRequest.h:105
Aws::QuickSight::Model::UpdateThemeRequest::GetServiceRequestName
virtual const char * GetServiceRequestName() const override
Definition: UpdateThemeRequest.h:31
Aws::QuickSight::Model::UpdateThemeRequest::SerializePayload
Aws::String SerializePayload() const override
Aws::QuickSight::Model::UpdateThemeRequest::WithBaseThemeId
UpdateThemeRequest & WithBaseThemeId(Aws::String &&value)
Definition: UpdateThemeRequest.h:199
ThemeConfiguration.h
Aws::QuickSight::Model::UpdateThemeRequest::WithConfiguration
UpdateThemeRequest & WithConfiguration(ThemeConfiguration &&value)
Definition: UpdateThemeRequest.h:301
AWSString.h
Aws::QuickSight::Model::UpdateThemeRequest::WithAwsAccountId
UpdateThemeRequest & WithAwsAccountId(const char *value)
Definition: UpdateThemeRequest.h:74
Aws::QuickSight::Model::UpdateThemeRequest::GetBaseThemeId
const Aws::String & GetBaseThemeId() const
Definition: UpdateThemeRequest.h:163
Aws::QuickSight::Model::UpdateThemeRequest::GetThemeId
const Aws::String & GetThemeId() const
Definition: UpdateThemeRequest.h:80
Aws::QuickSight::Model::UpdateThemeRequest::GetName
const Aws::String & GetName() const
Definition: UpdateThemeRequest.h:121
Aws::QuickSight::Model::UpdateThemeRequest::GetVersionDescription
const Aws::String & GetVersionDescription() const
Definition: UpdateThemeRequest.h:214
Aws::QuickSight::Model::UpdateThemeRequest::SetBaseThemeId
void SetBaseThemeId(const Aws::String &value)
Definition: UpdateThemeRequest.h:175
Aws::QuickSight::Model::UpdateThemeRequest::SetThemeId
void SetThemeId(const Aws::String &value)
Definition: UpdateThemeRequest.h:90
AWS_QUICKSIGHT_API
#define AWS_QUICKSIGHT_API
Definition: QuickSight_EXPORTS.h:28
Aws
Definition: AccessManagementClient.h:15
Aws::QuickSight::Model::UpdateThemeRequest::WithName
UpdateThemeRequest & WithName(const Aws::String &value)
Definition: UpdateThemeRequest.h:146
Aws::String
std::basic_string< char, std::char_traits< char >, Aws::Allocator< char > > String
Definition: AWSString.h:97
Aws::QuickSight::Model::UpdateThemeRequest::WithName
UpdateThemeRequest & WithName(Aws::String &&value)
Definition: UpdateThemeRequest.h:151
Aws::QuickSight::Model::UpdateThemeRequest::SetConfiguration
void SetConfiguration(ThemeConfiguration &&value)
Definition: UpdateThemeRequest.h:291
Aws::QuickSight::Model::UpdateThemeRequest::WithName
UpdateThemeRequest & WithName(const char *value)
Definition: UpdateThemeRequest.h:156
Aws::QuickSight::Model::UpdateThemeRequest::SetVersionDescription
void SetVersionDescription(const char *value)
Definition: UpdateThemeRequest.h:246
Aws::QuickSight::Model::UpdateThemeRequest::ConfigurationHasBeenSet
bool ConfigurationHasBeenSet() const
Definition: UpdateThemeRequest.h:281
Aws::QuickSight::QuickSightRequest
Definition: QuickSightRequest.h:17
Aws::QuickSight::Model::UpdateThemeRequest::WithThemeId
UpdateThemeRequest & WithThemeId(const char *value)
Definition: UpdateThemeRequest.h:115
Aws::QuickSight::Model::UpdateThemeRequest::SetName
void SetName(Aws::String &&value)
Definition: UpdateThemeRequest.h:136
Aws::QuickSight::Model::UpdateThemeRequest::SetBaseThemeId
void SetBaseThemeId(const char *value)
Definition: UpdateThemeRequest.h:187