AWS SDK for C++

AWS SDK for C++ Version 1.11.440

Loading...
Searching...
No Matches
CreateCustomVerificationEmailTemplateRequest.h
1
6#pragma once
7#include <aws/sesv2/SESV2_EXPORTS.h>
8#include <aws/sesv2/SESV2Request.h>
9#include <aws/core/utils/memory/stl/AWSString.h>
10#include <utility>
11
12namespace Aws
13{
14namespace SESV2
15{
16namespace 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_SESV2_API Aws::String SerializePayload() const override;
37
38
40
43 inline const Aws::String& GetTemplateName() const{ return m_templateName; }
44 inline bool TemplateNameHasBeenSet() const { return m_templateNameHasBeenSet; }
45 inline void SetTemplateName(const Aws::String& value) { m_templateNameHasBeenSet = true; m_templateName = value; }
46 inline void SetTemplateName(Aws::String&& value) { m_templateNameHasBeenSet = true; m_templateName = std::move(value); }
47 inline void SetTemplateName(const char* value) { m_templateNameHasBeenSet = true; m_templateName.assign(value); }
50 inline CreateCustomVerificationEmailTemplateRequest& WithTemplateName(const char* value) { SetTemplateName(value); return *this;}
52
54
57 inline const Aws::String& GetFromEmailAddress() const{ return m_fromEmailAddress; }
58 inline bool FromEmailAddressHasBeenSet() const { return m_fromEmailAddressHasBeenSet; }
59 inline void SetFromEmailAddress(const Aws::String& value) { m_fromEmailAddressHasBeenSet = true; m_fromEmailAddress = value; }
60 inline void SetFromEmailAddress(Aws::String&& value) { m_fromEmailAddressHasBeenSet = true; m_fromEmailAddress = std::move(value); }
61 inline void SetFromEmailAddress(const char* value) { m_fromEmailAddressHasBeenSet = true; m_fromEmailAddress.assign(value); }
66
68
71 inline const Aws::String& GetTemplateSubject() const{ return m_templateSubject; }
72 inline bool TemplateSubjectHasBeenSet() const { return m_templateSubjectHasBeenSet; }
73 inline void SetTemplateSubject(const Aws::String& value) { m_templateSubjectHasBeenSet = true; m_templateSubject = value; }
74 inline void SetTemplateSubject(Aws::String&& value) { m_templateSubjectHasBeenSet = true; m_templateSubject = std::move(value); }
75 inline void SetTemplateSubject(const char* value) { m_templateSubjectHasBeenSet = true; m_templateSubject.assign(value); }
80
82
90 inline const Aws::String& GetTemplateContent() const{ return m_templateContent; }
91 inline bool TemplateContentHasBeenSet() const { return m_templateContentHasBeenSet; }
92 inline void SetTemplateContent(const Aws::String& value) { m_templateContentHasBeenSet = true; m_templateContent = value; }
93 inline void SetTemplateContent(Aws::String&& value) { m_templateContentHasBeenSet = true; m_templateContent = std::move(value); }
94 inline void SetTemplateContent(const char* value) { m_templateContentHasBeenSet = true; m_templateContent.assign(value); }
99
101
105 inline const Aws::String& GetSuccessRedirectionURL() const{ return m_successRedirectionURL; }
106 inline bool SuccessRedirectionURLHasBeenSet() const { return m_successRedirectionURLHasBeenSet; }
107 inline void SetSuccessRedirectionURL(const Aws::String& value) { m_successRedirectionURLHasBeenSet = true; m_successRedirectionURL = value; }
108 inline void SetSuccessRedirectionURL(Aws::String&& value) { m_successRedirectionURLHasBeenSet = true; m_successRedirectionURL = std::move(value); }
109 inline void SetSuccessRedirectionURL(const char* value) { m_successRedirectionURLHasBeenSet = true; m_successRedirectionURL.assign(value); }
114
116
120 inline const Aws::String& GetFailureRedirectionURL() const{ return m_failureRedirectionURL; }
121 inline bool FailureRedirectionURLHasBeenSet() const { return m_failureRedirectionURLHasBeenSet; }
122 inline void SetFailureRedirectionURL(const Aws::String& value) { m_failureRedirectionURLHasBeenSet = true; m_failureRedirectionURL = value; }
123 inline void SetFailureRedirectionURL(Aws::String&& value) { m_failureRedirectionURLHasBeenSet = true; m_failureRedirectionURL = std::move(value); }
124 inline void SetFailureRedirectionURL(const char* value) { m_failureRedirectionURLHasBeenSet = true; m_failureRedirectionURL.assign(value); }
129 private:
130
131 Aws::String m_templateName;
132 bool m_templateNameHasBeenSet = false;
133
134 Aws::String m_fromEmailAddress;
135 bool m_fromEmailAddressHasBeenSet = false;
136
137 Aws::String m_templateSubject;
138 bool m_templateSubjectHasBeenSet = false;
139
140 Aws::String m_templateContent;
141 bool m_templateContentHasBeenSet = false;
142
143 Aws::String m_successRedirectionURL;
144 bool m_successRedirectionURLHasBeenSet = false;
145
146 Aws::String m_failureRedirectionURL;
147 bool m_failureRedirectionURLHasBeenSet = false;
148 };
149
150} // namespace Model
151} // namespace SESV2
152} // namespace Aws
CreateCustomVerificationEmailTemplateRequest & WithSuccessRedirectionURL(const Aws::String &value)
CreateCustomVerificationEmailTemplateRequest & WithSuccessRedirectionURL(const char *value)
CreateCustomVerificationEmailTemplateRequest & WithTemplateSubject(Aws::String &&value)
AWS_SESV2_API Aws::String SerializePayload() const override
CreateCustomVerificationEmailTemplateRequest & WithTemplateContent(Aws::String &&value)
CreateCustomVerificationEmailTemplateRequest & WithTemplateSubject(const Aws::String &value)
CreateCustomVerificationEmailTemplateRequest & WithTemplateName(const char *value)
CreateCustomVerificationEmailTemplateRequest & WithSuccessRedirectionURL(Aws::String &&value)
CreateCustomVerificationEmailTemplateRequest & WithTemplateContent(const char *value)
CreateCustomVerificationEmailTemplateRequest & WithTemplateSubject(const char *value)
CreateCustomVerificationEmailTemplateRequest & WithTemplateName(const Aws::String &value)
CreateCustomVerificationEmailTemplateRequest & WithFromEmailAddress(Aws::String &&value)
CreateCustomVerificationEmailTemplateRequest & WithTemplateName(Aws::String &&value)
CreateCustomVerificationEmailTemplateRequest & WithTemplateContent(const Aws::String &value)
CreateCustomVerificationEmailTemplateRequest & WithFailureRedirectionURL(const Aws::String &value)
CreateCustomVerificationEmailTemplateRequest & WithFromEmailAddress(const Aws::String &value)
CreateCustomVerificationEmailTemplateRequest & WithFailureRedirectionURL(Aws::String &&value)
CreateCustomVerificationEmailTemplateRequest & WithFromEmailAddress(const char *value)
CreateCustomVerificationEmailTemplateRequest & WithFailureRedirectionURL(const char *value)
std::basic_string< char, std::char_traits< char >, Aws::Allocator< char > > String