AWS SDK for C++

AWS SDK for C++ Version 1.11.607

Loading...
Searching...
No Matches
CustomVerificationEmailTemplate.h
1
6#pragma once
7#include <aws/email/SES_EXPORTS.h>
8#include <aws/core/utils/memory/stl/AWSStreamFwd.h>
9#include <aws/core/utils/memory/stl/AWSString.h>
10#include <utility>
11
12namespace Aws
13{
14namespace Utils
15{
16namespace Xml
17{
18 class XmlNode;
19} // namespace Xml
20} // namespace Utils
21namespace SES
22{
23namespace Model
24{
25
33 {
34 public:
35 AWS_SES_API CustomVerificationEmailTemplate() = default;
38
39 AWS_SES_API void OutputToStream(Aws::OStream& ostream, const char* location, unsigned index, const char* locationValue) const;
40 AWS_SES_API void OutputToStream(Aws::OStream& oStream, const char* location) const;
41
42
44
47 inline const Aws::String& GetTemplateName() const { return m_templateName; }
48 inline bool TemplateNameHasBeenSet() const { return m_templateNameHasBeenSet; }
49 template<typename TemplateNameT = Aws::String>
50 void SetTemplateName(TemplateNameT&& value) { m_templateNameHasBeenSet = true; m_templateName = std::forward<TemplateNameT>(value); }
51 template<typename TemplateNameT = Aws::String>
52 CustomVerificationEmailTemplate& WithTemplateName(TemplateNameT&& value) { SetTemplateName(std::forward<TemplateNameT>(value)); return *this;}
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) { m_fromEmailAddressHasBeenSet = true; m_fromEmailAddress = std::forward<FromEmailAddressT>(value); }
63 template<typename FromEmailAddressT = Aws::String>
64 CustomVerificationEmailTemplate& WithFromEmailAddress(FromEmailAddressT&& value) { SetFromEmailAddress(std::forward<FromEmailAddressT>(value)); return *this;}
66
68
71 inline const Aws::String& GetTemplateSubject() const { return m_templateSubject; }
72 inline bool TemplateSubjectHasBeenSet() const { return m_templateSubjectHasBeenSet; }
73 template<typename TemplateSubjectT = Aws::String>
74 void SetTemplateSubject(TemplateSubjectT&& value) { m_templateSubjectHasBeenSet = true; m_templateSubject = std::forward<TemplateSubjectT>(value); }
75 template<typename TemplateSubjectT = Aws::String>
76 CustomVerificationEmailTemplate& WithTemplateSubject(TemplateSubjectT&& value) { SetTemplateSubject(std::forward<TemplateSubjectT>(value)); return *this;}
78
80
84 inline const Aws::String& GetSuccessRedirectionURL() const { return m_successRedirectionURL; }
85 inline bool SuccessRedirectionURLHasBeenSet() const { return m_successRedirectionURLHasBeenSet; }
86 template<typename SuccessRedirectionURLT = Aws::String>
87 void SetSuccessRedirectionURL(SuccessRedirectionURLT&& value) { m_successRedirectionURLHasBeenSet = true; m_successRedirectionURL = std::forward<SuccessRedirectionURLT>(value); }
88 template<typename SuccessRedirectionURLT = Aws::String>
89 CustomVerificationEmailTemplate& WithSuccessRedirectionURL(SuccessRedirectionURLT&& value) { SetSuccessRedirectionURL(std::forward<SuccessRedirectionURLT>(value)); return *this;}
91
93
97 inline const Aws::String& GetFailureRedirectionURL() const { return m_failureRedirectionURL; }
98 inline bool FailureRedirectionURLHasBeenSet() const { return m_failureRedirectionURLHasBeenSet; }
99 template<typename FailureRedirectionURLT = Aws::String>
100 void SetFailureRedirectionURL(FailureRedirectionURLT&& value) { m_failureRedirectionURLHasBeenSet = true; m_failureRedirectionURL = std::forward<FailureRedirectionURLT>(value); }
101 template<typename FailureRedirectionURLT = Aws::String>
102 CustomVerificationEmailTemplate& WithFailureRedirectionURL(FailureRedirectionURLT&& value) { SetFailureRedirectionURL(std::forward<FailureRedirectionURLT>(value)); return *this;}
104 private:
105
106 Aws::String m_templateName;
107 bool m_templateNameHasBeenSet = false;
108
109 Aws::String m_fromEmailAddress;
110 bool m_fromEmailAddressHasBeenSet = false;
111
112 Aws::String m_templateSubject;
113 bool m_templateSubjectHasBeenSet = false;
114
115 Aws::String m_successRedirectionURL;
116 bool m_successRedirectionURLHasBeenSet = false;
117
118 Aws::String m_failureRedirectionURL;
119 bool m_failureRedirectionURLHasBeenSet = false;
120 };
121
122} // namespace Model
123} // namespace SES
124} // 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