AWS SDK for C++

AWS SDK for C++ Version 1.11.767

Loading...
Searching...
No Matches
CustomVerificationEmailTemplate.h
1
6#pragma once
7#include <aws/core/utils/memory/stl/AWSStreamFwd.h>
8#include <aws/core/utils/memory/stl/AWSString.h>
9#include <aws/email/SES_EXPORTS.h>
10
11#include <utility>
12
13namespace Aws {
14namespace Utils {
15namespace Xml {
16class XmlNode;
17} // namespace Xml
18} // namespace Utils
19namespace SES {
20namespace Model {
21
29 public:
30 AWS_SES_API CustomVerificationEmailTemplate() = default;
33
34 AWS_SES_API void OutputToStream(Aws::OStream& ostream, const char* location, unsigned index, const char* locationValue) const;
35 AWS_SES_API void OutputToStream(Aws::OStream& oStream, const char* location) const;
36
38
41 inline const Aws::String& GetTemplateName() const { return m_templateName; }
42 inline bool TemplateNameHasBeenSet() const { return m_templateNameHasBeenSet; }
43 template <typename TemplateNameT = Aws::String>
44 void SetTemplateName(TemplateNameT&& value) {
45 m_templateNameHasBeenSet = true;
46 m_templateName = std::forward<TemplateNameT>(value);
47 }
48 template <typename TemplateNameT = Aws::String>
50 SetTemplateName(std::forward<TemplateNameT>(value));
51 return *this;
52 }
54
56
59 inline const Aws::String& GetFromEmailAddress() const { return m_fromEmailAddress; }
60 inline bool FromEmailAddressHasBeenSet() const { return m_fromEmailAddressHasBeenSet; }
61 template <typename FromEmailAddressT = Aws::String>
62 void SetFromEmailAddress(FromEmailAddressT&& value) {
63 m_fromEmailAddressHasBeenSet = true;
64 m_fromEmailAddress = std::forward<FromEmailAddressT>(value);
65 }
66 template <typename FromEmailAddressT = Aws::String>
68 SetFromEmailAddress(std::forward<FromEmailAddressT>(value));
69 return *this;
70 }
72
74
77 inline const Aws::String& GetTemplateSubject() const { return m_templateSubject; }
78 inline bool TemplateSubjectHasBeenSet() const { return m_templateSubjectHasBeenSet; }
79 template <typename TemplateSubjectT = Aws::String>
80 void SetTemplateSubject(TemplateSubjectT&& value) {
81 m_templateSubjectHasBeenSet = true;
82 m_templateSubject = std::forward<TemplateSubjectT>(value);
83 }
84 template <typename TemplateSubjectT = Aws::String>
86 SetTemplateSubject(std::forward<TemplateSubjectT>(value));
87 return *this;
88 }
90
92
96 inline const Aws::String& GetSuccessRedirectionURL() const { return m_successRedirectionURL; }
97 inline bool SuccessRedirectionURLHasBeenSet() const { return m_successRedirectionURLHasBeenSet; }
98 template <typename SuccessRedirectionURLT = Aws::String>
99 void SetSuccessRedirectionURL(SuccessRedirectionURLT&& value) {
100 m_successRedirectionURLHasBeenSet = true;
101 m_successRedirectionURL = std::forward<SuccessRedirectionURLT>(value);
102 }
103 template <typename SuccessRedirectionURLT = Aws::String>
105 SetSuccessRedirectionURL(std::forward<SuccessRedirectionURLT>(value));
106 return *this;
107 }
109
111
115 inline const Aws::String& GetFailureRedirectionURL() const { return m_failureRedirectionURL; }
116 inline bool FailureRedirectionURLHasBeenSet() const { return m_failureRedirectionURLHasBeenSet; }
117 template <typename FailureRedirectionURLT = Aws::String>
118 void SetFailureRedirectionURL(FailureRedirectionURLT&& value) {
119 m_failureRedirectionURLHasBeenSet = true;
120 m_failureRedirectionURL = std::forward<FailureRedirectionURLT>(value);
121 }
122 template <typename FailureRedirectionURLT = Aws::String>
124 SetFailureRedirectionURL(std::forward<FailureRedirectionURLT>(value));
125 return *this;
126 }
128 private:
129 Aws::String m_templateName;
130
131 Aws::String m_fromEmailAddress;
132
133 Aws::String m_templateSubject;
134
135 Aws::String m_successRedirectionURL;
136
137 Aws::String m_failureRedirectionURL;
138 bool m_templateNameHasBeenSet = false;
139 bool m_fromEmailAddressHasBeenSet = false;
140 bool m_templateSubjectHasBeenSet = false;
141 bool m_successRedirectionURLHasBeenSet = false;
142 bool m_failureRedirectionURLHasBeenSet = false;
143};
144
145} // namespace Model
146} // namespace SES
147} // namespace Aws
CustomVerificationEmailTemplate & WithTemplateName(TemplateNameT &&value)
CustomVerificationEmailTemplate & WithSuccessRedirectionURL(SuccessRedirectionURLT &&value)
AWS_SES_API void OutputToStream(Aws::OStream &oStream, const char *location) const
AWS_SES_API void OutputToStream(Aws::OStream &ostream, const char *location, unsigned index, const char *locationValue) const
AWS_SES_API CustomVerificationEmailTemplate & operator=(const Aws::Utils::Xml::XmlNode &xmlNode)
CustomVerificationEmailTemplate & WithFromEmailAddress(FromEmailAddressT &&value)
CustomVerificationEmailTemplate & WithFailureRedirectionURL(FailureRedirectionURLT &&value)
AWS_SES_API CustomVerificationEmailTemplate(const Aws::Utils::Xml::XmlNode &xmlNode)
CustomVerificationEmailTemplate & WithTemplateSubject(TemplateSubjectT &&value)
std::basic_string< char, std::char_traits< char >, Aws::Allocator< char > > String
std::basic_ostream< char, std::char_traits< char > > OStream