AWS SDK for C++  1.9.156
AWS SDK for C++
UpdateCustomVerificationEmailTemplateRequest.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 "UpdateCustomVerificationEmailTemplate"; }
35 
36  Aws::String SerializePayload() const override;
37 
38 
43  inline const Aws::String& GetTemplateName() const{ return m_templateName; }
44 
49  inline bool TemplateNameHasBeenSet() const { return m_templateNameHasBeenSet; }
50 
55  inline void SetTemplateName(const Aws::String& value) { m_templateNameHasBeenSet = true; m_templateName = value; }
56 
61  inline void SetTemplateName(Aws::String&& value) { m_templateNameHasBeenSet = true; m_templateName = std::move(value); }
62 
67  inline void SetTemplateName(const char* value) { m_templateNameHasBeenSet = true; m_templateName.assign(value); }
68 
73  inline UpdateCustomVerificationEmailTemplateRequest& WithTemplateName(const Aws::String& value) { SetTemplateName(value); return *this;}
74 
79  inline UpdateCustomVerificationEmailTemplateRequest& WithTemplateName(Aws::String&& value) { SetTemplateName(std::move(value)); return *this;}
80 
85  inline UpdateCustomVerificationEmailTemplateRequest& WithTemplateName(const char* value) { SetTemplateName(value); return *this;}
86 
87 
91  inline const Aws::String& GetFromEmailAddress() const{ return m_fromEmailAddress; }
92 
96  inline bool FromEmailAddressHasBeenSet() const { return m_fromEmailAddressHasBeenSet; }
97 
101  inline void SetFromEmailAddress(const Aws::String& value) { m_fromEmailAddressHasBeenSet = true; m_fromEmailAddress = value; }
102 
106  inline void SetFromEmailAddress(Aws::String&& value) { m_fromEmailAddressHasBeenSet = true; m_fromEmailAddress = std::move(value); }
107 
111  inline void SetFromEmailAddress(const char* value) { m_fromEmailAddressHasBeenSet = true; m_fromEmailAddress.assign(value); }
112 
116  inline UpdateCustomVerificationEmailTemplateRequest& WithFromEmailAddress(const Aws::String& value) { SetFromEmailAddress(value); return *this;}
117 
121  inline UpdateCustomVerificationEmailTemplateRequest& WithFromEmailAddress(Aws::String&& value) { SetFromEmailAddress(std::move(value)); return *this;}
122 
126  inline UpdateCustomVerificationEmailTemplateRequest& WithFromEmailAddress(const char* value) { SetFromEmailAddress(value); return *this;}
127 
128 
132  inline const Aws::String& GetTemplateSubject() const{ return m_templateSubject; }
133 
137  inline bool TemplateSubjectHasBeenSet() const { return m_templateSubjectHasBeenSet; }
138 
142  inline void SetTemplateSubject(const Aws::String& value) { m_templateSubjectHasBeenSet = true; m_templateSubject = value; }
143 
147  inline void SetTemplateSubject(Aws::String&& value) { m_templateSubjectHasBeenSet = true; m_templateSubject = std::move(value); }
148 
152  inline void SetTemplateSubject(const char* value) { m_templateSubjectHasBeenSet = true; m_templateSubject.assign(value); }
153 
157  inline UpdateCustomVerificationEmailTemplateRequest& WithTemplateSubject(const Aws::String& value) { SetTemplateSubject(value); return *this;}
158 
162  inline UpdateCustomVerificationEmailTemplateRequest& WithTemplateSubject(Aws::String&& value) { SetTemplateSubject(std::move(value)); return *this;}
163 
167  inline UpdateCustomVerificationEmailTemplateRequest& WithTemplateSubject(const char* value) { SetTemplateSubject(value); return *this;}
168 
169 
178  inline const Aws::String& GetTemplateContent() const{ return m_templateContent; }
179 
188  inline bool TemplateContentHasBeenSet() const { return m_templateContentHasBeenSet; }
189 
198  inline void SetTemplateContent(const Aws::String& value) { m_templateContentHasBeenSet = true; m_templateContent = value; }
199 
208  inline void SetTemplateContent(Aws::String&& value) { m_templateContentHasBeenSet = true; m_templateContent = std::move(value); }
209 
218  inline void SetTemplateContent(const char* value) { m_templateContentHasBeenSet = true; m_templateContent.assign(value); }
219 
228  inline UpdateCustomVerificationEmailTemplateRequest& WithTemplateContent(const Aws::String& value) { SetTemplateContent(value); return *this;}
229 
238  inline UpdateCustomVerificationEmailTemplateRequest& WithTemplateContent(Aws::String&& value) { SetTemplateContent(std::move(value)); return *this;}
239 
248  inline UpdateCustomVerificationEmailTemplateRequest& WithTemplateContent(const char* value) { SetTemplateContent(value); return *this;}
249 
250 
255  inline const Aws::String& GetSuccessRedirectionURL() const{ return m_successRedirectionURL; }
256 
261  inline bool SuccessRedirectionURLHasBeenSet() const { return m_successRedirectionURLHasBeenSet; }
262 
267  inline void SetSuccessRedirectionURL(const Aws::String& value) { m_successRedirectionURLHasBeenSet = true; m_successRedirectionURL = value; }
268 
273  inline void SetSuccessRedirectionURL(Aws::String&& value) { m_successRedirectionURLHasBeenSet = true; m_successRedirectionURL = std::move(value); }
274 
279  inline void SetSuccessRedirectionURL(const char* value) { m_successRedirectionURLHasBeenSet = true; m_successRedirectionURL.assign(value); }
280 
285  inline UpdateCustomVerificationEmailTemplateRequest& WithSuccessRedirectionURL(const Aws::String& value) { SetSuccessRedirectionURL(value); return *this;}
286 
291  inline UpdateCustomVerificationEmailTemplateRequest& WithSuccessRedirectionURL(Aws::String&& value) { SetSuccessRedirectionURL(std::move(value)); return *this;}
292 
297  inline UpdateCustomVerificationEmailTemplateRequest& WithSuccessRedirectionURL(const char* value) { SetSuccessRedirectionURL(value); return *this;}
298 
299 
304  inline const Aws::String& GetFailureRedirectionURL() const{ return m_failureRedirectionURL; }
305 
310  inline bool FailureRedirectionURLHasBeenSet() const { return m_failureRedirectionURLHasBeenSet; }
311 
316  inline void SetFailureRedirectionURL(const Aws::String& value) { m_failureRedirectionURLHasBeenSet = true; m_failureRedirectionURL = value; }
317 
322  inline void SetFailureRedirectionURL(Aws::String&& value) { m_failureRedirectionURLHasBeenSet = true; m_failureRedirectionURL = std::move(value); }
323 
328  inline void SetFailureRedirectionURL(const char* value) { m_failureRedirectionURLHasBeenSet = true; m_failureRedirectionURL.assign(value); }
329 
334  inline UpdateCustomVerificationEmailTemplateRequest& WithFailureRedirectionURL(const Aws::String& value) { SetFailureRedirectionURL(value); return *this;}
335 
340  inline UpdateCustomVerificationEmailTemplateRequest& WithFailureRedirectionURL(Aws::String&& value) { SetFailureRedirectionURL(std::move(value)); return *this;}
341 
346  inline UpdateCustomVerificationEmailTemplateRequest& WithFailureRedirectionURL(const char* value) { SetFailureRedirectionURL(value); return *this;}
347 
348  private:
349 
350  Aws::String m_templateName;
351  bool m_templateNameHasBeenSet;
352 
353  Aws::String m_fromEmailAddress;
354  bool m_fromEmailAddressHasBeenSet;
355 
356  Aws::String m_templateSubject;
357  bool m_templateSubjectHasBeenSet;
358 
359  Aws::String m_templateContent;
360  bool m_templateContentHasBeenSet;
361 
362  Aws::String m_successRedirectionURL;
363  bool m_successRedirectionURLHasBeenSet;
364 
365  Aws::String m_failureRedirectionURL;
366  bool m_failureRedirectionURLHasBeenSet;
367  };
368 
369 } // namespace Model
370 } // namespace SESV2
371 } // namespace Aws
Aws::SESV2::Model::UpdateCustomVerificationEmailTemplateRequest::WithTemplateSubject
UpdateCustomVerificationEmailTemplateRequest & WithTemplateSubject(const char *value)
Definition: UpdateCustomVerificationEmailTemplateRequest.h:167
Aws::SESV2::Model::UpdateCustomVerificationEmailTemplateRequest::SetTemplateSubject
void SetTemplateSubject(Aws::String &&value)
Definition: UpdateCustomVerificationEmailTemplateRequest.h:147
AWS_SESV2_API
#define AWS_SESV2_API
Definition: SESV2_EXPORTS.h:28
Aws::SESV2::Model::UpdateCustomVerificationEmailTemplateRequest::WithFailureRedirectionURL
UpdateCustomVerificationEmailTemplateRequest & WithFailureRedirectionURL(const char *value)
Definition: UpdateCustomVerificationEmailTemplateRequest.h:346
Aws::SESV2::Model::UpdateCustomVerificationEmailTemplateRequest::WithTemplateName
UpdateCustomVerificationEmailTemplateRequest & WithTemplateName(const Aws::String &value)
Definition: UpdateCustomVerificationEmailTemplateRequest.h:73
Aws::SESV2::Model::UpdateCustomVerificationEmailTemplateRequest::WithFromEmailAddress
UpdateCustomVerificationEmailTemplateRequest & WithFromEmailAddress(const char *value)
Definition: UpdateCustomVerificationEmailTemplateRequest.h:126
Aws::SESV2::Model::UpdateCustomVerificationEmailTemplateRequest::WithTemplateName
UpdateCustomVerificationEmailTemplateRequest & WithTemplateName(const char *value)
Definition: UpdateCustomVerificationEmailTemplateRequest.h:85
Aws::SESV2::Model::UpdateCustomVerificationEmailTemplateRequest::SetTemplateContent
void SetTemplateContent(Aws::String &&value)
Definition: UpdateCustomVerificationEmailTemplateRequest.h:208
Aws::SESV2::Model::UpdateCustomVerificationEmailTemplateRequest::GetTemplateName
const Aws::String & GetTemplateName() const
Definition: UpdateCustomVerificationEmailTemplateRequest.h:43
Aws::SESV2::Model::UpdateCustomVerificationEmailTemplateRequest::SetSuccessRedirectionURL
void SetSuccessRedirectionURL(const Aws::String &value)
Definition: UpdateCustomVerificationEmailTemplateRequest.h:267
Aws::SESV2::Model::UpdateCustomVerificationEmailTemplateRequest::SetFailureRedirectionURL
void SetFailureRedirectionURL(const Aws::String &value)
Definition: UpdateCustomVerificationEmailTemplateRequest.h:316
Aws::SESV2::Model::UpdateCustomVerificationEmailTemplateRequest
Definition: UpdateCustomVerificationEmailTemplateRequest.h:26
Aws::SESV2::Model::UpdateCustomVerificationEmailTemplateRequest::WithFromEmailAddress
UpdateCustomVerificationEmailTemplateRequest & WithFromEmailAddress(Aws::String &&value)
Definition: UpdateCustomVerificationEmailTemplateRequest.h:121
Aws::SESV2::Model::UpdateCustomVerificationEmailTemplateRequest::GetFailureRedirectionURL
const Aws::String & GetFailureRedirectionURL() const
Definition: UpdateCustomVerificationEmailTemplateRequest.h:304
Aws::SESV2::Model::UpdateCustomVerificationEmailTemplateRequest::WithTemplateContent
UpdateCustomVerificationEmailTemplateRequest & WithTemplateContent(const char *value)
Definition: UpdateCustomVerificationEmailTemplateRequest.h:248
Aws::SESV2::Model::UpdateCustomVerificationEmailTemplateRequest::SetSuccessRedirectionURL
void SetSuccessRedirectionURL(Aws::String &&value)
Definition: UpdateCustomVerificationEmailTemplateRequest.h:273
Aws::SESV2::Model::UpdateCustomVerificationEmailTemplateRequest::WithSuccessRedirectionURL
UpdateCustomVerificationEmailTemplateRequest & WithSuccessRedirectionURL(const char *value)
Definition: UpdateCustomVerificationEmailTemplateRequest.h:297
Aws::SESV2::Model::UpdateCustomVerificationEmailTemplateRequest::SuccessRedirectionURLHasBeenSet
bool SuccessRedirectionURLHasBeenSet() const
Definition: UpdateCustomVerificationEmailTemplateRequest.h:261
Aws::SESV2::Model::UpdateCustomVerificationEmailTemplateRequest::WithTemplateName
UpdateCustomVerificationEmailTemplateRequest & WithTemplateName(Aws::String &&value)
Definition: UpdateCustomVerificationEmailTemplateRequest.h:79
Aws::SESV2::Model::UpdateCustomVerificationEmailTemplateRequest::WithTemplateSubject
UpdateCustomVerificationEmailTemplateRequest & WithTemplateSubject(const Aws::String &value)
Definition: UpdateCustomVerificationEmailTemplateRequest.h:157
Aws::SESV2::Model::UpdateCustomVerificationEmailTemplateRequest::WithSuccessRedirectionURL
UpdateCustomVerificationEmailTemplateRequest & WithSuccessRedirectionURL(const Aws::String &value)
Definition: UpdateCustomVerificationEmailTemplateRequest.h:285
Aws::SESV2::Model::UpdateCustomVerificationEmailTemplateRequest::WithTemplateSubject
UpdateCustomVerificationEmailTemplateRequest & WithTemplateSubject(Aws::String &&value)
Definition: UpdateCustomVerificationEmailTemplateRequest.h:162
Aws::SESV2::Model::UpdateCustomVerificationEmailTemplateRequest::SetTemplateSubject
void SetTemplateSubject(const Aws::String &value)
Definition: UpdateCustomVerificationEmailTemplateRequest.h:142
Aws::SESV2::Model::UpdateCustomVerificationEmailTemplateRequest::GetTemplateContent
const Aws::String & GetTemplateContent() const
Definition: UpdateCustomVerificationEmailTemplateRequest.h:178
Aws::SESV2::Model::UpdateCustomVerificationEmailTemplateRequest::GetTemplateSubject
const Aws::String & GetTemplateSubject() const
Definition: UpdateCustomVerificationEmailTemplateRequest.h:132
Aws::SESV2::Model::UpdateCustomVerificationEmailTemplateRequest::SetFromEmailAddress
void SetFromEmailAddress(const char *value)
Definition: UpdateCustomVerificationEmailTemplateRequest.h:111
Aws::SESV2::Model::UpdateCustomVerificationEmailTemplateRequest::WithFailureRedirectionURL
UpdateCustomVerificationEmailTemplateRequest & WithFailureRedirectionURL(const Aws::String &value)
Definition: UpdateCustomVerificationEmailTemplateRequest.h:334
Aws::SESV2::SESV2Request
Definition: SESV2Request.h:17
Aws::SESV2::Model::UpdateCustomVerificationEmailTemplateRequest::WithTemplateContent
UpdateCustomVerificationEmailTemplateRequest & WithTemplateContent(const Aws::String &value)
Definition: UpdateCustomVerificationEmailTemplateRequest.h:228
Aws::SESV2::Model::UpdateCustomVerificationEmailTemplateRequest::SetFromEmailAddress
void SetFromEmailAddress(Aws::String &&value)
Definition: UpdateCustomVerificationEmailTemplateRequest.h:106
AWSString.h
Aws::SESV2::Model::UpdateCustomVerificationEmailTemplateRequest::SetTemplateName
void SetTemplateName(const char *value)
Definition: UpdateCustomVerificationEmailTemplateRequest.h:67
Aws::SESV2::Model::UpdateCustomVerificationEmailTemplateRequest::SetTemplateSubject
void SetTemplateSubject(const char *value)
Definition: UpdateCustomVerificationEmailTemplateRequest.h:152
SESV2_EXPORTS.h
Aws::SESV2::Model::UpdateCustomVerificationEmailTemplateRequest::GetSuccessRedirectionURL
const Aws::String & GetSuccessRedirectionURL() const
Definition: UpdateCustomVerificationEmailTemplateRequest.h:255
Aws::SESV2::Model::UpdateCustomVerificationEmailTemplateRequest::GetFromEmailAddress
const Aws::String & GetFromEmailAddress() const
Definition: UpdateCustomVerificationEmailTemplateRequest.h:91
Aws::SESV2::Model::UpdateCustomVerificationEmailTemplateRequest::SetFailureRedirectionURL
void SetFailureRedirectionURL(Aws::String &&value)
Definition: UpdateCustomVerificationEmailTemplateRequest.h:322
Aws::SESV2::Model::UpdateCustomVerificationEmailTemplateRequest::SetFromEmailAddress
void SetFromEmailAddress(const Aws::String &value)
Definition: UpdateCustomVerificationEmailTemplateRequest.h:101
Aws::SESV2::Model::UpdateCustomVerificationEmailTemplateRequest::SetFailureRedirectionURL
void SetFailureRedirectionURL(const char *value)
Definition: UpdateCustomVerificationEmailTemplateRequest.h:328
Aws::SESV2::Model::UpdateCustomVerificationEmailTemplateRequest::TemplateSubjectHasBeenSet
bool TemplateSubjectHasBeenSet() const
Definition: UpdateCustomVerificationEmailTemplateRequest.h:137
Aws::SESV2::Model::UpdateCustomVerificationEmailTemplateRequest::WithFromEmailAddress
UpdateCustomVerificationEmailTemplateRequest & WithFromEmailAddress(const Aws::String &value)
Definition: UpdateCustomVerificationEmailTemplateRequest.h:116
Aws::SESV2::Model::UpdateCustomVerificationEmailTemplateRequest::SetTemplateContent
void SetTemplateContent(const Aws::String &value)
Definition: UpdateCustomVerificationEmailTemplateRequest.h:198
Aws::SESV2::Model::UpdateCustomVerificationEmailTemplateRequest::UpdateCustomVerificationEmailTemplateRequest
UpdateCustomVerificationEmailTemplateRequest()
Aws::SESV2::Model::UpdateCustomVerificationEmailTemplateRequest::WithTemplateContent
UpdateCustomVerificationEmailTemplateRequest & WithTemplateContent(Aws::String &&value)
Definition: UpdateCustomVerificationEmailTemplateRequest.h:238
Aws
Definition: AccessManagementClient.h:15
Aws::SESV2::Model::UpdateCustomVerificationEmailTemplateRequest::GetServiceRequestName
virtual const char * GetServiceRequestName() const override
Definition: UpdateCustomVerificationEmailTemplateRequest.h:34
Aws::SESV2::Model::UpdateCustomVerificationEmailTemplateRequest::SetTemplateName
void SetTemplateName(const Aws::String &value)
Definition: UpdateCustomVerificationEmailTemplateRequest.h:55
Aws::SESV2::Model::UpdateCustomVerificationEmailTemplateRequest::SetTemplateName
void SetTemplateName(Aws::String &&value)
Definition: UpdateCustomVerificationEmailTemplateRequest.h:61
Aws::SESV2::Model::UpdateCustomVerificationEmailTemplateRequest::FromEmailAddressHasBeenSet
bool FromEmailAddressHasBeenSet() const
Definition: UpdateCustomVerificationEmailTemplateRequest.h:96
Aws::String
std::basic_string< char, std::char_traits< char >, Aws::Allocator< char > > String
Definition: AWSString.h:97
Aws::SESV2::Model::UpdateCustomVerificationEmailTemplateRequest::TemplateContentHasBeenSet
bool TemplateContentHasBeenSet() const
Definition: UpdateCustomVerificationEmailTemplateRequest.h:188
SESV2Request.h
Aws::SESV2::Model::UpdateCustomVerificationEmailTemplateRequest::FailureRedirectionURLHasBeenSet
bool FailureRedirectionURLHasBeenSet() const
Definition: UpdateCustomVerificationEmailTemplateRequest.h:310
Aws::SESV2::Model::UpdateCustomVerificationEmailTemplateRequest::WithFailureRedirectionURL
UpdateCustomVerificationEmailTemplateRequest & WithFailureRedirectionURL(Aws::String &&value)
Definition: UpdateCustomVerificationEmailTemplateRequest.h:340
Aws::SESV2::Model::UpdateCustomVerificationEmailTemplateRequest::SetTemplateContent
void SetTemplateContent(const char *value)
Definition: UpdateCustomVerificationEmailTemplateRequest.h:218
Aws::SESV2::Model::UpdateCustomVerificationEmailTemplateRequest::TemplateNameHasBeenSet
bool TemplateNameHasBeenSet() const
Definition: UpdateCustomVerificationEmailTemplateRequest.h:49
Aws::SESV2::Model::UpdateCustomVerificationEmailTemplateRequest::SetSuccessRedirectionURL
void SetSuccessRedirectionURL(const char *value)
Definition: UpdateCustomVerificationEmailTemplateRequest.h:279
Aws::SESV2::Model::UpdateCustomVerificationEmailTemplateRequest::WithSuccessRedirectionURL
UpdateCustomVerificationEmailTemplateRequest & WithSuccessRedirectionURL(Aws::String &&value)
Definition: UpdateCustomVerificationEmailTemplateRequest.h:291
Aws::SESV2::Model::UpdateCustomVerificationEmailTemplateRequest::SerializePayload
Aws::String SerializePayload() const override