AWS SDK for C++  1.9.155
AWS SDK for C++
CustomVerificationEmailTemplateMetadata.h
Go to the documentation of this file.
1 
6 #pragma once
9 #include <utility>
10 
11 namespace Aws
12 {
13 namespace Utils
14 {
15 namespace Json
16 {
17  class JsonValue;
18  class JsonView;
19 } // namespace Json
20 } // namespace Utils
21 namespace SESV2
22 {
23 namespace Model
24 {
25 
33  {
34  public:
39 
40 
44  inline const Aws::String& GetTemplateName() const{ return m_templateName; }
45 
49  inline bool TemplateNameHasBeenSet() const { return m_templateNameHasBeenSet; }
50 
54  inline void SetTemplateName(const Aws::String& value) { m_templateNameHasBeenSet = true; m_templateName = value; }
55 
59  inline void SetTemplateName(Aws::String&& value) { m_templateNameHasBeenSet = true; m_templateName = std::move(value); }
60 
64  inline void SetTemplateName(const char* value) { m_templateNameHasBeenSet = true; m_templateName.assign(value); }
65 
69  inline CustomVerificationEmailTemplateMetadata& WithTemplateName(const Aws::String& value) { SetTemplateName(value); return *this;}
70 
74  inline CustomVerificationEmailTemplateMetadata& WithTemplateName(Aws::String&& value) { SetTemplateName(std::move(value)); return *this;}
75 
79  inline CustomVerificationEmailTemplateMetadata& WithTemplateName(const char* value) { SetTemplateName(value); return *this;}
80 
81 
85  inline const Aws::String& GetFromEmailAddress() const{ return m_fromEmailAddress; }
86 
90  inline bool FromEmailAddressHasBeenSet() const { return m_fromEmailAddressHasBeenSet; }
91 
95  inline void SetFromEmailAddress(const Aws::String& value) { m_fromEmailAddressHasBeenSet = true; m_fromEmailAddress = value; }
96 
100  inline void SetFromEmailAddress(Aws::String&& value) { m_fromEmailAddressHasBeenSet = true; m_fromEmailAddress = std::move(value); }
101 
105  inline void SetFromEmailAddress(const char* value) { m_fromEmailAddressHasBeenSet = true; m_fromEmailAddress.assign(value); }
106 
110  inline CustomVerificationEmailTemplateMetadata& WithFromEmailAddress(const Aws::String& value) { SetFromEmailAddress(value); return *this;}
111 
115  inline CustomVerificationEmailTemplateMetadata& WithFromEmailAddress(Aws::String&& value) { SetFromEmailAddress(std::move(value)); return *this;}
116 
120  inline CustomVerificationEmailTemplateMetadata& WithFromEmailAddress(const char* value) { SetFromEmailAddress(value); return *this;}
121 
122 
126  inline const Aws::String& GetTemplateSubject() const{ return m_templateSubject; }
127 
131  inline bool TemplateSubjectHasBeenSet() const { return m_templateSubjectHasBeenSet; }
132 
136  inline void SetTemplateSubject(const Aws::String& value) { m_templateSubjectHasBeenSet = true; m_templateSubject = value; }
137 
141  inline void SetTemplateSubject(Aws::String&& value) { m_templateSubjectHasBeenSet = true; m_templateSubject = std::move(value); }
142 
146  inline void SetTemplateSubject(const char* value) { m_templateSubjectHasBeenSet = true; m_templateSubject.assign(value); }
147 
151  inline CustomVerificationEmailTemplateMetadata& WithTemplateSubject(const Aws::String& value) { SetTemplateSubject(value); return *this;}
152 
156  inline CustomVerificationEmailTemplateMetadata& WithTemplateSubject(Aws::String&& value) { SetTemplateSubject(std::move(value)); return *this;}
157 
161  inline CustomVerificationEmailTemplateMetadata& WithTemplateSubject(const char* value) { SetTemplateSubject(value); return *this;}
162 
163 
168  inline const Aws::String& GetSuccessRedirectionURL() const{ return m_successRedirectionURL; }
169 
174  inline bool SuccessRedirectionURLHasBeenSet() const { return m_successRedirectionURLHasBeenSet; }
175 
180  inline void SetSuccessRedirectionURL(const Aws::String& value) { m_successRedirectionURLHasBeenSet = true; m_successRedirectionURL = value; }
181 
186  inline void SetSuccessRedirectionURL(Aws::String&& value) { m_successRedirectionURLHasBeenSet = true; m_successRedirectionURL = std::move(value); }
187 
192  inline void SetSuccessRedirectionURL(const char* value) { m_successRedirectionURLHasBeenSet = true; m_successRedirectionURL.assign(value); }
193 
198  inline CustomVerificationEmailTemplateMetadata& WithSuccessRedirectionURL(const Aws::String& value) { SetSuccessRedirectionURL(value); return *this;}
199 
204  inline CustomVerificationEmailTemplateMetadata& WithSuccessRedirectionURL(Aws::String&& value) { SetSuccessRedirectionURL(std::move(value)); return *this;}
205 
210  inline CustomVerificationEmailTemplateMetadata& WithSuccessRedirectionURL(const char* value) { SetSuccessRedirectionURL(value); return *this;}
211 
212 
217  inline const Aws::String& GetFailureRedirectionURL() const{ return m_failureRedirectionURL; }
218 
223  inline bool FailureRedirectionURLHasBeenSet() const { return m_failureRedirectionURLHasBeenSet; }
224 
229  inline void SetFailureRedirectionURL(const Aws::String& value) { m_failureRedirectionURLHasBeenSet = true; m_failureRedirectionURL = value; }
230 
235  inline void SetFailureRedirectionURL(Aws::String&& value) { m_failureRedirectionURLHasBeenSet = true; m_failureRedirectionURL = std::move(value); }
236 
241  inline void SetFailureRedirectionURL(const char* value) { m_failureRedirectionURLHasBeenSet = true; m_failureRedirectionURL.assign(value); }
242 
247  inline CustomVerificationEmailTemplateMetadata& WithFailureRedirectionURL(const Aws::String& value) { SetFailureRedirectionURL(value); return *this;}
248 
253  inline CustomVerificationEmailTemplateMetadata& WithFailureRedirectionURL(Aws::String&& value) { SetFailureRedirectionURL(std::move(value)); return *this;}
254 
259  inline CustomVerificationEmailTemplateMetadata& WithFailureRedirectionURL(const char* value) { SetFailureRedirectionURL(value); return *this;}
260 
261  private:
262 
263  Aws::String m_templateName;
264  bool m_templateNameHasBeenSet;
265 
266  Aws::String m_fromEmailAddress;
267  bool m_fromEmailAddressHasBeenSet;
268 
269  Aws::String m_templateSubject;
270  bool m_templateSubjectHasBeenSet;
271 
272  Aws::String m_successRedirectionURL;
273  bool m_successRedirectionURLHasBeenSet;
274 
275  Aws::String m_failureRedirectionURL;
276  bool m_failureRedirectionURLHasBeenSet;
277  };
278 
279 } // namespace Model
280 } // namespace SESV2
281 } // namespace Aws
Aws::SESV2::Model::CustomVerificationEmailTemplateMetadata
Definition: CustomVerificationEmailTemplateMetadata.h:33
Aws::SESV2::Model::CustomVerificationEmailTemplateMetadata::WithSuccessRedirectionURL
CustomVerificationEmailTemplateMetadata & WithSuccessRedirectionURL(const Aws::String &value)
Definition: CustomVerificationEmailTemplateMetadata.h:198
Aws::SESV2::Model::CustomVerificationEmailTemplateMetadata::WithTemplateName
CustomVerificationEmailTemplateMetadata & WithTemplateName(const char *value)
Definition: CustomVerificationEmailTemplateMetadata.h:79
Aws::SESV2::Model::CustomVerificationEmailTemplateMetadata::WithFromEmailAddress
CustomVerificationEmailTemplateMetadata & WithFromEmailAddress(const char *value)
Definition: CustomVerificationEmailTemplateMetadata.h:120
AWS_SESV2_API
#define AWS_SESV2_API
Definition: SESV2_EXPORTS.h:28
Aws::SESV2::Model::CustomVerificationEmailTemplateMetadata::WithFailureRedirectionURL
CustomVerificationEmailTemplateMetadata & WithFailureRedirectionURL(const Aws::String &value)
Definition: CustomVerificationEmailTemplateMetadata.h:247
Aws::SESV2::Model::CustomVerificationEmailTemplateMetadata::SetTemplateName
void SetTemplateName(const Aws::String &value)
Definition: CustomVerificationEmailTemplateMetadata.h:54
Aws::SESV2::Model::CustomVerificationEmailTemplateMetadata::GetTemplateSubject
const Aws::String & GetTemplateSubject() const
Definition: CustomVerificationEmailTemplateMetadata.h:126
Aws::SESV2::Model::CustomVerificationEmailTemplateMetadata::GetTemplateName
const Aws::String & GetTemplateName() const
Definition: CustomVerificationEmailTemplateMetadata.h:44
Aws::SESV2::Model::CustomVerificationEmailTemplateMetadata::SetFromEmailAddress
void SetFromEmailAddress(Aws::String &&value)
Definition: CustomVerificationEmailTemplateMetadata.h:100
Aws::SESV2::Model::CustomVerificationEmailTemplateMetadata::WithFromEmailAddress
CustomVerificationEmailTemplateMetadata & WithFromEmailAddress(const Aws::String &value)
Definition: CustomVerificationEmailTemplateMetadata.h:110
Aws::SESV2::Model::CustomVerificationEmailTemplateMetadata::SetFailureRedirectionURL
void SetFailureRedirectionURL(Aws::String &&value)
Definition: CustomVerificationEmailTemplateMetadata.h:235
Aws::SESV2::Model::CustomVerificationEmailTemplateMetadata::WithFromEmailAddress
CustomVerificationEmailTemplateMetadata & WithFromEmailAddress(Aws::String &&value)
Definition: CustomVerificationEmailTemplateMetadata.h:115
Aws::SESV2::Model::CustomVerificationEmailTemplateMetadata::SetTemplateSubject
void SetTemplateSubject(Aws::String &&value)
Definition: CustomVerificationEmailTemplateMetadata.h:141
Aws::SESV2::Model::CustomVerificationEmailTemplateMetadata::FromEmailAddressHasBeenSet
bool FromEmailAddressHasBeenSet() const
Definition: CustomVerificationEmailTemplateMetadata.h:90
Aws::SESV2::Model::CustomVerificationEmailTemplateMetadata::TemplateNameHasBeenSet
bool TemplateNameHasBeenSet() const
Definition: CustomVerificationEmailTemplateMetadata.h:49
Aws::SESV2::Model::CustomVerificationEmailTemplateMetadata::SetSuccessRedirectionURL
void SetSuccessRedirectionURL(Aws::String &&value)
Definition: CustomVerificationEmailTemplateMetadata.h:186
Aws::SESV2::Model::CustomVerificationEmailTemplateMetadata::GetFromEmailAddress
const Aws::String & GetFromEmailAddress() const
Definition: CustomVerificationEmailTemplateMetadata.h:85
Aws::SESV2::Model::CustomVerificationEmailTemplateMetadata::WithTemplateName
CustomVerificationEmailTemplateMetadata & WithTemplateName(const Aws::String &value)
Definition: CustomVerificationEmailTemplateMetadata.h:69
Aws::SESV2::Model::CustomVerificationEmailTemplateMetadata::WithFailureRedirectionURL
CustomVerificationEmailTemplateMetadata & WithFailureRedirectionURL(Aws::String &&value)
Definition: CustomVerificationEmailTemplateMetadata.h:253
Aws::SESV2::Model::CustomVerificationEmailTemplateMetadata::WithTemplateName
CustomVerificationEmailTemplateMetadata & WithTemplateName(Aws::String &&value)
Definition: CustomVerificationEmailTemplateMetadata.h:74
Aws::SESV2::Model::CustomVerificationEmailTemplateMetadata::Jsonize
Aws::Utils::Json::JsonValue Jsonize() const
Aws::SESV2::Model::CustomVerificationEmailTemplateMetadata::FailureRedirectionURLHasBeenSet
bool FailureRedirectionURLHasBeenSet() const
Definition: CustomVerificationEmailTemplateMetadata.h:223
Aws::SESV2::Model::CustomVerificationEmailTemplateMetadata::SetTemplateName
void SetTemplateName(const char *value)
Definition: CustomVerificationEmailTemplateMetadata.h:64
Aws::SESV2::Model::CustomVerificationEmailTemplateMetadata::SetFromEmailAddress
void SetFromEmailAddress(const char *value)
Definition: CustomVerificationEmailTemplateMetadata.h:105
Aws::SESV2::Model::CustomVerificationEmailTemplateMetadata::SetTemplateName
void SetTemplateName(Aws::String &&value)
Definition: CustomVerificationEmailTemplateMetadata.h:59
Aws::SESV2::Model::CustomVerificationEmailTemplateMetadata::SetSuccessRedirectionURL
void SetSuccessRedirectionURL(const Aws::String &value)
Definition: CustomVerificationEmailTemplateMetadata.h:180
Aws::SESV2::Model::CustomVerificationEmailTemplateMetadata::SetFailureRedirectionURL
void SetFailureRedirectionURL(const char *value)
Definition: CustomVerificationEmailTemplateMetadata.h:241
Aws::Utils::Json::JsonView
Definition: JsonSerializer.h:235
AWSString.h
Aws::SESV2::Model::CustomVerificationEmailTemplateMetadata::CustomVerificationEmailTemplateMetadata
CustomVerificationEmailTemplateMetadata()
Aws::Utils::Json::JsonValue
Definition: JsonSerializer.h:33
SESV2_EXPORTS.h
Aws::SESV2::Model::CustomVerificationEmailTemplateMetadata::SetFromEmailAddress
void SetFromEmailAddress(const Aws::String &value)
Definition: CustomVerificationEmailTemplateMetadata.h:95
Aws::SESV2::Model::CustomVerificationEmailTemplateMetadata::WithTemplateSubject
CustomVerificationEmailTemplateMetadata & WithTemplateSubject(const char *value)
Definition: CustomVerificationEmailTemplateMetadata.h:161
Aws::SESV2::Model::CustomVerificationEmailTemplateMetadata::TemplateSubjectHasBeenSet
bool TemplateSubjectHasBeenSet() const
Definition: CustomVerificationEmailTemplateMetadata.h:131
Aws::SESV2::Model::CustomVerificationEmailTemplateMetadata::SetTemplateSubject
void SetTemplateSubject(const char *value)
Definition: CustomVerificationEmailTemplateMetadata.h:146
Aws::SESV2::Model::CustomVerificationEmailTemplateMetadata::WithSuccessRedirectionURL
CustomVerificationEmailTemplateMetadata & WithSuccessRedirectionURL(Aws::String &&value)
Definition: CustomVerificationEmailTemplateMetadata.h:204
Aws::SESV2::Model::CustomVerificationEmailTemplateMetadata::SetTemplateSubject
void SetTemplateSubject(const Aws::String &value)
Definition: CustomVerificationEmailTemplateMetadata.h:136
Aws::SESV2::Model::CustomVerificationEmailTemplateMetadata::WithSuccessRedirectionURL
CustomVerificationEmailTemplateMetadata & WithSuccessRedirectionURL(const char *value)
Definition: CustomVerificationEmailTemplateMetadata.h:210
Aws::MigrationHubStrategyRecommendations::Model::OutputFormat::NOT_SET
@ NOT_SET
Aws
Definition: AccessManagementClient.h:15
Aws::SESV2::Model::CustomVerificationEmailTemplateMetadata::SuccessRedirectionURLHasBeenSet
bool SuccessRedirectionURLHasBeenSet() const
Definition: CustomVerificationEmailTemplateMetadata.h:174
Aws::SESV2::Model::CustomVerificationEmailTemplateMetadata::WithFailureRedirectionURL
CustomVerificationEmailTemplateMetadata & WithFailureRedirectionURL(const char *value)
Definition: CustomVerificationEmailTemplateMetadata.h:259
Aws::SESV2::Model::CustomVerificationEmailTemplateMetadata::GetFailureRedirectionURL
const Aws::String & GetFailureRedirectionURL() const
Definition: CustomVerificationEmailTemplateMetadata.h:217
Aws::SESV2::Model::CustomVerificationEmailTemplateMetadata::WithTemplateSubject
CustomVerificationEmailTemplateMetadata & WithTemplateSubject(Aws::String &&value)
Definition: CustomVerificationEmailTemplateMetadata.h:156
Aws::SESV2::Model::CustomVerificationEmailTemplateMetadata::SetFailureRedirectionURL
void SetFailureRedirectionURL(const Aws::String &value)
Definition: CustomVerificationEmailTemplateMetadata.h:229
Aws::String
std::basic_string< char, std::char_traits< char >, Aws::Allocator< char > > String
Definition: AWSString.h:97
Aws::SESV2::Model::CustomVerificationEmailTemplateMetadata::CustomVerificationEmailTemplateMetadata
CustomVerificationEmailTemplateMetadata(Aws::Utils::Json::JsonView jsonValue)
Aws::SESV2::Model::CustomVerificationEmailTemplateMetadata::GetSuccessRedirectionURL
const Aws::String & GetSuccessRedirectionURL() const
Definition: CustomVerificationEmailTemplateMetadata.h:168
Aws::SESV2::Model::CustomVerificationEmailTemplateMetadata::WithTemplateSubject
CustomVerificationEmailTemplateMetadata & WithTemplateSubject(const Aws::String &value)
Definition: CustomVerificationEmailTemplateMetadata.h:151
Aws::SESV2::Model::CustomVerificationEmailTemplateMetadata::SetSuccessRedirectionURL
void SetSuccessRedirectionURL(const char *value)
Definition: CustomVerificationEmailTemplateMetadata.h:192
Aws::SESV2::Model::CustomVerificationEmailTemplateMetadata::operator=
CustomVerificationEmailTemplateMetadata & operator=(Aws::Utils::Json::JsonView jsonValue)