AWS SDK for C++

AWS SDK for C++ Version 1.11.440

Loading...
Searching...
No Matches
CustomVerificationEmailTemplateMetadata.h
1
6#pragma once
7#include <aws/sesv2/SESV2_EXPORTS.h>
8#include <aws/core/utils/memory/stl/AWSString.h>
9#include <utility>
10
11namespace Aws
12{
13namespace Utils
14{
15namespace Json
16{
17 class JsonValue;
18 class JsonView;
19} // namespace Json
20} // namespace Utils
21namespace SESV2
22{
23namespace Model
24{
25
33 {
34 public:
38 AWS_SESV2_API Aws::Utils::Json::JsonValue Jsonize() const;
39
40
42
45 inline const Aws::String& GetTemplateName() const{ return m_templateName; }
46 inline bool TemplateNameHasBeenSet() const { return m_templateNameHasBeenSet; }
47 inline void SetTemplateName(const Aws::String& value) { m_templateNameHasBeenSet = true; m_templateName = value; }
48 inline void SetTemplateName(Aws::String&& value) { m_templateNameHasBeenSet = true; m_templateName = std::move(value); }
49 inline void SetTemplateName(const char* value) { m_templateNameHasBeenSet = true; m_templateName.assign(value); }
51 inline CustomVerificationEmailTemplateMetadata& WithTemplateName(Aws::String&& value) { SetTemplateName(std::move(value)); return *this;}
52 inline CustomVerificationEmailTemplateMetadata& WithTemplateName(const char* value) { SetTemplateName(value); return *this;}
54
56
59 inline const Aws::String& GetFromEmailAddress() const{ return m_fromEmailAddress; }
60 inline bool FromEmailAddressHasBeenSet() const { return m_fromEmailAddressHasBeenSet; }
61 inline void SetFromEmailAddress(const Aws::String& value) { m_fromEmailAddressHasBeenSet = true; m_fromEmailAddress = value; }
62 inline void SetFromEmailAddress(Aws::String&& value) { m_fromEmailAddressHasBeenSet = true; m_fromEmailAddress = std::move(value); }
63 inline void SetFromEmailAddress(const char* value) { m_fromEmailAddressHasBeenSet = true; m_fromEmailAddress.assign(value); }
66 inline CustomVerificationEmailTemplateMetadata& WithFromEmailAddress(const char* value) { SetFromEmailAddress(value); return *this;}
68
70
73 inline const Aws::String& GetTemplateSubject() const{ return m_templateSubject; }
74 inline bool TemplateSubjectHasBeenSet() const { return m_templateSubjectHasBeenSet; }
75 inline void SetTemplateSubject(const Aws::String& value) { m_templateSubjectHasBeenSet = true; m_templateSubject = value; }
76 inline void SetTemplateSubject(Aws::String&& value) { m_templateSubjectHasBeenSet = true; m_templateSubject = std::move(value); }
77 inline void SetTemplateSubject(const char* value) { m_templateSubjectHasBeenSet = true; m_templateSubject.assign(value); }
80 inline CustomVerificationEmailTemplateMetadata& WithTemplateSubject(const char* value) { SetTemplateSubject(value); return *this;}
82
84
88 inline const Aws::String& GetSuccessRedirectionURL() const{ return m_successRedirectionURL; }
89 inline bool SuccessRedirectionURLHasBeenSet() const { return m_successRedirectionURLHasBeenSet; }
90 inline void SetSuccessRedirectionURL(const Aws::String& value) { m_successRedirectionURLHasBeenSet = true; m_successRedirectionURL = value; }
91 inline void SetSuccessRedirectionURL(Aws::String&& value) { m_successRedirectionURLHasBeenSet = true; m_successRedirectionURL = std::move(value); }
92 inline void SetSuccessRedirectionURL(const char* value) { m_successRedirectionURLHasBeenSet = true; m_successRedirectionURL.assign(value); }
97
99
103 inline const Aws::String& GetFailureRedirectionURL() const{ return m_failureRedirectionURL; }
104 inline bool FailureRedirectionURLHasBeenSet() const { return m_failureRedirectionURLHasBeenSet; }
105 inline void SetFailureRedirectionURL(const Aws::String& value) { m_failureRedirectionURLHasBeenSet = true; m_failureRedirectionURL = value; }
106 inline void SetFailureRedirectionURL(Aws::String&& value) { m_failureRedirectionURLHasBeenSet = true; m_failureRedirectionURL = std::move(value); }
107 inline void SetFailureRedirectionURL(const char* value) { m_failureRedirectionURLHasBeenSet = true; m_failureRedirectionURL.assign(value); }
112 private:
113
114 Aws::String m_templateName;
115 bool m_templateNameHasBeenSet = false;
116
117 Aws::String m_fromEmailAddress;
118 bool m_fromEmailAddressHasBeenSet = false;
119
120 Aws::String m_templateSubject;
121 bool m_templateSubjectHasBeenSet = false;
122
123 Aws::String m_successRedirectionURL;
124 bool m_successRedirectionURLHasBeenSet = false;
125
126 Aws::String m_failureRedirectionURL;
127 bool m_failureRedirectionURLHasBeenSet = false;
128 };
129
130} // namespace Model
131} // namespace SESV2
132} // namespace Aws
CustomVerificationEmailTemplateMetadata & WithFailureRedirectionURL(Aws::String &&value)
CustomVerificationEmailTemplateMetadata & WithFromEmailAddress(const char *value)
CustomVerificationEmailTemplateMetadata & WithSuccessRedirectionURL(Aws::String &&value)
CustomVerificationEmailTemplateMetadata & WithFailureRedirectionURL(const char *value)
CustomVerificationEmailTemplateMetadata & WithTemplateSubject(const char *value)
CustomVerificationEmailTemplateMetadata & WithTemplateName(const char *value)
AWS_SESV2_API CustomVerificationEmailTemplateMetadata & operator=(Aws::Utils::Json::JsonView jsonValue)
AWS_SESV2_API Aws::Utils::Json::JsonValue Jsonize() const
AWS_SESV2_API CustomVerificationEmailTemplateMetadata(Aws::Utils::Json::JsonView jsonValue)
CustomVerificationEmailTemplateMetadata & WithSuccessRedirectionURL(const Aws::String &value)
CustomVerificationEmailTemplateMetadata & WithFailureRedirectionURL(const Aws::String &value)
CustomVerificationEmailTemplateMetadata & WithSuccessRedirectionURL(const char *value)
CustomVerificationEmailTemplateMetadata & WithFromEmailAddress(Aws::String &&value)
CustomVerificationEmailTemplateMetadata & WithTemplateName(Aws::String &&value)
CustomVerificationEmailTemplateMetadata & WithTemplateSubject(Aws::String &&value)
CustomVerificationEmailTemplateMetadata & WithTemplateSubject(const Aws::String &value)
CustomVerificationEmailTemplateMetadata & WithFromEmailAddress(const Aws::String &value)
CustomVerificationEmailTemplateMetadata & WithTemplateName(const Aws::String &value)
std::basic_string< char, std::char_traits< char >, Aws::Allocator< char > > String
Aws::Utils::Json::JsonValue JsonValue