AWS SDK for C++

AWS SDK for C++ Version 1.11.788

Loading...
Searching...
No Matches
UpdateCalculatedAttributeDefinitionResult.h
1
6#pragma once
7#include <aws/core/http/HttpResponse.h>
8#include <aws/core/utils/DateTime.h>
9#include <aws/core/utils/memory/stl/AWSMap.h>
10#include <aws/core/utils/memory/stl/AWSString.h>
11#include <aws/customer-profiles/CustomerProfiles_EXPORTS.h>
12#include <aws/customer-profiles/model/AttributeDetails.h>
13#include <aws/customer-profiles/model/Conditions.h>
14#include <aws/customer-profiles/model/Readiness.h>
15#include <aws/customer-profiles/model/ReadinessStatus.h>
16#include <aws/customer-profiles/model/Statistic.h>
17
18#include <utility>
19
20namespace Aws {
21template <typename RESULT_TYPE>
22class AmazonWebServiceResult;
23
24namespace Utils {
25namespace Json {
26class JsonValue;
27} // namespace Json
28} // namespace Utils
29namespace CustomerProfiles {
30namespace Model {
32 public:
33 AWS_CUSTOMERPROFILES_API UpdateCalculatedAttributeDefinitionResult() = default;
38
40
43 inline const Aws::String& GetCalculatedAttributeName() const { return m_calculatedAttributeName; }
44 template <typename CalculatedAttributeNameT = Aws::String>
45 void SetCalculatedAttributeName(CalculatedAttributeNameT&& value) {
46 m_calculatedAttributeNameHasBeenSet = true;
47 m_calculatedAttributeName = std::forward<CalculatedAttributeNameT>(value);
48 }
49 template <typename CalculatedAttributeNameT = Aws::String>
51 SetCalculatedAttributeName(std::forward<CalculatedAttributeNameT>(value));
52 return *this;
53 }
55
57
60 inline const Aws::String& GetDisplayName() const { return m_displayName; }
61 template <typename DisplayNameT = Aws::String>
62 void SetDisplayName(DisplayNameT&& value) {
63 m_displayNameHasBeenSet = true;
64 m_displayName = std::forward<DisplayNameT>(value);
65 }
66 template <typename DisplayNameT = Aws::String>
68 SetDisplayName(std::forward<DisplayNameT>(value));
69 return *this;
70 }
72
74
77 inline const Aws::String& GetDescription() const { return m_description; }
78 template <typename DescriptionT = Aws::String>
79 void SetDescription(DescriptionT&& value) {
80 m_descriptionHasBeenSet = true;
81 m_description = std::forward<DescriptionT>(value);
82 }
83 template <typename DescriptionT = Aws::String>
85 SetDescription(std::forward<DescriptionT>(value));
86 return *this;
87 }
89
91
94 inline const Aws::Utils::DateTime& GetCreatedAt() const { return m_createdAt; }
95 template <typename CreatedAtT = Aws::Utils::DateTime>
96 void SetCreatedAt(CreatedAtT&& value) {
97 m_createdAtHasBeenSet = true;
98 m_createdAt = std::forward<CreatedAtT>(value);
99 }
100 template <typename CreatedAtT = Aws::Utils::DateTime>
102 SetCreatedAt(std::forward<CreatedAtT>(value));
103 return *this;
104 }
106
108
112 inline const Aws::Utils::DateTime& GetLastUpdatedAt() const { return m_lastUpdatedAt; }
113 template <typename LastUpdatedAtT = Aws::Utils::DateTime>
114 void SetLastUpdatedAt(LastUpdatedAtT&& value) {
115 m_lastUpdatedAtHasBeenSet = true;
116 m_lastUpdatedAt = std::forward<LastUpdatedAtT>(value);
117 }
118 template <typename LastUpdatedAtT = Aws::Utils::DateTime>
120 SetLastUpdatedAt(std::forward<LastUpdatedAtT>(value));
121 return *this;
122 }
124
126
129 inline Statistic GetStatistic() const { return m_statistic; }
130 inline void SetStatistic(Statistic value) {
131 m_statisticHasBeenSet = true;
132 m_statistic = value;
133 }
135 SetStatistic(value);
136 return *this;
137 }
139
141
145 inline const Conditions& GetConditions() const { return m_conditions; }
146 template <typename ConditionsT = Conditions>
147 void SetConditions(ConditionsT&& value) {
148 m_conditionsHasBeenSet = true;
149 m_conditions = std::forward<ConditionsT>(value);
150 }
151 template <typename ConditionsT = Conditions>
153 SetConditions(std::forward<ConditionsT>(value));
154 return *this;
155 }
157
159
163 inline const AttributeDetails& GetAttributeDetails() const { return m_attributeDetails; }
164 template <typename AttributeDetailsT = AttributeDetails>
165 void SetAttributeDetails(AttributeDetailsT&& value) {
166 m_attributeDetailsHasBeenSet = true;
167 m_attributeDetails = std::forward<AttributeDetailsT>(value);
168 }
169 template <typename AttributeDetailsT = AttributeDetails>
171 SetAttributeDetails(std::forward<AttributeDetailsT>(value));
172 return *this;
173 }
175
177
181 inline bool GetUseHistoricalData() const { return m_useHistoricalData; }
182 inline void SetUseHistoricalData(bool value) {
183 m_useHistoricalDataHasBeenSet = true;
184 m_useHistoricalData = value;
185 }
188 return *this;
189 }
191
193
197 inline ReadinessStatus GetStatus() const { return m_status; }
198 inline void SetStatus(ReadinessStatus value) {
199 m_statusHasBeenSet = true;
200 m_status = value;
201 }
203 SetStatus(value);
204 return *this;
205 }
207
209
213 inline const Readiness& GetReadiness() const { return m_readiness; }
214 template <typename ReadinessT = Readiness>
215 void SetReadiness(ReadinessT&& value) {
216 m_readinessHasBeenSet = true;
217 m_readiness = std::forward<ReadinessT>(value);
218 }
219 template <typename ReadinessT = Readiness>
221 SetReadiness(std::forward<ReadinessT>(value));
222 return *this;
223 }
225
227
230 inline const Aws::Map<Aws::String, Aws::String>& GetTags() const { return m_tags; }
231 template <typename TagsT = Aws::Map<Aws::String, Aws::String>>
232 void SetTags(TagsT&& value) {
233 m_tagsHasBeenSet = true;
234 m_tags = std::forward<TagsT>(value);
235 }
236 template <typename TagsT = Aws::Map<Aws::String, Aws::String>>
238 SetTags(std::forward<TagsT>(value));
239 return *this;
240 }
241 template <typename TagsKeyT = Aws::String, typename TagsValueT = Aws::String>
242 UpdateCalculatedAttributeDefinitionResult& AddTags(TagsKeyT&& key, TagsValueT&& value) {
243 m_tagsHasBeenSet = true;
244 m_tags.emplace(std::forward<TagsKeyT>(key), std::forward<TagsValueT>(value));
245 return *this;
246 }
248
250
251 inline const Aws::String& GetRequestId() const { return m_requestId; }
252 template <typename RequestIdT = Aws::String>
253 void SetRequestId(RequestIdT&& value) {
254 m_requestIdHasBeenSet = true;
255 m_requestId = std::forward<RequestIdT>(value);
256 }
257 template <typename RequestIdT = Aws::String>
259 SetRequestId(std::forward<RequestIdT>(value));
260 return *this;
261 }
263 inline Aws::Http::HttpResponseCode GetHttpResponseCode() const { return m_HttpResponseCode; }
264
265 private:
266 Aws::String m_calculatedAttributeName;
267
268 Aws::String m_displayName;
269
270 Aws::String m_description;
271
272 Aws::Utils::DateTime m_createdAt{};
273
274 Aws::Utils::DateTime m_lastUpdatedAt{};
275
276 Statistic m_statistic{Statistic::NOT_SET};
277
278 Conditions m_conditions;
279
280 AttributeDetails m_attributeDetails;
281
282 bool m_useHistoricalData{false};
283
285
286 Readiness m_readiness;
287
289
290 Aws::String m_requestId;
291 Aws::Http::HttpResponseCode m_HttpResponseCode;
292 bool m_calculatedAttributeNameHasBeenSet = false;
293 bool m_displayNameHasBeenSet = false;
294 bool m_descriptionHasBeenSet = false;
295 bool m_createdAtHasBeenSet = false;
296 bool m_lastUpdatedAtHasBeenSet = false;
297 bool m_statisticHasBeenSet = false;
298 bool m_conditionsHasBeenSet = false;
299 bool m_attributeDetailsHasBeenSet = false;
300 bool m_useHistoricalDataHasBeenSet = false;
301 bool m_statusHasBeenSet = false;
302 bool m_readinessHasBeenSet = false;
303 bool m_tagsHasBeenSet = false;
304 bool m_requestIdHasBeenSet = false;
305};
306
307} // namespace Model
308} // namespace CustomerProfiles
309} // namespace Aws
UpdateCalculatedAttributeDefinitionResult & AddTags(TagsKeyT &&key, TagsValueT &&value)
UpdateCalculatedAttributeDefinitionResult & WithStatus(ReadinessStatus value)
AWS_CUSTOMERPROFILES_API UpdateCalculatedAttributeDefinitionResult & operator=(const Aws::AmazonWebServiceResult< Aws::Utils::Json::JsonValue > &result)
UpdateCalculatedAttributeDefinitionResult & WithDisplayName(DisplayNameT &&value)
UpdateCalculatedAttributeDefinitionResult & WithLastUpdatedAt(LastUpdatedAtT &&value)
UpdateCalculatedAttributeDefinitionResult & WithConditions(ConditionsT &&value)
AWS_CUSTOMERPROFILES_API UpdateCalculatedAttributeDefinitionResult()=default
UpdateCalculatedAttributeDefinitionResult & WithAttributeDetails(AttributeDetailsT &&value)
AWS_CUSTOMERPROFILES_API UpdateCalculatedAttributeDefinitionResult(const Aws::AmazonWebServiceResult< Aws::Utils::Json::JsonValue > &result)
UpdateCalculatedAttributeDefinitionResult & WithDescription(DescriptionT &&value)
UpdateCalculatedAttributeDefinitionResult & WithCalculatedAttributeName(CalculatedAttributeNameT &&value)
std::map< K, V, std::less< K >, Aws::Allocator< std::pair< const K, V > > > Map
std::basic_string< char, std::char_traits< char >, Aws::Allocator< char > > String
Aws::Utils::Json::JsonValue JsonValue