AWS SDK for C++

AWS SDK for C++ Version 1.11.683

Loading...
Searching...
No Matches
TemplateVersionResponse.h
1
6#pragma once
7#include <aws/core/utils/memory/stl/AWSString.h>
8#include <aws/pinpoint/Pinpoint_EXPORTS.h>
9
10#include <utility>
11
12namespace Aws {
13namespace Utils {
14namespace Json {
15class JsonValue;
16class JsonView;
17} // namespace Json
18} // namespace Utils
19namespace Pinpoint {
20namespace Model {
21
29 public:
30 AWS_PINPOINT_API TemplateVersionResponse() = default;
33 AWS_PINPOINT_API Aws::Utils::Json::JsonValue Jsonize() const;
34
36
40 inline const Aws::String& GetCreationDate() const { return m_creationDate; }
41 inline bool CreationDateHasBeenSet() const { return m_creationDateHasBeenSet; }
42 template <typename CreationDateT = Aws::String>
43 void SetCreationDate(CreationDateT&& value) {
44 m_creationDateHasBeenSet = true;
45 m_creationDate = std::forward<CreationDateT>(value);
46 }
47 template <typename CreationDateT = Aws::String>
48 TemplateVersionResponse& WithCreationDate(CreationDateT&& value) {
49 SetCreationDate(std::forward<CreationDateT>(value));
50 return *this;
51 }
53
55
61 inline const Aws::String& GetDefaultSubstitutions() const { return m_defaultSubstitutions; }
62 inline bool DefaultSubstitutionsHasBeenSet() const { return m_defaultSubstitutionsHasBeenSet; }
63 template <typename DefaultSubstitutionsT = Aws::String>
64 void SetDefaultSubstitutions(DefaultSubstitutionsT&& value) {
65 m_defaultSubstitutionsHasBeenSet = true;
66 m_defaultSubstitutions = std::forward<DefaultSubstitutionsT>(value);
67 }
68 template <typename DefaultSubstitutionsT = Aws::String>
69 TemplateVersionResponse& WithDefaultSubstitutions(DefaultSubstitutionsT&& value) {
70 SetDefaultSubstitutions(std::forward<DefaultSubstitutionsT>(value));
71 return *this;
72 }
74
76
80 inline const Aws::String& GetLastModifiedDate() const { return m_lastModifiedDate; }
81 inline bool LastModifiedDateHasBeenSet() const { return m_lastModifiedDateHasBeenSet; }
82 template <typename LastModifiedDateT = Aws::String>
83 void SetLastModifiedDate(LastModifiedDateT&& value) {
84 m_lastModifiedDateHasBeenSet = true;
85 m_lastModifiedDate = std::forward<LastModifiedDateT>(value);
86 }
87 template <typename LastModifiedDateT = Aws::String>
88 TemplateVersionResponse& WithLastModifiedDate(LastModifiedDateT&& value) {
89 SetLastModifiedDate(std::forward<LastModifiedDateT>(value));
90 return *this;
91 }
93
95
98 inline const Aws::String& GetTemplateDescription() const { return m_templateDescription; }
99 inline bool TemplateDescriptionHasBeenSet() const { return m_templateDescriptionHasBeenSet; }
100 template <typename TemplateDescriptionT = Aws::String>
101 void SetTemplateDescription(TemplateDescriptionT&& value) {
102 m_templateDescriptionHasBeenSet = true;
103 m_templateDescription = std::forward<TemplateDescriptionT>(value);
104 }
105 template <typename TemplateDescriptionT = Aws::String>
106 TemplateVersionResponse& WithTemplateDescription(TemplateDescriptionT&& value) {
107 SetTemplateDescription(std::forward<TemplateDescriptionT>(value));
108 return *this;
109 }
111
113
116 inline const Aws::String& GetTemplateName() const { return m_templateName; }
117 inline bool TemplateNameHasBeenSet() const { return m_templateNameHasBeenSet; }
118 template <typename TemplateNameT = Aws::String>
119 void SetTemplateName(TemplateNameT&& value) {
120 m_templateNameHasBeenSet = true;
121 m_templateName = std::forward<TemplateNameT>(value);
122 }
123 template <typename TemplateNameT = Aws::String>
125 SetTemplateName(std::forward<TemplateNameT>(value));
126 return *this;
127 }
129
131
135 inline const Aws::String& GetTemplateType() const { return m_templateType; }
136 inline bool TemplateTypeHasBeenSet() const { return m_templateTypeHasBeenSet; }
137 template <typename TemplateTypeT = Aws::String>
138 void SetTemplateType(TemplateTypeT&& value) {
139 m_templateTypeHasBeenSet = true;
140 m_templateType = std::forward<TemplateTypeT>(value);
141 }
142 template <typename TemplateTypeT = Aws::String>
144 SetTemplateType(std::forward<TemplateTypeT>(value));
145 return *this;
146 }
148
150
155 inline const Aws::String& GetVersion() const { return m_version; }
156 inline bool VersionHasBeenSet() const { return m_versionHasBeenSet; }
157 template <typename VersionT = Aws::String>
158 void SetVersion(VersionT&& value) {
159 m_versionHasBeenSet = true;
160 m_version = std::forward<VersionT>(value);
161 }
162 template <typename VersionT = Aws::String>
164 SetVersion(std::forward<VersionT>(value));
165 return *this;
166 }
168 private:
169 Aws::String m_creationDate;
170 bool m_creationDateHasBeenSet = false;
171
172 Aws::String m_defaultSubstitutions;
173 bool m_defaultSubstitutionsHasBeenSet = false;
174
175 Aws::String m_lastModifiedDate;
176 bool m_lastModifiedDateHasBeenSet = false;
177
178 Aws::String m_templateDescription;
179 bool m_templateDescriptionHasBeenSet = false;
180
181 Aws::String m_templateName;
182 bool m_templateNameHasBeenSet = false;
183
184 Aws::String m_templateType;
185 bool m_templateTypeHasBeenSet = false;
186
187 Aws::String m_version;
188 bool m_versionHasBeenSet = false;
189};
190
191} // namespace Model
192} // namespace Pinpoint
193} // namespace Aws
AWS_PINPOINT_API TemplateVersionResponse()=default
TemplateVersionResponse & WithTemplateName(TemplateNameT &&value)
TemplateVersionResponse & WithCreationDate(CreationDateT &&value)
AWS_PINPOINT_API Aws::Utils::Json::JsonValue Jsonize() const
AWS_PINPOINT_API TemplateVersionResponse & operator=(Aws::Utils::Json::JsonView jsonValue)
TemplateVersionResponse & WithDefaultSubstitutions(DefaultSubstitutionsT &&value)
TemplateVersionResponse & WithTemplateType(TemplateTypeT &&value)
TemplateVersionResponse & WithVersion(VersionT &&value)
void SetTemplateDescription(TemplateDescriptionT &&value)
AWS_PINPOINT_API TemplateVersionResponse(Aws::Utils::Json::JsonView jsonValue)
TemplateVersionResponse & WithTemplateDescription(TemplateDescriptionT &&value)
void SetDefaultSubstitutions(DefaultSubstitutionsT &&value)
TemplateVersionResponse & WithLastModifiedDate(LastModifiedDateT &&value)
std::basic_string< char, std::char_traits< char >, Aws::Allocator< char > > String
Aws::Utils::Json::JsonValue JsonValue