AWS SDK for C++

AWS SDK for C++ Version 1.11.608

Loading...
Searching...
No Matches
UpdateCalculatedAttributeDefinitionResult.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/Conditions.h>
12#include <aws/customer-profiles/model/AttributeDetails.h>
13#include <aws/customer-profiles/model/ReadinessStatus.h>
14#include <aws/customer-profiles/model/Readiness.h>
15#include <aws/core/utils/memory/stl/AWSMap.h>
16#include <utility>
17
18namespace Aws
19{
20template<typename RESULT_TYPE>
21class AmazonWebServiceResult;
22
23namespace Utils
24{
25namespace Json
26{
27 class JsonValue;
28} // namespace Json
29} // namespace Utils
30namespace CustomerProfiles
31{
32namespace Model
33{
35 {
36 public:
37 AWS_CUSTOMERPROFILES_API UpdateCalculatedAttributeDefinitionResult() = default;
40
41
43
46 inline const Aws::String& GetCalculatedAttributeName() const { return m_calculatedAttributeName; }
47 template<typename CalculatedAttributeNameT = Aws::String>
48 void SetCalculatedAttributeName(CalculatedAttributeNameT&& value) { m_calculatedAttributeNameHasBeenSet = true; m_calculatedAttributeName = std::forward<CalculatedAttributeNameT>(value); }
49 template<typename CalculatedAttributeNameT = Aws::String>
50 UpdateCalculatedAttributeDefinitionResult& WithCalculatedAttributeName(CalculatedAttributeNameT&& value) { SetCalculatedAttributeName(std::forward<CalculatedAttributeNameT>(value)); return *this;}
52
54
57 inline const Aws::String& GetDisplayName() const { return m_displayName; }
58 template<typename DisplayNameT = Aws::String>
59 void SetDisplayName(DisplayNameT&& value) { m_displayNameHasBeenSet = true; m_displayName = std::forward<DisplayNameT>(value); }
60 template<typename DisplayNameT = Aws::String>
61 UpdateCalculatedAttributeDefinitionResult& WithDisplayName(DisplayNameT&& value) { SetDisplayName(std::forward<DisplayNameT>(value)); return *this;}
63
65
68 inline const Aws::String& GetDescription() const { return m_description; }
69 template<typename DescriptionT = Aws::String>
70 void SetDescription(DescriptionT&& value) { m_descriptionHasBeenSet = true; m_description = std::forward<DescriptionT>(value); }
71 template<typename DescriptionT = Aws::String>
72 UpdateCalculatedAttributeDefinitionResult& WithDescription(DescriptionT&& value) { SetDescription(std::forward<DescriptionT>(value)); return *this;}
74
76
79 inline const Aws::Utils::DateTime& GetCreatedAt() const { return m_createdAt; }
80 template<typename CreatedAtT = Aws::Utils::DateTime>
81 void SetCreatedAt(CreatedAtT&& value) { m_createdAtHasBeenSet = true; m_createdAt = std::forward<CreatedAtT>(value); }
82 template<typename CreatedAtT = Aws::Utils::DateTime>
83 UpdateCalculatedAttributeDefinitionResult& WithCreatedAt(CreatedAtT&& value) { SetCreatedAt(std::forward<CreatedAtT>(value)); return *this;}
85
87
91 inline const Aws::Utils::DateTime& GetLastUpdatedAt() const { return m_lastUpdatedAt; }
92 template<typename LastUpdatedAtT = Aws::Utils::DateTime>
93 void SetLastUpdatedAt(LastUpdatedAtT&& value) { m_lastUpdatedAtHasBeenSet = true; m_lastUpdatedAt = std::forward<LastUpdatedAtT>(value); }
94 template<typename LastUpdatedAtT = Aws::Utils::DateTime>
95 UpdateCalculatedAttributeDefinitionResult& WithLastUpdatedAt(LastUpdatedAtT&& value) { SetLastUpdatedAt(std::forward<LastUpdatedAtT>(value)); return *this;}
97
99
102 inline Statistic GetStatistic() const { return m_statistic; }
103 inline void SetStatistic(Statistic value) { m_statisticHasBeenSet = true; m_statistic = value; }
106
108
112 inline const Conditions& GetConditions() const { return m_conditions; }
113 template<typename ConditionsT = Conditions>
114 void SetConditions(ConditionsT&& value) { m_conditionsHasBeenSet = true; m_conditions = std::forward<ConditionsT>(value); }
115 template<typename ConditionsT = Conditions>
116 UpdateCalculatedAttributeDefinitionResult& WithConditions(ConditionsT&& value) { SetConditions(std::forward<ConditionsT>(value)); return *this;}
118
120
124 inline const AttributeDetails& GetAttributeDetails() const { return m_attributeDetails; }
125 template<typename AttributeDetailsT = AttributeDetails>
126 void SetAttributeDetails(AttributeDetailsT&& value) { m_attributeDetailsHasBeenSet = true; m_attributeDetails = std::forward<AttributeDetailsT>(value); }
127 template<typename AttributeDetailsT = AttributeDetails>
128 UpdateCalculatedAttributeDefinitionResult& WithAttributeDetails(AttributeDetailsT&& value) { SetAttributeDetails(std::forward<AttributeDetailsT>(value)); return *this;}
130
132
136 inline bool GetUseHistoricalData() const { return m_useHistoricalData; }
137 inline void SetUseHistoricalData(bool value) { m_useHistoricalDataHasBeenSet = true; m_useHistoricalData = value; }
140
142
146 inline ReadinessStatus GetStatus() const { return m_status; }
147 inline void SetStatus(ReadinessStatus value) { m_statusHasBeenSet = true; m_status = value; }
150
152
156 inline const Readiness& GetReadiness() const { return m_readiness; }
157 template<typename ReadinessT = Readiness>
158 void SetReadiness(ReadinessT&& value) { m_readinessHasBeenSet = true; m_readiness = std::forward<ReadinessT>(value); }
159 template<typename ReadinessT = Readiness>
160 UpdateCalculatedAttributeDefinitionResult& WithReadiness(ReadinessT&& value) { SetReadiness(std::forward<ReadinessT>(value)); return *this;}
162
164
167 inline const Aws::Map<Aws::String, Aws::String>& GetTags() const { return m_tags; }
168 template<typename TagsT = Aws::Map<Aws::String, Aws::String>>
169 void SetTags(TagsT&& value) { m_tagsHasBeenSet = true; m_tags = std::forward<TagsT>(value); }
170 template<typename TagsT = Aws::Map<Aws::String, Aws::String>>
171 UpdateCalculatedAttributeDefinitionResult& WithTags(TagsT&& value) { SetTags(std::forward<TagsT>(value)); return *this;}
172 template<typename TagsKeyT = Aws::String, typename TagsValueT = Aws::String>
173 UpdateCalculatedAttributeDefinitionResult& AddTags(TagsKeyT&& key, TagsValueT&& value) {
174 m_tagsHasBeenSet = true; m_tags.emplace(std::forward<TagsKeyT>(key), std::forward<TagsValueT>(value)); return *this;
175 }
177
179
180 inline const Aws::String& GetRequestId() const { return m_requestId; }
181 template<typename RequestIdT = Aws::String>
182 void SetRequestId(RequestIdT&& value) { m_requestIdHasBeenSet = true; m_requestId = std::forward<RequestIdT>(value); }
183 template<typename RequestIdT = Aws::String>
184 UpdateCalculatedAttributeDefinitionResult& WithRequestId(RequestIdT&& value) { SetRequestId(std::forward<RequestIdT>(value)); return *this;}
186 private:
187
188 Aws::String m_calculatedAttributeName;
189 bool m_calculatedAttributeNameHasBeenSet = false;
190
191 Aws::String m_displayName;
192 bool m_displayNameHasBeenSet = false;
193
194 Aws::String m_description;
195 bool m_descriptionHasBeenSet = false;
196
197 Aws::Utils::DateTime m_createdAt{};
198 bool m_createdAtHasBeenSet = false;
199
200 Aws::Utils::DateTime m_lastUpdatedAt{};
201 bool m_lastUpdatedAtHasBeenSet = false;
202
203 Statistic m_statistic{Statistic::NOT_SET};
204 bool m_statisticHasBeenSet = false;
205
206 Conditions m_conditions;
207 bool m_conditionsHasBeenSet = false;
208
209 AttributeDetails m_attributeDetails;
210 bool m_attributeDetailsHasBeenSet = false;
211
212 bool m_useHistoricalData{false};
213 bool m_useHistoricalDataHasBeenSet = false;
214
216 bool m_statusHasBeenSet = false;
217
218 Readiness m_readiness;
219 bool m_readinessHasBeenSet = false;
220
222 bool m_tagsHasBeenSet = false;
223
224 Aws::String m_requestId;
225 bool m_requestIdHasBeenSet = false;
226 };
227
228} // namespace Model
229} // namespace CustomerProfiles
230} // 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 & WithCreatedAt(CreatedAtT &&value)
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