AWS SDK for C++

AWS SDK for C++ Version 1.11.788

Loading...
Searching...
No Matches
CreateCalculatedAttributeDefinitionResult.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 CreateCalculatedAttributeDefinitionResult() = default;
39
41
44 inline const Aws::String& GetCalculatedAttributeName() const { return m_calculatedAttributeName; }
45 template <typename CalculatedAttributeNameT = Aws::String>
46 void SetCalculatedAttributeName(CalculatedAttributeNameT&& value) {
47 m_calculatedAttributeNameHasBeenSet = true;
48 m_calculatedAttributeName = std::forward<CalculatedAttributeNameT>(value);
49 }
50 template <typename CalculatedAttributeNameT = Aws::String>
52 SetCalculatedAttributeName(std::forward<CalculatedAttributeNameT>(value));
53 return *this;
54 }
56
58
61 inline const Aws::String& GetDisplayName() const { return m_displayName; }
62 template <typename DisplayNameT = Aws::String>
63 void SetDisplayName(DisplayNameT&& value) {
64 m_displayNameHasBeenSet = true;
65 m_displayName = std::forward<DisplayNameT>(value);
66 }
67 template <typename DisplayNameT = Aws::String>
69 SetDisplayName(std::forward<DisplayNameT>(value));
70 return *this;
71 }
73
75
78 inline const Aws::String& GetDescription() const { return m_description; }
79 template <typename DescriptionT = Aws::String>
80 void SetDescription(DescriptionT&& value) {
81 m_descriptionHasBeenSet = true;
82 m_description = std::forward<DescriptionT>(value);
83 }
84 template <typename DescriptionT = Aws::String>
86 SetDescription(std::forward<DescriptionT>(value));
87 return *this;
88 }
90
92
96 inline const AttributeDetails& GetAttributeDetails() const { return m_attributeDetails; }
97 template <typename AttributeDetailsT = AttributeDetails>
98 void SetAttributeDetails(AttributeDetailsT&& value) {
99 m_attributeDetailsHasBeenSet = true;
100 m_attributeDetails = std::forward<AttributeDetailsT>(value);
101 }
102 template <typename AttributeDetailsT = AttributeDetails>
104 SetAttributeDetails(std::forward<AttributeDetailsT>(value));
105 return *this;
106 }
108
110
114 inline const Conditions& GetConditions() const { return m_conditions; }
115 template <typename ConditionsT = Conditions>
116 void SetConditions(ConditionsT&& value) {
117 m_conditionsHasBeenSet = true;
118 m_conditions = std::forward<ConditionsT>(value);
119 }
120 template <typename ConditionsT = Conditions>
122 SetConditions(std::forward<ConditionsT>(value));
123 return *this;
124 }
126
128
131 inline const Filter& GetFilter() const { return m_filter; }
132 template <typename FilterT = Filter>
133 void SetFilter(FilterT&& value) {
134 m_filterHasBeenSet = true;
135 m_filter = std::forward<FilterT>(value);
136 }
137 template <typename FilterT = Filter>
139 SetFilter(std::forward<FilterT>(value));
140 return *this;
141 }
143
145
148 inline Statistic GetStatistic() const { return m_statistic; }
149 inline void SetStatistic(Statistic value) {
150 m_statisticHasBeenSet = true;
151 m_statistic = value;
152 }
154 SetStatistic(value);
155 return *this;
156 }
158
160
163 inline const Aws::Utils::DateTime& GetCreatedAt() const { return m_createdAt; }
164 template <typename CreatedAtT = Aws::Utils::DateTime>
165 void SetCreatedAt(CreatedAtT&& value) {
166 m_createdAtHasBeenSet = true;
167 m_createdAt = std::forward<CreatedAtT>(value);
168 }
169 template <typename CreatedAtT = Aws::Utils::DateTime>
171 SetCreatedAt(std::forward<CreatedAtT>(value));
172 return *this;
173 }
175
177
181 inline const Aws::Utils::DateTime& GetLastUpdatedAt() const { return m_lastUpdatedAt; }
182 template <typename LastUpdatedAtT = Aws::Utils::DateTime>
183 void SetLastUpdatedAt(LastUpdatedAtT&& value) {
184 m_lastUpdatedAtHasBeenSet = true;
185 m_lastUpdatedAt = std::forward<LastUpdatedAtT>(value);
186 }
187 template <typename LastUpdatedAtT = Aws::Utils::DateTime>
189 SetLastUpdatedAt(std::forward<LastUpdatedAtT>(value));
190 return *this;
191 }
193
195
199 inline bool GetUseHistoricalData() const { return m_useHistoricalData; }
200 inline void SetUseHistoricalData(bool value) {
201 m_useHistoricalDataHasBeenSet = true;
202 m_useHistoricalData = value;
203 }
206 return *this;
207 }
209
211
215 inline ReadinessStatus GetStatus() const { return m_status; }
216 inline void SetStatus(ReadinessStatus value) {
217 m_statusHasBeenSet = true;
218 m_status = value;
219 }
221 SetStatus(value);
222 return *this;
223 }
225
227
231 inline const Readiness& GetReadiness() const { return m_readiness; }
232 template <typename ReadinessT = Readiness>
233 void SetReadiness(ReadinessT&& value) {
234 m_readinessHasBeenSet = true;
235 m_readiness = std::forward<ReadinessT>(value);
236 }
237 template <typename ReadinessT = Readiness>
239 SetReadiness(std::forward<ReadinessT>(value));
240 return *this;
241 }
243
245
248 inline const Aws::Map<Aws::String, Aws::String>& GetTags() const { return m_tags; }
249 template <typename TagsT = Aws::Map<Aws::String, Aws::String>>
250 void SetTags(TagsT&& value) {
251 m_tagsHasBeenSet = true;
252 m_tags = std::forward<TagsT>(value);
253 }
254 template <typename TagsT = Aws::Map<Aws::String, Aws::String>>
256 SetTags(std::forward<TagsT>(value));
257 return *this;
258 }
259 template <typename TagsKeyT = Aws::String, typename TagsValueT = Aws::String>
260 CreateCalculatedAttributeDefinitionResult& AddTags(TagsKeyT&& key, TagsValueT&& value) {
261 m_tagsHasBeenSet = true;
262 m_tags.emplace(std::forward<TagsKeyT>(key), std::forward<TagsValueT>(value));
263 return *this;
264 }
266
268
269 inline const Aws::String& GetRequestId() const { return m_requestId; }
270 template <typename RequestIdT = Aws::String>
271 void SetRequestId(RequestIdT&& value) {
272 m_requestIdHasBeenSet = true;
273 m_requestId = std::forward<RequestIdT>(value);
274 }
275 template <typename RequestIdT = Aws::String>
277 SetRequestId(std::forward<RequestIdT>(value));
278 return *this;
279 }
281 inline Aws::Http::HttpResponseCode GetHttpResponseCode() const { return m_HttpResponseCode; }
282
283 private:
284 Aws::String m_calculatedAttributeName;
285
286 Aws::String m_displayName;
287
288 Aws::String m_description;
289
290 AttributeDetails m_attributeDetails;
291
292 Conditions m_conditions;
293
294 Filter m_filter;
295
296 Statistic m_statistic{Statistic::NOT_SET};
297
298 Aws::Utils::DateTime m_createdAt{};
299
300 Aws::Utils::DateTime m_lastUpdatedAt{};
301
302 bool m_useHistoricalData{false};
303
305
306 Readiness m_readiness;
307
309
310 Aws::String m_requestId;
311 Aws::Http::HttpResponseCode m_HttpResponseCode;
312 bool m_calculatedAttributeNameHasBeenSet = false;
313 bool m_displayNameHasBeenSet = false;
314 bool m_descriptionHasBeenSet = false;
315 bool m_attributeDetailsHasBeenSet = false;
316 bool m_conditionsHasBeenSet = false;
317 bool m_filterHasBeenSet = false;
318 bool m_statisticHasBeenSet = false;
319 bool m_createdAtHasBeenSet = false;
320 bool m_lastUpdatedAtHasBeenSet = false;
321 bool m_useHistoricalDataHasBeenSet = false;
322 bool m_statusHasBeenSet = false;
323 bool m_readinessHasBeenSet = false;
324 bool m_tagsHasBeenSet = false;
325 bool m_requestIdHasBeenSet = false;
326};
327
328} // namespace Model
329} // namespace CustomerProfiles
330} // namespace Aws
CreateCalculatedAttributeDefinitionResult & WithAttributeDetails(AttributeDetailsT &&value)
CreateCalculatedAttributeDefinitionResult & WithDisplayName(DisplayNameT &&value)
CreateCalculatedAttributeDefinitionResult & WithLastUpdatedAt(LastUpdatedAtT &&value)
AWS_CUSTOMERPROFILES_API CreateCalculatedAttributeDefinitionResult & operator=(const Aws::AmazonWebServiceResult< Aws::Utils::Json::JsonValue > &result)
CreateCalculatedAttributeDefinitionResult & WithDescription(DescriptionT &&value)
AWS_CUSTOMERPROFILES_API CreateCalculatedAttributeDefinitionResult(const Aws::AmazonWebServiceResult< Aws::Utils::Json::JsonValue > &result)
CreateCalculatedAttributeDefinitionResult & AddTags(TagsKeyT &&key, TagsValueT &&value)
CreateCalculatedAttributeDefinitionResult & WithConditions(ConditionsT &&value)
AWS_CUSTOMERPROFILES_API CreateCalculatedAttributeDefinitionResult()=default
CreateCalculatedAttributeDefinitionResult & WithCalculatedAttributeName(CalculatedAttributeNameT &&value)
CreateCalculatedAttributeDefinitionResult & WithStatus(ReadinessStatus 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