AWS SDK for C++

AWS SDK for C++ Version 1.11.440

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:
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 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); }
52 inline CustomVerificationEmailTemplate& WithTemplateName(const Aws::String& value) { SetTemplateName(value); return *this;}
53 inline CustomVerificationEmailTemplate& WithTemplateName(Aws::String&& value) { SetTemplateName(std::move(value)); return *this;}
54 inline CustomVerificationEmailTemplate& 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); }
67 inline CustomVerificationEmailTemplate& WithFromEmailAddress(Aws::String&& value) { SetFromEmailAddress(std::move(value)); return *this;}
68 inline CustomVerificationEmailTemplate& WithFromEmailAddress(const char* value) { SetFromEmailAddress(value); return *this;}
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); }
81 inline CustomVerificationEmailTemplate& WithTemplateSubject(Aws::String&& value) { SetTemplateSubject(std::move(value)); return *this;}
82 inline CustomVerificationEmailTemplate& WithTemplateSubject(const char* value) { SetTemplateSubject(value); return *this;}
84
86
90 inline const Aws::String& GetSuccessRedirectionURL() const{ return m_successRedirectionURL; }
91 inline bool SuccessRedirectionURLHasBeenSet() const { return m_successRedirectionURLHasBeenSet; }
92 inline void SetSuccessRedirectionURL(const Aws::String& value) { m_successRedirectionURLHasBeenSet = true; m_successRedirectionURL = value; }
93 inline void SetSuccessRedirectionURL(Aws::String&& value) { m_successRedirectionURLHasBeenSet = true; m_successRedirectionURL = std::move(value); }
94 inline void SetSuccessRedirectionURL(const char* value) { m_successRedirectionURLHasBeenSet = true; m_successRedirectionURL.assign(value); }
99
101
105 inline const Aws::String& GetFailureRedirectionURL() const{ return m_failureRedirectionURL; }
106 inline bool FailureRedirectionURLHasBeenSet() const { return m_failureRedirectionURLHasBeenSet; }
107 inline void SetFailureRedirectionURL(const Aws::String& value) { m_failureRedirectionURLHasBeenSet = true; m_failureRedirectionURL = value; }
108 inline void SetFailureRedirectionURL(Aws::String&& value) { m_failureRedirectionURLHasBeenSet = true; m_failureRedirectionURL = std::move(value); }
109 inline void SetFailureRedirectionURL(const char* value) { m_failureRedirectionURLHasBeenSet = true; m_failureRedirectionURL.assign(value); }
114 private:
115
116 Aws::String m_templateName;
117 bool m_templateNameHasBeenSet = false;
118
119 Aws::String m_fromEmailAddress;
120 bool m_fromEmailAddressHasBeenSet = false;
121
122 Aws::String m_templateSubject;
123 bool m_templateSubjectHasBeenSet = false;
124
125 Aws::String m_successRedirectionURL;
126 bool m_successRedirectionURLHasBeenSet = false;
127
128 Aws::String m_failureRedirectionURL;
129 bool m_failureRedirectionURLHasBeenSet = false;
130 };
131
132} // namespace Model
133} // namespace SES
134} // namespace Aws
CustomVerificationEmailTemplate & WithTemplateSubject(const Aws::String &value)
CustomVerificationEmailTemplate & WithSuccessRedirectionURL(const char *value)
CustomVerificationEmailTemplate & WithFailureRedirectionURL(const char *value)
CustomVerificationEmailTemplate & WithSuccessRedirectionURL(const Aws::String &value)
CustomVerificationEmailTemplate & WithTemplateSubject(const char *value)
CustomVerificationEmailTemplate & WithTemplateName(Aws::String &&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
CustomVerificationEmailTemplate & WithFromEmailAddress(Aws::String &&value)
AWS_SES_API CustomVerificationEmailTemplate & operator=(const Aws::Utils::Xml::XmlNode &xmlNode)
CustomVerificationEmailTemplate & WithFromEmailAddress(const Aws::String &value)
CustomVerificationEmailTemplate & WithSuccessRedirectionURL(Aws::String &&value)
AWS_SES_API CustomVerificationEmailTemplate(const Aws::Utils::Xml::XmlNode &xmlNode)
CustomVerificationEmailTemplate & WithTemplateSubject(Aws::String &&value)
CustomVerificationEmailTemplate & WithFailureRedirectionURL(const Aws::String &value)
CustomVerificationEmailTemplate & WithTemplateName(const Aws::String &value)
CustomVerificationEmailTemplate & WithFromEmailAddress(const char *value)
CustomVerificationEmailTemplate & WithFailureRedirectionURL(Aws::String &&value)
CustomVerificationEmailTemplate & WithTemplateName(const char *value)
std::basic_string< char, std::char_traits< char >, Aws::Allocator< char > > String
std::basic_ostream< char, std::char_traits< char > > OStream