AWS SDK for C++  1.8.129
AWS SDK for C++
CreateCustomVerificationEmailTemplateRequest.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 "CreateCustomVerificationEmailTemplate"; }
35 
36  Aws::String SerializePayload() const override;
37 
38  protected:
39  void DumpBodyToUrl(Aws::Http::URI& uri ) const override;
40 
41  public:
42 
46  inline const Aws::String& GetTemplateName() const{ return m_templateName; }
47 
51  inline bool TemplateNameHasBeenSet() const { return m_templateNameHasBeenSet; }
52 
56  inline void SetTemplateName(const Aws::String& value) { m_templateNameHasBeenSet = true; m_templateName = value; }
57 
61  inline void SetTemplateName(Aws::String&& value) { m_templateNameHasBeenSet = true; m_templateName = std::move(value); }
62 
66  inline void SetTemplateName(const char* value) { m_templateNameHasBeenSet = true; m_templateName.assign(value); }
67 
71  inline CreateCustomVerificationEmailTemplateRequest& WithTemplateName(const Aws::String& value) { SetTemplateName(value); return *this;}
72 
76  inline CreateCustomVerificationEmailTemplateRequest& WithTemplateName(Aws::String&& value) { SetTemplateName(std::move(value)); return *this;}
77 
81  inline CreateCustomVerificationEmailTemplateRequest& WithTemplateName(const char* value) { SetTemplateName(value); return *this;}
82 
83 
87  inline const Aws::String& GetFromEmailAddress() const{ return m_fromEmailAddress; }
88 
92  inline bool FromEmailAddressHasBeenSet() const { return m_fromEmailAddressHasBeenSet; }
93 
97  inline void SetFromEmailAddress(const Aws::String& value) { m_fromEmailAddressHasBeenSet = true; m_fromEmailAddress = value; }
98 
102  inline void SetFromEmailAddress(Aws::String&& value) { m_fromEmailAddressHasBeenSet = true; m_fromEmailAddress = std::move(value); }
103 
107  inline void SetFromEmailAddress(const char* value) { m_fromEmailAddressHasBeenSet = true; m_fromEmailAddress.assign(value); }
108 
112  inline CreateCustomVerificationEmailTemplateRequest& WithFromEmailAddress(const Aws::String& value) { SetFromEmailAddress(value); return *this;}
113 
117  inline CreateCustomVerificationEmailTemplateRequest& WithFromEmailAddress(Aws::String&& value) { SetFromEmailAddress(std::move(value)); return *this;}
118 
122  inline CreateCustomVerificationEmailTemplateRequest& WithFromEmailAddress(const char* value) { SetFromEmailAddress(value); return *this;}
123 
124 
128  inline const Aws::String& GetTemplateSubject() const{ return m_templateSubject; }
129 
133  inline bool TemplateSubjectHasBeenSet() const { return m_templateSubjectHasBeenSet; }
134 
138  inline void SetTemplateSubject(const Aws::String& value) { m_templateSubjectHasBeenSet = true; m_templateSubject = value; }
139 
143  inline void SetTemplateSubject(Aws::String&& value) { m_templateSubjectHasBeenSet = true; m_templateSubject = std::move(value); }
144 
148  inline void SetTemplateSubject(const char* value) { m_templateSubjectHasBeenSet = true; m_templateSubject.assign(value); }
149 
153  inline CreateCustomVerificationEmailTemplateRequest& WithTemplateSubject(const Aws::String& value) { SetTemplateSubject(value); return *this;}
154 
158  inline CreateCustomVerificationEmailTemplateRequest& WithTemplateSubject(Aws::String&& value) { SetTemplateSubject(std::move(value)); return *this;}
159 
163  inline CreateCustomVerificationEmailTemplateRequest& WithTemplateSubject(const char* value) { SetTemplateSubject(value); return *this;}
164 
165 
174  inline const Aws::String& GetTemplateContent() const{ return m_templateContent; }
175 
184  inline bool TemplateContentHasBeenSet() const { return m_templateContentHasBeenSet; }
185 
194  inline void SetTemplateContent(const Aws::String& value) { m_templateContentHasBeenSet = true; m_templateContent = value; }
195 
204  inline void SetTemplateContent(Aws::String&& value) { m_templateContentHasBeenSet = true; m_templateContent = std::move(value); }
205 
214  inline void SetTemplateContent(const char* value) { m_templateContentHasBeenSet = true; m_templateContent.assign(value); }
215 
224  inline CreateCustomVerificationEmailTemplateRequest& WithTemplateContent(const Aws::String& value) { SetTemplateContent(value); return *this;}
225 
234  inline CreateCustomVerificationEmailTemplateRequest& WithTemplateContent(Aws::String&& value) { SetTemplateContent(std::move(value)); return *this;}
235 
244  inline CreateCustomVerificationEmailTemplateRequest& WithTemplateContent(const char* value) { SetTemplateContent(value); return *this;}
245 
246 
251  inline const Aws::String& GetSuccessRedirectionURL() const{ return m_successRedirectionURL; }
252 
257  inline bool SuccessRedirectionURLHasBeenSet() const { return m_successRedirectionURLHasBeenSet; }
258 
263  inline void SetSuccessRedirectionURL(const Aws::String& value) { m_successRedirectionURLHasBeenSet = true; m_successRedirectionURL = value; }
264 
269  inline void SetSuccessRedirectionURL(Aws::String&& value) { m_successRedirectionURLHasBeenSet = true; m_successRedirectionURL = std::move(value); }
270 
275  inline void SetSuccessRedirectionURL(const char* value) { m_successRedirectionURLHasBeenSet = true; m_successRedirectionURL.assign(value); }
276 
281  inline CreateCustomVerificationEmailTemplateRequest& WithSuccessRedirectionURL(const Aws::String& value) { SetSuccessRedirectionURL(value); return *this;}
282 
287  inline CreateCustomVerificationEmailTemplateRequest& WithSuccessRedirectionURL(Aws::String&& value) { SetSuccessRedirectionURL(std::move(value)); return *this;}
288 
293  inline CreateCustomVerificationEmailTemplateRequest& WithSuccessRedirectionURL(const char* value) { SetSuccessRedirectionURL(value); return *this;}
294 
295 
300  inline const Aws::String& GetFailureRedirectionURL() const{ return m_failureRedirectionURL; }
301 
306  inline bool FailureRedirectionURLHasBeenSet() const { return m_failureRedirectionURLHasBeenSet; }
307 
312  inline void SetFailureRedirectionURL(const Aws::String& value) { m_failureRedirectionURLHasBeenSet = true; m_failureRedirectionURL = value; }
313 
318  inline void SetFailureRedirectionURL(Aws::String&& value) { m_failureRedirectionURLHasBeenSet = true; m_failureRedirectionURL = std::move(value); }
319 
324  inline void SetFailureRedirectionURL(const char* value) { m_failureRedirectionURLHasBeenSet = true; m_failureRedirectionURL.assign(value); }
325 
330  inline CreateCustomVerificationEmailTemplateRequest& WithFailureRedirectionURL(const Aws::String& value) { SetFailureRedirectionURL(value); return *this;}
331 
336  inline CreateCustomVerificationEmailTemplateRequest& WithFailureRedirectionURL(Aws::String&& value) { SetFailureRedirectionURL(std::move(value)); return *this;}
337 
342  inline CreateCustomVerificationEmailTemplateRequest& WithFailureRedirectionURL(const char* value) { SetFailureRedirectionURL(value); return *this;}
343 
344  private:
345 
346  Aws::String m_templateName;
347  bool m_templateNameHasBeenSet;
348 
349  Aws::String m_fromEmailAddress;
350  bool m_fromEmailAddressHasBeenSet;
351 
352  Aws::String m_templateSubject;
353  bool m_templateSubjectHasBeenSet;
354 
355  Aws::String m_templateContent;
356  bool m_templateContentHasBeenSet;
357 
358  Aws::String m_successRedirectionURL;
359  bool m_successRedirectionURLHasBeenSet;
360 
361  Aws::String m_failureRedirectionURL;
362  bool m_failureRedirectionURLHasBeenSet;
363  };
364 
365 } // namespace Model
366 } // namespace SES
367 } // namespace Aws
Aws::SES::Model::CreateCustomVerificationEmailTemplateRequest::WithFailureRedirectionURL
CreateCustomVerificationEmailTemplateRequest & WithFailureRedirectionURL(const Aws::String &value)
Definition: CreateCustomVerificationEmailTemplateRequest.h:330
Aws::SES::Model::CreateCustomVerificationEmailTemplateRequest::SetFailureRedirectionURL
void SetFailureRedirectionURL(Aws::String &&value)
Definition: CreateCustomVerificationEmailTemplateRequest.h:318
Aws::Http::URI
Definition: URI.h:32
Aws::SES::Model::CreateCustomVerificationEmailTemplateRequest::GetSuccessRedirectionURL
const Aws::String & GetSuccessRedirectionURL() const
Definition: CreateCustomVerificationEmailTemplateRequest.h:251
Aws::SES::Model::CreateCustomVerificationEmailTemplateRequest::GetTemplateContent
const Aws::String & GetTemplateContent() const
Definition: CreateCustomVerificationEmailTemplateRequest.h:174
Aws::SES::Model::CreateCustomVerificationEmailTemplateRequest::WithSuccessRedirectionURL
CreateCustomVerificationEmailTemplateRequest & WithSuccessRedirectionURL(const Aws::String &value)
Definition: CreateCustomVerificationEmailTemplateRequest.h:281
Aws::SES::Model::CreateCustomVerificationEmailTemplateRequest::FailureRedirectionURLHasBeenSet
bool FailureRedirectionURLHasBeenSet() const
Definition: CreateCustomVerificationEmailTemplateRequest.h:306
Aws::SES::Model::CreateCustomVerificationEmailTemplateRequest::SetSuccessRedirectionURL
void SetSuccessRedirectionURL(Aws::String &&value)
Definition: CreateCustomVerificationEmailTemplateRequest.h:269
Aws::SES::Model::CreateCustomVerificationEmailTemplateRequest::GetTemplateName
const Aws::String & GetTemplateName() const
Definition: CreateCustomVerificationEmailTemplateRequest.h:46
Aws::SES::Model::CreateCustomVerificationEmailTemplateRequest::SetTemplateName
void SetTemplateName(const Aws::String &value)
Definition: CreateCustomVerificationEmailTemplateRequest.h:56
Aws::SES::Model::CreateCustomVerificationEmailTemplateRequest::SetFailureRedirectionURL
void SetFailureRedirectionURL(const Aws::String &value)
Definition: CreateCustomVerificationEmailTemplateRequest.h:312
Aws::SES::Model::CreateCustomVerificationEmailTemplateRequest::WithTemplateContent
CreateCustomVerificationEmailTemplateRequest & WithTemplateContent(const char *value)
Definition: CreateCustomVerificationEmailTemplateRequest.h:244
Aws::SES::Model::CreateCustomVerificationEmailTemplateRequest::WithTemplateSubject
CreateCustomVerificationEmailTemplateRequest & WithTemplateSubject(const char *value)
Definition: CreateCustomVerificationEmailTemplateRequest.h:163
Aws::SES::Model::CreateCustomVerificationEmailTemplateRequest::SetTemplateSubject
void SetTemplateSubject(Aws::String &&value)
Definition: CreateCustomVerificationEmailTemplateRequest.h:143
Aws::SES::Model::CreateCustomVerificationEmailTemplateRequest::TemplateContentHasBeenSet
bool TemplateContentHasBeenSet() const
Definition: CreateCustomVerificationEmailTemplateRequest.h:184
Aws::SES::Model::CreateCustomVerificationEmailTemplateRequest::WithSuccessRedirectionURL
CreateCustomVerificationEmailTemplateRequest & WithSuccessRedirectionURL(const char *value)
Definition: CreateCustomVerificationEmailTemplateRequest.h:293
Aws::SES::Model::CreateCustomVerificationEmailTemplateRequest::SetTemplateContent
void SetTemplateContent(const Aws::String &value)
Definition: CreateCustomVerificationEmailTemplateRequest.h:194
Aws::SES::Model::CreateCustomVerificationEmailTemplateRequest::WithTemplateName
CreateCustomVerificationEmailTemplateRequest & WithTemplateName(const Aws::String &value)
Definition: CreateCustomVerificationEmailTemplateRequest.h:71
Aws::SES::Model::CreateCustomVerificationEmailTemplateRequest::WithFromEmailAddress
CreateCustomVerificationEmailTemplateRequest & WithFromEmailAddress(const char *value)
Definition: CreateCustomVerificationEmailTemplateRequest.h:122
Aws::SES::Model::CreateCustomVerificationEmailTemplateRequest
Definition: CreateCustomVerificationEmailTemplateRequest.h:26
Aws::SES::Model::CreateCustomVerificationEmailTemplateRequest::WithFromEmailAddress
CreateCustomVerificationEmailTemplateRequest & WithFromEmailAddress(const Aws::String &value)
Definition: CreateCustomVerificationEmailTemplateRequest.h:112
Aws::SES::Model::CreateCustomVerificationEmailTemplateRequest::WithTemplateSubject
CreateCustomVerificationEmailTemplateRequest & WithTemplateSubject(Aws::String &&value)
Definition: CreateCustomVerificationEmailTemplateRequest.h:158
Aws::SES::Model::CreateCustomVerificationEmailTemplateRequest::FromEmailAddressHasBeenSet
bool FromEmailAddressHasBeenSet() const
Definition: CreateCustomVerificationEmailTemplateRequest.h:92
SESRequest.h
Aws::SES::Model::CreateCustomVerificationEmailTemplateRequest::SetFromEmailAddress
void SetFromEmailAddress(const char *value)
Definition: CreateCustomVerificationEmailTemplateRequest.h:107
Aws::SES::Model::CreateCustomVerificationEmailTemplateRequest::SuccessRedirectionURLHasBeenSet
bool SuccessRedirectionURLHasBeenSet() const
Definition: CreateCustomVerificationEmailTemplateRequest.h:257
Aws::SES::Model::CreateCustomVerificationEmailTemplateRequest::GetFromEmailAddress
const Aws::String & GetFromEmailAddress() const
Definition: CreateCustomVerificationEmailTemplateRequest.h:87
Aws::SES::Model::CreateCustomVerificationEmailTemplateRequest::DumpBodyToUrl
void DumpBodyToUrl(Aws::Http::URI &uri) const override
AWSString.h
Aws::SES::Model::CreateCustomVerificationEmailTemplateRequest::SetFromEmailAddress
void SetFromEmailAddress(Aws::String &&value)
Definition: CreateCustomVerificationEmailTemplateRequest.h:102
Aws::SES::Model::CreateCustomVerificationEmailTemplateRequest::WithTemplateName
CreateCustomVerificationEmailTemplateRequest & WithTemplateName(Aws::String &&value)
Definition: CreateCustomVerificationEmailTemplateRequest.h:76
Aws::SES::Model::CreateCustomVerificationEmailTemplateRequest::WithTemplateContent
CreateCustomVerificationEmailTemplateRequest & WithTemplateContent(Aws::String &&value)
Definition: CreateCustomVerificationEmailTemplateRequest.h:234
Aws::SES::Model::CreateCustomVerificationEmailTemplateRequest::SerializePayload
Aws::String SerializePayload() const override
Aws::SES::Model::CreateCustomVerificationEmailTemplateRequest::WithFailureRedirectionURL
CreateCustomVerificationEmailTemplateRequest & WithFailureRedirectionURL(Aws::String &&value)
Definition: CreateCustomVerificationEmailTemplateRequest.h:336
SES_EXPORTS.h
Aws::SES::Model::CreateCustomVerificationEmailTemplateRequest::WithTemplateName
CreateCustomVerificationEmailTemplateRequest & WithTemplateName(const char *value)
Definition: CreateCustomVerificationEmailTemplateRequest.h:81
Aws::SES::Model::CreateCustomVerificationEmailTemplateRequest::GetTemplateSubject
const Aws::String & GetTemplateSubject() const
Definition: CreateCustomVerificationEmailTemplateRequest.h:128
AWS_SES_API
#define AWS_SES_API
Definition: SES_EXPORTS.h:28
Aws::SES::Model::CreateCustomVerificationEmailTemplateRequest::WithFromEmailAddress
CreateCustomVerificationEmailTemplateRequest & WithFromEmailAddress(Aws::String &&value)
Definition: CreateCustomVerificationEmailTemplateRequest.h:117
Aws::SES::Model::CreateCustomVerificationEmailTemplateRequest::WithTemplateSubject
CreateCustomVerificationEmailTemplateRequest & WithTemplateSubject(const Aws::String &value)
Definition: CreateCustomVerificationEmailTemplateRequest.h:153
Aws::SES::Model::CreateCustomVerificationEmailTemplateRequest::SetFromEmailAddress
void SetFromEmailAddress(const Aws::String &value)
Definition: CreateCustomVerificationEmailTemplateRequest.h:97
Aws::SES::Model::CreateCustomVerificationEmailTemplateRequest::GetFailureRedirectionURL
const Aws::String & GetFailureRedirectionURL() const
Definition: CreateCustomVerificationEmailTemplateRequest.h:300
Aws::SES::SESRequest
Definition: SESRequest.h:17
Aws::SES::Model::CreateCustomVerificationEmailTemplateRequest::SetSuccessRedirectionURL
void SetSuccessRedirectionURL(const char *value)
Definition: CreateCustomVerificationEmailTemplateRequest.h:275
Aws::SES::Model::CreateCustomVerificationEmailTemplateRequest::TemplateSubjectHasBeenSet
bool TemplateSubjectHasBeenSet() const
Definition: CreateCustomVerificationEmailTemplateRequest.h:133
Aws::SES::Model::CreateCustomVerificationEmailTemplateRequest::SetSuccessRedirectionURL
void SetSuccessRedirectionURL(const Aws::String &value)
Definition: CreateCustomVerificationEmailTemplateRequest.h:263
Aws
Definition: AccessManagementClient.h:15
Aws::SES::Model::CreateCustomVerificationEmailTemplateRequest::WithFailureRedirectionURL
CreateCustomVerificationEmailTemplateRequest & WithFailureRedirectionURL(const char *value)
Definition: CreateCustomVerificationEmailTemplateRequest.h:342
Aws::SES::Model::CreateCustomVerificationEmailTemplateRequest::SetTemplateSubject
void SetTemplateSubject(const char *value)
Definition: CreateCustomVerificationEmailTemplateRequest.h:148
Aws::String
std::basic_string< char, std::char_traits< char >, Aws::Allocator< char > > String
Definition: AWSString.h:97
Aws::SES::Model::CreateCustomVerificationEmailTemplateRequest::SetFailureRedirectionURL
void SetFailureRedirectionURL(const char *value)
Definition: CreateCustomVerificationEmailTemplateRequest.h:324
Aws::SES::Model::CreateCustomVerificationEmailTemplateRequest::SetTemplateSubject
void SetTemplateSubject(const Aws::String &value)
Definition: CreateCustomVerificationEmailTemplateRequest.h:138
Aws::SES::Model::CreateCustomVerificationEmailTemplateRequest::GetServiceRequestName
virtual const char * GetServiceRequestName() const override
Definition: CreateCustomVerificationEmailTemplateRequest.h:34
Aws::SES::Model::CreateCustomVerificationEmailTemplateRequest::SetTemplateContent
void SetTemplateContent(const char *value)
Definition: CreateCustomVerificationEmailTemplateRequest.h:214
Aws::SES::Model::CreateCustomVerificationEmailTemplateRequest::TemplateNameHasBeenSet
bool TemplateNameHasBeenSet() const
Definition: CreateCustomVerificationEmailTemplateRequest.h:51
Aws::SES::Model::CreateCustomVerificationEmailTemplateRequest::SetTemplateName
void SetTemplateName(Aws::String &&value)
Definition: CreateCustomVerificationEmailTemplateRequest.h:61
Aws::SES::Model::CreateCustomVerificationEmailTemplateRequest::CreateCustomVerificationEmailTemplateRequest
CreateCustomVerificationEmailTemplateRequest()
Aws::SES::Model::CreateCustomVerificationEmailTemplateRequest::SetTemplateName
void SetTemplateName(const char *value)
Definition: CreateCustomVerificationEmailTemplateRequest.h:66
Aws::SES::Model::CreateCustomVerificationEmailTemplateRequest::SetTemplateContent
void SetTemplateContent(Aws::String &&value)
Definition: CreateCustomVerificationEmailTemplateRequest.h:204
Aws::SES::Model::CreateCustomVerificationEmailTemplateRequest::WithSuccessRedirectionURL
CreateCustomVerificationEmailTemplateRequest & WithSuccessRedirectionURL(Aws::String &&value)
Definition: CreateCustomVerificationEmailTemplateRequest.h:287
Aws::SES::Model::CreateCustomVerificationEmailTemplateRequest::WithTemplateContent
CreateCustomVerificationEmailTemplateRequest & WithTemplateContent(const Aws::String &value)
Definition: CreateCustomVerificationEmailTemplateRequest.h:224