AWS SDK for C++

AWS SDK for C++ Version 1.11.440

Loading...
Searching...
No Matches
UpdateCustomVerificationEmailTemplateRequest.h
1
6#pragma once
7#include <aws/email/SES_EXPORTS.h>
8#include <aws/email/SESRequest.h>
9#include <aws/core/utils/memory/stl/AWSString.h>
10#include <utility>
11
12namespace Aws
13{
14namespace SES
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 "UpdateCustomVerificationEmailTemplate"; }
35
36 AWS_SES_API Aws::String SerializePayload() const override;
37
38 protected:
39 AWS_SES_API void DumpBodyToUrl(Aws::Http::URI& uri ) const override;
40
41 public:
42
44
47 inline const Aws::String& GetTemplateName() const{ return m_templateName; }
48 inline bool TemplateNameHasBeenSet() const { return m_templateNameHasBeenSet; }
49 inline void SetTemplateName(const Aws::String& value) { m_templateNameHasBeenSet = true; m_templateName = value; }
50 inline void SetTemplateName(Aws::String&& value) { m_templateNameHasBeenSet = true; m_templateName = std::move(value); }
51 inline void SetTemplateName(const char* value) { m_templateNameHasBeenSet = true; m_templateName.assign(value); }
54 inline UpdateCustomVerificationEmailTemplateRequest& WithTemplateName(const char* value) { SetTemplateName(value); return *this;}
56
58
61 inline const Aws::String& GetFromEmailAddress() const{ return m_fromEmailAddress; }
62 inline bool FromEmailAddressHasBeenSet() const { return m_fromEmailAddressHasBeenSet; }
63 inline void SetFromEmailAddress(const Aws::String& value) { m_fromEmailAddressHasBeenSet = true; m_fromEmailAddress = value; }
64 inline void SetFromEmailAddress(Aws::String&& value) { m_fromEmailAddressHasBeenSet = true; m_fromEmailAddress = std::move(value); }
65 inline void SetFromEmailAddress(const char* value) { m_fromEmailAddressHasBeenSet = true; m_fromEmailAddress.assign(value); }
70
72
75 inline const Aws::String& GetTemplateSubject() const{ return m_templateSubject; }
76 inline bool TemplateSubjectHasBeenSet() const { return m_templateSubjectHasBeenSet; }
77 inline void SetTemplateSubject(const Aws::String& value) { m_templateSubjectHasBeenSet = true; m_templateSubject = value; }
78 inline void SetTemplateSubject(Aws::String&& value) { m_templateSubjectHasBeenSet = true; m_templateSubject = std::move(value); }
79 inline void SetTemplateSubject(const char* value) { m_templateSubjectHasBeenSet = true; m_templateSubject.assign(value); }
84
86
94 inline const Aws::String& GetTemplateContent() const{ return m_templateContent; }
95 inline bool TemplateContentHasBeenSet() const { return m_templateContentHasBeenSet; }
96 inline void SetTemplateContent(const Aws::String& value) { m_templateContentHasBeenSet = true; m_templateContent = value; }
97 inline void SetTemplateContent(Aws::String&& value) { m_templateContentHasBeenSet = true; m_templateContent = std::move(value); }
98 inline void SetTemplateContent(const char* value) { m_templateContentHasBeenSet = true; m_templateContent.assign(value); }
103
105
109 inline const Aws::String& GetSuccessRedirectionURL() const{ return m_successRedirectionURL; }
110 inline bool SuccessRedirectionURLHasBeenSet() const { return m_successRedirectionURLHasBeenSet; }
111 inline void SetSuccessRedirectionURL(const Aws::String& value) { m_successRedirectionURLHasBeenSet = true; m_successRedirectionURL = value; }
112 inline void SetSuccessRedirectionURL(Aws::String&& value) { m_successRedirectionURLHasBeenSet = true; m_successRedirectionURL = std::move(value); }
113 inline void SetSuccessRedirectionURL(const char* value) { m_successRedirectionURLHasBeenSet = true; m_successRedirectionURL.assign(value); }
118
120
124 inline const Aws::String& GetFailureRedirectionURL() const{ return m_failureRedirectionURL; }
125 inline bool FailureRedirectionURLHasBeenSet() const { return m_failureRedirectionURLHasBeenSet; }
126 inline void SetFailureRedirectionURL(const Aws::String& value) { m_failureRedirectionURLHasBeenSet = true; m_failureRedirectionURL = value; }
127 inline void SetFailureRedirectionURL(Aws::String&& value) { m_failureRedirectionURLHasBeenSet = true; m_failureRedirectionURL = std::move(value); }
128 inline void SetFailureRedirectionURL(const char* value) { m_failureRedirectionURLHasBeenSet = true; m_failureRedirectionURL.assign(value); }
133 private:
134
135 Aws::String m_templateName;
136 bool m_templateNameHasBeenSet = false;
137
138 Aws::String m_fromEmailAddress;
139 bool m_fromEmailAddressHasBeenSet = false;
140
141 Aws::String m_templateSubject;
142 bool m_templateSubjectHasBeenSet = false;
143
144 Aws::String m_templateContent;
145 bool m_templateContentHasBeenSet = false;
146
147 Aws::String m_successRedirectionURL;
148 bool m_successRedirectionURLHasBeenSet = false;
149
150 Aws::String m_failureRedirectionURL;
151 bool m_failureRedirectionURLHasBeenSet = false;
152 };
153
154} // namespace Model
155} // namespace SES
156} // namespace Aws
UpdateCustomVerificationEmailTemplateRequest & WithSuccessRedirectionURL(const Aws::String &value)
UpdateCustomVerificationEmailTemplateRequest & WithSuccessRedirectionURL(const char *value)
UpdateCustomVerificationEmailTemplateRequest & WithFailureRedirectionURL(const Aws::String &value)
UpdateCustomVerificationEmailTemplateRequest & WithFromEmailAddress(Aws::String &&value)
UpdateCustomVerificationEmailTemplateRequest & WithFromEmailAddress(const Aws::String &value)
UpdateCustomVerificationEmailTemplateRequest & WithTemplateContent(Aws::String &&value)
UpdateCustomVerificationEmailTemplateRequest & WithTemplateSubject(const char *value)
UpdateCustomVerificationEmailTemplateRequest & WithTemplateName(const char *value)
UpdateCustomVerificationEmailTemplateRequest & WithSuccessRedirectionURL(Aws::String &&value)
UpdateCustomVerificationEmailTemplateRequest & WithFailureRedirectionURL(const char *value)
UpdateCustomVerificationEmailTemplateRequest & WithFromEmailAddress(const char *value)
AWS_SES_API void DumpBodyToUrl(Aws::Http::URI &uri) const override
UpdateCustomVerificationEmailTemplateRequest & WithTemplateSubject(Aws::String &&value)
AWS_SES_API Aws::String SerializePayload() const override
UpdateCustomVerificationEmailTemplateRequest & WithTemplateName(Aws::String &&value)
UpdateCustomVerificationEmailTemplateRequest & WithTemplateContent(const Aws::String &value)
UpdateCustomVerificationEmailTemplateRequest & WithTemplateContent(const char *value)
UpdateCustomVerificationEmailTemplateRequest & WithTemplateSubject(const Aws::String &value)
UpdateCustomVerificationEmailTemplateRequest & WithTemplateName(const Aws::String &value)
UpdateCustomVerificationEmailTemplateRequest & WithFailureRedirectionURL(Aws::String &&value)
std::basic_string< char, std::char_traits< char >, Aws::Allocator< char > > String