AWS SDK for C++  1.8.128
AWS SDK for C++
UpdateCustomVerificationEmailTemplateRequest.h
Go to the documentation of this file.
1 
6 #pragma once
8 #include <aws/email/SESRequest.h>
10 #include <utility>
11 
12 namespace Aws
13 {
14 namespace SES
15 {
16 namespace Model
17 {
18 
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 "UpdateCustomVerificationEmailTemplate"; }
35 
36  Aws::String SerializePayload() const override;
37 
38  protected:
39  void DumpBodyToUrl(Aws::Http::URI& uri ) const override;
40 
41  public:
42 
47  inline const Aws::String& GetTemplateName() const{ return m_templateName; }
48 
53  inline bool TemplateNameHasBeenSet() const { return m_templateNameHasBeenSet; }
54 
59  inline void SetTemplateName(const Aws::String& value) { m_templateNameHasBeenSet = true; m_templateName = value; }
60 
65  inline void SetTemplateName(Aws::String&& value) { m_templateNameHasBeenSet = true; m_templateName = std::move(value); }
66 
71  inline void SetTemplateName(const char* value) { m_templateNameHasBeenSet = true; m_templateName.assign(value); }
72 
77  inline UpdateCustomVerificationEmailTemplateRequest& WithTemplateName(const Aws::String& value) { SetTemplateName(value); return *this;}
78 
83  inline UpdateCustomVerificationEmailTemplateRequest& WithTemplateName(Aws::String&& value) { SetTemplateName(std::move(value)); return *this;}
84 
89  inline UpdateCustomVerificationEmailTemplateRequest& WithTemplateName(const char* value) { SetTemplateName(value); return *this;}
90 
91 
95  inline const Aws::String& GetFromEmailAddress() const{ return m_fromEmailAddress; }
96 
100  inline bool FromEmailAddressHasBeenSet() const { return m_fromEmailAddressHasBeenSet; }
101 
105  inline void SetFromEmailAddress(const Aws::String& value) { m_fromEmailAddressHasBeenSet = true; m_fromEmailAddress = value; }
106 
110  inline void SetFromEmailAddress(Aws::String&& value) { m_fromEmailAddressHasBeenSet = true; m_fromEmailAddress = std::move(value); }
111 
115  inline void SetFromEmailAddress(const char* value) { m_fromEmailAddressHasBeenSet = true; m_fromEmailAddress.assign(value); }
116 
120  inline UpdateCustomVerificationEmailTemplateRequest& WithFromEmailAddress(const Aws::String& value) { SetFromEmailAddress(value); return *this;}
121 
125  inline UpdateCustomVerificationEmailTemplateRequest& WithFromEmailAddress(Aws::String&& value) { SetFromEmailAddress(std::move(value)); return *this;}
126 
130  inline UpdateCustomVerificationEmailTemplateRequest& WithFromEmailAddress(const char* value) { SetFromEmailAddress(value); return *this;}
131 
132 
136  inline const Aws::String& GetTemplateSubject() const{ return m_templateSubject; }
137 
141  inline bool TemplateSubjectHasBeenSet() const { return m_templateSubjectHasBeenSet; }
142 
146  inline void SetTemplateSubject(const Aws::String& value) { m_templateSubjectHasBeenSet = true; m_templateSubject = value; }
147 
151  inline void SetTemplateSubject(Aws::String&& value) { m_templateSubjectHasBeenSet = true; m_templateSubject = std::move(value); }
152 
156  inline void SetTemplateSubject(const char* value) { m_templateSubjectHasBeenSet = true; m_templateSubject.assign(value); }
157 
161  inline UpdateCustomVerificationEmailTemplateRequest& WithTemplateSubject(const Aws::String& value) { SetTemplateSubject(value); return *this;}
162 
166  inline UpdateCustomVerificationEmailTemplateRequest& WithTemplateSubject(Aws::String&& value) { SetTemplateSubject(std::move(value)); return *this;}
167 
171  inline UpdateCustomVerificationEmailTemplateRequest& WithTemplateSubject(const char* value) { SetTemplateSubject(value); return *this;}
172 
173 
182  inline const Aws::String& GetTemplateContent() const{ return m_templateContent; }
183 
192  inline bool TemplateContentHasBeenSet() const { return m_templateContentHasBeenSet; }
193 
202  inline void SetTemplateContent(const Aws::String& value) { m_templateContentHasBeenSet = true; m_templateContent = value; }
203 
212  inline void SetTemplateContent(Aws::String&& value) { m_templateContentHasBeenSet = true; m_templateContent = std::move(value); }
213 
222  inline void SetTemplateContent(const char* value) { m_templateContentHasBeenSet = true; m_templateContent.assign(value); }
223 
232  inline UpdateCustomVerificationEmailTemplateRequest& WithTemplateContent(const Aws::String& value) { SetTemplateContent(value); return *this;}
233 
242  inline UpdateCustomVerificationEmailTemplateRequest& WithTemplateContent(Aws::String&& value) { SetTemplateContent(std::move(value)); return *this;}
243 
252  inline UpdateCustomVerificationEmailTemplateRequest& WithTemplateContent(const char* value) { SetTemplateContent(value); return *this;}
253 
254 
259  inline const Aws::String& GetSuccessRedirectionURL() const{ return m_successRedirectionURL; }
260 
265  inline bool SuccessRedirectionURLHasBeenSet() const { return m_successRedirectionURLHasBeenSet; }
266 
271  inline void SetSuccessRedirectionURL(const Aws::String& value) { m_successRedirectionURLHasBeenSet = true; m_successRedirectionURL = value; }
272 
277  inline void SetSuccessRedirectionURL(Aws::String&& value) { m_successRedirectionURLHasBeenSet = true; m_successRedirectionURL = std::move(value); }
278 
283  inline void SetSuccessRedirectionURL(const char* value) { m_successRedirectionURLHasBeenSet = true; m_successRedirectionURL.assign(value); }
284 
289  inline UpdateCustomVerificationEmailTemplateRequest& WithSuccessRedirectionURL(const Aws::String& value) { SetSuccessRedirectionURL(value); return *this;}
290 
295  inline UpdateCustomVerificationEmailTemplateRequest& WithSuccessRedirectionURL(Aws::String&& value) { SetSuccessRedirectionURL(std::move(value)); return *this;}
296 
301  inline UpdateCustomVerificationEmailTemplateRequest& WithSuccessRedirectionURL(const char* value) { SetSuccessRedirectionURL(value); return *this;}
302 
303 
308  inline const Aws::String& GetFailureRedirectionURL() const{ return m_failureRedirectionURL; }
309 
314  inline bool FailureRedirectionURLHasBeenSet() const { return m_failureRedirectionURLHasBeenSet; }
315 
320  inline void SetFailureRedirectionURL(const Aws::String& value) { m_failureRedirectionURLHasBeenSet = true; m_failureRedirectionURL = value; }
321 
326  inline void SetFailureRedirectionURL(Aws::String&& value) { m_failureRedirectionURLHasBeenSet = true; m_failureRedirectionURL = std::move(value); }
327 
332  inline void SetFailureRedirectionURL(const char* value) { m_failureRedirectionURLHasBeenSet = true; m_failureRedirectionURL.assign(value); }
333 
338  inline UpdateCustomVerificationEmailTemplateRequest& WithFailureRedirectionURL(const Aws::String& value) { SetFailureRedirectionURL(value); return *this;}
339 
344  inline UpdateCustomVerificationEmailTemplateRequest& WithFailureRedirectionURL(Aws::String&& value) { SetFailureRedirectionURL(std::move(value)); return *this;}
345 
350  inline UpdateCustomVerificationEmailTemplateRequest& WithFailureRedirectionURL(const char* value) { SetFailureRedirectionURL(value); return *this;}
351 
352  private:
353 
354  Aws::String m_templateName;
355  bool m_templateNameHasBeenSet;
356 
357  Aws::String m_fromEmailAddress;
358  bool m_fromEmailAddressHasBeenSet;
359 
360  Aws::String m_templateSubject;
361  bool m_templateSubjectHasBeenSet;
362 
363  Aws::String m_templateContent;
364  bool m_templateContentHasBeenSet;
365 
366  Aws::String m_successRedirectionURL;
367  bool m_successRedirectionURLHasBeenSet;
368 
369  Aws::String m_failureRedirectionURL;
370  bool m_failureRedirectionURLHasBeenSet;
371  };
372 
373 } // namespace Model
374 } // namespace SES
375 } // namespace Aws
Aws::SES::Model::UpdateCustomVerificationEmailTemplateRequest::SetTemplateSubject
void SetTemplateSubject(const Aws::String &value)
Definition: UpdateCustomVerificationEmailTemplateRequest.h:146
Aws::SES::Model::UpdateCustomVerificationEmailTemplateRequest::WithFromEmailAddress
UpdateCustomVerificationEmailTemplateRequest & WithFromEmailAddress(const Aws::String &value)
Definition: UpdateCustomVerificationEmailTemplateRequest.h:120
Aws::SES::Model::UpdateCustomVerificationEmailTemplateRequest::SetFailureRedirectionURL
void SetFailureRedirectionURL(Aws::String &&value)
Definition: UpdateCustomVerificationEmailTemplateRequest.h:326
Aws::SES::Model::UpdateCustomVerificationEmailTemplateRequest::WithFromEmailAddress
UpdateCustomVerificationEmailTemplateRequest & WithFromEmailAddress(Aws::String &&value)
Definition: UpdateCustomVerificationEmailTemplateRequest.h:125
Aws::Http::URI
Definition: URI.h:32
Aws::SES::Model::UpdateCustomVerificationEmailTemplateRequest
Definition: UpdateCustomVerificationEmailTemplateRequest.h:26
Aws::SES::Model::UpdateCustomVerificationEmailTemplateRequest::GetTemplateContent
const Aws::String & GetTemplateContent() const
Definition: UpdateCustomVerificationEmailTemplateRequest.h:182
Aws::SES::Model::UpdateCustomVerificationEmailTemplateRequest::GetTemplateSubject
const Aws::String & GetTemplateSubject() const
Definition: UpdateCustomVerificationEmailTemplateRequest.h:136
Aws::SES::Model::UpdateCustomVerificationEmailTemplateRequest::WithFailureRedirectionURL
UpdateCustomVerificationEmailTemplateRequest & WithFailureRedirectionURL(const Aws::String &value)
Definition: UpdateCustomVerificationEmailTemplateRequest.h:338
Aws::SES::Model::UpdateCustomVerificationEmailTemplateRequest::DumpBodyToUrl
void DumpBodyToUrl(Aws::Http::URI &uri) const override
Aws::SES::Model::UpdateCustomVerificationEmailTemplateRequest::GetFailureRedirectionURL
const Aws::String & GetFailureRedirectionURL() const
Definition: UpdateCustomVerificationEmailTemplateRequest.h:308
Aws::SES::Model::UpdateCustomVerificationEmailTemplateRequest::SetTemplateName
void SetTemplateName(const Aws::String &value)
Definition: UpdateCustomVerificationEmailTemplateRequest.h:59
Aws::SES::Model::UpdateCustomVerificationEmailTemplateRequest::GetSuccessRedirectionURL
const Aws::String & GetSuccessRedirectionURL() const
Definition: UpdateCustomVerificationEmailTemplateRequest.h:259
Aws::SES::Model::UpdateCustomVerificationEmailTemplateRequest::WithFailureRedirectionURL
UpdateCustomVerificationEmailTemplateRequest & WithFailureRedirectionURL(const char *value)
Definition: UpdateCustomVerificationEmailTemplateRequest.h:350
Aws::SES::Model::UpdateCustomVerificationEmailTemplateRequest::SetTemplateName
void SetTemplateName(Aws::String &&value)
Definition: UpdateCustomVerificationEmailTemplateRequest.h:65
Aws::SES::Model::UpdateCustomVerificationEmailTemplateRequest::UpdateCustomVerificationEmailTemplateRequest
UpdateCustomVerificationEmailTemplateRequest()
Aws::SES::Model::UpdateCustomVerificationEmailTemplateRequest::SetSuccessRedirectionURL
void SetSuccessRedirectionURL(const Aws::String &value)
Definition: UpdateCustomVerificationEmailTemplateRequest.h:271
Aws::SES::Model::UpdateCustomVerificationEmailTemplateRequest::WithSuccessRedirectionURL
UpdateCustomVerificationEmailTemplateRequest & WithSuccessRedirectionURL(const Aws::String &value)
Definition: UpdateCustomVerificationEmailTemplateRequest.h:289
Aws::SES::Model::UpdateCustomVerificationEmailTemplateRequest::SetFailureRedirectionURL
void SetFailureRedirectionURL(const Aws::String &value)
Definition: UpdateCustomVerificationEmailTemplateRequest.h:320
Aws::SES::Model::UpdateCustomVerificationEmailTemplateRequest::SetTemplateName
void SetTemplateName(const char *value)
Definition: UpdateCustomVerificationEmailTemplateRequest.h:71
Aws::SES::Model::UpdateCustomVerificationEmailTemplateRequest::SetSuccessRedirectionURL
void SetSuccessRedirectionURL(const char *value)
Definition: UpdateCustomVerificationEmailTemplateRequest.h:283
Aws::SES::Model::UpdateCustomVerificationEmailTemplateRequest::WithFailureRedirectionURL
UpdateCustomVerificationEmailTemplateRequest & WithFailureRedirectionURL(Aws::String &&value)
Definition: UpdateCustomVerificationEmailTemplateRequest.h:344
Aws::SES::Model::UpdateCustomVerificationEmailTemplateRequest::SetFromEmailAddress
void SetFromEmailAddress(Aws::String &&value)
Definition: UpdateCustomVerificationEmailTemplateRequest.h:110
Aws::SES::Model::UpdateCustomVerificationEmailTemplateRequest::TemplateSubjectHasBeenSet
bool TemplateSubjectHasBeenSet() const
Definition: UpdateCustomVerificationEmailTemplateRequest.h:141
Aws::SES::Model::UpdateCustomVerificationEmailTemplateRequest::WithSuccessRedirectionURL
UpdateCustomVerificationEmailTemplateRequest & WithSuccessRedirectionURL(const char *value)
Definition: UpdateCustomVerificationEmailTemplateRequest.h:301
Aws::SES::Model::UpdateCustomVerificationEmailTemplateRequest::SetTemplateSubject
void SetTemplateSubject(const char *value)
Definition: UpdateCustomVerificationEmailTemplateRequest.h:156
Aws::SES::Model::UpdateCustomVerificationEmailTemplateRequest::WithTemplateSubject
UpdateCustomVerificationEmailTemplateRequest & WithTemplateSubject(const char *value)
Definition: UpdateCustomVerificationEmailTemplateRequest.h:171
Aws::SES::Model::UpdateCustomVerificationEmailTemplateRequest::WithTemplateSubject
UpdateCustomVerificationEmailTemplateRequest & WithTemplateSubject(Aws::String &&value)
Definition: UpdateCustomVerificationEmailTemplateRequest.h:166
Aws::SES::Model::UpdateCustomVerificationEmailTemplateRequest::TemplateContentHasBeenSet
bool TemplateContentHasBeenSet() const
Definition: UpdateCustomVerificationEmailTemplateRequest.h:192
SESRequest.h
Aws::SES::Model::UpdateCustomVerificationEmailTemplateRequest::WithSuccessRedirectionURL
UpdateCustomVerificationEmailTemplateRequest & WithSuccessRedirectionURL(Aws::String &&value)
Definition: UpdateCustomVerificationEmailTemplateRequest.h:295
Aws::SES::Model::UpdateCustomVerificationEmailTemplateRequest::WithFromEmailAddress
UpdateCustomVerificationEmailTemplateRequest & WithFromEmailAddress(const char *value)
Definition: UpdateCustomVerificationEmailTemplateRequest.h:130
AWSString.h
Aws::SES::Model::UpdateCustomVerificationEmailTemplateRequest::WithTemplateName
UpdateCustomVerificationEmailTemplateRequest & WithTemplateName(const Aws::String &value)
Definition: UpdateCustomVerificationEmailTemplateRequest.h:77
Aws::SES::Model::UpdateCustomVerificationEmailTemplateRequest::SerializePayload
Aws::String SerializePayload() const override
Aws::SES::Model::UpdateCustomVerificationEmailTemplateRequest::SetFromEmailAddress
void SetFromEmailAddress(const Aws::String &value)
Definition: UpdateCustomVerificationEmailTemplateRequest.h:105
SES_EXPORTS.h
AWS_SES_API
#define AWS_SES_API
Definition: SES_EXPORTS.h:28
Aws::SES::Model::UpdateCustomVerificationEmailTemplateRequest::SetTemplateContent
void SetTemplateContent(Aws::String &&value)
Definition: UpdateCustomVerificationEmailTemplateRequest.h:212
Aws::SES::Model::UpdateCustomVerificationEmailTemplateRequest::SuccessRedirectionURLHasBeenSet
bool SuccessRedirectionURLHasBeenSet() const
Definition: UpdateCustomVerificationEmailTemplateRequest.h:265
Aws::SES::SESRequest
Definition: SESRequest.h:17
Aws::SES::Model::UpdateCustomVerificationEmailTemplateRequest::WithTemplateSubject
UpdateCustomVerificationEmailTemplateRequest & WithTemplateSubject(const Aws::String &value)
Definition: UpdateCustomVerificationEmailTemplateRequest.h:161
Aws::SES::Model::UpdateCustomVerificationEmailTemplateRequest::SetFailureRedirectionURL
void SetFailureRedirectionURL(const char *value)
Definition: UpdateCustomVerificationEmailTemplateRequest.h:332
Aws::SES::Model::UpdateCustomVerificationEmailTemplateRequest::WithTemplateContent
UpdateCustomVerificationEmailTemplateRequest & WithTemplateContent(Aws::String &&value)
Definition: UpdateCustomVerificationEmailTemplateRequest.h:242
Aws::SES::Model::UpdateCustomVerificationEmailTemplateRequest::TemplateNameHasBeenSet
bool TemplateNameHasBeenSet() const
Definition: UpdateCustomVerificationEmailTemplateRequest.h:53
Aws::SES::Model::UpdateCustomVerificationEmailTemplateRequest::SetSuccessRedirectionURL
void SetSuccessRedirectionURL(Aws::String &&value)
Definition: UpdateCustomVerificationEmailTemplateRequest.h:277
Aws
Definition: AccessManagementClient.h:15
Aws::SES::Model::UpdateCustomVerificationEmailTemplateRequest::FromEmailAddressHasBeenSet
bool FromEmailAddressHasBeenSet() const
Definition: UpdateCustomVerificationEmailTemplateRequest.h:100
Aws::String
std::basic_string< char, std::char_traits< char >, Aws::Allocator< char > > String
Definition: AWSString.h:97
Aws::SES::Model::UpdateCustomVerificationEmailTemplateRequest::SetTemplateContent
void SetTemplateContent(const Aws::String &value)
Definition: UpdateCustomVerificationEmailTemplateRequest.h:202
Aws::SES::Model::UpdateCustomVerificationEmailTemplateRequest::SetTemplateSubject
void SetTemplateSubject(Aws::String &&value)
Definition: UpdateCustomVerificationEmailTemplateRequest.h:151
Aws::SES::Model::UpdateCustomVerificationEmailTemplateRequest::GetServiceRequestName
virtual const char * GetServiceRequestName() const override
Definition: UpdateCustomVerificationEmailTemplateRequest.h:34
Aws::SES::Model::UpdateCustomVerificationEmailTemplateRequest::WithTemplateName
UpdateCustomVerificationEmailTemplateRequest & WithTemplateName(Aws::String &&value)
Definition: UpdateCustomVerificationEmailTemplateRequest.h:83
Aws::SES::Model::UpdateCustomVerificationEmailTemplateRequest::SetFromEmailAddress
void SetFromEmailAddress(const char *value)
Definition: UpdateCustomVerificationEmailTemplateRequest.h:115
Aws::SES::Model::UpdateCustomVerificationEmailTemplateRequest::GetTemplateName
const Aws::String & GetTemplateName() const
Definition: UpdateCustomVerificationEmailTemplateRequest.h:47
Aws::SES::Model::UpdateCustomVerificationEmailTemplateRequest::WithTemplateContent
UpdateCustomVerificationEmailTemplateRequest & WithTemplateContent(const Aws::String &value)
Definition: UpdateCustomVerificationEmailTemplateRequest.h:232
Aws::SES::Model::UpdateCustomVerificationEmailTemplateRequest::GetFromEmailAddress
const Aws::String & GetFromEmailAddress() const
Definition: UpdateCustomVerificationEmailTemplateRequest.h:95
Aws::SES::Model::UpdateCustomVerificationEmailTemplateRequest::WithTemplateContent
UpdateCustomVerificationEmailTemplateRequest & WithTemplateContent(const char *value)
Definition: UpdateCustomVerificationEmailTemplateRequest.h:252
Aws::SES::Model::UpdateCustomVerificationEmailTemplateRequest::SetTemplateContent
void SetTemplateContent(const char *value)
Definition: UpdateCustomVerificationEmailTemplateRequest.h:222
Aws::SES::Model::UpdateCustomVerificationEmailTemplateRequest::FailureRedirectionURLHasBeenSet
bool FailureRedirectionURLHasBeenSet() const
Definition: UpdateCustomVerificationEmailTemplateRequest.h:314
Aws::SES::Model::UpdateCustomVerificationEmailTemplateRequest::WithTemplateName
UpdateCustomVerificationEmailTemplateRequest & WithTemplateName(const char *value)
Definition: UpdateCustomVerificationEmailTemplateRequest.h:89