AWS SDK for C++

AWS SDK for C++ Version 1.11.440

Loading...
Searching...
No Matches
CreateModelPackageRequest.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/sagemaker/model/InferenceSpecification.h>
11#include <aws/sagemaker/model/ModelPackageValidationSpecification.h>
12#include <aws/sagemaker/model/SourceAlgorithmSpecification.h>
13#include <aws/core/utils/memory/stl/AWSVector.h>
14#include <aws/sagemaker/model/ModelApprovalStatus.h>
15#include <aws/sagemaker/model/MetadataProperties.h>
16#include <aws/sagemaker/model/ModelMetrics.h>
17#include <aws/core/utils/memory/stl/AWSMap.h>
18#include <aws/sagemaker/model/DriftCheckBaselines.h>
19#include <aws/sagemaker/model/SkipModelValidation.h>
20#include <aws/sagemaker/model/ModelPackageSecurityConfig.h>
21#include <aws/sagemaker/model/ModelPackageModelCard.h>
22#include <aws/sagemaker/model/ModelLifeCycle.h>
23#include <aws/sagemaker/model/Tag.h>
24#include <aws/sagemaker/model/AdditionalInferenceSpecificationDefinition.h>
25#include <utility>
26#include <aws/core/utils/UUID.h>
27
28namespace Aws
29{
30namespace SageMaker
31{
32namespace Model
33{
34
38 {
39 public:
40 AWS_SAGEMAKER_API CreateModelPackageRequest();
41
42 // Service request name is the Operation name which will send this request out,
43 // each operation should has unique request name, so that we can get operation's name from this request.
44 // Note: this is not true for response, multiple operations may have the same response name,
45 // so we can not get operation's name from response.
46 inline virtual const char* GetServiceRequestName() const override { return "CreateModelPackage"; }
47
48 AWS_SAGEMAKER_API Aws::String SerializePayload() const override;
49
51
52
54
59 inline const Aws::String& GetModelPackageName() const{ return m_modelPackageName; }
60 inline bool ModelPackageNameHasBeenSet() const { return m_modelPackageNameHasBeenSet; }
61 inline void SetModelPackageName(const Aws::String& value) { m_modelPackageNameHasBeenSet = true; m_modelPackageName = value; }
62 inline void SetModelPackageName(Aws::String&& value) { m_modelPackageNameHasBeenSet = true; m_modelPackageName = std::move(value); }
63 inline void SetModelPackageName(const char* value) { m_modelPackageNameHasBeenSet = true; m_modelPackageName.assign(value); }
65 inline CreateModelPackageRequest& WithModelPackageName(Aws::String&& value) { SetModelPackageName(std::move(value)); return *this;}
66 inline CreateModelPackageRequest& WithModelPackageName(const char* value) { SetModelPackageName(value); return *this;}
68
70
75 inline const Aws::String& GetModelPackageGroupName() const{ return m_modelPackageGroupName; }
76 inline bool ModelPackageGroupNameHasBeenSet() const { return m_modelPackageGroupNameHasBeenSet; }
77 inline void SetModelPackageGroupName(const Aws::String& value) { m_modelPackageGroupNameHasBeenSet = true; m_modelPackageGroupName = value; }
78 inline void SetModelPackageGroupName(Aws::String&& value) { m_modelPackageGroupNameHasBeenSet = true; m_modelPackageGroupName = std::move(value); }
79 inline void SetModelPackageGroupName(const char* value) { m_modelPackageGroupNameHasBeenSet = true; m_modelPackageGroupName.assign(value); }
82 inline CreateModelPackageRequest& WithModelPackageGroupName(const char* value) { SetModelPackageGroupName(value); return *this;}
84
86
89 inline const Aws::String& GetModelPackageDescription() const{ return m_modelPackageDescription; }
90 inline bool ModelPackageDescriptionHasBeenSet() const { return m_modelPackageDescriptionHasBeenSet; }
91 inline void SetModelPackageDescription(const Aws::String& value) { m_modelPackageDescriptionHasBeenSet = true; m_modelPackageDescription = value; }
92 inline void SetModelPackageDescription(Aws::String&& value) { m_modelPackageDescriptionHasBeenSet = true; m_modelPackageDescription = std::move(value); }
93 inline void SetModelPackageDescription(const char* value) { m_modelPackageDescriptionHasBeenSet = true; m_modelPackageDescription.assign(value); }
96 inline CreateModelPackageRequest& WithModelPackageDescription(const char* value) { SetModelPackageDescription(value); return *this;}
98
100
109 inline const InferenceSpecification& GetInferenceSpecification() const{ return m_inferenceSpecification; }
110 inline bool InferenceSpecificationHasBeenSet() const { return m_inferenceSpecificationHasBeenSet; }
111 inline void SetInferenceSpecification(const InferenceSpecification& value) { m_inferenceSpecificationHasBeenSet = true; m_inferenceSpecification = value; }
112 inline void SetInferenceSpecification(InferenceSpecification&& value) { m_inferenceSpecificationHasBeenSet = true; m_inferenceSpecification = std::move(value); }
116
118
122 inline const ModelPackageValidationSpecification& GetValidationSpecification() const{ return m_validationSpecification; }
123 inline bool ValidationSpecificationHasBeenSet() const { return m_validationSpecificationHasBeenSet; }
124 inline void SetValidationSpecification(const ModelPackageValidationSpecification& value) { m_validationSpecificationHasBeenSet = true; m_validationSpecification = value; }
125 inline void SetValidationSpecification(ModelPackageValidationSpecification&& value) { m_validationSpecificationHasBeenSet = true; m_validationSpecification = std::move(value); }
129
131
134 inline const SourceAlgorithmSpecification& GetSourceAlgorithmSpecification() const{ return m_sourceAlgorithmSpecification; }
135 inline bool SourceAlgorithmSpecificationHasBeenSet() const { return m_sourceAlgorithmSpecificationHasBeenSet; }
136 inline void SetSourceAlgorithmSpecification(const SourceAlgorithmSpecification& value) { m_sourceAlgorithmSpecificationHasBeenSet = true; m_sourceAlgorithmSpecification = value; }
137 inline void SetSourceAlgorithmSpecification(SourceAlgorithmSpecification&& value) { m_sourceAlgorithmSpecificationHasBeenSet = true; m_sourceAlgorithmSpecification = std::move(value); }
141
143
148 inline bool GetCertifyForMarketplace() const{ return m_certifyForMarketplace; }
149 inline bool CertifyForMarketplaceHasBeenSet() const { return m_certifyForMarketplaceHasBeenSet; }
150 inline void SetCertifyForMarketplace(bool value) { m_certifyForMarketplaceHasBeenSet = true; m_certifyForMarketplace = value; }
153
155
165 inline const Aws::Vector<Tag>& GetTags() const{ return m_tags; }
166 inline bool TagsHasBeenSet() const { return m_tagsHasBeenSet; }
167 inline void SetTags(const Aws::Vector<Tag>& value) { m_tagsHasBeenSet = true; m_tags = value; }
168 inline void SetTags(Aws::Vector<Tag>&& value) { m_tagsHasBeenSet = true; m_tags = std::move(value); }
169 inline CreateModelPackageRequest& WithTags(const Aws::Vector<Tag>& value) { SetTags(value); return *this;}
170 inline CreateModelPackageRequest& WithTags(Aws::Vector<Tag>&& value) { SetTags(std::move(value)); return *this;}
171 inline CreateModelPackageRequest& AddTags(const Tag& value) { m_tagsHasBeenSet = true; m_tags.push_back(value); return *this; }
172 inline CreateModelPackageRequest& AddTags(Tag&& value) { m_tagsHasBeenSet = true; m_tags.push_back(std::move(value)); return *this; }
174
176
182 inline const ModelApprovalStatus& GetModelApprovalStatus() const{ return m_modelApprovalStatus; }
183 inline bool ModelApprovalStatusHasBeenSet() const { return m_modelApprovalStatusHasBeenSet; }
184 inline void SetModelApprovalStatus(const ModelApprovalStatus& value) { m_modelApprovalStatusHasBeenSet = true; m_modelApprovalStatus = value; }
185 inline void SetModelApprovalStatus(ModelApprovalStatus&& value) { m_modelApprovalStatusHasBeenSet = true; m_modelApprovalStatus = std::move(value); }
189
191
192 inline const MetadataProperties& GetMetadataProperties() const{ return m_metadataProperties; }
193 inline bool MetadataPropertiesHasBeenSet() const { return m_metadataPropertiesHasBeenSet; }
194 inline void SetMetadataProperties(const MetadataProperties& value) { m_metadataPropertiesHasBeenSet = true; m_metadataProperties = value; }
195 inline void SetMetadataProperties(MetadataProperties&& value) { m_metadataPropertiesHasBeenSet = true; m_metadataProperties = std::move(value); }
199
201
204 inline const ModelMetrics& GetModelMetrics() const{ return m_modelMetrics; }
205 inline bool ModelMetricsHasBeenSet() const { return m_modelMetricsHasBeenSet; }
206 inline void SetModelMetrics(const ModelMetrics& value) { m_modelMetricsHasBeenSet = true; m_modelMetrics = value; }
207 inline void SetModelMetrics(ModelMetrics&& value) { m_modelMetricsHasBeenSet = true; m_modelMetrics = std::move(value); }
208 inline CreateModelPackageRequest& WithModelMetrics(const ModelMetrics& value) { SetModelMetrics(value); return *this;}
209 inline CreateModelPackageRequest& WithModelMetrics(ModelMetrics&& value) { SetModelMetrics(std::move(value)); return *this;}
211
213
216 inline const Aws::String& GetClientToken() const{ return m_clientToken; }
217 inline bool ClientTokenHasBeenSet() const { return m_clientTokenHasBeenSet; }
218 inline void SetClientToken(const Aws::String& value) { m_clientTokenHasBeenSet = true; m_clientToken = value; }
219 inline void SetClientToken(Aws::String&& value) { m_clientTokenHasBeenSet = true; m_clientToken = std::move(value); }
220 inline void SetClientToken(const char* value) { m_clientTokenHasBeenSet = true; m_clientToken.assign(value); }
221 inline CreateModelPackageRequest& WithClientToken(const Aws::String& value) { SetClientToken(value); return *this;}
222 inline CreateModelPackageRequest& WithClientToken(Aws::String&& value) { SetClientToken(std::move(value)); return *this;}
223 inline CreateModelPackageRequest& WithClientToken(const char* value) { SetClientToken(value); return *this;}
225
227
232 inline const Aws::String& GetDomain() const{ return m_domain; }
233 inline bool DomainHasBeenSet() const { return m_domainHasBeenSet; }
234 inline void SetDomain(const Aws::String& value) { m_domainHasBeenSet = true; m_domain = value; }
235 inline void SetDomain(Aws::String&& value) { m_domainHasBeenSet = true; m_domain = std::move(value); }
236 inline void SetDomain(const char* value) { m_domainHasBeenSet = true; m_domain.assign(value); }
237 inline CreateModelPackageRequest& WithDomain(const Aws::String& value) { SetDomain(value); return *this;}
238 inline CreateModelPackageRequest& WithDomain(Aws::String&& value) { SetDomain(std::move(value)); return *this;}
239 inline CreateModelPackageRequest& WithDomain(const char* value) { SetDomain(value); return *this;}
241
243
253 inline const Aws::String& GetTask() const{ return m_task; }
254 inline bool TaskHasBeenSet() const { return m_taskHasBeenSet; }
255 inline void SetTask(const Aws::String& value) { m_taskHasBeenSet = true; m_task = value; }
256 inline void SetTask(Aws::String&& value) { m_taskHasBeenSet = true; m_task = std::move(value); }
257 inline void SetTask(const char* value) { m_taskHasBeenSet = true; m_task.assign(value); }
258 inline CreateModelPackageRequest& WithTask(const Aws::String& value) { SetTask(value); return *this;}
259 inline CreateModelPackageRequest& WithTask(Aws::String&& value) { SetTask(std::move(value)); return *this;}
260 inline CreateModelPackageRequest& WithTask(const char* value) { SetTask(value); return *this;}
262
264
272 inline const Aws::String& GetSamplePayloadUrl() const{ return m_samplePayloadUrl; }
273 inline bool SamplePayloadUrlHasBeenSet() const { return m_samplePayloadUrlHasBeenSet; }
274 inline void SetSamplePayloadUrl(const Aws::String& value) { m_samplePayloadUrlHasBeenSet = true; m_samplePayloadUrl = value; }
275 inline void SetSamplePayloadUrl(Aws::String&& value) { m_samplePayloadUrlHasBeenSet = true; m_samplePayloadUrl = std::move(value); }
276 inline void SetSamplePayloadUrl(const char* value) { m_samplePayloadUrlHasBeenSet = true; m_samplePayloadUrl.assign(value); }
278 inline CreateModelPackageRequest& WithSamplePayloadUrl(Aws::String&& value) { SetSamplePayloadUrl(std::move(value)); return *this;}
279 inline CreateModelPackageRequest& WithSamplePayloadUrl(const char* value) { SetSamplePayloadUrl(value); return *this;}
281
283
286 inline const Aws::Map<Aws::String, Aws::String>& GetCustomerMetadataProperties() const{ return m_customerMetadataProperties; }
287 inline bool CustomerMetadataPropertiesHasBeenSet() const { return m_customerMetadataPropertiesHasBeenSet; }
288 inline void SetCustomerMetadataProperties(const Aws::Map<Aws::String, Aws::String>& value) { m_customerMetadataPropertiesHasBeenSet = true; m_customerMetadataProperties = value; }
289 inline void SetCustomerMetadataProperties(Aws::Map<Aws::String, Aws::String>&& value) { m_customerMetadataPropertiesHasBeenSet = true; m_customerMetadataProperties = std::move(value); }
292 inline CreateModelPackageRequest& AddCustomerMetadataProperties(const Aws::String& key, const Aws::String& value) { m_customerMetadataPropertiesHasBeenSet = true; m_customerMetadataProperties.emplace(key, value); return *this; }
293 inline CreateModelPackageRequest& AddCustomerMetadataProperties(Aws::String&& key, const Aws::String& value) { m_customerMetadataPropertiesHasBeenSet = true; m_customerMetadataProperties.emplace(std::move(key), value); return *this; }
294 inline CreateModelPackageRequest& AddCustomerMetadataProperties(const Aws::String& key, Aws::String&& value) { m_customerMetadataPropertiesHasBeenSet = true; m_customerMetadataProperties.emplace(key, std::move(value)); return *this; }
295 inline CreateModelPackageRequest& AddCustomerMetadataProperties(Aws::String&& key, Aws::String&& value) { m_customerMetadataPropertiesHasBeenSet = true; m_customerMetadataProperties.emplace(std::move(key), std::move(value)); return *this; }
296 inline CreateModelPackageRequest& AddCustomerMetadataProperties(const char* key, Aws::String&& value) { m_customerMetadataPropertiesHasBeenSet = true; m_customerMetadataProperties.emplace(key, std::move(value)); return *this; }
297 inline CreateModelPackageRequest& AddCustomerMetadataProperties(Aws::String&& key, const char* value) { m_customerMetadataPropertiesHasBeenSet = true; m_customerMetadataProperties.emplace(std::move(key), value); return *this; }
298 inline CreateModelPackageRequest& AddCustomerMetadataProperties(const char* key, const char* value) { m_customerMetadataPropertiesHasBeenSet = true; m_customerMetadataProperties.emplace(key, value); return *this; }
300
302
309 inline const DriftCheckBaselines& GetDriftCheckBaselines() const{ return m_driftCheckBaselines; }
310 inline bool DriftCheckBaselinesHasBeenSet() const { return m_driftCheckBaselinesHasBeenSet; }
311 inline void SetDriftCheckBaselines(const DriftCheckBaselines& value) { m_driftCheckBaselinesHasBeenSet = true; m_driftCheckBaselines = value; }
312 inline void SetDriftCheckBaselines(DriftCheckBaselines&& value) { m_driftCheckBaselinesHasBeenSet = true; m_driftCheckBaselines = std::move(value); }
316
318
324 inline const Aws::Vector<AdditionalInferenceSpecificationDefinition>& GetAdditionalInferenceSpecifications() const{ return m_additionalInferenceSpecifications; }
325 inline bool AdditionalInferenceSpecificationsHasBeenSet() const { return m_additionalInferenceSpecificationsHasBeenSet; }
326 inline void SetAdditionalInferenceSpecifications(const Aws::Vector<AdditionalInferenceSpecificationDefinition>& value) { m_additionalInferenceSpecificationsHasBeenSet = true; m_additionalInferenceSpecifications = value; }
327 inline void SetAdditionalInferenceSpecifications(Aws::Vector<AdditionalInferenceSpecificationDefinition>&& value) { m_additionalInferenceSpecificationsHasBeenSet = true; m_additionalInferenceSpecifications = std::move(value); }
330 inline CreateModelPackageRequest& AddAdditionalInferenceSpecifications(const AdditionalInferenceSpecificationDefinition& value) { m_additionalInferenceSpecificationsHasBeenSet = true; m_additionalInferenceSpecifications.push_back(value); return *this; }
331 inline CreateModelPackageRequest& AddAdditionalInferenceSpecifications(AdditionalInferenceSpecificationDefinition&& value) { m_additionalInferenceSpecificationsHasBeenSet = true; m_additionalInferenceSpecifications.push_back(std::move(value)); return *this; }
333
335
338 inline const SkipModelValidation& GetSkipModelValidation() const{ return m_skipModelValidation; }
339 inline bool SkipModelValidationHasBeenSet() const { return m_skipModelValidationHasBeenSet; }
340 inline void SetSkipModelValidation(const SkipModelValidation& value) { m_skipModelValidationHasBeenSet = true; m_skipModelValidation = value; }
341 inline void SetSkipModelValidation(SkipModelValidation&& value) { m_skipModelValidationHasBeenSet = true; m_skipModelValidation = std::move(value); }
345
347
352 inline const Aws::String& GetSourceUri() const{ return m_sourceUri; }
353 inline bool SourceUriHasBeenSet() const { return m_sourceUriHasBeenSet; }
354 inline void SetSourceUri(const Aws::String& value) { m_sourceUriHasBeenSet = true; m_sourceUri = value; }
355 inline void SetSourceUri(Aws::String&& value) { m_sourceUriHasBeenSet = true; m_sourceUri = std::move(value); }
356 inline void SetSourceUri(const char* value) { m_sourceUriHasBeenSet = true; m_sourceUri.assign(value); }
357 inline CreateModelPackageRequest& WithSourceUri(const Aws::String& value) { SetSourceUri(value); return *this;}
358 inline CreateModelPackageRequest& WithSourceUri(Aws::String&& value) { SetSourceUri(std::move(value)); return *this;}
359 inline CreateModelPackageRequest& WithSourceUri(const char* value) { SetSourceUri(value); return *this;}
361
363
367 inline const ModelPackageSecurityConfig& GetSecurityConfig() const{ return m_securityConfig; }
368 inline bool SecurityConfigHasBeenSet() const { return m_securityConfigHasBeenSet; }
369 inline void SetSecurityConfig(const ModelPackageSecurityConfig& value) { m_securityConfigHasBeenSet = true; m_securityConfig = value; }
370 inline void SetSecurityConfig(ModelPackageSecurityConfig&& value) { m_securityConfigHasBeenSet = true; m_securityConfig = std::move(value); }
374
376
391 inline const ModelPackageModelCard& GetModelCard() const{ return m_modelCard; }
392 inline bool ModelCardHasBeenSet() const { return m_modelCardHasBeenSet; }
393 inline void SetModelCard(const ModelPackageModelCard& value) { m_modelCardHasBeenSet = true; m_modelCard = value; }
394 inline void SetModelCard(ModelPackageModelCard&& value) { m_modelCardHasBeenSet = true; m_modelCard = std::move(value); }
395 inline CreateModelPackageRequest& WithModelCard(const ModelPackageModelCard& value) { SetModelCard(value); return *this;}
396 inline CreateModelPackageRequest& WithModelCard(ModelPackageModelCard&& value) { SetModelCard(std::move(value)); return *this;}
398
400
404 inline const ModelLifeCycle& GetModelLifeCycle() const{ return m_modelLifeCycle; }
405 inline bool ModelLifeCycleHasBeenSet() const { return m_modelLifeCycleHasBeenSet; }
406 inline void SetModelLifeCycle(const ModelLifeCycle& value) { m_modelLifeCycleHasBeenSet = true; m_modelLifeCycle = value; }
407 inline void SetModelLifeCycle(ModelLifeCycle&& value) { m_modelLifeCycleHasBeenSet = true; m_modelLifeCycle = std::move(value); }
409 inline CreateModelPackageRequest& WithModelLifeCycle(ModelLifeCycle&& value) { SetModelLifeCycle(std::move(value)); return *this;}
411 private:
412
413 Aws::String m_modelPackageName;
414 bool m_modelPackageNameHasBeenSet = false;
415
416 Aws::String m_modelPackageGroupName;
417 bool m_modelPackageGroupNameHasBeenSet = false;
418
419 Aws::String m_modelPackageDescription;
420 bool m_modelPackageDescriptionHasBeenSet = false;
421
422 InferenceSpecification m_inferenceSpecification;
423 bool m_inferenceSpecificationHasBeenSet = false;
424
425 ModelPackageValidationSpecification m_validationSpecification;
426 bool m_validationSpecificationHasBeenSet = false;
427
428 SourceAlgorithmSpecification m_sourceAlgorithmSpecification;
429 bool m_sourceAlgorithmSpecificationHasBeenSet = false;
430
431 bool m_certifyForMarketplace;
432 bool m_certifyForMarketplaceHasBeenSet = false;
433
434 Aws::Vector<Tag> m_tags;
435 bool m_tagsHasBeenSet = false;
436
437 ModelApprovalStatus m_modelApprovalStatus;
438 bool m_modelApprovalStatusHasBeenSet = false;
439
440 MetadataProperties m_metadataProperties;
441 bool m_metadataPropertiesHasBeenSet = false;
442
443 ModelMetrics m_modelMetrics;
444 bool m_modelMetricsHasBeenSet = false;
445
446 Aws::String m_clientToken;
447 bool m_clientTokenHasBeenSet = false;
448
449 Aws::String m_domain;
450 bool m_domainHasBeenSet = false;
451
452 Aws::String m_task;
453 bool m_taskHasBeenSet = false;
454
455 Aws::String m_samplePayloadUrl;
456 bool m_samplePayloadUrlHasBeenSet = false;
457
458 Aws::Map<Aws::String, Aws::String> m_customerMetadataProperties;
459 bool m_customerMetadataPropertiesHasBeenSet = false;
460
461 DriftCheckBaselines m_driftCheckBaselines;
462 bool m_driftCheckBaselinesHasBeenSet = false;
463
464 Aws::Vector<AdditionalInferenceSpecificationDefinition> m_additionalInferenceSpecifications;
465 bool m_additionalInferenceSpecificationsHasBeenSet = false;
466
467 SkipModelValidation m_skipModelValidation;
468 bool m_skipModelValidationHasBeenSet = false;
469
470 Aws::String m_sourceUri;
471 bool m_sourceUriHasBeenSet = false;
472
473 ModelPackageSecurityConfig m_securityConfig;
474 bool m_securityConfigHasBeenSet = false;
475
476 ModelPackageModelCard m_modelCard;
477 bool m_modelCardHasBeenSet = false;
478
479 ModelLifeCycle m_modelLifeCycle;
480 bool m_modelLifeCycleHasBeenSet = false;
481 };
482
483} // namespace Model
484} // namespace SageMaker
485} // namespace Aws
virtual const char * GetServiceRequestName() const override
CreateModelPackageRequest & WithModelCard(ModelPackageModelCard &&value)
CreateModelPackageRequest & WithSecurityConfig(const ModelPackageSecurityConfig &value)
CreateModelPackageRequest & WithSamplePayloadUrl(Aws::String &&value)
CreateModelPackageRequest & WithMetadataProperties(MetadataProperties &&value)
CreateModelPackageRequest & WithModelMetrics(const ModelMetrics &value)
CreateModelPackageRequest & WithValidationSpecification(const ModelPackageValidationSpecification &value)
void SetInferenceSpecification(const InferenceSpecification &value)
CreateModelPackageRequest & WithDomain(const Aws::String &value)
CreateModelPackageRequest & WithClientToken(const char *value)
const InferenceSpecification & GetInferenceSpecification() const
void SetSkipModelValidation(const SkipModelValidation &value)
CreateModelPackageRequest & WithSourceUri(const Aws::String &value)
const Aws::Vector< AdditionalInferenceSpecificationDefinition > & GetAdditionalInferenceSpecifications() const
void SetSourceAlgorithmSpecification(const SourceAlgorithmSpecification &value)
CreateModelPackageRequest & WithModelCard(const ModelPackageModelCard &value)
void SetSecurityConfig(ModelPackageSecurityConfig &&value)
void SetAdditionalInferenceSpecifications(const Aws::Vector< AdditionalInferenceSpecificationDefinition > &value)
CreateModelPackageRequest & WithValidationSpecification(ModelPackageValidationSpecification &&value)
CreateModelPackageRequest & AddAdditionalInferenceSpecifications(AdditionalInferenceSpecificationDefinition &&value)
CreateModelPackageRequest & WithTask(Aws::String &&value)
CreateModelPackageRequest & WithSourceUri(const char *value)
CreateModelPackageRequest & WithCertifyForMarketplace(bool value)
CreateModelPackageRequest & WithMetadataProperties(const MetadataProperties &value)
CreateModelPackageRequest & WithModelPackageGroupName(Aws::String &&value)
CreateModelPackageRequest & WithClientToken(Aws::String &&value)
CreateModelPackageRequest & WithSourceAlgorithmSpecification(const SourceAlgorithmSpecification &value)
CreateModelPackageRequest & WithModelPackageDescription(Aws::String &&value)
const Aws::Map< Aws::String, Aws::String > & GetCustomerMetadataProperties() const
CreateModelPackageRequest & WithModelLifeCycle(ModelLifeCycle &&value)
CreateModelPackageRequest & AddCustomerMetadataProperties(const Aws::String &key, Aws::String &&value)
void SetValidationSpecification(ModelPackageValidationSpecification &&value)
CreateModelPackageRequest & WithDomain(const char *value)
CreateModelPackageRequest & WithModelApprovalStatus(ModelApprovalStatus &&value)
CreateModelPackageRequest & WithDriftCheckBaselines(const DriftCheckBaselines &value)
void SetSecurityConfig(const ModelPackageSecurityConfig &value)
CreateModelPackageRequest & WithSecurityConfig(ModelPackageSecurityConfig &&value)
CreateModelPackageRequest & WithCustomerMetadataProperties(const Aws::Map< Aws::String, Aws::String > &value)
CreateModelPackageRequest & WithModelPackageDescription(const Aws::String &value)
CreateModelPackageRequest & AddCustomerMetadataProperties(Aws::String &&key, Aws::String &&value)
const ModelPackageSecurityConfig & GetSecurityConfig() const
void SetMetadataProperties(const MetadataProperties &value)
CreateModelPackageRequest & WithAdditionalInferenceSpecifications(const Aws::Vector< AdditionalInferenceSpecificationDefinition > &value)
CreateModelPackageRequest & AddCustomerMetadataProperties(Aws::String &&key, const char *value)
void SetAdditionalInferenceSpecifications(Aws::Vector< AdditionalInferenceSpecificationDefinition > &&value)
CreateModelPackageRequest & AddTags(Tag &&value)
const DriftCheckBaselines & GetDriftCheckBaselines() const
CreateModelPackageRequest & WithSkipModelValidation(const SkipModelValidation &value)
CreateModelPackageRequest & AddCustomerMetadataProperties(const char *key, Aws::String &&value)
CreateModelPackageRequest & WithModelMetrics(ModelMetrics &&value)
CreateModelPackageRequest & WithModelPackageDescription(const char *value)
CreateModelPackageRequest & WithInferenceSpecification(const InferenceSpecification &value)
const ModelPackageValidationSpecification & GetValidationSpecification() const
void SetModelCard(const ModelPackageModelCard &value)
CreateModelPackageRequest & WithInferenceSpecification(InferenceSpecification &&value)
CreateModelPackageRequest & WithAdditionalInferenceSpecifications(Aws::Vector< AdditionalInferenceSpecificationDefinition > &&value)
CreateModelPackageRequest & AddCustomerMetadataProperties(Aws::String &&key, const Aws::String &value)
CreateModelPackageRequest & WithModelLifeCycle(const ModelLifeCycle &value)
void SetInferenceSpecification(InferenceSpecification &&value)
CreateModelPackageRequest & WithSourceUri(Aws::String &&value)
CreateModelPackageRequest & WithCustomerMetadataProperties(Aws::Map< Aws::String, Aws::String > &&value)
CreateModelPackageRequest & WithTask(const Aws::String &value)
CreateModelPackageRequest & WithModelPackageName(const Aws::String &value)
CreateModelPackageRequest & AddCustomerMetadataProperties(const char *key, const char *value)
const ModelApprovalStatus & GetModelApprovalStatus() const
CreateModelPackageRequest & AddAdditionalInferenceSpecifications(const AdditionalInferenceSpecificationDefinition &value)
CreateModelPackageRequest & WithModelApprovalStatus(const ModelApprovalStatus &value)
CreateModelPackageRequest & WithSourceAlgorithmSpecification(SourceAlgorithmSpecification &&value)
CreateModelPackageRequest & WithModelPackageGroupName(const Aws::String &value)
void SetDriftCheckBaselines(const DriftCheckBaselines &value)
void SetCustomerMetadataProperties(const Aws::Map< Aws::String, Aws::String > &value)
CreateModelPackageRequest & WithTags(Aws::Vector< Tag > &&value)
CreateModelPackageRequest & WithModelPackageName(const char *value)
CreateModelPackageRequest & WithSkipModelValidation(SkipModelValidation &&value)
AWS_SAGEMAKER_API Aws::String SerializePayload() const override
CreateModelPackageRequest & WithModelPackageName(Aws::String &&value)
const SourceAlgorithmSpecification & GetSourceAlgorithmSpecification() const
CreateModelPackageRequest & WithTask(const char *value)
void SetCustomerMetadataProperties(Aws::Map< Aws::String, Aws::String > &&value)
void SetValidationSpecification(const ModelPackageValidationSpecification &value)
CreateModelPackageRequest & WithDriftCheckBaselines(DriftCheckBaselines &&value)
const SkipModelValidation & GetSkipModelValidation() const
CreateModelPackageRequest & WithSamplePayloadUrl(const Aws::String &value)
CreateModelPackageRequest & WithModelPackageGroupName(const char *value)
CreateModelPackageRequest & WithClientToken(const Aws::String &value)
CreateModelPackageRequest & WithDomain(Aws::String &&value)
AWS_SAGEMAKER_API Aws::Http::HeaderValueCollection GetRequestSpecificHeaders() const override
CreateModelPackageRequest & AddTags(const Tag &value)
void SetModelApprovalStatus(const ModelApprovalStatus &value)
CreateModelPackageRequest & WithTags(const Aws::Vector< Tag > &value)
CreateModelPackageRequest & AddCustomerMetadataProperties(const Aws::String &key, const Aws::String &value)
void SetSourceAlgorithmSpecification(SourceAlgorithmSpecification &&value)
CreateModelPackageRequest & WithSamplePayloadUrl(const char *value)
Aws::Map< Aws::String, Aws::String > HeaderValueCollection
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
std::vector< T, Aws::Allocator< T > > Vector