AWS SDK for C++

AWS SDK for C++ Version 1.11.756

Loading...
Searching...
No Matches
GetCalculatedAttributeDefinitionResult.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/Filter.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 GetCalculatedAttributeDefinitionResult() = 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
143 inline const Filter& GetFilter() const { return m_filter; }
144 template <typename FilterT = Filter>
145 void SetFilter(FilterT&& value) {
146 m_filterHasBeenSet = true;
147 m_filter = std::forward<FilterT>(value);
148 }
149 template <typename FilterT = Filter>
151 SetFilter(std::forward<FilterT>(value));
152 return *this;
153 }
155
157
161 inline const Conditions& GetConditions() const { return m_conditions; }
162 template <typename ConditionsT = Conditions>
163 void SetConditions(ConditionsT&& value) {
164 m_conditionsHasBeenSet = true;
165 m_conditions = std::forward<ConditionsT>(value);
166 }
167 template <typename ConditionsT = Conditions>
169 SetConditions(std::forward<ConditionsT>(value));
170 return *this;
171 }
173
175
179 inline const AttributeDetails& GetAttributeDetails() const { return m_attributeDetails; }
180 template <typename AttributeDetailsT = AttributeDetails>
181 void SetAttributeDetails(AttributeDetailsT&& value) {
182 m_attributeDetailsHasBeenSet = true;
183 m_attributeDetails = std::forward<AttributeDetailsT>(value);
184 }
185 template <typename AttributeDetailsT = AttributeDetails>
187 SetAttributeDetails(std::forward<AttributeDetailsT>(value));
188 return *this;
189 }
191
193
197 inline bool GetUseHistoricalData() const { return m_useHistoricalData; }
198 inline void SetUseHistoricalData(bool value) {
199 m_useHistoricalDataHasBeenSet = true;
200 m_useHistoricalData = value;
201 }
204 return *this;
205 }
207
209
213 inline ReadinessStatus GetStatus() const { return m_status; }
214 inline void SetStatus(ReadinessStatus value) {
215 m_statusHasBeenSet = true;
216 m_status = value;
217 }
219 SetStatus(value);
220 return *this;
221 }
223
225
229 inline const Readiness& GetReadiness() const { return m_readiness; }
230 template <typename ReadinessT = Readiness>
231 void SetReadiness(ReadinessT&& value) {
232 m_readinessHasBeenSet = true;
233 m_readiness = std::forward<ReadinessT>(value);
234 }
235 template <typename ReadinessT = Readiness>
237 SetReadiness(std::forward<ReadinessT>(value));
238 return *this;
239 }
241
243
246 inline const Aws::Map<Aws::String, Aws::String>& GetTags() const { return m_tags; }
247 template <typename TagsT = Aws::Map<Aws::String, Aws::String>>
248 void SetTags(TagsT&& value) {
249 m_tagsHasBeenSet = true;
250 m_tags = std::forward<TagsT>(value);
251 }
252 template <typename TagsT = Aws::Map<Aws::String, Aws::String>>
254 SetTags(std::forward<TagsT>(value));
255 return *this;
256 }
257 template <typename TagsKeyT = Aws::String, typename TagsValueT = Aws::String>
258 GetCalculatedAttributeDefinitionResult& AddTags(TagsKeyT&& key, TagsValueT&& value) {
259 m_tagsHasBeenSet = true;
260 m_tags.emplace(std::forward<TagsKeyT>(key), std::forward<TagsValueT>(value));
261 return *this;
262 }
264
266
267 inline const Aws::String& GetRequestId() const { return m_requestId; }
268 template <typename RequestIdT = Aws::String>
269 void SetRequestId(RequestIdT&& value) {
270 m_requestIdHasBeenSet = true;
271 m_requestId = std::forward<RequestIdT>(value);
272 }
273 template <typename RequestIdT = Aws::String>
275 SetRequestId(std::forward<RequestIdT>(value));
276 return *this;
277 }
279 private:
280 Aws::String m_calculatedAttributeName;
281
282 Aws::String m_displayName;
283
284 Aws::String m_description;
285
286 Aws::Utils::DateTime m_createdAt{};
287
288 Aws::Utils::DateTime m_lastUpdatedAt{};
289
290 Statistic m_statistic{Statistic::NOT_SET};
291
292 Filter m_filter;
293
294 Conditions m_conditions;
295
296 AttributeDetails m_attributeDetails;
297
298 bool m_useHistoricalData{false};
299
301
302 Readiness m_readiness;
303
305
306 Aws::String m_requestId;
307 bool m_calculatedAttributeNameHasBeenSet = false;
308 bool m_displayNameHasBeenSet = false;
309 bool m_descriptionHasBeenSet = false;
310 bool m_createdAtHasBeenSet = false;
311 bool m_lastUpdatedAtHasBeenSet = false;
312 bool m_statisticHasBeenSet = false;
313 bool m_filterHasBeenSet = false;
314 bool m_conditionsHasBeenSet = false;
315 bool m_attributeDetailsHasBeenSet = false;
316 bool m_useHistoricalDataHasBeenSet = false;
317 bool m_statusHasBeenSet = false;
318 bool m_readinessHasBeenSet = false;
319 bool m_tagsHasBeenSet = false;
320 bool m_requestIdHasBeenSet = false;
321};
322
323} // namespace Model
324} // namespace CustomerProfiles
325} // 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