AWS SDK for C++

AWS SDK for C++ Version 1.11.754

Loading...
Searching...
No Matches
CreateCalculatedAttributeDefinitionResult.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 CreateCalculatedAttributeDefinitionResult() = 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
95 inline const AttributeDetails& GetAttributeDetails() const { return m_attributeDetails; }
96 template <typename AttributeDetailsT = AttributeDetails>
97 void SetAttributeDetails(AttributeDetailsT&& value) {
98 m_attributeDetailsHasBeenSet = true;
99 m_attributeDetails = std::forward<AttributeDetailsT>(value);
100 }
101 template <typename AttributeDetailsT = AttributeDetails>
103 SetAttributeDetails(std::forward<AttributeDetailsT>(value));
104 return *this;
105 }
107
109
113 inline const Conditions& GetConditions() const { return m_conditions; }
114 template <typename ConditionsT = Conditions>
115 void SetConditions(ConditionsT&& value) {
116 m_conditionsHasBeenSet = true;
117 m_conditions = std::forward<ConditionsT>(value);
118 }
119 template <typename ConditionsT = Conditions>
121 SetConditions(std::forward<ConditionsT>(value));
122 return *this;
123 }
125
127
130 inline const Filter& GetFilter() const { return m_filter; }
131 template <typename FilterT = Filter>
132 void SetFilter(FilterT&& value) {
133 m_filterHasBeenSet = true;
134 m_filter = std::forward<FilterT>(value);
135 }
136 template <typename FilterT = Filter>
138 SetFilter(std::forward<FilterT>(value));
139 return *this;
140 }
142
144
147 inline Statistic GetStatistic() const { return m_statistic; }
148 inline void SetStatistic(Statistic value) {
149 m_statisticHasBeenSet = true;
150 m_statistic = value;
151 }
153 SetStatistic(value);
154 return *this;
155 }
157
159
162 inline const Aws::Utils::DateTime& GetCreatedAt() const { return m_createdAt; }
163 template <typename CreatedAtT = Aws::Utils::DateTime>
164 void SetCreatedAt(CreatedAtT&& value) {
165 m_createdAtHasBeenSet = true;
166 m_createdAt = std::forward<CreatedAtT>(value);
167 }
168 template <typename CreatedAtT = Aws::Utils::DateTime>
170 SetCreatedAt(std::forward<CreatedAtT>(value));
171 return *this;
172 }
174
176
180 inline const Aws::Utils::DateTime& GetLastUpdatedAt() const { return m_lastUpdatedAt; }
181 template <typename LastUpdatedAtT = Aws::Utils::DateTime>
182 void SetLastUpdatedAt(LastUpdatedAtT&& value) {
183 m_lastUpdatedAtHasBeenSet = true;
184 m_lastUpdatedAt = std::forward<LastUpdatedAtT>(value);
185 }
186 template <typename LastUpdatedAtT = Aws::Utils::DateTime>
188 SetLastUpdatedAt(std::forward<LastUpdatedAtT>(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 CreateCalculatedAttributeDefinitionResult& 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 private:
281 Aws::String m_calculatedAttributeName;
282
283 Aws::String m_displayName;
284
285 Aws::String m_description;
286
287 AttributeDetails m_attributeDetails;
288
289 Conditions m_conditions;
290
291 Filter m_filter;
292
293 Statistic m_statistic{Statistic::NOT_SET};
294
295 Aws::Utils::DateTime m_createdAt{};
296
297 Aws::Utils::DateTime m_lastUpdatedAt{};
298
299 bool m_useHistoricalData{false};
300
302
303 Readiness m_readiness;
304
306
307 Aws::String m_requestId;
308 bool m_calculatedAttributeNameHasBeenSet = false;
309 bool m_displayNameHasBeenSet = false;
310 bool m_descriptionHasBeenSet = false;
311 bool m_attributeDetailsHasBeenSet = false;
312 bool m_conditionsHasBeenSet = false;
313 bool m_filterHasBeenSet = false;
314 bool m_statisticHasBeenSet = false;
315 bool m_createdAtHasBeenSet = false;
316 bool m_lastUpdatedAtHasBeenSet = false;
317 bool m_useHistoricalDataHasBeenSet = false;
318 bool m_statusHasBeenSet = false;
319 bool m_readinessHasBeenSet = false;
320 bool m_tagsHasBeenSet = false;
321 bool m_requestIdHasBeenSet = false;
322};
323
324} // namespace Model
325} // namespace CustomerProfiles
326} // 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