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/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 "UpdateCustomVerificationEmailTemplate"; }
35
36 AWS_SESV2_API Aws::String SerializePayload() const override;
37
38
40
44 inline const Aws::String& GetTemplateName() const{ return m_templateName; }
45 inline bool TemplateNameHasBeenSet() const { return m_templateNameHasBeenSet; }
46 inline void SetTemplateName(const Aws::String& value) { m_templateNameHasBeenSet = true; m_templateName = value; }
47 inline void SetTemplateName(Aws::String&& value) { m_templateNameHasBeenSet = true; m_templateName = std::move(value); }
48 inline void SetTemplateName(const char* value) { m_templateNameHasBeenSet = true; m_templateName.assign(value); }
51 inline UpdateCustomVerificationEmailTemplateRequest& WithTemplateName(const char* value) { SetTemplateName(value); return *this;}
53
55
58 inline const Aws::String& GetFromEmailAddress() const{ return m_fromEmailAddress; }
59 inline bool FromEmailAddressHasBeenSet() const { return m_fromEmailAddressHasBeenSet; }
60 inline void SetFromEmailAddress(const Aws::String& value) { m_fromEmailAddressHasBeenSet = true; m_fromEmailAddress = value; }
61 inline void SetFromEmailAddress(Aws::String&& value) { m_fromEmailAddressHasBeenSet = true; m_fromEmailAddress = std::move(value); }
62 inline void SetFromEmailAddress(const char* value) { m_fromEmailAddressHasBeenSet = true; m_fromEmailAddress.assign(value); }
67
69
72 inline const Aws::String& GetTemplateSubject() const{ return m_templateSubject; }
73 inline bool TemplateSubjectHasBeenSet() const { return m_templateSubjectHasBeenSet; }
74 inline void SetTemplateSubject(const Aws::String& value) { m_templateSubjectHasBeenSet = true; m_templateSubject = value; }
75 inline void SetTemplateSubject(Aws::String&& value) { m_templateSubjectHasBeenSet = true; m_templateSubject = std::move(value); }
76 inline void SetTemplateSubject(const char* value) { m_templateSubjectHasBeenSet = true; m_templateSubject.assign(value); }
81
83
91 inline const Aws::String& GetTemplateContent() const{ return m_templateContent; }
92 inline bool TemplateContentHasBeenSet() const { return m_templateContentHasBeenSet; }
93 inline void SetTemplateContent(const Aws::String& value) { m_templateContentHasBeenSet = true; m_templateContent = value; }
94 inline void SetTemplateContent(Aws::String&& value) { m_templateContentHasBeenSet = true; m_templateContent = std::move(value); }
95 inline void SetTemplateContent(const char* value) { m_templateContentHasBeenSet = true; m_templateContent.assign(value); }
100
102
106 inline const Aws::String& GetSuccessRedirectionURL() const{ return m_successRedirectionURL; }
107 inline bool SuccessRedirectionURLHasBeenSet() const { return m_successRedirectionURLHasBeenSet; }
108 inline void SetSuccessRedirectionURL(const Aws::String& value) { m_successRedirectionURLHasBeenSet = true; m_successRedirectionURL = value; }
109 inline void SetSuccessRedirectionURL(Aws::String&& value) { m_successRedirectionURLHasBeenSet = true; m_successRedirectionURL = std::move(value); }
110 inline void SetSuccessRedirectionURL(const char* value) { m_successRedirectionURLHasBeenSet = true; m_successRedirectionURL.assign(value); }
115
117
121 inline const Aws::String& GetFailureRedirectionURL() const{ return m_failureRedirectionURL; }
122 inline bool FailureRedirectionURLHasBeenSet() const { return m_failureRedirectionURLHasBeenSet; }
123 inline void SetFailureRedirectionURL(const Aws::String& value) { m_failureRedirectionURLHasBeenSet = true; m_failureRedirectionURL = value; }
124 inline void SetFailureRedirectionURL(Aws::String&& value) { m_failureRedirectionURLHasBeenSet = true; m_failureRedirectionURL = std::move(value); }
125 inline void SetFailureRedirectionURL(const char* value) { m_failureRedirectionURLHasBeenSet = true; m_failureRedirectionURL.assign(value); }
130 private:
131
132 Aws::String m_templateName;
133 bool m_templateNameHasBeenSet = false;
134
135 Aws::String m_fromEmailAddress;
136 bool m_fromEmailAddressHasBeenSet = false;
137
138 Aws::String m_templateSubject;
139 bool m_templateSubjectHasBeenSet = false;
140
141 Aws::String m_templateContent;
142 bool m_templateContentHasBeenSet = false;
143
144 Aws::String m_successRedirectionURL;
145 bool m_successRedirectionURLHasBeenSet = false;
146
147 Aws::String m_failureRedirectionURL;
148 bool m_failureRedirectionURLHasBeenSet = false;
149 };
150
151} // namespace Model
152} // namespace SESV2
153} // namespace Aws
UpdateCustomVerificationEmailTemplateRequest & WithFromEmailAddress(Aws::String &&value)
UpdateCustomVerificationEmailTemplateRequest & WithTemplateSubject(const char *value)
AWS_SESV2_API Aws::String SerializePayload() const override
UpdateCustomVerificationEmailTemplateRequest & WithSuccessRedirectionURL(Aws::String &&value)
UpdateCustomVerificationEmailTemplateRequest & WithFromEmailAddress(const char *value)
UpdateCustomVerificationEmailTemplateRequest & WithFailureRedirectionURL(const char *value)
UpdateCustomVerificationEmailTemplateRequest & WithSuccessRedirectionURL(const char *value)
UpdateCustomVerificationEmailTemplateRequest & WithFromEmailAddress(const Aws::String &value)
UpdateCustomVerificationEmailTemplateRequest & WithFailureRedirectionURL(const Aws::String &value)
UpdateCustomVerificationEmailTemplateRequest & WithSuccessRedirectionURL(const Aws::String &value)
UpdateCustomVerificationEmailTemplateRequest & WithTemplateSubject(const Aws::String &value)
UpdateCustomVerificationEmailTemplateRequest & WithTemplateContent(const char *value)
UpdateCustomVerificationEmailTemplateRequest & WithTemplateContent(Aws::String &&value)
UpdateCustomVerificationEmailTemplateRequest & WithTemplateSubject(Aws::String &&value)
UpdateCustomVerificationEmailTemplateRequest & WithTemplateName(const Aws::String &value)
UpdateCustomVerificationEmailTemplateRequest & WithTemplateContent(const Aws::String &value)
UpdateCustomVerificationEmailTemplateRequest & WithTemplateName(Aws::String &&value)
UpdateCustomVerificationEmailTemplateRequest & WithFailureRedirectionURL(Aws::String &&value)
UpdateCustomVerificationEmailTemplateRequest & WithTemplateName(const char *value)
std::basic_string< char, std::char_traits< char >, Aws::Allocator< char > > String