AWS SDK for C++

AWS SDK for C++ Version 1.11.440

Loading...
Searching...
No Matches
FeatureGroup.h
1
6#pragma once
7#include <aws/sagemaker/SageMaker_EXPORTS.h>
8#include <aws/core/utils/memory/stl/AWSString.h>
9#include <aws/core/utils/memory/stl/AWSVector.h>
10#include <aws/core/utils/DateTime.h>
11#include <aws/sagemaker/model/OnlineStoreConfig.h>
12#include <aws/sagemaker/model/OfflineStoreConfig.h>
13#include <aws/sagemaker/model/FeatureGroupStatus.h>
14#include <aws/sagemaker/model/OfflineStoreStatus.h>
15#include <aws/sagemaker/model/LastUpdateStatus.h>
16#include <aws/sagemaker/model/FeatureDefinition.h>
17#include <aws/sagemaker/model/Tag.h>
18#include <utility>
19
20namespace Aws
21{
22namespace Utils
23{
24namespace Json
25{
26 class JsonValue;
27 class JsonView;
28} // namespace Json
29} // namespace Utils
30namespace SageMaker
31{
32namespace Model
33{
34
45 {
46 public:
47 AWS_SAGEMAKER_API FeatureGroup();
48 AWS_SAGEMAKER_API FeatureGroup(Aws::Utils::Json::JsonView jsonValue);
49 AWS_SAGEMAKER_API FeatureGroup& operator=(Aws::Utils::Json::JsonView jsonValue);
50 AWS_SAGEMAKER_API Aws::Utils::Json::JsonValue Jsonize() const;
51
52
54
57 inline const Aws::String& GetFeatureGroupArn() const{ return m_featureGroupArn; }
58 inline bool FeatureGroupArnHasBeenSet() const { return m_featureGroupArnHasBeenSet; }
59 inline void SetFeatureGroupArn(const Aws::String& value) { m_featureGroupArnHasBeenSet = true; m_featureGroupArn = value; }
60 inline void SetFeatureGroupArn(Aws::String&& value) { m_featureGroupArnHasBeenSet = true; m_featureGroupArn = std::move(value); }
61 inline void SetFeatureGroupArn(const char* value) { m_featureGroupArnHasBeenSet = true; m_featureGroupArn.assign(value); }
62 inline FeatureGroup& WithFeatureGroupArn(const Aws::String& value) { SetFeatureGroupArn(value); return *this;}
63 inline FeatureGroup& WithFeatureGroupArn(Aws::String&& value) { SetFeatureGroupArn(std::move(value)); return *this;}
64 inline FeatureGroup& WithFeatureGroupArn(const char* value) { SetFeatureGroupArn(value); return *this;}
66
68
71 inline const Aws::String& GetFeatureGroupName() const{ return m_featureGroupName; }
72 inline bool FeatureGroupNameHasBeenSet() const { return m_featureGroupNameHasBeenSet; }
73 inline void SetFeatureGroupName(const Aws::String& value) { m_featureGroupNameHasBeenSet = true; m_featureGroupName = value; }
74 inline void SetFeatureGroupName(Aws::String&& value) { m_featureGroupNameHasBeenSet = true; m_featureGroupName = std::move(value); }
75 inline void SetFeatureGroupName(const char* value) { m_featureGroupNameHasBeenSet = true; m_featureGroupName.assign(value); }
76 inline FeatureGroup& WithFeatureGroupName(const Aws::String& value) { SetFeatureGroupName(value); return *this;}
77 inline FeatureGroup& WithFeatureGroupName(Aws::String&& value) { SetFeatureGroupName(std::move(value)); return *this;}
78 inline FeatureGroup& WithFeatureGroupName(const char* value) { SetFeatureGroupName(value); return *this;}
80
82
87 inline const Aws::String& GetRecordIdentifierFeatureName() const{ return m_recordIdentifierFeatureName; }
88 inline bool RecordIdentifierFeatureNameHasBeenSet() const { return m_recordIdentifierFeatureNameHasBeenSet; }
89 inline void SetRecordIdentifierFeatureName(const Aws::String& value) { m_recordIdentifierFeatureNameHasBeenSet = true; m_recordIdentifierFeatureName = value; }
90 inline void SetRecordIdentifierFeatureName(Aws::String&& value) { m_recordIdentifierFeatureNameHasBeenSet = true; m_recordIdentifierFeatureName = std::move(value); }
91 inline void SetRecordIdentifierFeatureName(const char* value) { m_recordIdentifierFeatureNameHasBeenSet = true; m_recordIdentifierFeatureName.assign(value); }
94 inline FeatureGroup& WithRecordIdentifierFeatureName(const char* value) { SetRecordIdentifierFeatureName(value); return *this;}
96
98
106 inline const Aws::String& GetEventTimeFeatureName() const{ return m_eventTimeFeatureName; }
107 inline bool EventTimeFeatureNameHasBeenSet() const { return m_eventTimeFeatureNameHasBeenSet; }
108 inline void SetEventTimeFeatureName(const Aws::String& value) { m_eventTimeFeatureNameHasBeenSet = true; m_eventTimeFeatureName = value; }
109 inline void SetEventTimeFeatureName(Aws::String&& value) { m_eventTimeFeatureNameHasBeenSet = true; m_eventTimeFeatureName = std::move(value); }
110 inline void SetEventTimeFeatureName(const char* value) { m_eventTimeFeatureNameHasBeenSet = true; m_eventTimeFeatureName.assign(value); }
111 inline FeatureGroup& WithEventTimeFeatureName(const Aws::String& value) { SetEventTimeFeatureName(value); return *this;}
112 inline FeatureGroup& WithEventTimeFeatureName(Aws::String&& value) { SetEventTimeFeatureName(std::move(value)); return *this;}
113 inline FeatureGroup& WithEventTimeFeatureName(const char* value) { SetEventTimeFeatureName(value); return *this;}
115
117
126 inline const Aws::Vector<FeatureDefinition>& GetFeatureDefinitions() const{ return m_featureDefinitions; }
127 inline bool FeatureDefinitionsHasBeenSet() const { return m_featureDefinitionsHasBeenSet; }
128 inline void SetFeatureDefinitions(const Aws::Vector<FeatureDefinition>& value) { m_featureDefinitionsHasBeenSet = true; m_featureDefinitions = value; }
129 inline void SetFeatureDefinitions(Aws::Vector<FeatureDefinition>&& value) { m_featureDefinitionsHasBeenSet = true; m_featureDefinitions = std::move(value); }
132 inline FeatureGroup& AddFeatureDefinitions(const FeatureDefinition& value) { m_featureDefinitionsHasBeenSet = true; m_featureDefinitions.push_back(value); return *this; }
133 inline FeatureGroup& AddFeatureDefinitions(FeatureDefinition&& value) { m_featureDefinitionsHasBeenSet = true; m_featureDefinitions.push_back(std::move(value)); return *this; }
135
137
140 inline const Aws::Utils::DateTime& GetCreationTime() const{ return m_creationTime; }
141 inline bool CreationTimeHasBeenSet() const { return m_creationTimeHasBeenSet; }
142 inline void SetCreationTime(const Aws::Utils::DateTime& value) { m_creationTimeHasBeenSet = true; m_creationTime = value; }
143 inline void SetCreationTime(Aws::Utils::DateTime&& value) { m_creationTimeHasBeenSet = true; m_creationTime = std::move(value); }
144 inline FeatureGroup& WithCreationTime(const Aws::Utils::DateTime& value) { SetCreationTime(value); return *this;}
145 inline FeatureGroup& WithCreationTime(Aws::Utils::DateTime&& value) { SetCreationTime(std::move(value)); return *this;}
147
149
152 inline const Aws::Utils::DateTime& GetLastModifiedTime() const{ return m_lastModifiedTime; }
153 inline bool LastModifiedTimeHasBeenSet() const { return m_lastModifiedTimeHasBeenSet; }
154 inline void SetLastModifiedTime(const Aws::Utils::DateTime& value) { m_lastModifiedTimeHasBeenSet = true; m_lastModifiedTime = value; }
155 inline void SetLastModifiedTime(Aws::Utils::DateTime&& value) { m_lastModifiedTimeHasBeenSet = true; m_lastModifiedTime = std::move(value); }
156 inline FeatureGroup& WithLastModifiedTime(const Aws::Utils::DateTime& value) { SetLastModifiedTime(value); return *this;}
157 inline FeatureGroup& WithLastModifiedTime(Aws::Utils::DateTime&& value) { SetLastModifiedTime(std::move(value)); return *this;}
159
161
162 inline const OnlineStoreConfig& GetOnlineStoreConfig() const{ return m_onlineStoreConfig; }
163 inline bool OnlineStoreConfigHasBeenSet() const { return m_onlineStoreConfigHasBeenSet; }
164 inline void SetOnlineStoreConfig(const OnlineStoreConfig& value) { m_onlineStoreConfigHasBeenSet = true; m_onlineStoreConfig = value; }
165 inline void SetOnlineStoreConfig(OnlineStoreConfig&& value) { m_onlineStoreConfigHasBeenSet = true; m_onlineStoreConfig = std::move(value); }
166 inline FeatureGroup& WithOnlineStoreConfig(const OnlineStoreConfig& value) { SetOnlineStoreConfig(value); return *this;}
167 inline FeatureGroup& WithOnlineStoreConfig(OnlineStoreConfig&& value) { SetOnlineStoreConfig(std::move(value)); return *this;}
169
171
172 inline const OfflineStoreConfig& GetOfflineStoreConfig() const{ return m_offlineStoreConfig; }
173 inline bool OfflineStoreConfigHasBeenSet() const { return m_offlineStoreConfigHasBeenSet; }
174 inline void SetOfflineStoreConfig(const OfflineStoreConfig& value) { m_offlineStoreConfigHasBeenSet = true; m_offlineStoreConfig = value; }
175 inline void SetOfflineStoreConfig(OfflineStoreConfig&& value) { m_offlineStoreConfigHasBeenSet = true; m_offlineStoreConfig = std::move(value); }
177 inline FeatureGroup& WithOfflineStoreConfig(OfflineStoreConfig&& value) { SetOfflineStoreConfig(std::move(value)); return *this;}
179
181
185 inline const Aws::String& GetRoleArn() const{ return m_roleArn; }
186 inline bool RoleArnHasBeenSet() const { return m_roleArnHasBeenSet; }
187 inline void SetRoleArn(const Aws::String& value) { m_roleArnHasBeenSet = true; m_roleArn = value; }
188 inline void SetRoleArn(Aws::String&& value) { m_roleArnHasBeenSet = true; m_roleArn = std::move(value); }
189 inline void SetRoleArn(const char* value) { m_roleArnHasBeenSet = true; m_roleArn.assign(value); }
190 inline FeatureGroup& WithRoleArn(const Aws::String& value) { SetRoleArn(value); return *this;}
191 inline FeatureGroup& WithRoleArn(Aws::String&& value) { SetRoleArn(std::move(value)); return *this;}
192 inline FeatureGroup& WithRoleArn(const char* value) { SetRoleArn(value); return *this;}
194
196
199 inline const FeatureGroupStatus& GetFeatureGroupStatus() const{ return m_featureGroupStatus; }
200 inline bool FeatureGroupStatusHasBeenSet() const { return m_featureGroupStatusHasBeenSet; }
201 inline void SetFeatureGroupStatus(const FeatureGroupStatus& value) { m_featureGroupStatusHasBeenSet = true; m_featureGroupStatus = value; }
202 inline void SetFeatureGroupStatus(FeatureGroupStatus&& value) { m_featureGroupStatusHasBeenSet = true; m_featureGroupStatus = std::move(value); }
204 inline FeatureGroup& WithFeatureGroupStatus(FeatureGroupStatus&& value) { SetFeatureGroupStatus(std::move(value)); return *this;}
206
208
209 inline const OfflineStoreStatus& GetOfflineStoreStatus() const{ return m_offlineStoreStatus; }
210 inline bool OfflineStoreStatusHasBeenSet() const { return m_offlineStoreStatusHasBeenSet; }
211 inline void SetOfflineStoreStatus(const OfflineStoreStatus& value) { m_offlineStoreStatusHasBeenSet = true; m_offlineStoreStatus = value; }
212 inline void SetOfflineStoreStatus(OfflineStoreStatus&& value) { m_offlineStoreStatusHasBeenSet = true; m_offlineStoreStatus = std::move(value); }
214 inline FeatureGroup& WithOfflineStoreStatus(OfflineStoreStatus&& value) { SetOfflineStoreStatus(std::move(value)); return *this;}
216
218
222 inline const LastUpdateStatus& GetLastUpdateStatus() const{ return m_lastUpdateStatus; }
223 inline bool LastUpdateStatusHasBeenSet() const { return m_lastUpdateStatusHasBeenSet; }
224 inline void SetLastUpdateStatus(const LastUpdateStatus& value) { m_lastUpdateStatusHasBeenSet = true; m_lastUpdateStatus = value; }
225 inline void SetLastUpdateStatus(LastUpdateStatus&& value) { m_lastUpdateStatusHasBeenSet = true; m_lastUpdateStatus = std::move(value); }
226 inline FeatureGroup& WithLastUpdateStatus(const LastUpdateStatus& value) { SetLastUpdateStatus(value); return *this;}
227 inline FeatureGroup& WithLastUpdateStatus(LastUpdateStatus&& value) { SetLastUpdateStatus(std::move(value)); return *this;}
229
231
237 inline const Aws::String& GetFailureReason() const{ return m_failureReason; }
238 inline bool FailureReasonHasBeenSet() const { return m_failureReasonHasBeenSet; }
239 inline void SetFailureReason(const Aws::String& value) { m_failureReasonHasBeenSet = true; m_failureReason = value; }
240 inline void SetFailureReason(Aws::String&& value) { m_failureReasonHasBeenSet = true; m_failureReason = std::move(value); }
241 inline void SetFailureReason(const char* value) { m_failureReasonHasBeenSet = true; m_failureReason.assign(value); }
242 inline FeatureGroup& WithFailureReason(const Aws::String& value) { SetFailureReason(value); return *this;}
243 inline FeatureGroup& WithFailureReason(Aws::String&& value) { SetFailureReason(std::move(value)); return *this;}
244 inline FeatureGroup& WithFailureReason(const char* value) { SetFailureReason(value); return *this;}
246
248
251 inline const Aws::String& GetDescription() const{ return m_description; }
252 inline bool DescriptionHasBeenSet() const { return m_descriptionHasBeenSet; }
253 inline void SetDescription(const Aws::String& value) { m_descriptionHasBeenSet = true; m_description = value; }
254 inline void SetDescription(Aws::String&& value) { m_descriptionHasBeenSet = true; m_description = std::move(value); }
255 inline void SetDescription(const char* value) { m_descriptionHasBeenSet = true; m_description.assign(value); }
256 inline FeatureGroup& WithDescription(const Aws::String& value) { SetDescription(value); return *this;}
257 inline FeatureGroup& WithDescription(Aws::String&& value) { SetDescription(std::move(value)); return *this;}
258 inline FeatureGroup& WithDescription(const char* value) { SetDescription(value); return *this;}
260
262
265 inline const Aws::Vector<Tag>& GetTags() const{ return m_tags; }
266 inline bool TagsHasBeenSet() const { return m_tagsHasBeenSet; }
267 inline void SetTags(const Aws::Vector<Tag>& value) { m_tagsHasBeenSet = true; m_tags = value; }
268 inline void SetTags(Aws::Vector<Tag>&& value) { m_tagsHasBeenSet = true; m_tags = std::move(value); }
269 inline FeatureGroup& WithTags(const Aws::Vector<Tag>& value) { SetTags(value); return *this;}
270 inline FeatureGroup& WithTags(Aws::Vector<Tag>&& value) { SetTags(std::move(value)); return *this;}
271 inline FeatureGroup& AddTags(const Tag& value) { m_tagsHasBeenSet = true; m_tags.push_back(value); return *this; }
272 inline FeatureGroup& AddTags(Tag&& value) { m_tagsHasBeenSet = true; m_tags.push_back(std::move(value)); return *this; }
274 private:
275
276 Aws::String m_featureGroupArn;
277 bool m_featureGroupArnHasBeenSet = false;
278
279 Aws::String m_featureGroupName;
280 bool m_featureGroupNameHasBeenSet = false;
281
282 Aws::String m_recordIdentifierFeatureName;
283 bool m_recordIdentifierFeatureNameHasBeenSet = false;
284
285 Aws::String m_eventTimeFeatureName;
286 bool m_eventTimeFeatureNameHasBeenSet = false;
287
288 Aws::Vector<FeatureDefinition> m_featureDefinitions;
289 bool m_featureDefinitionsHasBeenSet = false;
290
291 Aws::Utils::DateTime m_creationTime;
292 bool m_creationTimeHasBeenSet = false;
293
294 Aws::Utils::DateTime m_lastModifiedTime;
295 bool m_lastModifiedTimeHasBeenSet = false;
296
297 OnlineStoreConfig m_onlineStoreConfig;
298 bool m_onlineStoreConfigHasBeenSet = false;
299
300 OfflineStoreConfig m_offlineStoreConfig;
301 bool m_offlineStoreConfigHasBeenSet = false;
302
303 Aws::String m_roleArn;
304 bool m_roleArnHasBeenSet = false;
305
306 FeatureGroupStatus m_featureGroupStatus;
307 bool m_featureGroupStatusHasBeenSet = false;
308
309 OfflineStoreStatus m_offlineStoreStatus;
310 bool m_offlineStoreStatusHasBeenSet = false;
311
312 LastUpdateStatus m_lastUpdateStatus;
313 bool m_lastUpdateStatusHasBeenSet = false;
314
315 Aws::String m_failureReason;
316 bool m_failureReasonHasBeenSet = false;
317
318 Aws::String m_description;
319 bool m_descriptionHasBeenSet = false;
320
321 Aws::Vector<Tag> m_tags;
322 bool m_tagsHasBeenSet = false;
323 };
324
325} // namespace Model
326} // namespace SageMaker
327} // namespace Aws
FeatureGroup & WithTags(const Aws::Vector< Tag > &value)
AWS_SAGEMAKER_API FeatureGroup(Aws::Utils::Json::JsonView jsonValue)
FeatureGroup & WithFeatureDefinitions(Aws::Vector< FeatureDefinition > &&value)
void SetFailureReason(const char *value)
FeatureGroup & WithFeatureGroupStatus(FeatureGroupStatus &&value)
FeatureGroup & WithLastModifiedTime(const Aws::Utils::DateTime &value)
const Aws::Vector< Tag > & GetTags() const
void SetFeatureGroupArn(Aws::String &&value)
FeatureGroup & WithTags(Aws::Vector< Tag > &&value)
FeatureGroup & WithFeatureDefinitions(const Aws::Vector< FeatureDefinition > &value)
const LastUpdateStatus & GetLastUpdateStatus() const
void SetFeatureGroupName(Aws::String &&value)
void SetRecordIdentifierFeatureName(const char *value)
FeatureGroup & WithCreationTime(const Aws::Utils::DateTime &value)
void SetDescription(const char *value)
void SetFeatureDefinitions(const Aws::Vector< FeatureDefinition > &value)
void SetOfflineStoreStatus(OfflineStoreStatus &&value)
void SetFeatureGroupArn(const Aws::String &value)
void SetRoleArn(const char *value)
FeatureGroup & WithFailureReason(Aws::String &&value)
const Aws::String & GetEventTimeFeatureName() const
void SetEventTimeFeatureName(Aws::String &&value)
const OnlineStoreConfig & GetOnlineStoreConfig() const
void SetDescription(Aws::String &&value)
FeatureGroup & WithCreationTime(Aws::Utils::DateTime &&value)
void SetFeatureGroupName(const Aws::String &value)
const Aws::Vector< FeatureDefinition > & GetFeatureDefinitions() const
FeatureGroup & WithFeatureGroupName(Aws::String &&value)
FeatureGroup & WithRoleArn(Aws::String &&value)
const Aws::String & GetFeatureGroupName() const
void SetFeatureDefinitions(Aws::Vector< FeatureDefinition > &&value)
FeatureGroup & WithLastUpdateStatus(LastUpdateStatus &&value)
FeatureGroup & WithFeatureGroupStatus(const FeatureGroupStatus &value)
void SetOfflineStoreStatus(const OfflineStoreStatus &value)
void SetRoleArn(const Aws::String &value)
void SetLastModifiedTime(const Aws::Utils::DateTime &value)
FeatureGroup & WithFeatureGroupName(const char *value)
void SetLastModifiedTime(Aws::Utils::DateTime &&value)
FeatureGroup & WithEventTimeFeatureName(const Aws::String &value)
FeatureGroup & WithLastModifiedTime(Aws::Utils::DateTime &&value)
const Aws::String & GetRecordIdentifierFeatureName() const
FeatureGroup & WithFeatureGroupName(const Aws::String &value)
FeatureGroup & WithLastUpdateStatus(const LastUpdateStatus &value)
void SetFeatureGroupStatus(FeatureGroupStatus &&value)
FeatureGroup & WithRoleArn(const Aws::String &value)
void SetTags(const Aws::Vector< Tag > &value)
void SetLastUpdateStatus(LastUpdateStatus &&value)
const Aws::Utils::DateTime & GetCreationTime() const
FeatureGroup & AddTags(const Tag &value)
FeatureGroup & WithFailureReason(const Aws::String &value)
FeatureGroup & WithEventTimeFeatureName(const char *value)
FeatureGroup & WithFeatureGroupArn(Aws::String &&value)
FeatureGroup & WithFeatureGroupArn(const char *value)
void SetRoleArn(Aws::String &&value)
FeatureGroup & WithDescription(const Aws::String &value)
FeatureGroup & WithRecordIdentifierFeatureName(const Aws::String &value)
const FeatureGroupStatus & GetFeatureGroupStatus() const
FeatureGroup & WithFailureReason(const char *value)
void SetOfflineStoreConfig(const OfflineStoreConfig &value)
const OfflineStoreConfig & GetOfflineStoreConfig() const
void SetTags(Aws::Vector< Tag > &&value)
void SetRecordIdentifierFeatureName(Aws::String &&value)
FeatureGroup & WithDescription(Aws::String &&value)
FeatureGroup & WithOfflineStoreConfig(OfflineStoreConfig &&value)
void SetOfflineStoreConfig(OfflineStoreConfig &&value)
void SetOnlineStoreConfig(OnlineStoreConfig &&value)
void SetEventTimeFeatureName(const Aws::String &value)
void SetFailureReason(Aws::String &&value)
const Aws::String & GetRoleArn() const
FeatureGroup & WithRecordIdentifierFeatureName(const char *value)
void SetFeatureGroupStatus(const FeatureGroupStatus &value)
FeatureGroup & WithDescription(const char *value)
void SetEventTimeFeatureName(const char *value)
const Aws::Utils::DateTime & GetLastModifiedTime() const
bool RecordIdentifierFeatureNameHasBeenSet() const
void SetLastUpdateStatus(const LastUpdateStatus &value)
void SetFeatureGroupArn(const char *value)
const Aws::String & GetFailureReason() const
const OfflineStoreStatus & GetOfflineStoreStatus() const
const Aws::String & GetFeatureGroupArn() const
FeatureGroup & WithRecordIdentifierFeatureName(Aws::String &&value)
void SetDescription(const Aws::String &value)
void SetOnlineStoreConfig(const OnlineStoreConfig &value)
FeatureGroup & AddFeatureDefinitions(FeatureDefinition &&value)
AWS_SAGEMAKER_API FeatureGroup & operator=(Aws::Utils::Json::JsonView jsonValue)
FeatureGroup & AddFeatureDefinitions(const FeatureDefinition &value)
FeatureGroup & WithEventTimeFeatureName(Aws::String &&value)
FeatureGroup & WithFeatureGroupArn(const Aws::String &value)
void SetCreationTime(const Aws::Utils::DateTime &value)
FeatureGroup & AddTags(Tag &&value)
void SetRecordIdentifierFeatureName(const Aws::String &value)
FeatureGroup & WithOnlineStoreConfig(const OnlineStoreConfig &value)
FeatureGroup & WithOfflineStoreStatus(OfflineStoreStatus &&value)
AWS_SAGEMAKER_API Aws::Utils::Json::JsonValue Jsonize() const
void SetCreationTime(Aws::Utils::DateTime &&value)
FeatureGroup & WithOfflineStoreConfig(const OfflineStoreConfig &value)
FeatureGroup & WithOfflineStoreStatus(const OfflineStoreStatus &value)
void SetFeatureGroupName(const char *value)
FeatureGroup & WithRoleArn(const char *value)
const Aws::String & GetDescription() const
void SetFailureReason(const Aws::String &value)
FeatureGroup & WithOnlineStoreConfig(OnlineStoreConfig &&value)
std::basic_string< char, std::char_traits< char >, Aws::Allocator< char > > String
std::vector< T, Aws::Allocator< T > > Vector
Aws::Utils::Json::JsonValue JsonValue