AWS SDK for C++  1.9.44
AWS SDK for C++
UpdateTemplateRequest.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 "UpdateTemplate"; }
32 
33  Aws::String SerializePayload() const override;
34 
35 
40  inline const Aws::String& GetAwsAccountId() const{ return m_awsAccountId; }
41 
46  inline bool AwsAccountIdHasBeenSet() const { return m_awsAccountIdHasBeenSet; }
47 
52  inline void SetAwsAccountId(const Aws::String& value) { m_awsAccountIdHasBeenSet = true; m_awsAccountId = value; }
53 
58  inline void SetAwsAccountId(Aws::String&& value) { m_awsAccountIdHasBeenSet = true; m_awsAccountId = std::move(value); }
59 
64  inline void SetAwsAccountId(const char* value) { m_awsAccountIdHasBeenSet = true; m_awsAccountId.assign(value); }
65 
70  inline UpdateTemplateRequest& WithAwsAccountId(const Aws::String& value) { SetAwsAccountId(value); return *this;}
71 
76  inline UpdateTemplateRequest& WithAwsAccountId(Aws::String&& value) { SetAwsAccountId(std::move(value)); return *this;}
77 
82  inline UpdateTemplateRequest& WithAwsAccountId(const char* value) { SetAwsAccountId(value); return *this;}
83 
84 
88  inline const Aws::String& GetTemplateId() const{ return m_templateId; }
89 
93  inline bool TemplateIdHasBeenSet() const { return m_templateIdHasBeenSet; }
94 
98  inline void SetTemplateId(const Aws::String& value) { m_templateIdHasBeenSet = true; m_templateId = value; }
99 
103  inline void SetTemplateId(Aws::String&& value) { m_templateIdHasBeenSet = true; m_templateId = std::move(value); }
104 
108  inline void SetTemplateId(const char* value) { m_templateIdHasBeenSet = true; m_templateId.assign(value); }
109 
113  inline UpdateTemplateRequest& WithTemplateId(const Aws::String& value) { SetTemplateId(value); return *this;}
114 
118  inline UpdateTemplateRequest& WithTemplateId(Aws::String&& value) { SetTemplateId(std::move(value)); return *this;}
119 
123  inline UpdateTemplateRequest& WithTemplateId(const char* value) { SetTemplateId(value); return *this;}
124 
125 
140  inline const TemplateSourceEntity& GetSourceEntity() const{ return m_sourceEntity; }
141 
156  inline bool SourceEntityHasBeenSet() const { return m_sourceEntityHasBeenSet; }
157 
172  inline void SetSourceEntity(const TemplateSourceEntity& value) { m_sourceEntityHasBeenSet = true; m_sourceEntity = value; }
173 
188  inline void SetSourceEntity(TemplateSourceEntity&& value) { m_sourceEntityHasBeenSet = true; m_sourceEntity = std::move(value); }
189 
204  inline UpdateTemplateRequest& WithSourceEntity(const TemplateSourceEntity& value) { SetSourceEntity(value); return *this;}
205 
220  inline UpdateTemplateRequest& WithSourceEntity(TemplateSourceEntity&& value) { SetSourceEntity(std::move(value)); return *this;}
221 
222 
229  inline const Aws::String& GetVersionDescription() const{ return m_versionDescription; }
230 
237  inline bool VersionDescriptionHasBeenSet() const { return m_versionDescriptionHasBeenSet; }
238 
245  inline void SetVersionDescription(const Aws::String& value) { m_versionDescriptionHasBeenSet = true; m_versionDescription = value; }
246 
253  inline void SetVersionDescription(Aws::String&& value) { m_versionDescriptionHasBeenSet = true; m_versionDescription = std::move(value); }
254 
261  inline void SetVersionDescription(const char* value) { m_versionDescriptionHasBeenSet = true; m_versionDescription.assign(value); }
262 
269  inline UpdateTemplateRequest& WithVersionDescription(const Aws::String& value) { SetVersionDescription(value); return *this;}
270 
277  inline UpdateTemplateRequest& WithVersionDescription(Aws::String&& value) { SetVersionDescription(std::move(value)); return *this;}
278 
285  inline UpdateTemplateRequest& WithVersionDescription(const char* value) { SetVersionDescription(value); return *this;}
286 
287 
291  inline const Aws::String& GetName() const{ return m_name; }
292 
296  inline bool NameHasBeenSet() const { return m_nameHasBeenSet; }
297 
301  inline void SetName(const Aws::String& value) { m_nameHasBeenSet = true; m_name = value; }
302 
306  inline void SetName(Aws::String&& value) { m_nameHasBeenSet = true; m_name = std::move(value); }
307 
311  inline void SetName(const char* value) { m_nameHasBeenSet = true; m_name.assign(value); }
312 
316  inline UpdateTemplateRequest& WithName(const Aws::String& value) { SetName(value); return *this;}
317 
321  inline UpdateTemplateRequest& WithName(Aws::String&& value) { SetName(std::move(value)); return *this;}
322 
326  inline UpdateTemplateRequest& WithName(const char* value) { SetName(value); return *this;}
327 
328  private:
329 
330  Aws::String m_awsAccountId;
331  bool m_awsAccountIdHasBeenSet;
332 
333  Aws::String m_templateId;
334  bool m_templateIdHasBeenSet;
335 
336  TemplateSourceEntity m_sourceEntity;
337  bool m_sourceEntityHasBeenSet;
338 
339  Aws::String m_versionDescription;
340  bool m_versionDescriptionHasBeenSet;
341 
342  Aws::String m_name;
343  bool m_nameHasBeenSet;
344  };
345 
346 } // namespace Model
347 } // namespace QuickSight
348 } // namespace Aws
Aws::QuickSight::Model::UpdateTemplateRequest::SerializePayload
Aws::String SerializePayload() const override
Aws::QuickSight::Model::UpdateTemplateRequest::SetName
void SetName(const Aws::String &value)
Definition: UpdateTemplateRequest.h:301
QuickSight_EXPORTS.h
Aws::QuickSight::Model::UpdateTemplateRequest::TemplateIdHasBeenSet
bool TemplateIdHasBeenSet() const
Definition: UpdateTemplateRequest.h:93
Aws::QuickSight::Model::UpdateTemplateRequest::GetTemplateId
const Aws::String & GetTemplateId() const
Definition: UpdateTemplateRequest.h:88
Aws::QuickSight::Model::UpdateTemplateRequest::SetAwsAccountId
void SetAwsAccountId(const char *value)
Definition: UpdateTemplateRequest.h:64
Aws::QuickSight::Model::UpdateTemplateRequest::SetVersionDescription
void SetVersionDescription(const char *value)
Definition: UpdateTemplateRequest.h:261
Aws::QuickSight::Model::UpdateTemplateRequest::AwsAccountIdHasBeenSet
bool AwsAccountIdHasBeenSet() const
Definition: UpdateTemplateRequest.h:46
Aws::QuickSight::Model::UpdateTemplateRequest::UpdateTemplateRequest
UpdateTemplateRequest()
Aws::QuickSight::Model::UpdateTemplateRequest::WithAwsAccountId
UpdateTemplateRequest & WithAwsAccountId(const Aws::String &value)
Definition: UpdateTemplateRequest.h:70
Aws::QuickSight::Model::UpdateTemplateRequest::WithTemplateId
UpdateTemplateRequest & WithTemplateId(const char *value)
Definition: UpdateTemplateRequest.h:123
TemplateSourceEntity.h
Aws::QuickSight::Model::UpdateTemplateRequest::SetAwsAccountId
void SetAwsAccountId(Aws::String &&value)
Definition: UpdateTemplateRequest.h:58
Aws::QuickSight::Model::UpdateTemplateRequest::SetVersionDescription
void SetVersionDescription(const Aws::String &value)
Definition: UpdateTemplateRequest.h:245
Aws::QuickSight::Model::UpdateTemplateRequest::WithTemplateId
UpdateTemplateRequest & WithTemplateId(Aws::String &&value)
Definition: UpdateTemplateRequest.h:118
Aws::QuickSight::Model::UpdateTemplateRequest::WithAwsAccountId
UpdateTemplateRequest & WithAwsAccountId(Aws::String &&value)
Definition: UpdateTemplateRequest.h:76
Aws::QuickSight::Model::UpdateTemplateRequest::SetSourceEntity
void SetSourceEntity(TemplateSourceEntity &&value)
Definition: UpdateTemplateRequest.h:188
QuickSightRequest.h
Aws::QuickSight::Model::UpdateTemplateRequest::GetSourceEntity
const TemplateSourceEntity & GetSourceEntity() const
Definition: UpdateTemplateRequest.h:140
Aws::QuickSight::Model::UpdateTemplateRequest::WithVersionDescription
UpdateTemplateRequest & WithVersionDescription(const char *value)
Definition: UpdateTemplateRequest.h:285
Aws::QuickSight::Model::UpdateTemplateRequest::SetName
void SetName(Aws::String &&value)
Definition: UpdateTemplateRequest.h:306
Aws::QuickSight::Model::UpdateTemplateRequest::WithVersionDescription
UpdateTemplateRequest & WithVersionDescription(Aws::String &&value)
Definition: UpdateTemplateRequest.h:277
Aws::QuickSight::Model::UpdateTemplateRequest::SetTemplateId
void SetTemplateId(Aws::String &&value)
Definition: UpdateTemplateRequest.h:103
Aws::QuickSight::Model::UpdateTemplateRequest::SetVersionDescription
void SetVersionDescription(Aws::String &&value)
Definition: UpdateTemplateRequest.h:253
Aws::QuickSight::Model::UpdateTemplateRequest::GetName
const Aws::String & GetName() const
Definition: UpdateTemplateRequest.h:291
AWSString.h
Aws::QuickSight::Model::UpdateTemplateRequest::WithSourceEntity
UpdateTemplateRequest & WithSourceEntity(TemplateSourceEntity &&value)
Definition: UpdateTemplateRequest.h:220
Aws::QuickSight::Model::UpdateTemplateRequest::WithAwsAccountId
UpdateTemplateRequest & WithAwsAccountId(const char *value)
Definition: UpdateTemplateRequest.h:82
Aws::QuickSight::Model::UpdateTemplateRequest::SetTemplateId
void SetTemplateId(const Aws::String &value)
Definition: UpdateTemplateRequest.h:98
Aws::QuickSight::Model::TemplateSourceEntity
Definition: TemplateSourceEntity.h:33
Aws::QuickSight::Model::UpdateTemplateRequest::SetSourceEntity
void SetSourceEntity(const TemplateSourceEntity &value)
Definition: UpdateTemplateRequest.h:172
Aws::QuickSight::Model::UpdateTemplateRequest::NameHasBeenSet
bool NameHasBeenSet() const
Definition: UpdateTemplateRequest.h:296
Aws::QuickSight::Model::UpdateTemplateRequest::SetAwsAccountId
void SetAwsAccountId(const Aws::String &value)
Definition: UpdateTemplateRequest.h:52
AWS_QUICKSIGHT_API
#define AWS_QUICKSIGHT_API
Definition: QuickSight_EXPORTS.h:28
Aws
Definition: AccessManagementClient.h:15
Aws::QuickSight::Model::UpdateTemplateRequest::SourceEntityHasBeenSet
bool SourceEntityHasBeenSet() const
Definition: UpdateTemplateRequest.h:156
Aws::QuickSight::Model::UpdateTemplateRequest::GetAwsAccountId
const Aws::String & GetAwsAccountId() const
Definition: UpdateTemplateRequest.h:40
Aws::QuickSight::Model::UpdateTemplateRequest::VersionDescriptionHasBeenSet
bool VersionDescriptionHasBeenSet() const
Definition: UpdateTemplateRequest.h:237
Aws::QuickSight::Model::UpdateTemplateRequest::WithName
UpdateTemplateRequest & WithName(const Aws::String &value)
Definition: UpdateTemplateRequest.h:316
Aws::QuickSight::Model::UpdateTemplateRequest::WithVersionDescription
UpdateTemplateRequest & WithVersionDescription(const Aws::String &value)
Definition: UpdateTemplateRequest.h:269
Aws::String
std::basic_string< char, std::char_traits< char >, Aws::Allocator< char > > String
Definition: AWSString.h:97
Aws::QuickSight::Model::UpdateTemplateRequest::WithName
UpdateTemplateRequest & WithName(Aws::String &&value)
Definition: UpdateTemplateRequest.h:321
Aws::QuickSight::Model::UpdateTemplateRequest::GetVersionDescription
const Aws::String & GetVersionDescription() const
Definition: UpdateTemplateRequest.h:229
Aws::QuickSight::Model::UpdateTemplateRequest
Definition: UpdateTemplateRequest.h:23
Aws::QuickSight::Model::UpdateTemplateRequest::SetName
void SetName(const char *value)
Definition: UpdateTemplateRequest.h:311
Aws::QuickSight::Model::UpdateTemplateRequest::WithSourceEntity
UpdateTemplateRequest & WithSourceEntity(const TemplateSourceEntity &value)
Definition: UpdateTemplateRequest.h:204
Aws::QuickSight::Model::UpdateTemplateRequest::WithTemplateId
UpdateTemplateRequest & WithTemplateId(const Aws::String &value)
Definition: UpdateTemplateRequest.h:113
Aws::QuickSight::Model::UpdateTemplateRequest::GetServiceRequestName
virtual const char * GetServiceRequestName() const override
Definition: UpdateTemplateRequest.h:31
Aws::QuickSight::Model::UpdateTemplateRequest::WithName
UpdateTemplateRequest & WithName(const char *value)
Definition: UpdateTemplateRequest.h:326
Aws::QuickSight::QuickSightRequest
Definition: QuickSightRequest.h:17
Aws::QuickSight::Model::UpdateTemplateRequest::SetTemplateId
void SetTemplateId(const char *value)
Definition: UpdateTemplateRequest.h:108