AWS SDK for C++

AWS SDK for C++ Version 1.11.755

Loading...
Searching...
No Matches
UpdateCalculatedAttributeDefinitionResult.h
1
6#pragma once
7#include <aws/core/utils/DateTime.h>
8#include <aws/core/utils/memory/stl/AWSMap.h>
9#include <aws/core/utils/memory/stl/AWSString.h>
10#include <aws/customer-profiles/CustomerProfiles_EXPORTS.h>
11#include <aws/customer-profiles/model/AttributeDetails.h>
12#include <aws/customer-profiles/model/Conditions.h>
13#include <aws/customer-profiles/model/Readiness.h>
14#include <aws/customer-profiles/model/ReadinessStatus.h>
15#include <aws/customer-profiles/model/Statistic.h>
16
17#include <utility>
18
19namespace Aws {
20template <typename RESULT_TYPE>
21class AmazonWebServiceResult;
22
23namespace Utils {
24namespace Json {
25class JsonValue;
26} // namespace Json
27} // namespace Utils
28namespace CustomerProfiles {
29namespace Model {
31 public:
32 AWS_CUSTOMERPROFILES_API UpdateCalculatedAttributeDefinitionResult() = default;
37
39
42 inline const Aws::String& GetCalculatedAttributeName() const { return m_calculatedAttributeName; }
43 template <typename CalculatedAttributeNameT = Aws::String>
44 void SetCalculatedAttributeName(CalculatedAttributeNameT&& value) {
45 m_calculatedAttributeNameHasBeenSet = true;
46 m_calculatedAttributeName = std::forward<CalculatedAttributeNameT>(value);
47 }
48 template <typename CalculatedAttributeNameT = Aws::String>
50 SetCalculatedAttributeName(std::forward<CalculatedAttributeNameT>(value));
51 return *this;
52 }
54
56
59 inline const Aws::String& GetDisplayName() const { return m_displayName; }
60 template <typename DisplayNameT = Aws::String>
61 void SetDisplayName(DisplayNameT&& value) {
62 m_displayNameHasBeenSet = true;
63 m_displayName = std::forward<DisplayNameT>(value);
64 }
65 template <typename DisplayNameT = Aws::String>
67 SetDisplayName(std::forward<DisplayNameT>(value));
68 return *this;
69 }
71
73
76 inline const Aws::String& GetDescription() const { return m_description; }
77 template <typename DescriptionT = Aws::String>
78 void SetDescription(DescriptionT&& value) {
79 m_descriptionHasBeenSet = true;
80 m_description = std::forward<DescriptionT>(value);
81 }
82 template <typename DescriptionT = Aws::String>
84 SetDescription(std::forward<DescriptionT>(value));
85 return *this;
86 }
88
90
93 inline const Aws::Utils::DateTime& GetCreatedAt() const { return m_createdAt; }
94 template <typename CreatedAtT = Aws::Utils::DateTime>
95 void SetCreatedAt(CreatedAtT&& value) {
96 m_createdAtHasBeenSet = true;
97 m_createdAt = std::forward<CreatedAtT>(value);
98 }
99 template <typename CreatedAtT = Aws::Utils::DateTime>
101 SetCreatedAt(std::forward<CreatedAtT>(value));
102 return *this;
103 }
105
107
111 inline const Aws::Utils::DateTime& GetLastUpdatedAt() const { return m_lastUpdatedAt; }
112 template <typename LastUpdatedAtT = Aws::Utils::DateTime>
113 void SetLastUpdatedAt(LastUpdatedAtT&& value) {
114 m_lastUpdatedAtHasBeenSet = true;
115 m_lastUpdatedAt = std::forward<LastUpdatedAtT>(value);
116 }
117 template <typename LastUpdatedAtT = Aws::Utils::DateTime>
119 SetLastUpdatedAt(std::forward<LastUpdatedAtT>(value));
120 return *this;
121 }
123
125
128 inline Statistic GetStatistic() const { return m_statistic; }
129 inline void SetStatistic(Statistic value) {
130 m_statisticHasBeenSet = true;
131 m_statistic = value;
132 }
134 SetStatistic(value);
135 return *this;
136 }
138
140
144 inline const Conditions& GetConditions() const { return m_conditions; }
145 template <typename ConditionsT = Conditions>
146 void SetConditions(ConditionsT&& value) {
147 m_conditionsHasBeenSet = true;
148 m_conditions = std::forward<ConditionsT>(value);
149 }
150 template <typename ConditionsT = Conditions>
152 SetConditions(std::forward<ConditionsT>(value));
153 return *this;
154 }
156
158
162 inline const AttributeDetails& GetAttributeDetails() const { return m_attributeDetails; }
163 template <typename AttributeDetailsT = AttributeDetails>
164 void SetAttributeDetails(AttributeDetailsT&& value) {
165 m_attributeDetailsHasBeenSet = true;
166 m_attributeDetails = std::forward<AttributeDetailsT>(value);
167 }
168 template <typename AttributeDetailsT = AttributeDetails>
170 SetAttributeDetails(std::forward<AttributeDetailsT>(value));
171 return *this;
172 }
174
176
180 inline bool GetUseHistoricalData() const { return m_useHistoricalData; }
181 inline void SetUseHistoricalData(bool value) {
182 m_useHistoricalDataHasBeenSet = true;
183 m_useHistoricalData = value;
184 }
187 return *this;
188 }
190
192
196 inline ReadinessStatus GetStatus() const { return m_status; }
197 inline void SetStatus(ReadinessStatus value) {
198 m_statusHasBeenSet = true;
199 m_status = value;
200 }
202 SetStatus(value);
203 return *this;
204 }
206
208
212 inline const Readiness& GetReadiness() const { return m_readiness; }
213 template <typename ReadinessT = Readiness>
214 void SetReadiness(ReadinessT&& value) {
215 m_readinessHasBeenSet = true;
216 m_readiness = std::forward<ReadinessT>(value);
217 }
218 template <typename ReadinessT = Readiness>
220 SetReadiness(std::forward<ReadinessT>(value));
221 return *this;
222 }
224
226
229 inline const Aws::Map<Aws::String, Aws::String>& GetTags() const { return m_tags; }
230 template <typename TagsT = Aws::Map<Aws::String, Aws::String>>
231 void SetTags(TagsT&& value) {
232 m_tagsHasBeenSet = true;
233 m_tags = std::forward<TagsT>(value);
234 }
235 template <typename TagsT = Aws::Map<Aws::String, Aws::String>>
237 SetTags(std::forward<TagsT>(value));
238 return *this;
239 }
240 template <typename TagsKeyT = Aws::String, typename TagsValueT = Aws::String>
241 UpdateCalculatedAttributeDefinitionResult& AddTags(TagsKeyT&& key, TagsValueT&& value) {
242 m_tagsHasBeenSet = true;
243 m_tags.emplace(std::forward<TagsKeyT>(key), std::forward<TagsValueT>(value));
244 return *this;
245 }
247
249
250 inline const Aws::String& GetRequestId() const { return m_requestId; }
251 template <typename RequestIdT = Aws::String>
252 void SetRequestId(RequestIdT&& value) {
253 m_requestIdHasBeenSet = true;
254 m_requestId = std::forward<RequestIdT>(value);
255 }
256 template <typename RequestIdT = Aws::String>
258 SetRequestId(std::forward<RequestIdT>(value));
259 return *this;
260 }
262 private:
263 Aws::String m_calculatedAttributeName;
264
265 Aws::String m_displayName;
266
267 Aws::String m_description;
268
269 Aws::Utils::DateTime m_createdAt{};
270
271 Aws::Utils::DateTime m_lastUpdatedAt{};
272
273 Statistic m_statistic{Statistic::NOT_SET};
274
275 Conditions m_conditions;
276
277 AttributeDetails m_attributeDetails;
278
279 bool m_useHistoricalData{false};
280
282
283 Readiness m_readiness;
284
286
287 Aws::String m_requestId;
288 bool m_calculatedAttributeNameHasBeenSet = false;
289 bool m_displayNameHasBeenSet = false;
290 bool m_descriptionHasBeenSet = false;
291 bool m_createdAtHasBeenSet = false;
292 bool m_lastUpdatedAtHasBeenSet = false;
293 bool m_statisticHasBeenSet = false;
294 bool m_conditionsHasBeenSet = false;
295 bool m_attributeDetailsHasBeenSet = false;
296 bool m_useHistoricalDataHasBeenSet = false;
297 bool m_statusHasBeenSet = false;
298 bool m_readinessHasBeenSet = false;
299 bool m_tagsHasBeenSet = false;
300 bool m_requestIdHasBeenSet = false;
301};
302
303} // namespace Model
304} // namespace CustomerProfiles
305} // 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