AWS SDK for C++

AWS SDK for C++ Version 1.11.935

Loading...
Searching...
No Matches
CustomVerificationEmailTemplateMetadata.h
1
6#pragma once
7#include <aws/core/utils/memory/stl/AWSString.h>
8#include <aws/sesv2/SESV2_EXPORTS.h>
9
10#include <utility>
11
12namespace Aws {
13namespace Utils {
14namespace Json {
15class JsonValue;
16class JsonView;
17} // namespace Json
18} // namespace Utils
19namespace SESV2 {
20namespace Model {
21
29 public:
30 AWS_SESV2_API CustomVerificationEmailTemplateMetadata() = default;
33 AWS_SESV2_API Aws::Utils::Json::JsonValue Jsonize() const;
34
36
39 inline const Aws::String& GetTemplateName() const { return m_templateName; }
40 inline bool TemplateNameHasBeenSet() const { return m_templateNameHasBeenSet; }
41 template <typename TemplateNameT = Aws::String>
42 void SetTemplateName(TemplateNameT&& value) {
43 m_templateNameHasBeenSet = true;
44 m_templateName = std::forward<TemplateNameT>(value);
45 }
46 template <typename TemplateNameT = Aws::String>
48 SetTemplateName(std::forward<TemplateNameT>(value));
49 return *this;
50 }
52
54
57 inline const Aws::String& GetFromEmailAddress() const { return m_fromEmailAddress; }
58 inline bool FromEmailAddressHasBeenSet() const { return m_fromEmailAddressHasBeenSet; }
59 template <typename FromEmailAddressT = Aws::String>
60 void SetFromEmailAddress(FromEmailAddressT&& value) {
61 m_fromEmailAddressHasBeenSet = true;
62 m_fromEmailAddress = std::forward<FromEmailAddressT>(value);
63 }
64 template <typename FromEmailAddressT = Aws::String>
66 SetFromEmailAddress(std::forward<FromEmailAddressT>(value));
67 return *this;
68 }
70
72
75 inline const Aws::String& GetTemplateSubject() const { return m_templateSubject; }
76 inline bool TemplateSubjectHasBeenSet() const { return m_templateSubjectHasBeenSet; }
77 template <typename TemplateSubjectT = Aws::String>
78 void SetTemplateSubject(TemplateSubjectT&& value) {
79 m_templateSubjectHasBeenSet = true;
80 m_templateSubject = std::forward<TemplateSubjectT>(value);
81 }
82 template <typename TemplateSubjectT = Aws::String>
84 SetTemplateSubject(std::forward<TemplateSubjectT>(value));
85 return *this;
86 }
88
90
94 inline const Aws::String& GetSuccessRedirectionURL() const { return m_successRedirectionURL; }
95 inline bool SuccessRedirectionURLHasBeenSet() const { return m_successRedirectionURLHasBeenSet; }
96 template <typename SuccessRedirectionURLT = Aws::String>
97 void SetSuccessRedirectionURL(SuccessRedirectionURLT&& value) {
98 m_successRedirectionURLHasBeenSet = true;
99 m_successRedirectionURL = std::forward<SuccessRedirectionURLT>(value);
100 }
101 template <typename SuccessRedirectionURLT = Aws::String>
103 SetSuccessRedirectionURL(std::forward<SuccessRedirectionURLT>(value));
104 return *this;
105 }
107
109
113 inline const Aws::String& GetFailureRedirectionURL() const { return m_failureRedirectionURL; }
114 inline bool FailureRedirectionURLHasBeenSet() const { return m_failureRedirectionURLHasBeenSet; }
115 template <typename FailureRedirectionURLT = Aws::String>
116 void SetFailureRedirectionURL(FailureRedirectionURLT&& value) {
117 m_failureRedirectionURLHasBeenSet = true;
118 m_failureRedirectionURL = std::forward<FailureRedirectionURLT>(value);
119 }
120 template <typename FailureRedirectionURLT = Aws::String>
122 SetFailureRedirectionURL(std::forward<FailureRedirectionURLT>(value));
123 return *this;
124 }
126 private:
127 Aws::String m_templateName;
128
129 Aws::String m_fromEmailAddress;
130
131 Aws::String m_templateSubject;
132
133 Aws::String m_successRedirectionURL;
134
135 Aws::String m_failureRedirectionURL;
136 bool m_templateNameHasBeenSet = false;
137 bool m_fromEmailAddressHasBeenSet = false;
138 bool m_templateSubjectHasBeenSet = false;
139 bool m_successRedirectionURLHasBeenSet = false;
140 bool m_failureRedirectionURLHasBeenSet = false;
141};
142
143} // namespace Model
144} // namespace SESV2
145} // namespace Aws
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 & WithTemplateName(TemplateNameT &&value)
CustomVerificationEmailTemplateMetadata & WithFailureRedirectionURL(FailureRedirectionURLT &&value)
CustomVerificationEmailTemplateMetadata & WithSuccessRedirectionURL(SuccessRedirectionURLT &&value)
CustomVerificationEmailTemplateMetadata & WithFromEmailAddress(FromEmailAddressT &&value)
CustomVerificationEmailTemplateMetadata & WithTemplateSubject(TemplateSubjectT &&value)
std::basic_string< char, std::char_traits< char >, Aws::Allocator< char > > String
Aws::Utils::Json::JsonValue JsonValue