AWS SDK for C++  1.9.156
AWS SDK for C++
CreateCustomVerificationEmailTemplateRequest.h
Go to the documentation of this file.
1 
6 #pragma once
10 #include <utility>
11 
12 namespace Aws
13 {
14 namespace SESV2
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 
42  inline const Aws::String& GetTemplateName() const{ return m_templateName; }
43 
47  inline bool TemplateNameHasBeenSet() const { return m_templateNameHasBeenSet; }
48 
52  inline void SetTemplateName(const Aws::String& value) { m_templateNameHasBeenSet = true; m_templateName = value; }
53 
57  inline void SetTemplateName(Aws::String&& value) { m_templateNameHasBeenSet = true; m_templateName = std::move(value); }
58 
62  inline void SetTemplateName(const char* value) { m_templateNameHasBeenSet = true; m_templateName.assign(value); }
63 
67  inline CreateCustomVerificationEmailTemplateRequest& WithTemplateName(const Aws::String& value) { SetTemplateName(value); return *this;}
68 
72  inline CreateCustomVerificationEmailTemplateRequest& WithTemplateName(Aws::String&& value) { SetTemplateName(std::move(value)); return *this;}
73 
77  inline CreateCustomVerificationEmailTemplateRequest& WithTemplateName(const char* value) { SetTemplateName(value); return *this;}
78 
79 
83  inline const Aws::String& GetFromEmailAddress() const{ return m_fromEmailAddress; }
84 
88  inline bool FromEmailAddressHasBeenSet() const { return m_fromEmailAddressHasBeenSet; }
89 
93  inline void SetFromEmailAddress(const Aws::String& value) { m_fromEmailAddressHasBeenSet = true; m_fromEmailAddress = value; }
94 
98  inline void SetFromEmailAddress(Aws::String&& value) { m_fromEmailAddressHasBeenSet = true; m_fromEmailAddress = std::move(value); }
99 
103  inline void SetFromEmailAddress(const char* value) { m_fromEmailAddressHasBeenSet = true; m_fromEmailAddress.assign(value); }
104 
108  inline CreateCustomVerificationEmailTemplateRequest& WithFromEmailAddress(const Aws::String& value) { SetFromEmailAddress(value); return *this;}
109 
113  inline CreateCustomVerificationEmailTemplateRequest& WithFromEmailAddress(Aws::String&& value) { SetFromEmailAddress(std::move(value)); return *this;}
114 
118  inline CreateCustomVerificationEmailTemplateRequest& WithFromEmailAddress(const char* value) { SetFromEmailAddress(value); return *this;}
119 
120 
124  inline const Aws::String& GetTemplateSubject() const{ return m_templateSubject; }
125 
129  inline bool TemplateSubjectHasBeenSet() const { return m_templateSubjectHasBeenSet; }
130 
134  inline void SetTemplateSubject(const Aws::String& value) { m_templateSubjectHasBeenSet = true; m_templateSubject = value; }
135 
139  inline void SetTemplateSubject(Aws::String&& value) { m_templateSubjectHasBeenSet = true; m_templateSubject = std::move(value); }
140 
144  inline void SetTemplateSubject(const char* value) { m_templateSubjectHasBeenSet = true; m_templateSubject.assign(value); }
145 
149  inline CreateCustomVerificationEmailTemplateRequest& WithTemplateSubject(const Aws::String& value) { SetTemplateSubject(value); return *this;}
150 
154  inline CreateCustomVerificationEmailTemplateRequest& WithTemplateSubject(Aws::String&& value) { SetTemplateSubject(std::move(value)); return *this;}
155 
159  inline CreateCustomVerificationEmailTemplateRequest& WithTemplateSubject(const char* value) { SetTemplateSubject(value); return *this;}
160 
161 
170  inline const Aws::String& GetTemplateContent() const{ return m_templateContent; }
171 
180  inline bool TemplateContentHasBeenSet() const { return m_templateContentHasBeenSet; }
181 
190  inline void SetTemplateContent(const Aws::String& value) { m_templateContentHasBeenSet = true; m_templateContent = value; }
191 
200  inline void SetTemplateContent(Aws::String&& value) { m_templateContentHasBeenSet = true; m_templateContent = std::move(value); }
201 
210  inline void SetTemplateContent(const char* value) { m_templateContentHasBeenSet = true; m_templateContent.assign(value); }
211 
220  inline CreateCustomVerificationEmailTemplateRequest& WithTemplateContent(const Aws::String& value) { SetTemplateContent(value); return *this;}
221 
230  inline CreateCustomVerificationEmailTemplateRequest& WithTemplateContent(Aws::String&& value) { SetTemplateContent(std::move(value)); return *this;}
231 
240  inline CreateCustomVerificationEmailTemplateRequest& WithTemplateContent(const char* value) { SetTemplateContent(value); return *this;}
241 
242 
247  inline const Aws::String& GetSuccessRedirectionURL() const{ return m_successRedirectionURL; }
248 
253  inline bool SuccessRedirectionURLHasBeenSet() const { return m_successRedirectionURLHasBeenSet; }
254 
259  inline void SetSuccessRedirectionURL(const Aws::String& value) { m_successRedirectionURLHasBeenSet = true; m_successRedirectionURL = value; }
260 
265  inline void SetSuccessRedirectionURL(Aws::String&& value) { m_successRedirectionURLHasBeenSet = true; m_successRedirectionURL = std::move(value); }
266 
271  inline void SetSuccessRedirectionURL(const char* value) { m_successRedirectionURLHasBeenSet = true; m_successRedirectionURL.assign(value); }
272 
277  inline CreateCustomVerificationEmailTemplateRequest& WithSuccessRedirectionURL(const Aws::String& value) { SetSuccessRedirectionURL(value); return *this;}
278 
283  inline CreateCustomVerificationEmailTemplateRequest& WithSuccessRedirectionURL(Aws::String&& value) { SetSuccessRedirectionURL(std::move(value)); return *this;}
284 
289  inline CreateCustomVerificationEmailTemplateRequest& WithSuccessRedirectionURL(const char* value) { SetSuccessRedirectionURL(value); return *this;}
290 
291 
296  inline const Aws::String& GetFailureRedirectionURL() const{ return m_failureRedirectionURL; }
297 
302  inline bool FailureRedirectionURLHasBeenSet() const { return m_failureRedirectionURLHasBeenSet; }
303 
308  inline void SetFailureRedirectionURL(const Aws::String& value) { m_failureRedirectionURLHasBeenSet = true; m_failureRedirectionURL = value; }
309 
314  inline void SetFailureRedirectionURL(Aws::String&& value) { m_failureRedirectionURLHasBeenSet = true; m_failureRedirectionURL = std::move(value); }
315 
320  inline void SetFailureRedirectionURL(const char* value) { m_failureRedirectionURLHasBeenSet = true; m_failureRedirectionURL.assign(value); }
321 
326  inline CreateCustomVerificationEmailTemplateRequest& WithFailureRedirectionURL(const Aws::String& value) { SetFailureRedirectionURL(value); return *this;}
327 
332  inline CreateCustomVerificationEmailTemplateRequest& WithFailureRedirectionURL(Aws::String&& value) { SetFailureRedirectionURL(std::move(value)); return *this;}
333 
338  inline CreateCustomVerificationEmailTemplateRequest& WithFailureRedirectionURL(const char* value) { SetFailureRedirectionURL(value); return *this;}
339 
340  private:
341 
342  Aws::String m_templateName;
343  bool m_templateNameHasBeenSet;
344 
345  Aws::String m_fromEmailAddress;
346  bool m_fromEmailAddressHasBeenSet;
347 
348  Aws::String m_templateSubject;
349  bool m_templateSubjectHasBeenSet;
350 
351  Aws::String m_templateContent;
352  bool m_templateContentHasBeenSet;
353 
354  Aws::String m_successRedirectionURL;
355  bool m_successRedirectionURLHasBeenSet;
356 
357  Aws::String m_failureRedirectionURL;
358  bool m_failureRedirectionURLHasBeenSet;
359  };
360 
361 } // namespace Model
362 } // namespace SESV2
363 } // namespace Aws
AWS_SESV2_API
#define AWS_SESV2_API
Definition: SESV2_EXPORTS.h:28
Aws::SESV2::Model::CreateCustomVerificationEmailTemplateRequest::WithTemplateContent
CreateCustomVerificationEmailTemplateRequest & WithTemplateContent(const Aws::String &value)
Definition: CreateCustomVerificationEmailTemplateRequest.h:220
Aws::SESV2::Model::CreateCustomVerificationEmailTemplateRequest::WithSuccessRedirectionURL
CreateCustomVerificationEmailTemplateRequest & WithSuccessRedirectionURL(const Aws::String &value)
Definition: CreateCustomVerificationEmailTemplateRequest.h:277
Aws::SESV2::Model::CreateCustomVerificationEmailTemplateRequest::GetFromEmailAddress
const Aws::String & GetFromEmailAddress() const
Definition: CreateCustomVerificationEmailTemplateRequest.h:83
Aws::SESV2::Model::CreateCustomVerificationEmailTemplateRequest
Definition: CreateCustomVerificationEmailTemplateRequest.h:26
Aws::SESV2::Model::CreateCustomVerificationEmailTemplateRequest::WithFromEmailAddress
CreateCustomVerificationEmailTemplateRequest & WithFromEmailAddress(const Aws::String &value)
Definition: CreateCustomVerificationEmailTemplateRequest.h:108
Aws::SESV2::Model::CreateCustomVerificationEmailTemplateRequest::GetTemplateSubject
const Aws::String & GetTemplateSubject() const
Definition: CreateCustomVerificationEmailTemplateRequest.h:124
Aws::SESV2::Model::CreateCustomVerificationEmailTemplateRequest::SetSuccessRedirectionURL
void SetSuccessRedirectionURL(Aws::String &&value)
Definition: CreateCustomVerificationEmailTemplateRequest.h:265
Aws::SESV2::Model::CreateCustomVerificationEmailTemplateRequest::SetTemplateSubject
void SetTemplateSubject(Aws::String &&value)
Definition: CreateCustomVerificationEmailTemplateRequest.h:139
Aws::SESV2::Model::CreateCustomVerificationEmailTemplateRequest::SetFailureRedirectionURL
void SetFailureRedirectionURL(const char *value)
Definition: CreateCustomVerificationEmailTemplateRequest.h:320
Aws::SESV2::Model::CreateCustomVerificationEmailTemplateRequest::CreateCustomVerificationEmailTemplateRequest
CreateCustomVerificationEmailTemplateRequest()
Aws::SESV2::Model::CreateCustomVerificationEmailTemplateRequest::SuccessRedirectionURLHasBeenSet
bool SuccessRedirectionURLHasBeenSet() const
Definition: CreateCustomVerificationEmailTemplateRequest.h:253
Aws::SESV2::Model::CreateCustomVerificationEmailTemplateRequest::WithSuccessRedirectionURL
CreateCustomVerificationEmailTemplateRequest & WithSuccessRedirectionURL(Aws::String &&value)
Definition: CreateCustomVerificationEmailTemplateRequest.h:283
Aws::SESV2::Model::CreateCustomVerificationEmailTemplateRequest::FromEmailAddressHasBeenSet
bool FromEmailAddressHasBeenSet() const
Definition: CreateCustomVerificationEmailTemplateRequest.h:88
Aws::SESV2::Model::CreateCustomVerificationEmailTemplateRequest::SetFailureRedirectionURL
void SetFailureRedirectionURL(const Aws::String &value)
Definition: CreateCustomVerificationEmailTemplateRequest.h:308
Aws::SESV2::Model::CreateCustomVerificationEmailTemplateRequest::WithTemplateContent
CreateCustomVerificationEmailTemplateRequest & WithTemplateContent(const char *value)
Definition: CreateCustomVerificationEmailTemplateRequest.h:240
Aws::SESV2::Model::CreateCustomVerificationEmailTemplateRequest::GetTemplateContent
const Aws::String & GetTemplateContent() const
Definition: CreateCustomVerificationEmailTemplateRequest.h:170
Aws::SESV2::Model::CreateCustomVerificationEmailTemplateRequest::WithFailureRedirectionURL
CreateCustomVerificationEmailTemplateRequest & WithFailureRedirectionURL(Aws::String &&value)
Definition: CreateCustomVerificationEmailTemplateRequest.h:332
Aws::SESV2::Model::CreateCustomVerificationEmailTemplateRequest::SetTemplateSubject
void SetTemplateSubject(const Aws::String &value)
Definition: CreateCustomVerificationEmailTemplateRequest.h:134
Aws::SESV2::Model::CreateCustomVerificationEmailTemplateRequest::WithFromEmailAddress
CreateCustomVerificationEmailTemplateRequest & WithFromEmailAddress(Aws::String &&value)
Definition: CreateCustomVerificationEmailTemplateRequest.h:113
Aws::SESV2::Model::CreateCustomVerificationEmailTemplateRequest::WithFromEmailAddress
CreateCustomVerificationEmailTemplateRequest & WithFromEmailAddress(const char *value)
Definition: CreateCustomVerificationEmailTemplateRequest.h:118
Aws::SESV2::Model::CreateCustomVerificationEmailTemplateRequest::TemplateNameHasBeenSet
bool TemplateNameHasBeenSet() const
Definition: CreateCustomVerificationEmailTemplateRequest.h:47
Aws::SESV2::Model::CreateCustomVerificationEmailTemplateRequest::SetSuccessRedirectionURL
void SetSuccessRedirectionURL(const char *value)
Definition: CreateCustomVerificationEmailTemplateRequest.h:271
Aws::SESV2::Model::CreateCustomVerificationEmailTemplateRequest::SetFailureRedirectionURL
void SetFailureRedirectionURL(Aws::String &&value)
Definition: CreateCustomVerificationEmailTemplateRequest.h:314
Aws::SESV2::Model::CreateCustomVerificationEmailTemplateRequest::WithTemplateName
CreateCustomVerificationEmailTemplateRequest & WithTemplateName(const char *value)
Definition: CreateCustomVerificationEmailTemplateRequest.h:77
Aws::SESV2::Model::CreateCustomVerificationEmailTemplateRequest::SetTemplateSubject
void SetTemplateSubject(const char *value)
Definition: CreateCustomVerificationEmailTemplateRequest.h:144
Aws::SESV2::Model::CreateCustomVerificationEmailTemplateRequest::WithTemplateName
CreateCustomVerificationEmailTemplateRequest & WithTemplateName(const Aws::String &value)
Definition: CreateCustomVerificationEmailTemplateRequest.h:67
Aws::SESV2::Model::CreateCustomVerificationEmailTemplateRequest::SetTemplateContent
void SetTemplateContent(const char *value)
Definition: CreateCustomVerificationEmailTemplateRequest.h:210
Aws::SESV2::Model::CreateCustomVerificationEmailTemplateRequest::WithTemplateContent
CreateCustomVerificationEmailTemplateRequest & WithTemplateContent(Aws::String &&value)
Definition: CreateCustomVerificationEmailTemplateRequest.h:230
Aws::SESV2::Model::CreateCustomVerificationEmailTemplateRequest::WithFailureRedirectionURL
CreateCustomVerificationEmailTemplateRequest & WithFailureRedirectionURL(const char *value)
Definition: CreateCustomVerificationEmailTemplateRequest.h:338
Aws::SESV2::SESV2Request
Definition: SESV2Request.h:17
AWSString.h
Aws::SESV2::Model::CreateCustomVerificationEmailTemplateRequest::SetFromEmailAddress
void SetFromEmailAddress(const Aws::String &value)
Definition: CreateCustomVerificationEmailTemplateRequest.h:93
Aws::SESV2::Model::CreateCustomVerificationEmailTemplateRequest::SetTemplateContent
void SetTemplateContent(Aws::String &&value)
Definition: CreateCustomVerificationEmailTemplateRequest.h:200
SESV2_EXPORTS.h
Aws::SESV2::Model::CreateCustomVerificationEmailTemplateRequest::WithTemplateSubject
CreateCustomVerificationEmailTemplateRequest & WithTemplateSubject(const Aws::String &value)
Definition: CreateCustomVerificationEmailTemplateRequest.h:149
Aws::SESV2::Model::CreateCustomVerificationEmailTemplateRequest::SetTemplateName
void SetTemplateName(const Aws::String &value)
Definition: CreateCustomVerificationEmailTemplateRequest.h:52
Aws::SESV2::Model::CreateCustomVerificationEmailTemplateRequest::WithSuccessRedirectionURL
CreateCustomVerificationEmailTemplateRequest & WithSuccessRedirectionURL(const char *value)
Definition: CreateCustomVerificationEmailTemplateRequest.h:289
Aws::SESV2::Model::CreateCustomVerificationEmailTemplateRequest::WithFailureRedirectionURL
CreateCustomVerificationEmailTemplateRequest & WithFailureRedirectionURL(const Aws::String &value)
Definition: CreateCustomVerificationEmailTemplateRequest.h:326
Aws::SESV2::Model::CreateCustomVerificationEmailTemplateRequest::SetFromEmailAddress
void SetFromEmailAddress(Aws::String &&value)
Definition: CreateCustomVerificationEmailTemplateRequest.h:98
Aws::SESV2::Model::CreateCustomVerificationEmailTemplateRequest::GetServiceRequestName
virtual const char * GetServiceRequestName() const override
Definition: CreateCustomVerificationEmailTemplateRequest.h:34
Aws::SESV2::Model::CreateCustomVerificationEmailTemplateRequest::GetFailureRedirectionURL
const Aws::String & GetFailureRedirectionURL() const
Definition: CreateCustomVerificationEmailTemplateRequest.h:296
Aws::SESV2::Model::CreateCustomVerificationEmailTemplateRequest::SerializePayload
Aws::String SerializePayload() const override
Aws::SESV2::Model::CreateCustomVerificationEmailTemplateRequest::SetTemplateContent
void SetTemplateContent(const Aws::String &value)
Definition: CreateCustomVerificationEmailTemplateRequest.h:190
Aws::SESV2::Model::CreateCustomVerificationEmailTemplateRequest::WithTemplateSubject
CreateCustomVerificationEmailTemplateRequest & WithTemplateSubject(Aws::String &&value)
Definition: CreateCustomVerificationEmailTemplateRequest.h:154
Aws
Definition: AccessManagementClient.h:15
Aws::SESV2::Model::CreateCustomVerificationEmailTemplateRequest::GetSuccessRedirectionURL
const Aws::String & GetSuccessRedirectionURL() const
Definition: CreateCustomVerificationEmailTemplateRequest.h:247
Aws::SESV2::Model::CreateCustomVerificationEmailTemplateRequest::TemplateSubjectHasBeenSet
bool TemplateSubjectHasBeenSet() const
Definition: CreateCustomVerificationEmailTemplateRequest.h:129
Aws::SESV2::Model::CreateCustomVerificationEmailTemplateRequest::SetFromEmailAddress
void SetFromEmailAddress(const char *value)
Definition: CreateCustomVerificationEmailTemplateRequest.h:103
Aws::SESV2::Model::CreateCustomVerificationEmailTemplateRequest::WithTemplateSubject
CreateCustomVerificationEmailTemplateRequest & WithTemplateSubject(const char *value)
Definition: CreateCustomVerificationEmailTemplateRequest.h:159
Aws::SESV2::Model::CreateCustomVerificationEmailTemplateRequest::FailureRedirectionURLHasBeenSet
bool FailureRedirectionURLHasBeenSet() const
Definition: CreateCustomVerificationEmailTemplateRequest.h:302
Aws::SESV2::Model::CreateCustomVerificationEmailTemplateRequest::SetTemplateName
void SetTemplateName(Aws::String &&value)
Definition: CreateCustomVerificationEmailTemplateRequest.h:57
Aws::String
std::basic_string< char, std::char_traits< char >, Aws::Allocator< char > > String
Definition: AWSString.h:97
Aws::SESV2::Model::CreateCustomVerificationEmailTemplateRequest::TemplateContentHasBeenSet
bool TemplateContentHasBeenSet() const
Definition: CreateCustomVerificationEmailTemplateRequest.h:180
SESV2Request.h
Aws::SESV2::Model::CreateCustomVerificationEmailTemplateRequest::WithTemplateName
CreateCustomVerificationEmailTemplateRequest & WithTemplateName(Aws::String &&value)
Definition: CreateCustomVerificationEmailTemplateRequest.h:72
Aws::SESV2::Model::CreateCustomVerificationEmailTemplateRequest::SetSuccessRedirectionURL
void SetSuccessRedirectionURL(const Aws::String &value)
Definition: CreateCustomVerificationEmailTemplateRequest.h:259
Aws::SESV2::Model::CreateCustomVerificationEmailTemplateRequest::GetTemplateName
const Aws::String & GetTemplateName() const
Definition: CreateCustomVerificationEmailTemplateRequest.h:42
Aws::SESV2::Model::CreateCustomVerificationEmailTemplateRequest::SetTemplateName
void SetTemplateName(const char *value)
Definition: CreateCustomVerificationEmailTemplateRequest.h:62