AWS SDK for C++

AWS SDK for C++ Version 1.11.440

Loading...
Searching...
No Matches
CreateFeatureGroupRequest.h
1
6#pragma once
7#include <aws/sagemaker/SageMaker_EXPORTS.h>
8#include <aws/sagemaker/SageMakerRequest.h>
9#include <aws/core/utils/memory/stl/AWSString.h>
10#include <aws/core/utils/memory/stl/AWSVector.h>
11#include <aws/sagemaker/model/OnlineStoreConfig.h>
12#include <aws/sagemaker/model/OfflineStoreConfig.h>
13#include <aws/sagemaker/model/ThroughputConfig.h>
14#include <aws/sagemaker/model/FeatureDefinition.h>
15#include <aws/sagemaker/model/Tag.h>
16#include <utility>
17
18namespace Aws
19{
20namespace SageMaker
21{
22namespace Model
23{
24
28 {
29 public:
30 AWS_SAGEMAKER_API CreateFeatureGroupRequest();
31
32 // Service request name is the Operation name which will send this request out,
33 // each operation should has unique request name, so that we can get operation's name from this request.
34 // Note: this is not true for response, multiple operations may have the same response name,
35 // so we can not get operation's name from response.
36 inline virtual const char* GetServiceRequestName() const override { return "CreateFeatureGroup"; }
37
38 AWS_SAGEMAKER_API Aws::String SerializePayload() const override;
39
41
42
44
51 inline const Aws::String& GetFeatureGroupName() const{ return m_featureGroupName; }
52 inline bool FeatureGroupNameHasBeenSet() const { return m_featureGroupNameHasBeenSet; }
53 inline void SetFeatureGroupName(const Aws::String& value) { m_featureGroupNameHasBeenSet = true; m_featureGroupName = value; }
54 inline void SetFeatureGroupName(Aws::String&& value) { m_featureGroupNameHasBeenSet = true; m_featureGroupName = std::move(value); }
55 inline void SetFeatureGroupName(const char* value) { m_featureGroupNameHasBeenSet = true; m_featureGroupName.assign(value); }
57 inline CreateFeatureGroupRequest& WithFeatureGroupName(Aws::String&& value) { SetFeatureGroupName(std::move(value)); return *this;}
58 inline CreateFeatureGroupRequest& WithFeatureGroupName(const char* value) { SetFeatureGroupName(value); return *this;}
60
62
73 inline const Aws::String& GetRecordIdentifierFeatureName() const{ return m_recordIdentifierFeatureName; }
74 inline bool RecordIdentifierFeatureNameHasBeenSet() const { return m_recordIdentifierFeatureNameHasBeenSet; }
75 inline void SetRecordIdentifierFeatureName(const Aws::String& value) { m_recordIdentifierFeatureNameHasBeenSet = true; m_recordIdentifierFeatureName = value; }
76 inline void SetRecordIdentifierFeatureName(Aws::String&& value) { m_recordIdentifierFeatureNameHasBeenSet = true; m_recordIdentifierFeatureName = std::move(value); }
77 inline void SetRecordIdentifierFeatureName(const char* value) { m_recordIdentifierFeatureNameHasBeenSet = true; m_recordIdentifierFeatureName.assign(value); }
82
84
103 inline const Aws::String& GetEventTimeFeatureName() const{ return m_eventTimeFeatureName; }
104 inline bool EventTimeFeatureNameHasBeenSet() const { return m_eventTimeFeatureNameHasBeenSet; }
105 inline void SetEventTimeFeatureName(const Aws::String& value) { m_eventTimeFeatureNameHasBeenSet = true; m_eventTimeFeatureName = value; }
106 inline void SetEventTimeFeatureName(Aws::String&& value) { m_eventTimeFeatureNameHasBeenSet = true; m_eventTimeFeatureName = std::move(value); }
107 inline void SetEventTimeFeatureName(const char* value) { m_eventTimeFeatureNameHasBeenSet = true; m_eventTimeFeatureName.assign(value); }
110 inline CreateFeatureGroupRequest& WithEventTimeFeatureName(const char* value) { SetEventTimeFeatureName(value); return *this;}
112
114
123 inline const Aws::Vector<FeatureDefinition>& GetFeatureDefinitions() const{ return m_featureDefinitions; }
124 inline bool FeatureDefinitionsHasBeenSet() const { return m_featureDefinitionsHasBeenSet; }
125 inline void SetFeatureDefinitions(const Aws::Vector<FeatureDefinition>& value) { m_featureDefinitionsHasBeenSet = true; m_featureDefinitions = value; }
126 inline void SetFeatureDefinitions(Aws::Vector<FeatureDefinition>&& value) { m_featureDefinitionsHasBeenSet = true; m_featureDefinitions = std::move(value); }
129 inline CreateFeatureGroupRequest& AddFeatureDefinitions(const FeatureDefinition& value) { m_featureDefinitionsHasBeenSet = true; m_featureDefinitions.push_back(value); return *this; }
130 inline CreateFeatureGroupRequest& AddFeatureDefinitions(FeatureDefinition&& value) { m_featureDefinitionsHasBeenSet = true; m_featureDefinitions.push_back(std::move(value)); return *this; }
132
134
141 inline const OnlineStoreConfig& GetOnlineStoreConfig() const{ return m_onlineStoreConfig; }
142 inline bool OnlineStoreConfigHasBeenSet() const { return m_onlineStoreConfigHasBeenSet; }
143 inline void SetOnlineStoreConfig(const OnlineStoreConfig& value) { m_onlineStoreConfigHasBeenSet = true; m_onlineStoreConfig = value; }
144 inline void SetOnlineStoreConfig(OnlineStoreConfig&& value) { m_onlineStoreConfigHasBeenSet = true; m_onlineStoreConfig = std::move(value); }
148
150
166 inline const OfflineStoreConfig& GetOfflineStoreConfig() const{ return m_offlineStoreConfig; }
167 inline bool OfflineStoreConfigHasBeenSet() const { return m_offlineStoreConfigHasBeenSet; }
168 inline void SetOfflineStoreConfig(const OfflineStoreConfig& value) { m_offlineStoreConfigHasBeenSet = true; m_offlineStoreConfig = value; }
169 inline void SetOfflineStoreConfig(OfflineStoreConfig&& value) { m_offlineStoreConfigHasBeenSet = true; m_offlineStoreConfig = std::move(value); }
173
175
176 inline const ThroughputConfig& GetThroughputConfig() const{ return m_throughputConfig; }
177 inline bool ThroughputConfigHasBeenSet() const { return m_throughputConfigHasBeenSet; }
178 inline void SetThroughputConfig(const ThroughputConfig& value) { m_throughputConfigHasBeenSet = true; m_throughputConfig = value; }
179 inline void SetThroughputConfig(ThroughputConfig&& value) { m_throughputConfigHasBeenSet = true; m_throughputConfig = std::move(value); }
181 inline CreateFeatureGroupRequest& WithThroughputConfig(ThroughputConfig&& value) { SetThroughputConfig(std::move(value)); return *this;}
183
185
190 inline const Aws::String& GetRoleArn() const{ return m_roleArn; }
191 inline bool RoleArnHasBeenSet() const { return m_roleArnHasBeenSet; }
192 inline void SetRoleArn(const Aws::String& value) { m_roleArnHasBeenSet = true; m_roleArn = value; }
193 inline void SetRoleArn(Aws::String&& value) { m_roleArnHasBeenSet = true; m_roleArn = std::move(value); }
194 inline void SetRoleArn(const char* value) { m_roleArnHasBeenSet = true; m_roleArn.assign(value); }
195 inline CreateFeatureGroupRequest& WithRoleArn(const Aws::String& value) { SetRoleArn(value); return *this;}
196 inline CreateFeatureGroupRequest& WithRoleArn(Aws::String&& value) { SetRoleArn(std::move(value)); return *this;}
197 inline CreateFeatureGroupRequest& WithRoleArn(const char* value) { SetRoleArn(value); return *this;}
199
201
204 inline const Aws::String& GetDescription() const{ return m_description; }
205 inline bool DescriptionHasBeenSet() const { return m_descriptionHasBeenSet; }
206 inline void SetDescription(const Aws::String& value) { m_descriptionHasBeenSet = true; m_description = value; }
207 inline void SetDescription(Aws::String&& value) { m_descriptionHasBeenSet = true; m_description = std::move(value); }
208 inline void SetDescription(const char* value) { m_descriptionHasBeenSet = true; m_description.assign(value); }
209 inline CreateFeatureGroupRequest& WithDescription(const Aws::String& value) { SetDescription(value); return *this;}
210 inline CreateFeatureGroupRequest& WithDescription(Aws::String&& value) { SetDescription(std::move(value)); return *this;}
211 inline CreateFeatureGroupRequest& WithDescription(const char* value) { SetDescription(value); return *this;}
213
215
219 inline const Aws::Vector<Tag>& GetTags() const{ return m_tags; }
220 inline bool TagsHasBeenSet() const { return m_tagsHasBeenSet; }
221 inline void SetTags(const Aws::Vector<Tag>& value) { m_tagsHasBeenSet = true; m_tags = value; }
222 inline void SetTags(Aws::Vector<Tag>&& value) { m_tagsHasBeenSet = true; m_tags = std::move(value); }
223 inline CreateFeatureGroupRequest& WithTags(const Aws::Vector<Tag>& value) { SetTags(value); return *this;}
224 inline CreateFeatureGroupRequest& WithTags(Aws::Vector<Tag>&& value) { SetTags(std::move(value)); return *this;}
225 inline CreateFeatureGroupRequest& AddTags(const Tag& value) { m_tagsHasBeenSet = true; m_tags.push_back(value); return *this; }
226 inline CreateFeatureGroupRequest& AddTags(Tag&& value) { m_tagsHasBeenSet = true; m_tags.push_back(std::move(value)); return *this; }
228 private:
229
230 Aws::String m_featureGroupName;
231 bool m_featureGroupNameHasBeenSet = false;
232
233 Aws::String m_recordIdentifierFeatureName;
234 bool m_recordIdentifierFeatureNameHasBeenSet = false;
235
236 Aws::String m_eventTimeFeatureName;
237 bool m_eventTimeFeatureNameHasBeenSet = false;
238
239 Aws::Vector<FeatureDefinition> m_featureDefinitions;
240 bool m_featureDefinitionsHasBeenSet = false;
241
242 OnlineStoreConfig m_onlineStoreConfig;
243 bool m_onlineStoreConfigHasBeenSet = false;
244
245 OfflineStoreConfig m_offlineStoreConfig;
246 bool m_offlineStoreConfigHasBeenSet = false;
247
248 ThroughputConfig m_throughputConfig;
249 bool m_throughputConfigHasBeenSet = false;
250
251 Aws::String m_roleArn;
252 bool m_roleArnHasBeenSet = false;
253
254 Aws::String m_description;
255 bool m_descriptionHasBeenSet = false;
256
257 Aws::Vector<Tag> m_tags;
258 bool m_tagsHasBeenSet = false;
259 };
260
261} // namespace Model
262} // namespace SageMaker
263} // namespace Aws
CreateFeatureGroupRequest & WithOnlineStoreConfig(const OnlineStoreConfig &value)
CreateFeatureGroupRequest & WithFeatureGroupName(Aws::String &&value)
CreateFeatureGroupRequest & WithFeatureDefinitions(const Aws::Vector< FeatureDefinition > &value)
CreateFeatureGroupRequest & WithFeatureGroupName(const Aws::String &value)
CreateFeatureGroupRequest & AddFeatureDefinitions(FeatureDefinition &&value)
AWS_SAGEMAKER_API Aws::String SerializePayload() const override
CreateFeatureGroupRequest & WithRecordIdentifierFeatureName(Aws::String &&value)
CreateFeatureGroupRequest & WithOfflineStoreConfig(OfflineStoreConfig &&value)
CreateFeatureGroupRequest & WithFeatureGroupName(const char *value)
CreateFeatureGroupRequest & WithThroughputConfig(ThroughputConfig &&value)
CreateFeatureGroupRequest & WithRecordIdentifierFeatureName(const char *value)
CreateFeatureGroupRequest & AddTags(const Tag &value)
CreateFeatureGroupRequest & AddTags(Tag &&value)
CreateFeatureGroupRequest & WithOfflineStoreConfig(const OfflineStoreConfig &value)
void SetFeatureDefinitions(const Aws::Vector< FeatureDefinition > &value)
CreateFeatureGroupRequest & WithDescription(const char *value)
virtual const char * GetServiceRequestName() const override
CreateFeatureGroupRequest & WithEventTimeFeatureName(Aws::String &&value)
CreateFeatureGroupRequest & WithRoleArn(Aws::String &&value)
void SetFeatureDefinitions(Aws::Vector< FeatureDefinition > &&value)
AWS_SAGEMAKER_API Aws::Http::HeaderValueCollection GetRequestSpecificHeaders() const override
CreateFeatureGroupRequest & WithOnlineStoreConfig(OnlineStoreConfig &&value)
CreateFeatureGroupRequest & WithTags(const Aws::Vector< Tag > &value)
CreateFeatureGroupRequest & WithThroughputConfig(const ThroughputConfig &value)
CreateFeatureGroupRequest & WithEventTimeFeatureName(const char *value)
CreateFeatureGroupRequest & WithRoleArn(const Aws::String &value)
CreateFeatureGroupRequest & WithTags(Aws::Vector< Tag > &&value)
CreateFeatureGroupRequest & WithFeatureDefinitions(Aws::Vector< FeatureDefinition > &&value)
CreateFeatureGroupRequest & WithRoleArn(const char *value)
CreateFeatureGroupRequest & WithRecordIdentifierFeatureName(const Aws::String &value)
void SetOfflineStoreConfig(const OfflineStoreConfig &value)
CreateFeatureGroupRequest & WithDescription(Aws::String &&value)
CreateFeatureGroupRequest & WithDescription(const Aws::String &value)
CreateFeatureGroupRequest & AddFeatureDefinitions(const FeatureDefinition &value)
const Aws::Vector< FeatureDefinition > & GetFeatureDefinitions() const
CreateFeatureGroupRequest & WithEventTimeFeatureName(const Aws::String &value)
void SetOnlineStoreConfig(const OnlineStoreConfig &value)
Aws::Map< Aws::String, Aws::String > HeaderValueCollection
std::basic_string< char, std::char_traits< char >, Aws::Allocator< char > > String
std::vector< T, Aws::Allocator< T > > Vector