AWS SDK for C++

AWS SDK for C++ Version 1.11.612

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() = default;
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 template<typename FeatureGroupNameT = Aws::String>
54 void SetFeatureGroupName(FeatureGroupNameT&& value) { m_featureGroupNameHasBeenSet = true; m_featureGroupName = std::forward<FeatureGroupNameT>(value); }
55 template<typename FeatureGroupNameT = Aws::String>
56 CreateFeatureGroupRequest& WithFeatureGroupName(FeatureGroupNameT&& value) { SetFeatureGroupName(std::forward<FeatureGroupNameT>(value)); return *this;}
58
60
71 inline const Aws::String& GetRecordIdentifierFeatureName() const { return m_recordIdentifierFeatureName; }
72 inline bool RecordIdentifierFeatureNameHasBeenSet() const { return m_recordIdentifierFeatureNameHasBeenSet; }
73 template<typename RecordIdentifierFeatureNameT = Aws::String>
74 void SetRecordIdentifierFeatureName(RecordIdentifierFeatureNameT&& value) { m_recordIdentifierFeatureNameHasBeenSet = true; m_recordIdentifierFeatureName = std::forward<RecordIdentifierFeatureNameT>(value); }
75 template<typename RecordIdentifierFeatureNameT = Aws::String>
76 CreateFeatureGroupRequest& WithRecordIdentifierFeatureName(RecordIdentifierFeatureNameT&& value) { SetRecordIdentifierFeatureName(std::forward<RecordIdentifierFeatureNameT>(value)); return *this;}
78
80
99 inline const Aws::String& GetEventTimeFeatureName() const { return m_eventTimeFeatureName; }
100 inline bool EventTimeFeatureNameHasBeenSet() const { return m_eventTimeFeatureNameHasBeenSet; }
101 template<typename EventTimeFeatureNameT = Aws::String>
102 void SetEventTimeFeatureName(EventTimeFeatureNameT&& value) { m_eventTimeFeatureNameHasBeenSet = true; m_eventTimeFeatureName = std::forward<EventTimeFeatureNameT>(value); }
103 template<typename EventTimeFeatureNameT = Aws::String>
104 CreateFeatureGroupRequest& WithEventTimeFeatureName(EventTimeFeatureNameT&& value) { SetEventTimeFeatureName(std::forward<EventTimeFeatureNameT>(value)); return *this;}
106
108
117 inline const Aws::Vector<FeatureDefinition>& GetFeatureDefinitions() const { return m_featureDefinitions; }
118 inline bool FeatureDefinitionsHasBeenSet() const { return m_featureDefinitionsHasBeenSet; }
119 template<typename FeatureDefinitionsT = Aws::Vector<FeatureDefinition>>
120 void SetFeatureDefinitions(FeatureDefinitionsT&& value) { m_featureDefinitionsHasBeenSet = true; m_featureDefinitions = std::forward<FeatureDefinitionsT>(value); }
121 template<typename FeatureDefinitionsT = Aws::Vector<FeatureDefinition>>
122 CreateFeatureGroupRequest& WithFeatureDefinitions(FeatureDefinitionsT&& value) { SetFeatureDefinitions(std::forward<FeatureDefinitionsT>(value)); return *this;}
123 template<typename FeatureDefinitionsT = FeatureDefinition>
124 CreateFeatureGroupRequest& AddFeatureDefinitions(FeatureDefinitionsT&& value) { m_featureDefinitionsHasBeenSet = true; m_featureDefinitions.emplace_back(std::forward<FeatureDefinitionsT>(value)); return *this; }
126
128
135 inline const OnlineStoreConfig& GetOnlineStoreConfig() const { return m_onlineStoreConfig; }
136 inline bool OnlineStoreConfigHasBeenSet() const { return m_onlineStoreConfigHasBeenSet; }
137 template<typename OnlineStoreConfigT = OnlineStoreConfig>
138 void SetOnlineStoreConfig(OnlineStoreConfigT&& value) { m_onlineStoreConfigHasBeenSet = true; m_onlineStoreConfig = std::forward<OnlineStoreConfigT>(value); }
139 template<typename OnlineStoreConfigT = OnlineStoreConfig>
140 CreateFeatureGroupRequest& WithOnlineStoreConfig(OnlineStoreConfigT&& value) { SetOnlineStoreConfig(std::forward<OnlineStoreConfigT>(value)); return *this;}
142
144
160 inline const OfflineStoreConfig& GetOfflineStoreConfig() const { return m_offlineStoreConfig; }
161 inline bool OfflineStoreConfigHasBeenSet() const { return m_offlineStoreConfigHasBeenSet; }
162 template<typename OfflineStoreConfigT = OfflineStoreConfig>
163 void SetOfflineStoreConfig(OfflineStoreConfigT&& value) { m_offlineStoreConfigHasBeenSet = true; m_offlineStoreConfig = std::forward<OfflineStoreConfigT>(value); }
164 template<typename OfflineStoreConfigT = OfflineStoreConfig>
165 CreateFeatureGroupRequest& WithOfflineStoreConfig(OfflineStoreConfigT&& value) { SetOfflineStoreConfig(std::forward<OfflineStoreConfigT>(value)); return *this;}
167
169
170 inline const ThroughputConfig& GetThroughputConfig() const { return m_throughputConfig; }
171 inline bool ThroughputConfigHasBeenSet() const { return m_throughputConfigHasBeenSet; }
172 template<typename ThroughputConfigT = ThroughputConfig>
173 void SetThroughputConfig(ThroughputConfigT&& value) { m_throughputConfigHasBeenSet = true; m_throughputConfig = std::forward<ThroughputConfigT>(value); }
174 template<typename ThroughputConfigT = ThroughputConfig>
175 CreateFeatureGroupRequest& WithThroughputConfig(ThroughputConfigT&& value) { SetThroughputConfig(std::forward<ThroughputConfigT>(value)); return *this;}
177
179
184 inline const Aws::String& GetRoleArn() const { return m_roleArn; }
185 inline bool RoleArnHasBeenSet() const { return m_roleArnHasBeenSet; }
186 template<typename RoleArnT = Aws::String>
187 void SetRoleArn(RoleArnT&& value) { m_roleArnHasBeenSet = true; m_roleArn = std::forward<RoleArnT>(value); }
188 template<typename RoleArnT = Aws::String>
189 CreateFeatureGroupRequest& WithRoleArn(RoleArnT&& value) { SetRoleArn(std::forward<RoleArnT>(value)); return *this;}
191
193
196 inline const Aws::String& GetDescription() const { return m_description; }
197 inline bool DescriptionHasBeenSet() const { return m_descriptionHasBeenSet; }
198 template<typename DescriptionT = Aws::String>
199 void SetDescription(DescriptionT&& value) { m_descriptionHasBeenSet = true; m_description = std::forward<DescriptionT>(value); }
200 template<typename DescriptionT = Aws::String>
201 CreateFeatureGroupRequest& WithDescription(DescriptionT&& value) { SetDescription(std::forward<DescriptionT>(value)); return *this;}
203
205
209 inline const Aws::Vector<Tag>& GetTags() const { return m_tags; }
210 inline bool TagsHasBeenSet() const { return m_tagsHasBeenSet; }
211 template<typename TagsT = Aws::Vector<Tag>>
212 void SetTags(TagsT&& value) { m_tagsHasBeenSet = true; m_tags = std::forward<TagsT>(value); }
213 template<typename TagsT = Aws::Vector<Tag>>
214 CreateFeatureGroupRequest& WithTags(TagsT&& value) { SetTags(std::forward<TagsT>(value)); return *this;}
215 template<typename TagsT = Tag>
216 CreateFeatureGroupRequest& AddTags(TagsT&& value) { m_tagsHasBeenSet = true; m_tags.emplace_back(std::forward<TagsT>(value)); return *this; }
218 private:
219
220 Aws::String m_featureGroupName;
221 bool m_featureGroupNameHasBeenSet = false;
222
223 Aws::String m_recordIdentifierFeatureName;
224 bool m_recordIdentifierFeatureNameHasBeenSet = false;
225
226 Aws::String m_eventTimeFeatureName;
227 bool m_eventTimeFeatureNameHasBeenSet = false;
228
229 Aws::Vector<FeatureDefinition> m_featureDefinitions;
230 bool m_featureDefinitionsHasBeenSet = false;
231
232 OnlineStoreConfig m_onlineStoreConfig;
233 bool m_onlineStoreConfigHasBeenSet = false;
234
235 OfflineStoreConfig m_offlineStoreConfig;
236 bool m_offlineStoreConfigHasBeenSet = false;
237
238 ThroughputConfig m_throughputConfig;
239 bool m_throughputConfigHasBeenSet = false;
240
241 Aws::String m_roleArn;
242 bool m_roleArnHasBeenSet = false;
243
244 Aws::String m_description;
245 bool m_descriptionHasBeenSet = false;
246
247 Aws::Vector<Tag> m_tags;
248 bool m_tagsHasBeenSet = false;
249 };
250
251} // namespace Model
252} // namespace SageMaker
253} // namespace Aws
CreateFeatureGroupRequest & WithFeatureDefinitions(FeatureDefinitionsT &&value)
CreateFeatureGroupRequest & WithEventTimeFeatureName(EventTimeFeatureNameT &&value)
AWS_SAGEMAKER_API CreateFeatureGroupRequest()=default
CreateFeatureGroupRequest & WithTags(TagsT &&value)
AWS_SAGEMAKER_API Aws::String SerializePayload() const override
CreateFeatureGroupRequest & WithThroughputConfig(ThroughputConfigT &&value)
virtual const char * GetServiceRequestName() const override
CreateFeatureGroupRequest & WithRecordIdentifierFeatureName(RecordIdentifierFeatureNameT &&value)
CreateFeatureGroupRequest & WithRoleArn(RoleArnT &&value)
AWS_SAGEMAKER_API Aws::Http::HeaderValueCollection GetRequestSpecificHeaders() const override
CreateFeatureGroupRequest & AddFeatureDefinitions(FeatureDefinitionsT &&value)
void SetRecordIdentifierFeatureName(RecordIdentifierFeatureNameT &&value)
CreateFeatureGroupRequest & AddTags(TagsT &&value)
CreateFeatureGroupRequest & WithFeatureGroupName(FeatureGroupNameT &&value)
CreateFeatureGroupRequest & WithOfflineStoreConfig(OfflineStoreConfigT &&value)
CreateFeatureGroupRequest & WithOnlineStoreConfig(OnlineStoreConfigT &&value)
CreateFeatureGroupRequest & WithDescription(DescriptionT &&value)
const Aws::Vector< FeatureDefinition > & GetFeatureDefinitions() const
void SetEventTimeFeatureName(EventTimeFeatureNameT &&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