AWS SDK for C++  1.8.129
AWS SDK for C++
CustomVerificationEmailTemplate.h
Go to the documentation of this file.
1 
6 #pragma once
10 #include <utility>
11 
12 namespace Aws
13 {
14 namespace Utils
15 {
16 namespace Xml
17 {
18  class XmlNode;
19 } // namespace Xml
20 } // namespace Utils
21 namespace SES
22 {
23 namespace Model
24 {
25 
33  {
34  public:
38 
39  void OutputToStream(Aws::OStream& ostream, const char* location, unsigned index, const char* locationValue) const;
40  void OutputToStream(Aws::OStream& oStream, const char* location) const;
41 
42 
46  inline const Aws::String& GetTemplateName() const{ return m_templateName; }
47 
51  inline bool TemplateNameHasBeenSet() const { return m_templateNameHasBeenSet; }
52 
56  inline void SetTemplateName(const Aws::String& value) { m_templateNameHasBeenSet = true; m_templateName = value; }
57 
61  inline void SetTemplateName(Aws::String&& value) { m_templateNameHasBeenSet = true; m_templateName = std::move(value); }
62 
66  inline void SetTemplateName(const char* value) { m_templateNameHasBeenSet = true; m_templateName.assign(value); }
67 
71  inline CustomVerificationEmailTemplate& WithTemplateName(const Aws::String& value) { SetTemplateName(value); return *this;}
72 
76  inline CustomVerificationEmailTemplate& WithTemplateName(Aws::String&& value) { SetTemplateName(std::move(value)); return *this;}
77 
81  inline CustomVerificationEmailTemplate& WithTemplateName(const char* value) { SetTemplateName(value); return *this;}
82 
83 
87  inline const Aws::String& GetFromEmailAddress() const{ return m_fromEmailAddress; }
88 
92  inline bool FromEmailAddressHasBeenSet() const { return m_fromEmailAddressHasBeenSet; }
93 
97  inline void SetFromEmailAddress(const Aws::String& value) { m_fromEmailAddressHasBeenSet = true; m_fromEmailAddress = value; }
98 
102  inline void SetFromEmailAddress(Aws::String&& value) { m_fromEmailAddressHasBeenSet = true; m_fromEmailAddress = std::move(value); }
103 
107  inline void SetFromEmailAddress(const char* value) { m_fromEmailAddressHasBeenSet = true; m_fromEmailAddress.assign(value); }
108 
112  inline CustomVerificationEmailTemplate& WithFromEmailAddress(const Aws::String& value) { SetFromEmailAddress(value); return *this;}
113 
117  inline CustomVerificationEmailTemplate& WithFromEmailAddress(Aws::String&& value) { SetFromEmailAddress(std::move(value)); return *this;}
118 
122  inline CustomVerificationEmailTemplate& WithFromEmailAddress(const char* value) { SetFromEmailAddress(value); return *this;}
123 
124 
128  inline const Aws::String& GetTemplateSubject() const{ return m_templateSubject; }
129 
133  inline bool TemplateSubjectHasBeenSet() const { return m_templateSubjectHasBeenSet; }
134 
138  inline void SetTemplateSubject(const Aws::String& value) { m_templateSubjectHasBeenSet = true; m_templateSubject = value; }
139 
143  inline void SetTemplateSubject(Aws::String&& value) { m_templateSubjectHasBeenSet = true; m_templateSubject = std::move(value); }
144 
148  inline void SetTemplateSubject(const char* value) { m_templateSubjectHasBeenSet = true; m_templateSubject.assign(value); }
149 
153  inline CustomVerificationEmailTemplate& WithTemplateSubject(const Aws::String& value) { SetTemplateSubject(value); return *this;}
154 
158  inline CustomVerificationEmailTemplate& WithTemplateSubject(Aws::String&& value) { SetTemplateSubject(std::move(value)); return *this;}
159 
163  inline CustomVerificationEmailTemplate& WithTemplateSubject(const char* value) { SetTemplateSubject(value); return *this;}
164 
165 
170  inline const Aws::String& GetSuccessRedirectionURL() const{ return m_successRedirectionURL; }
171 
176  inline bool SuccessRedirectionURLHasBeenSet() const { return m_successRedirectionURLHasBeenSet; }
177 
182  inline void SetSuccessRedirectionURL(const Aws::String& value) { m_successRedirectionURLHasBeenSet = true; m_successRedirectionURL = value; }
183 
188  inline void SetSuccessRedirectionURL(Aws::String&& value) { m_successRedirectionURLHasBeenSet = true; m_successRedirectionURL = std::move(value); }
189 
194  inline void SetSuccessRedirectionURL(const char* value) { m_successRedirectionURLHasBeenSet = true; m_successRedirectionURL.assign(value); }
195 
200  inline CustomVerificationEmailTemplate& WithSuccessRedirectionURL(const Aws::String& value) { SetSuccessRedirectionURL(value); return *this;}
201 
206  inline CustomVerificationEmailTemplate& WithSuccessRedirectionURL(Aws::String&& value) { SetSuccessRedirectionURL(std::move(value)); return *this;}
207 
212  inline CustomVerificationEmailTemplate& WithSuccessRedirectionURL(const char* value) { SetSuccessRedirectionURL(value); return *this;}
213 
214 
219  inline const Aws::String& GetFailureRedirectionURL() const{ return m_failureRedirectionURL; }
220 
225  inline bool FailureRedirectionURLHasBeenSet() const { return m_failureRedirectionURLHasBeenSet; }
226 
231  inline void SetFailureRedirectionURL(const Aws::String& value) { m_failureRedirectionURLHasBeenSet = true; m_failureRedirectionURL = value; }
232 
237  inline void SetFailureRedirectionURL(Aws::String&& value) { m_failureRedirectionURLHasBeenSet = true; m_failureRedirectionURL = std::move(value); }
238 
243  inline void SetFailureRedirectionURL(const char* value) { m_failureRedirectionURLHasBeenSet = true; m_failureRedirectionURL.assign(value); }
244 
249  inline CustomVerificationEmailTemplate& WithFailureRedirectionURL(const Aws::String& value) { SetFailureRedirectionURL(value); return *this;}
250 
255  inline CustomVerificationEmailTemplate& WithFailureRedirectionURL(Aws::String&& value) { SetFailureRedirectionURL(std::move(value)); return *this;}
256 
261  inline CustomVerificationEmailTemplate& WithFailureRedirectionURL(const char* value) { SetFailureRedirectionURL(value); return *this;}
262 
263  private:
264 
265  Aws::String m_templateName;
266  bool m_templateNameHasBeenSet;
267 
268  Aws::String m_fromEmailAddress;
269  bool m_fromEmailAddressHasBeenSet;
270 
271  Aws::String m_templateSubject;
272  bool m_templateSubjectHasBeenSet;
273 
274  Aws::String m_successRedirectionURL;
275  bool m_successRedirectionURLHasBeenSet;
276 
277  Aws::String m_failureRedirectionURL;
278  bool m_failureRedirectionURLHasBeenSet;
279  };
280 
281 } // namespace Model
282 } // namespace SES
283 } // namespace Aws
Aws::SES::Model::CustomVerificationEmailTemplate::WithTemplateName
CustomVerificationEmailTemplate & WithTemplateName(const Aws::String &value)
Definition: CustomVerificationEmailTemplate.h:71
Aws::SES::Model::CustomVerificationEmailTemplate::GetTemplateName
const Aws::String & GetTemplateName() const
Definition: CustomVerificationEmailTemplate.h:46
Aws::SES::Model::CustomVerificationEmailTemplate::SetTemplateSubject
void SetTemplateSubject(const Aws::String &value)
Definition: CustomVerificationEmailTemplate.h:138
Aws::SES::Model::CustomVerificationEmailTemplate::GetFailureRedirectionURL
const Aws::String & GetFailureRedirectionURL() const
Definition: CustomVerificationEmailTemplate.h:219
Aws::SES::Model::CustomVerificationEmailTemplate::SetTemplateSubject
void SetTemplateSubject(const char *value)
Definition: CustomVerificationEmailTemplate.h:148
Aws::SES::Model::CustomVerificationEmailTemplate::SetSuccessRedirectionURL
void SetSuccessRedirectionURL(const Aws::String &value)
Definition: CustomVerificationEmailTemplate.h:182
Aws::SES::Model::CustomVerificationEmailTemplate::WithFailureRedirectionURL
CustomVerificationEmailTemplate & WithFailureRedirectionURL(const Aws::String &value)
Definition: CustomVerificationEmailTemplate.h:249
Aws::SES::Model::CustomVerificationEmailTemplate::WithFailureRedirectionURL
CustomVerificationEmailTemplate & WithFailureRedirectionURL(Aws::String &&value)
Definition: CustomVerificationEmailTemplate.h:255
Aws::SES::Model::CustomVerificationEmailTemplate::SuccessRedirectionURLHasBeenSet
bool SuccessRedirectionURLHasBeenSet() const
Definition: CustomVerificationEmailTemplate.h:176
Aws::SES::Model::CustomVerificationEmailTemplate::CustomVerificationEmailTemplate
CustomVerificationEmailTemplate()
Aws::SES::Model::CustomVerificationEmailTemplate::GetSuccessRedirectionURL
const Aws::String & GetSuccessRedirectionURL() const
Definition: CustomVerificationEmailTemplate.h:170
Aws::SES::Model::CustomVerificationEmailTemplate
Definition: CustomVerificationEmailTemplate.h:33
AWSStreamFwd.h
Aws::SES::Model::CustomVerificationEmailTemplate::WithFromEmailAddress
CustomVerificationEmailTemplate & WithFromEmailAddress(const char *value)
Definition: CustomVerificationEmailTemplate.h:122
Aws::SES::Model::CustomVerificationEmailTemplate::SetTemplateName
void SetTemplateName(const Aws::String &value)
Definition: CustomVerificationEmailTemplate.h:56
Aws::SES::Model::CustomVerificationEmailTemplate::WithSuccessRedirectionURL
CustomVerificationEmailTemplate & WithSuccessRedirectionURL(Aws::String &&value)
Definition: CustomVerificationEmailTemplate.h:206
Aws::SES::Model::CustomVerificationEmailTemplate::FailureRedirectionURLHasBeenSet
bool FailureRedirectionURLHasBeenSet() const
Definition: CustomVerificationEmailTemplate.h:225
Aws::OStream
std::basic_ostream< char, std::char_traits< char > > OStream
Definition: AWSStreamFwd.h:21
Aws::SES::Model::CustomVerificationEmailTemplate::SetTemplateSubject
void SetTemplateSubject(Aws::String &&value)
Definition: CustomVerificationEmailTemplate.h:143
Aws::SES::Model::CustomVerificationEmailTemplate::TemplateNameHasBeenSet
bool TemplateNameHasBeenSet() const
Definition: CustomVerificationEmailTemplate.h:51
Aws::Utils::Xml::XmlNode
Definition: XmlSerializer.h:53
Aws::SES::Model::CustomVerificationEmailTemplate::OutputToStream
void OutputToStream(Aws::OStream &ostream, const char *location, unsigned index, const char *locationValue) const
Aws::SES::Model::CustomVerificationEmailTemplate::WithFailureRedirectionURL
CustomVerificationEmailTemplate & WithFailureRedirectionURL(const char *value)
Definition: CustomVerificationEmailTemplate.h:261
Aws::SES::Model::CustomVerificationEmailTemplate::WithTemplateSubject
CustomVerificationEmailTemplate & WithTemplateSubject(const char *value)
Definition: CustomVerificationEmailTemplate.h:163
Aws::SES::Model::CustomVerificationEmailTemplate::FromEmailAddressHasBeenSet
bool FromEmailAddressHasBeenSet() const
Definition: CustomVerificationEmailTemplate.h:92
Aws::SES::Model::CustomVerificationEmailTemplate::SetFromEmailAddress
void SetFromEmailAddress(const char *value)
Definition: CustomVerificationEmailTemplate.h:107
Aws::SES::Model::CustomVerificationEmailTemplate::SetFailureRedirectionURL
void SetFailureRedirectionURL(const char *value)
Definition: CustomVerificationEmailTemplate.h:243
Aws::SES::Model::CustomVerificationEmailTemplate::GetFromEmailAddress
const Aws::String & GetFromEmailAddress() const
Definition: CustomVerificationEmailTemplate.h:87
AWSString.h
SES_EXPORTS.h
Aws::SES::Model::CustomVerificationEmailTemplate::SetFailureRedirectionURL
void SetFailureRedirectionURL(Aws::String &&value)
Definition: CustomVerificationEmailTemplate.h:237
Aws::SES::Model::CustomVerificationEmailTemplate::WithSuccessRedirectionURL
CustomVerificationEmailTemplate & WithSuccessRedirectionURL(const Aws::String &value)
Definition: CustomVerificationEmailTemplate.h:200
AWS_SES_API
#define AWS_SES_API
Definition: SES_EXPORTS.h:28
Aws::SES::Model::CustomVerificationEmailTemplate::GetTemplateSubject
const Aws::String & GetTemplateSubject() const
Definition: CustomVerificationEmailTemplate.h:128
Aws::SES::Model::CustomVerificationEmailTemplate::SetTemplateName
void SetTemplateName(Aws::String &&value)
Definition: CustomVerificationEmailTemplate.h:61
Aws::SES::Model::CustomVerificationEmailTemplate::SetFailureRedirectionURL
void SetFailureRedirectionURL(const Aws::String &value)
Definition: CustomVerificationEmailTemplate.h:231
Aws::SES::Model::CustomVerificationEmailTemplate::SetTemplateName
void SetTemplateName(const char *value)
Definition: CustomVerificationEmailTemplate.h:66
Aws::SES::Model::CustomVerificationEmailTemplate::WithTemplateSubject
CustomVerificationEmailTemplate & WithTemplateSubject(Aws::String &&value)
Definition: CustomVerificationEmailTemplate.h:158
Aws::SES::Model::CustomVerificationEmailTemplate::operator=
CustomVerificationEmailTemplate & operator=(const Aws::Utils::Xml::XmlNode &xmlNode)
Aws::SES::Model::CustomVerificationEmailTemplate::WithFromEmailAddress
CustomVerificationEmailTemplate & WithFromEmailAddress(const Aws::String &value)
Definition: CustomVerificationEmailTemplate.h:112
Aws
Definition: AccessManagementClient.h:15
Aws::SES::Model::CustomVerificationEmailTemplate::WithTemplateName
CustomVerificationEmailTemplate & WithTemplateName(Aws::String &&value)
Definition: CustomVerificationEmailTemplate.h:76
Aws::String
std::basic_string< char, std::char_traits< char >, Aws::Allocator< char > > String
Definition: AWSString.h:97
Aws::SES::Model::CustomVerificationEmailTemplate::WithSuccessRedirectionURL
CustomVerificationEmailTemplate & WithSuccessRedirectionURL(const char *value)
Definition: CustomVerificationEmailTemplate.h:212
index
int index
Definition: cJSON.h:171
Aws::SES::Model::CustomVerificationEmailTemplate::CustomVerificationEmailTemplate
CustomVerificationEmailTemplate(const Aws::Utils::Xml::XmlNode &xmlNode)
Aws::SES::Model::CustomVerificationEmailTemplate::TemplateSubjectHasBeenSet
bool TemplateSubjectHasBeenSet() const
Definition: CustomVerificationEmailTemplate.h:133
Aws::SES::Model::CustomVerificationEmailTemplate::WithTemplateSubject
CustomVerificationEmailTemplate & WithTemplateSubject(const Aws::String &value)
Definition: CustomVerificationEmailTemplate.h:153
Aws::SES::Model::CustomVerificationEmailTemplate::WithTemplateName
CustomVerificationEmailTemplate & WithTemplateName(const char *value)
Definition: CustomVerificationEmailTemplate.h:81
Aws::SES::Model::CustomVerificationEmailTemplate::OutputToStream
void OutputToStream(Aws::OStream &oStream, const char *location) const
Aws::SES::Model::CustomVerificationEmailTemplate::SetFromEmailAddress
void SetFromEmailAddress(Aws::String &&value)
Definition: CustomVerificationEmailTemplate.h:102
Aws::SES::Model::CustomVerificationEmailTemplate::SetFromEmailAddress
void SetFromEmailAddress(const Aws::String &value)
Definition: CustomVerificationEmailTemplate.h:97
Aws::SES::Model::CustomVerificationEmailTemplate::WithFromEmailAddress
CustomVerificationEmailTemplate & WithFromEmailAddress(Aws::String &&value)
Definition: CustomVerificationEmailTemplate.h:117
Aws::SES::Model::CustomVerificationEmailTemplate::SetSuccessRedirectionURL
void SetSuccessRedirectionURL(Aws::String &&value)
Definition: CustomVerificationEmailTemplate.h:188
Aws::SES::Model::CustomVerificationEmailTemplate::SetSuccessRedirectionURL
void SetSuccessRedirectionURL(const char *value)
Definition: CustomVerificationEmailTemplate.h:194