AWS SDK for C++

AWS SDK for C++ Version 1.11.805

Loading...
Searching...
No Matches
CreateModelPackageRequest.h
1
6#pragma once
7#include <aws/core/utils/UUID.h>
8#include <aws/core/utils/memory/stl/AWSMap.h>
9#include <aws/core/utils/memory/stl/AWSString.h>
10#include <aws/core/utils/memory/stl/AWSVector.h>
11#include <aws/sagemaker/SageMakerRequest.h>
12#include <aws/sagemaker/SageMaker_EXPORTS.h>
13#include <aws/sagemaker/model/AdditionalInferenceSpecificationDefinition.h>
14#include <aws/sagemaker/model/DriftCheckBaselines.h>
15#include <aws/sagemaker/model/InferenceSpecification.h>
16#include <aws/sagemaker/model/ManagedStorageType.h>
17#include <aws/sagemaker/model/MetadataProperties.h>
18#include <aws/sagemaker/model/ModelApprovalStatus.h>
19#include <aws/sagemaker/model/ModelLifeCycle.h>
20#include <aws/sagemaker/model/ModelMetrics.h>
21#include <aws/sagemaker/model/ModelPackageModelCard.h>
22#include <aws/sagemaker/model/ModelPackageRegistrationType.h>
23#include <aws/sagemaker/model/ModelPackageSecurityConfig.h>
24#include <aws/sagemaker/model/ModelPackageValidationSpecification.h>
25#include <aws/sagemaker/model/SkipModelValidation.h>
26#include <aws/sagemaker/model/SourceAlgorithmSpecification.h>
27#include <aws/sagemaker/model/Tag.h>
28
29#include <utility>
30
31namespace Aws {
32namespace SageMaker {
33namespace Model {
34
38 public:
39 AWS_SAGEMAKER_API CreateModelPackageRequest() = default;
40
41 // Service request name is the Operation name which will send this request out,
42 // each operation should has unique request name, so that we can get operation's name from this request.
43 // Note: this is not true for response, multiple operations may have the same response name,
44 // so we can not get operation's name from response.
45 inline virtual const char* GetServiceRequestName() const override { return "CreateModelPackage"; }
46
47 AWS_SAGEMAKER_API Aws::String SerializePayload() const override;
48
50
52
57 inline const Aws::String& GetModelPackageName() const { return m_modelPackageName; }
58 inline bool ModelPackageNameHasBeenSet() const { return m_modelPackageNameHasBeenSet; }
59 template <typename ModelPackageNameT = Aws::String>
60 void SetModelPackageName(ModelPackageNameT&& value) {
61 m_modelPackageNameHasBeenSet = true;
62 m_modelPackageName = std::forward<ModelPackageNameT>(value);
63 }
64 template <typename ModelPackageNameT = Aws::String>
65 CreateModelPackageRequest& WithModelPackageName(ModelPackageNameT&& value) {
66 SetModelPackageName(std::forward<ModelPackageNameT>(value));
67 return *this;
68 }
70
72
77 inline const Aws::String& GetModelPackageGroupName() const { return m_modelPackageGroupName; }
78 inline bool ModelPackageGroupNameHasBeenSet() const { return m_modelPackageGroupNameHasBeenSet; }
79 template <typename ModelPackageGroupNameT = Aws::String>
80 void SetModelPackageGroupName(ModelPackageGroupNameT&& value) {
81 m_modelPackageGroupNameHasBeenSet = true;
82 m_modelPackageGroupName = std::forward<ModelPackageGroupNameT>(value);
83 }
84 template <typename ModelPackageGroupNameT = Aws::String>
85 CreateModelPackageRequest& WithModelPackageGroupName(ModelPackageGroupNameT&& value) {
86 SetModelPackageGroupName(std::forward<ModelPackageGroupNameT>(value));
87 return *this;
88 }
90
92
95 inline const Aws::String& GetModelPackageDescription() const { return m_modelPackageDescription; }
96 inline bool ModelPackageDescriptionHasBeenSet() const { return m_modelPackageDescriptionHasBeenSet; }
97 template <typename ModelPackageDescriptionT = Aws::String>
98 void SetModelPackageDescription(ModelPackageDescriptionT&& value) {
99 m_modelPackageDescriptionHasBeenSet = true;
100 m_modelPackageDescription = std::forward<ModelPackageDescriptionT>(value);
101 }
102 template <typename ModelPackageDescriptionT = Aws::String>
103 CreateModelPackageRequest& WithModelPackageDescription(ModelPackageDescriptionT&& value) {
104 SetModelPackageDescription(std::forward<ModelPackageDescriptionT>(value));
105 return *this;
106 }
108
110
113 inline ModelPackageRegistrationType GetModelPackageRegistrationType() const { return m_modelPackageRegistrationType; }
114 inline bool ModelPackageRegistrationTypeHasBeenSet() const { return m_modelPackageRegistrationTypeHasBeenSet; }
116 m_modelPackageRegistrationTypeHasBeenSet = true;
117 m_modelPackageRegistrationType = value;
118 }
121 return *this;
122 }
124
126
135 inline const InferenceSpecification& GetInferenceSpecification() const { return m_inferenceSpecification; }
136 inline bool InferenceSpecificationHasBeenSet() const { return m_inferenceSpecificationHasBeenSet; }
137 template <typename InferenceSpecificationT = InferenceSpecification>
138 void SetInferenceSpecification(InferenceSpecificationT&& value) {
139 m_inferenceSpecificationHasBeenSet = true;
140 m_inferenceSpecification = std::forward<InferenceSpecificationT>(value);
141 }
142 template <typename InferenceSpecificationT = InferenceSpecification>
143 CreateModelPackageRequest& WithInferenceSpecification(InferenceSpecificationT&& value) {
144 SetInferenceSpecification(std::forward<InferenceSpecificationT>(value));
145 return *this;
146 }
148
150
154 inline const ModelPackageValidationSpecification& GetValidationSpecification() const { return m_validationSpecification; }
155 inline bool ValidationSpecificationHasBeenSet() const { return m_validationSpecificationHasBeenSet; }
156 template <typename ValidationSpecificationT = ModelPackageValidationSpecification>
157 void SetValidationSpecification(ValidationSpecificationT&& value) {
158 m_validationSpecificationHasBeenSet = true;
159 m_validationSpecification = std::forward<ValidationSpecificationT>(value);
160 }
161 template <typename ValidationSpecificationT = ModelPackageValidationSpecification>
162 CreateModelPackageRequest& WithValidationSpecification(ValidationSpecificationT&& value) {
163 SetValidationSpecification(std::forward<ValidationSpecificationT>(value));
164 return *this;
165 }
167
169
172 inline const SourceAlgorithmSpecification& GetSourceAlgorithmSpecification() const { return m_sourceAlgorithmSpecification; }
173 inline bool SourceAlgorithmSpecificationHasBeenSet() const { return m_sourceAlgorithmSpecificationHasBeenSet; }
174 template <typename SourceAlgorithmSpecificationT = SourceAlgorithmSpecification>
175 void SetSourceAlgorithmSpecification(SourceAlgorithmSpecificationT&& value) {
176 m_sourceAlgorithmSpecificationHasBeenSet = true;
177 m_sourceAlgorithmSpecification = std::forward<SourceAlgorithmSpecificationT>(value);
178 }
179 template <typename SourceAlgorithmSpecificationT = SourceAlgorithmSpecification>
180 CreateModelPackageRequest& WithSourceAlgorithmSpecification(SourceAlgorithmSpecificationT&& value) {
181 SetSourceAlgorithmSpecification(std::forward<SourceAlgorithmSpecificationT>(value));
182 return *this;
183 }
185
187
192 inline bool GetCertifyForMarketplace() const { return m_certifyForMarketplace; }
193 inline bool CertifyForMarketplaceHasBeenSet() const { return m_certifyForMarketplaceHasBeenSet; }
194 inline void SetCertifyForMarketplace(bool value) {
195 m_certifyForMarketplaceHasBeenSet = true;
196 m_certifyForMarketplace = value;
197 }
200 return *this;
201 }
203
205
215 inline const Aws::Vector<Tag>& GetTags() const { return m_tags; }
216 inline bool TagsHasBeenSet() const { return m_tagsHasBeenSet; }
217 template <typename TagsT = Aws::Vector<Tag>>
218 void SetTags(TagsT&& value) {
219 m_tagsHasBeenSet = true;
220 m_tags = std::forward<TagsT>(value);
221 }
222 template <typename TagsT = Aws::Vector<Tag>>
224 SetTags(std::forward<TagsT>(value));
225 return *this;
226 }
227 template <typename TagsT = Tag>
229 m_tagsHasBeenSet = true;
230 m_tags.emplace_back(std::forward<TagsT>(value));
231 return *this;
232 }
234
236
242 inline ModelApprovalStatus GetModelApprovalStatus() const { return m_modelApprovalStatus; }
243 inline bool ModelApprovalStatusHasBeenSet() const { return m_modelApprovalStatusHasBeenSet; }
245 m_modelApprovalStatusHasBeenSet = true;
246 m_modelApprovalStatus = value;
247 }
250 return *this;
251 }
253
255
256 inline const MetadataProperties& GetMetadataProperties() const { return m_metadataProperties; }
257 inline bool MetadataPropertiesHasBeenSet() const { return m_metadataPropertiesHasBeenSet; }
258 template <typename MetadataPropertiesT = MetadataProperties>
259 void SetMetadataProperties(MetadataPropertiesT&& value) {
260 m_metadataPropertiesHasBeenSet = true;
261 m_metadataProperties = std::forward<MetadataPropertiesT>(value);
262 }
263 template <typename MetadataPropertiesT = MetadataProperties>
264 CreateModelPackageRequest& WithMetadataProperties(MetadataPropertiesT&& value) {
265 SetMetadataProperties(std::forward<MetadataPropertiesT>(value));
266 return *this;
267 }
269
271
274 inline const ModelMetrics& GetModelMetrics() const { return m_modelMetrics; }
275 inline bool ModelMetricsHasBeenSet() const { return m_modelMetricsHasBeenSet; }
276 template <typename ModelMetricsT = ModelMetrics>
277 void SetModelMetrics(ModelMetricsT&& value) {
278 m_modelMetricsHasBeenSet = true;
279 m_modelMetrics = std::forward<ModelMetricsT>(value);
280 }
281 template <typename ModelMetricsT = ModelMetrics>
283 SetModelMetrics(std::forward<ModelMetricsT>(value));
284 return *this;
285 }
287
289
292 inline const Aws::String& GetClientToken() const { return m_clientToken; }
293 inline bool ClientTokenHasBeenSet() const { return m_clientTokenHasBeenSet; }
294 template <typename ClientTokenT = Aws::String>
295 void SetClientToken(ClientTokenT&& value) {
296 m_clientTokenHasBeenSet = true;
297 m_clientToken = std::forward<ClientTokenT>(value);
298 }
299 template <typename ClientTokenT = Aws::String>
301 SetClientToken(std::forward<ClientTokenT>(value));
302 return *this;
303 }
305
307
312 inline const Aws::String& GetDomain() const { return m_domain; }
313 inline bool DomainHasBeenSet() const { return m_domainHasBeenSet; }
314 template <typename DomainT = Aws::String>
315 void SetDomain(DomainT&& value) {
316 m_domainHasBeenSet = true;
317 m_domain = std::forward<DomainT>(value);
318 }
319 template <typename DomainT = Aws::String>
321 SetDomain(std::forward<DomainT>(value));
322 return *this;
323 }
325
327
337 inline const Aws::String& GetTask() const { return m_task; }
338 inline bool TaskHasBeenSet() const { return m_taskHasBeenSet; }
339 template <typename TaskT = Aws::String>
340 void SetTask(TaskT&& value) {
341 m_taskHasBeenSet = true;
342 m_task = std::forward<TaskT>(value);
343 }
344 template <typename TaskT = Aws::String>
346 SetTask(std::forward<TaskT>(value));
347 return *this;
348 }
350
352
360 inline const Aws::String& GetSamplePayloadUrl() const { return m_samplePayloadUrl; }
361 inline bool SamplePayloadUrlHasBeenSet() const { return m_samplePayloadUrlHasBeenSet; }
362 template <typename SamplePayloadUrlT = Aws::String>
363 void SetSamplePayloadUrl(SamplePayloadUrlT&& value) {
364 m_samplePayloadUrlHasBeenSet = true;
365 m_samplePayloadUrl = std::forward<SamplePayloadUrlT>(value);
366 }
367 template <typename SamplePayloadUrlT = Aws::String>
369 SetSamplePayloadUrl(std::forward<SamplePayloadUrlT>(value));
370 return *this;
371 }
373
375
378 inline const Aws::Map<Aws::String, Aws::String>& GetCustomerMetadataProperties() const { return m_customerMetadataProperties; }
379 inline bool CustomerMetadataPropertiesHasBeenSet() const { return m_customerMetadataPropertiesHasBeenSet; }
380 template <typename CustomerMetadataPropertiesT = Aws::Map<Aws::String, Aws::String>>
381 void SetCustomerMetadataProperties(CustomerMetadataPropertiesT&& value) {
382 m_customerMetadataPropertiesHasBeenSet = true;
383 m_customerMetadataProperties = std::forward<CustomerMetadataPropertiesT>(value);
384 }
385 template <typename CustomerMetadataPropertiesT = Aws::Map<Aws::String, Aws::String>>
386 CreateModelPackageRequest& WithCustomerMetadataProperties(CustomerMetadataPropertiesT&& value) {
387 SetCustomerMetadataProperties(std::forward<CustomerMetadataPropertiesT>(value));
388 return *this;
389 }
390 template <typename CustomerMetadataPropertiesKeyT = Aws::String, typename CustomerMetadataPropertiesValueT = Aws::String>
391 CreateModelPackageRequest& AddCustomerMetadataProperties(CustomerMetadataPropertiesKeyT&& key, CustomerMetadataPropertiesValueT&& value) {
392 m_customerMetadataPropertiesHasBeenSet = true;
393 m_customerMetadataProperties.emplace(std::forward<CustomerMetadataPropertiesKeyT>(key),
394 std::forward<CustomerMetadataPropertiesValueT>(value));
395 return *this;
396 }
398
400
407 inline const DriftCheckBaselines& GetDriftCheckBaselines() const { return m_driftCheckBaselines; }
408 inline bool DriftCheckBaselinesHasBeenSet() const { return m_driftCheckBaselinesHasBeenSet; }
409 template <typename DriftCheckBaselinesT = DriftCheckBaselines>
410 void SetDriftCheckBaselines(DriftCheckBaselinesT&& value) {
411 m_driftCheckBaselinesHasBeenSet = true;
412 m_driftCheckBaselines = std::forward<DriftCheckBaselinesT>(value);
413 }
414 template <typename DriftCheckBaselinesT = DriftCheckBaselines>
415 CreateModelPackageRequest& WithDriftCheckBaselines(DriftCheckBaselinesT&& value) {
416 SetDriftCheckBaselines(std::forward<DriftCheckBaselinesT>(value));
417 return *this;
418 }
420
422
429 return m_additionalInferenceSpecifications;
430 }
431 inline bool AdditionalInferenceSpecificationsHasBeenSet() const { return m_additionalInferenceSpecificationsHasBeenSet; }
432 template <typename AdditionalInferenceSpecificationsT = Aws::Vector<AdditionalInferenceSpecificationDefinition>>
433 void SetAdditionalInferenceSpecifications(AdditionalInferenceSpecificationsT&& value) {
434 m_additionalInferenceSpecificationsHasBeenSet = true;
435 m_additionalInferenceSpecifications = std::forward<AdditionalInferenceSpecificationsT>(value);
436 }
437 template <typename AdditionalInferenceSpecificationsT = Aws::Vector<AdditionalInferenceSpecificationDefinition>>
438 CreateModelPackageRequest& WithAdditionalInferenceSpecifications(AdditionalInferenceSpecificationsT&& value) {
439 SetAdditionalInferenceSpecifications(std::forward<AdditionalInferenceSpecificationsT>(value));
440 return *this;
441 }
442 template <typename AdditionalInferenceSpecificationsT = AdditionalInferenceSpecificationDefinition>
443 CreateModelPackageRequest& AddAdditionalInferenceSpecifications(AdditionalInferenceSpecificationsT&& value) {
444 m_additionalInferenceSpecificationsHasBeenSet = true;
445 m_additionalInferenceSpecifications.emplace_back(std::forward<AdditionalInferenceSpecificationsT>(value));
446 return *this;
447 }
449
451
454 inline SkipModelValidation GetSkipModelValidation() const { return m_skipModelValidation; }
455 inline bool SkipModelValidationHasBeenSet() const { return m_skipModelValidationHasBeenSet; }
457 m_skipModelValidationHasBeenSet = true;
458 m_skipModelValidation = value;
459 }
462 return *this;
463 }
465
467
472 inline const Aws::String& GetSourceUri() const { return m_sourceUri; }
473 inline bool SourceUriHasBeenSet() const { return m_sourceUriHasBeenSet; }
474 template <typename SourceUriT = Aws::String>
475 void SetSourceUri(SourceUriT&& value) {
476 m_sourceUriHasBeenSet = true;
477 m_sourceUri = std::forward<SourceUriT>(value);
478 }
479 template <typename SourceUriT = Aws::String>
481 SetSourceUri(std::forward<SourceUriT>(value));
482 return *this;
483 }
485
487
491 inline const ModelPackageSecurityConfig& GetSecurityConfig() const { return m_securityConfig; }
492 inline bool SecurityConfigHasBeenSet() const { return m_securityConfigHasBeenSet; }
493 template <typename SecurityConfigT = ModelPackageSecurityConfig>
494 void SetSecurityConfig(SecurityConfigT&& value) {
495 m_securityConfigHasBeenSet = true;
496 m_securityConfig = std::forward<SecurityConfigT>(value);
497 }
498 template <typename SecurityConfigT = ModelPackageSecurityConfig>
500 SetSecurityConfig(std::forward<SecurityConfigT>(value));
501 return *this;
502 }
504
506
521 inline const ModelPackageModelCard& GetModelCard() const { return m_modelCard; }
522 inline bool ModelCardHasBeenSet() const { return m_modelCardHasBeenSet; }
523 template <typename ModelCardT = ModelPackageModelCard>
524 void SetModelCard(ModelCardT&& value) {
525 m_modelCardHasBeenSet = true;
526 m_modelCard = std::forward<ModelCardT>(value);
527 }
528 template <typename ModelCardT = ModelPackageModelCard>
530 SetModelCard(std::forward<ModelCardT>(value));
531 return *this;
532 }
534
536
540 inline const ModelLifeCycle& GetModelLifeCycle() const { return m_modelLifeCycle; }
541 inline bool ModelLifeCycleHasBeenSet() const { return m_modelLifeCycleHasBeenSet; }
542 template <typename ModelLifeCycleT = ModelLifeCycle>
543 void SetModelLifeCycle(ModelLifeCycleT&& value) {
544 m_modelLifeCycleHasBeenSet = true;
545 m_modelLifeCycle = std::forward<ModelLifeCycleT>(value);
546 }
547 template <typename ModelLifeCycleT = ModelLifeCycle>
549 SetModelLifeCycle(std::forward<ModelLifeCycleT>(value));
550 return *this;
551 }
553
555
558 inline ManagedStorageType GetManagedStorageType() const { return m_managedStorageType; }
559 inline bool ManagedStorageTypeHasBeenSet() const { return m_managedStorageTypeHasBeenSet; }
561 m_managedStorageTypeHasBeenSet = true;
562 m_managedStorageType = value;
563 }
566 return *this;
567 }
569 private:
570 Aws::String m_modelPackageName;
571
572 Aws::String m_modelPackageGroupName;
573
574 Aws::String m_modelPackageDescription;
575
577
578 InferenceSpecification m_inferenceSpecification;
579
580 ModelPackageValidationSpecification m_validationSpecification;
581
582 SourceAlgorithmSpecification m_sourceAlgorithmSpecification;
583
584 bool m_certifyForMarketplace{false};
585
586 Aws::Vector<Tag> m_tags;
587
589
590 MetadataProperties m_metadataProperties;
591
592 ModelMetrics m_modelMetrics;
593
595
596 Aws::String m_domain;
597
598 Aws::String m_task;
599
600 Aws::String m_samplePayloadUrl;
601
602 Aws::Map<Aws::String, Aws::String> m_customerMetadataProperties;
603
604 DriftCheckBaselines m_driftCheckBaselines;
605
606 Aws::Vector<AdditionalInferenceSpecificationDefinition> m_additionalInferenceSpecifications;
607
609
610 Aws::String m_sourceUri;
611
612 ModelPackageSecurityConfig m_securityConfig;
613
614 ModelPackageModelCard m_modelCard;
615
616 ModelLifeCycle m_modelLifeCycle;
617
619 bool m_modelPackageNameHasBeenSet = false;
620 bool m_modelPackageGroupNameHasBeenSet = false;
621 bool m_modelPackageDescriptionHasBeenSet = false;
622 bool m_modelPackageRegistrationTypeHasBeenSet = false;
623 bool m_inferenceSpecificationHasBeenSet = false;
624 bool m_validationSpecificationHasBeenSet = false;
625 bool m_sourceAlgorithmSpecificationHasBeenSet = false;
626 bool m_certifyForMarketplaceHasBeenSet = false;
627 bool m_tagsHasBeenSet = false;
628 bool m_modelApprovalStatusHasBeenSet = false;
629 bool m_metadataPropertiesHasBeenSet = false;
630 bool m_modelMetricsHasBeenSet = false;
631 bool m_clientTokenHasBeenSet = true;
632 bool m_domainHasBeenSet = false;
633 bool m_taskHasBeenSet = false;
634 bool m_samplePayloadUrlHasBeenSet = false;
635 bool m_customerMetadataPropertiesHasBeenSet = false;
636 bool m_driftCheckBaselinesHasBeenSet = false;
637 bool m_additionalInferenceSpecificationsHasBeenSet = false;
638 bool m_skipModelValidationHasBeenSet = false;
639 bool m_sourceUriHasBeenSet = false;
640 bool m_securityConfigHasBeenSet = false;
641 bool m_modelCardHasBeenSet = false;
642 bool m_modelLifeCycleHasBeenSet = false;
643 bool m_managedStorageTypeHasBeenSet = false;
644};
645
646} // namespace Model
647} // namespace SageMaker
648} // namespace Aws
CreateModelPackageRequest & WithModelMetrics(ModelMetricsT &&value)
virtual const char * GetServiceRequestName() const override
CreateModelPackageRequest & WithModelPackageDescription(ModelPackageDescriptionT &&value)
CreateModelPackageRequest & WithValidationSpecification(ValidationSpecificationT &&value)
CreateModelPackageRequest & AddCustomerMetadataProperties(CustomerMetadataPropertiesKeyT &&key, CustomerMetadataPropertiesValueT &&value)
const InferenceSpecification & GetInferenceSpecification() const
const Aws::Vector< AdditionalInferenceSpecificationDefinition > & GetAdditionalInferenceSpecifications() const
CreateModelPackageRequest & WithCertifyForMarketplace(bool value)
CreateModelPackageRequest & WithModelPackageGroupName(ModelPackageGroupNameT &&value)
void SetAdditionalInferenceSpecifications(AdditionalInferenceSpecificationsT &&value)
const Aws::Map< Aws::String, Aws::String > & GetCustomerMetadataProperties() const
CreateModelPackageRequest & WithInferenceSpecification(InferenceSpecificationT &&value)
CreateModelPackageRequest & WithCustomerMetadataProperties(CustomerMetadataPropertiesT &&value)
AWS_SAGEMAKER_API CreateModelPackageRequest()=default
CreateModelPackageRequest & WithSourceUri(SourceUriT &&value)
const ModelPackageSecurityConfig & GetSecurityConfig() const
CreateModelPackageRequest & WithTags(TagsT &&value)
void SetValidationSpecification(ValidationSpecificationT &&value)
const DriftCheckBaselines & GetDriftCheckBaselines() const
CreateModelPackageRequest & AddAdditionalInferenceSpecifications(AdditionalInferenceSpecificationsT &&value)
CreateModelPackageRequest & WithDomain(DomainT &&value)
CreateModelPackageRequest & WithModelPackageName(ModelPackageNameT &&value)
void SetInferenceSpecification(InferenceSpecificationT &&value)
CreateModelPackageRequest & WithModelCard(ModelCardT &&value)
CreateModelPackageRequest & WithClientToken(ClientTokenT &&value)
const ModelPackageValidationSpecification & GetValidationSpecification() const
void SetSourceAlgorithmSpecification(SourceAlgorithmSpecificationT &&value)
CreateModelPackageRequest & WithTask(TaskT &&value)
CreateModelPackageRequest & WithModelLifeCycle(ModelLifeCycleT &&value)
CreateModelPackageRequest & WithSkipModelValidation(SkipModelValidation value)
AWS_SAGEMAKER_API Aws::String SerializePayload() const override
CreateModelPackageRequest & WithModelApprovalStatus(ModelApprovalStatus value)
const SourceAlgorithmSpecification & GetSourceAlgorithmSpecification() const
void SetModelPackageDescription(ModelPackageDescriptionT &&value)
CreateModelPackageRequest & AddTags(TagsT &&value)
CreateModelPackageRequest & WithModelPackageRegistrationType(ModelPackageRegistrationType value)
CreateModelPackageRequest & WithMetadataProperties(MetadataPropertiesT &&value)
CreateModelPackageRequest & WithSamplePayloadUrl(SamplePayloadUrlT &&value)
CreateModelPackageRequest & WithSourceAlgorithmSpecification(SourceAlgorithmSpecificationT &&value)
void SetModelPackageGroupName(ModelPackageGroupNameT &&value)
AWS_SAGEMAKER_API Aws::Http::HeaderValueCollection GetRequestSpecificHeaders() const override
CreateModelPackageRequest & WithAdditionalInferenceSpecifications(AdditionalInferenceSpecificationsT &&value)
CreateModelPackageRequest & WithSecurityConfig(SecurityConfigT &&value)
CreateModelPackageRequest & WithManagedStorageType(ManagedStorageType value)
CreateModelPackageRequest & WithDriftCheckBaselines(DriftCheckBaselinesT &&value)
void SetCustomerMetadataProperties(CustomerMetadataPropertiesT &&value)
void SetModelPackageRegistrationType(ModelPackageRegistrationType value)
ModelPackageRegistrationType GetModelPackageRegistrationType() const
static Aws::Utils::UUID PseudoRandomUUID()
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