AWS SDK for C++

AWS SDK for C++ Version 1.11.788

Loading...
Searching...
No Matches
GetCalculatedAttributeDefinitionResult.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/Filter.h>
15#include <aws/customer-profiles/model/Readiness.h>
16#include <aws/customer-profiles/model/ReadinessStatus.h>
17#include <aws/customer-profiles/model/Statistic.h>
18
19#include <utility>
20
21namespace Aws {
22template <typename RESULT_TYPE>
23class AmazonWebServiceResult;
24
25namespace Utils {
26namespace Json {
27class JsonValue;
28} // namespace Json
29} // namespace Utils
30namespace CustomerProfiles {
31namespace Model {
33 public:
34 AWS_CUSTOMERPROFILES_API GetCalculatedAttributeDefinitionResult() = 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
144 inline const Filter& GetFilter() const { return m_filter; }
145 template <typename FilterT = Filter>
146 void SetFilter(FilterT&& value) {
147 m_filterHasBeenSet = true;
148 m_filter = std::forward<FilterT>(value);
149 }
150 template <typename FilterT = Filter>
152 SetFilter(std::forward<FilterT>(value));
153 return *this;
154 }
156
158
162 inline const Conditions& GetConditions() const { return m_conditions; }
163 template <typename ConditionsT = Conditions>
164 void SetConditions(ConditionsT&& value) {
165 m_conditionsHasBeenSet = true;
166 m_conditions = std::forward<ConditionsT>(value);
167 }
168 template <typename ConditionsT = Conditions>
170 SetConditions(std::forward<ConditionsT>(value));
171 return *this;
172 }
174
176
180 inline const AttributeDetails& GetAttributeDetails() const { return m_attributeDetails; }
181 template <typename AttributeDetailsT = AttributeDetails>
182 void SetAttributeDetails(AttributeDetailsT&& value) {
183 m_attributeDetailsHasBeenSet = true;
184 m_attributeDetails = std::forward<AttributeDetailsT>(value);
185 }
186 template <typename AttributeDetailsT = AttributeDetails>
188 SetAttributeDetails(std::forward<AttributeDetailsT>(value));
189 return *this;
190 }
192
194
198 inline bool GetUseHistoricalData() const { return m_useHistoricalData; }
199 inline void SetUseHistoricalData(bool value) {
200 m_useHistoricalDataHasBeenSet = true;
201 m_useHistoricalData = value;
202 }
205 return *this;
206 }
208
210
214 inline ReadinessStatus GetStatus() const { return m_status; }
215 inline void SetStatus(ReadinessStatus value) {
216 m_statusHasBeenSet = true;
217 m_status = value;
218 }
220 SetStatus(value);
221 return *this;
222 }
224
226
230 inline const Readiness& GetReadiness() const { return m_readiness; }
231 template <typename ReadinessT = Readiness>
232 void SetReadiness(ReadinessT&& value) {
233 m_readinessHasBeenSet = true;
234 m_readiness = std::forward<ReadinessT>(value);
235 }
236 template <typename ReadinessT = Readiness>
238 SetReadiness(std::forward<ReadinessT>(value));
239 return *this;
240 }
242
244
247 inline const Aws::Map<Aws::String, Aws::String>& GetTags() const { return m_tags; }
248 template <typename TagsT = Aws::Map<Aws::String, Aws::String>>
249 void SetTags(TagsT&& value) {
250 m_tagsHasBeenSet = true;
251 m_tags = std::forward<TagsT>(value);
252 }
253 template <typename TagsT = Aws::Map<Aws::String, Aws::String>>
255 SetTags(std::forward<TagsT>(value));
256 return *this;
257 }
258 template <typename TagsKeyT = Aws::String, typename TagsValueT = Aws::String>
259 GetCalculatedAttributeDefinitionResult& AddTags(TagsKeyT&& key, TagsValueT&& value) {
260 m_tagsHasBeenSet = true;
261 m_tags.emplace(std::forward<TagsKeyT>(key), std::forward<TagsValueT>(value));
262 return *this;
263 }
265
267
268 inline const Aws::String& GetRequestId() const { return m_requestId; }
269 template <typename RequestIdT = Aws::String>
270 void SetRequestId(RequestIdT&& value) {
271 m_requestIdHasBeenSet = true;
272 m_requestId = std::forward<RequestIdT>(value);
273 }
274 template <typename RequestIdT = Aws::String>
276 SetRequestId(std::forward<RequestIdT>(value));
277 return *this;
278 }
280 inline Aws::Http::HttpResponseCode GetHttpResponseCode() const { return m_HttpResponseCode; }
281
282 private:
283 Aws::String m_calculatedAttributeName;
284
285 Aws::String m_displayName;
286
287 Aws::String m_description;
288
289 Aws::Utils::DateTime m_createdAt{};
290
291 Aws::Utils::DateTime m_lastUpdatedAt{};
292
293 Statistic m_statistic{Statistic::NOT_SET};
294
295 Filter m_filter;
296
297 Conditions m_conditions;
298
299 AttributeDetails m_attributeDetails;
300
301 bool m_useHistoricalData{false};
302
304
305 Readiness m_readiness;
306
308
309 Aws::String m_requestId;
310 Aws::Http::HttpResponseCode m_HttpResponseCode;
311 bool m_calculatedAttributeNameHasBeenSet = false;
312 bool m_displayNameHasBeenSet = false;
313 bool m_descriptionHasBeenSet = false;
314 bool m_createdAtHasBeenSet = false;
315 bool m_lastUpdatedAtHasBeenSet = false;
316 bool m_statisticHasBeenSet = false;
317 bool m_filterHasBeenSet = false;
318 bool m_conditionsHasBeenSet = false;
319 bool m_attributeDetailsHasBeenSet = false;
320 bool m_useHistoricalDataHasBeenSet = false;
321 bool m_statusHasBeenSet = false;
322 bool m_readinessHasBeenSet = false;
323 bool m_tagsHasBeenSet = false;
324 bool m_requestIdHasBeenSet = false;
325};
326
327} // namespace Model
328} // namespace CustomerProfiles
329} // namespace Aws
AWS_CUSTOMERPROFILES_API GetCalculatedAttributeDefinitionResult()=default
GetCalculatedAttributeDefinitionResult & WithDescription(DescriptionT &&value)
GetCalculatedAttributeDefinitionResult & WithRequestId(RequestIdT &&value)
GetCalculatedAttributeDefinitionResult & AddTags(TagsKeyT &&key, TagsValueT &&value)
GetCalculatedAttributeDefinitionResult & WithConditions(ConditionsT &&value)
GetCalculatedAttributeDefinitionResult & WithCalculatedAttributeName(CalculatedAttributeNameT &&value)
GetCalculatedAttributeDefinitionResult & WithLastUpdatedAt(LastUpdatedAtT &&value)
GetCalculatedAttributeDefinitionResult & WithDisplayName(DisplayNameT &&value)
GetCalculatedAttributeDefinitionResult & WithStatus(ReadinessStatus value)
AWS_CUSTOMERPROFILES_API GetCalculatedAttributeDefinitionResult & operator=(const Aws::AmazonWebServiceResult< Aws::Utils::Json::JsonValue > &result)
GetCalculatedAttributeDefinitionResult & WithReadiness(ReadinessT &&value)
GetCalculatedAttributeDefinitionResult & WithCreatedAt(CreatedAtT &&value)
GetCalculatedAttributeDefinitionResult & WithAttributeDetails(AttributeDetailsT &&value)
AWS_CUSTOMERPROFILES_API GetCalculatedAttributeDefinitionResult(const Aws::AmazonWebServiceResult< Aws::Utils::Json::JsonValue > &result)
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