AWS SDK for C++

AWS SDK for C++ Version 1.11.608

Loading...
Searching...
No Matches
GetCalculatedAttributeDefinitionResult.h
1
6#pragma once
7#include <aws/customer-profiles/CustomerProfiles_EXPORTS.h>
8#include <aws/core/utils/memory/stl/AWSString.h>
9#include <aws/core/utils/DateTime.h>
10#include <aws/customer-profiles/model/Statistic.h>
11#include <aws/customer-profiles/model/Filter.h>
12#include <aws/customer-profiles/model/Conditions.h>
13#include <aws/customer-profiles/model/AttributeDetails.h>
14#include <aws/customer-profiles/model/ReadinessStatus.h>
15#include <aws/customer-profiles/model/Readiness.h>
16#include <aws/core/utils/memory/stl/AWSMap.h>
17#include <utility>
18
19namespace Aws
20{
21template<typename RESULT_TYPE>
22class AmazonWebServiceResult;
23
24namespace Utils
25{
26namespace Json
27{
28 class JsonValue;
29} // namespace Json
30} // namespace Utils
31namespace CustomerProfiles
32{
33namespace Model
34{
36 {
37 public:
38 AWS_CUSTOMERPROFILES_API GetCalculatedAttributeDefinitionResult() = default;
41
42
44
47 inline const Aws::String& GetCalculatedAttributeName() const { return m_calculatedAttributeName; }
48 template<typename CalculatedAttributeNameT = Aws::String>
49 void SetCalculatedAttributeName(CalculatedAttributeNameT&& value) { m_calculatedAttributeNameHasBeenSet = true; m_calculatedAttributeName = std::forward<CalculatedAttributeNameT>(value); }
50 template<typename CalculatedAttributeNameT = Aws::String>
51 GetCalculatedAttributeDefinitionResult& WithCalculatedAttributeName(CalculatedAttributeNameT&& value) { SetCalculatedAttributeName(std::forward<CalculatedAttributeNameT>(value)); return *this;}
53
55
58 inline const Aws::String& GetDisplayName() const { return m_displayName; }
59 template<typename DisplayNameT = Aws::String>
60 void SetDisplayName(DisplayNameT&& value) { m_displayNameHasBeenSet = true; m_displayName = std::forward<DisplayNameT>(value); }
61 template<typename DisplayNameT = Aws::String>
62 GetCalculatedAttributeDefinitionResult& WithDisplayName(DisplayNameT&& value) { SetDisplayName(std::forward<DisplayNameT>(value)); return *this;}
64
66
69 inline const Aws::String& GetDescription() const { return m_description; }
70 template<typename DescriptionT = Aws::String>
71 void SetDescription(DescriptionT&& value) { m_descriptionHasBeenSet = true; m_description = std::forward<DescriptionT>(value); }
72 template<typename DescriptionT = Aws::String>
73 GetCalculatedAttributeDefinitionResult& WithDescription(DescriptionT&& value) { SetDescription(std::forward<DescriptionT>(value)); return *this;}
75
77
80 inline const Aws::Utils::DateTime& GetCreatedAt() const { return m_createdAt; }
81 template<typename CreatedAtT = Aws::Utils::DateTime>
82 void SetCreatedAt(CreatedAtT&& value) { m_createdAtHasBeenSet = true; m_createdAt = std::forward<CreatedAtT>(value); }
83 template<typename CreatedAtT = Aws::Utils::DateTime>
84 GetCalculatedAttributeDefinitionResult& WithCreatedAt(CreatedAtT&& value) { SetCreatedAt(std::forward<CreatedAtT>(value)); return *this;}
86
88
92 inline const Aws::Utils::DateTime& GetLastUpdatedAt() const { return m_lastUpdatedAt; }
93 template<typename LastUpdatedAtT = Aws::Utils::DateTime>
94 void SetLastUpdatedAt(LastUpdatedAtT&& value) { m_lastUpdatedAtHasBeenSet = true; m_lastUpdatedAt = std::forward<LastUpdatedAtT>(value); }
95 template<typename LastUpdatedAtT = Aws::Utils::DateTime>
96 GetCalculatedAttributeDefinitionResult& WithLastUpdatedAt(LastUpdatedAtT&& value) { SetLastUpdatedAt(std::forward<LastUpdatedAtT>(value)); return *this;}
98
100
103 inline Statistic GetStatistic() const { return m_statistic; }
104 inline void SetStatistic(Statistic value) { m_statisticHasBeenSet = true; m_statistic = value; }
107
109
112 inline const Filter& GetFilter() const { return m_filter; }
113 template<typename FilterT = Filter>
114 void SetFilter(FilterT&& value) { m_filterHasBeenSet = true; m_filter = std::forward<FilterT>(value); }
115 template<typename FilterT = Filter>
116 GetCalculatedAttributeDefinitionResult& WithFilter(FilterT&& value) { SetFilter(std::forward<FilterT>(value)); return *this;}
118
120
124 inline const Conditions& GetConditions() const { return m_conditions; }
125 template<typename ConditionsT = Conditions>
126 void SetConditions(ConditionsT&& value) { m_conditionsHasBeenSet = true; m_conditions = std::forward<ConditionsT>(value); }
127 template<typename ConditionsT = Conditions>
128 GetCalculatedAttributeDefinitionResult& WithConditions(ConditionsT&& value) { SetConditions(std::forward<ConditionsT>(value)); return *this;}
130
132
136 inline const AttributeDetails& GetAttributeDetails() const { return m_attributeDetails; }
137 template<typename AttributeDetailsT = AttributeDetails>
138 void SetAttributeDetails(AttributeDetailsT&& value) { m_attributeDetailsHasBeenSet = true; m_attributeDetails = std::forward<AttributeDetailsT>(value); }
139 template<typename AttributeDetailsT = AttributeDetails>
140 GetCalculatedAttributeDefinitionResult& WithAttributeDetails(AttributeDetailsT&& value) { SetAttributeDetails(std::forward<AttributeDetailsT>(value)); return *this;}
142
144
148 inline bool GetUseHistoricalData() const { return m_useHistoricalData; }
149 inline void SetUseHistoricalData(bool value) { m_useHistoricalDataHasBeenSet = true; m_useHistoricalData = value; }
152
154
158 inline ReadinessStatus GetStatus() const { return m_status; }
159 inline void SetStatus(ReadinessStatus value) { m_statusHasBeenSet = true; m_status = value; }
162
164
168 inline const Readiness& GetReadiness() const { return m_readiness; }
169 template<typename ReadinessT = Readiness>
170 void SetReadiness(ReadinessT&& value) { m_readinessHasBeenSet = true; m_readiness = std::forward<ReadinessT>(value); }
171 template<typename ReadinessT = Readiness>
172 GetCalculatedAttributeDefinitionResult& WithReadiness(ReadinessT&& value) { SetReadiness(std::forward<ReadinessT>(value)); return *this;}
174
176
179 inline const Aws::Map<Aws::String, Aws::String>& GetTags() const { return m_tags; }
180 template<typename TagsT = Aws::Map<Aws::String, Aws::String>>
181 void SetTags(TagsT&& value) { m_tagsHasBeenSet = true; m_tags = std::forward<TagsT>(value); }
182 template<typename TagsT = Aws::Map<Aws::String, Aws::String>>
183 GetCalculatedAttributeDefinitionResult& WithTags(TagsT&& value) { SetTags(std::forward<TagsT>(value)); return *this;}
184 template<typename TagsKeyT = Aws::String, typename TagsValueT = Aws::String>
185 GetCalculatedAttributeDefinitionResult& AddTags(TagsKeyT&& key, TagsValueT&& value) {
186 m_tagsHasBeenSet = true; m_tags.emplace(std::forward<TagsKeyT>(key), std::forward<TagsValueT>(value)); return *this;
187 }
189
191
192 inline const Aws::String& GetRequestId() const { return m_requestId; }
193 template<typename RequestIdT = Aws::String>
194 void SetRequestId(RequestIdT&& value) { m_requestIdHasBeenSet = true; m_requestId = std::forward<RequestIdT>(value); }
195 template<typename RequestIdT = Aws::String>
196 GetCalculatedAttributeDefinitionResult& WithRequestId(RequestIdT&& value) { SetRequestId(std::forward<RequestIdT>(value)); return *this;}
198 private:
199
200 Aws::String m_calculatedAttributeName;
201 bool m_calculatedAttributeNameHasBeenSet = false;
202
203 Aws::String m_displayName;
204 bool m_displayNameHasBeenSet = false;
205
206 Aws::String m_description;
207 bool m_descriptionHasBeenSet = false;
208
209 Aws::Utils::DateTime m_createdAt{};
210 bool m_createdAtHasBeenSet = false;
211
212 Aws::Utils::DateTime m_lastUpdatedAt{};
213 bool m_lastUpdatedAtHasBeenSet = false;
214
215 Statistic m_statistic{Statistic::NOT_SET};
216 bool m_statisticHasBeenSet = false;
217
218 Filter m_filter;
219 bool m_filterHasBeenSet = false;
220
221 Conditions m_conditions;
222 bool m_conditionsHasBeenSet = false;
223
224 AttributeDetails m_attributeDetails;
225 bool m_attributeDetailsHasBeenSet = false;
226
227 bool m_useHistoricalData{false};
228 bool m_useHistoricalDataHasBeenSet = false;
229
231 bool m_statusHasBeenSet = false;
232
233 Readiness m_readiness;
234 bool m_readinessHasBeenSet = false;
235
237 bool m_tagsHasBeenSet = false;
238
239 Aws::String m_requestId;
240 bool m_requestIdHasBeenSet = false;
241 };
242
243} // namespace Model
244} // namespace CustomerProfiles
245} // 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