AWS SDK for C++

AWS SDK for C++ Version 1.11.718

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/MetadataProperties.h>
17#include <aws/sagemaker/model/ModelApprovalStatus.h>
18#include <aws/sagemaker/model/ModelLifeCycle.h>
19#include <aws/sagemaker/model/ModelMetrics.h>
20#include <aws/sagemaker/model/ModelPackageModelCard.h>
21#include <aws/sagemaker/model/ModelPackageRegistrationType.h>
22#include <aws/sagemaker/model/ModelPackageSecurityConfig.h>
23#include <aws/sagemaker/model/ModelPackageValidationSpecification.h>
24#include <aws/sagemaker/model/SkipModelValidation.h>
25#include <aws/sagemaker/model/SourceAlgorithmSpecification.h>
26#include <aws/sagemaker/model/Tag.h>
27
28#include <utility>
29
30namespace Aws {
31namespace SageMaker {
32namespace Model {
33
37 public:
38 AWS_SAGEMAKER_API CreateModelPackageRequest() = default;
39
40 // Service request name is the Operation name which will send this request out,
41 // each operation should has unique request name, so that we can get operation's name from this request.
42 // Note: this is not true for response, multiple operations may have the same response name,
43 // so we can not get operation's name from response.
44 inline virtual const char* GetServiceRequestName() const override { return "CreateModelPackage"; }
45
46 AWS_SAGEMAKER_API Aws::String SerializePayload() const override;
47
49
51
56 inline const Aws::String& GetModelPackageName() const { return m_modelPackageName; }
57 inline bool ModelPackageNameHasBeenSet() const { return m_modelPackageNameHasBeenSet; }
58 template <typename ModelPackageNameT = Aws::String>
59 void SetModelPackageName(ModelPackageNameT&& value) {
60 m_modelPackageNameHasBeenSet = true;
61 m_modelPackageName = std::forward<ModelPackageNameT>(value);
62 }
63 template <typename ModelPackageNameT = Aws::String>
64 CreateModelPackageRequest& WithModelPackageName(ModelPackageNameT&& value) {
65 SetModelPackageName(std::forward<ModelPackageNameT>(value));
66 return *this;
67 }
69
71
76 inline const Aws::String& GetModelPackageGroupName() const { return m_modelPackageGroupName; }
77 inline bool ModelPackageGroupNameHasBeenSet() const { return m_modelPackageGroupNameHasBeenSet; }
78 template <typename ModelPackageGroupNameT = Aws::String>
79 void SetModelPackageGroupName(ModelPackageGroupNameT&& value) {
80 m_modelPackageGroupNameHasBeenSet = true;
81 m_modelPackageGroupName = std::forward<ModelPackageGroupNameT>(value);
82 }
83 template <typename ModelPackageGroupNameT = Aws::String>
84 CreateModelPackageRequest& WithModelPackageGroupName(ModelPackageGroupNameT&& value) {
85 SetModelPackageGroupName(std::forward<ModelPackageGroupNameT>(value));
86 return *this;
87 }
89
91
94 inline const Aws::String& GetModelPackageDescription() const { return m_modelPackageDescription; }
95 inline bool ModelPackageDescriptionHasBeenSet() const { return m_modelPackageDescriptionHasBeenSet; }
96 template <typename ModelPackageDescriptionT = Aws::String>
97 void SetModelPackageDescription(ModelPackageDescriptionT&& value) {
98 m_modelPackageDescriptionHasBeenSet = true;
99 m_modelPackageDescription = std::forward<ModelPackageDescriptionT>(value);
100 }
101 template <typename ModelPackageDescriptionT = Aws::String>
102 CreateModelPackageRequest& WithModelPackageDescription(ModelPackageDescriptionT&& value) {
103 SetModelPackageDescription(std::forward<ModelPackageDescriptionT>(value));
104 return *this;
105 }
107
109
112 inline ModelPackageRegistrationType GetModelPackageRegistrationType() const { return m_modelPackageRegistrationType; }
113 inline bool ModelPackageRegistrationTypeHasBeenSet() const { return m_modelPackageRegistrationTypeHasBeenSet; }
115 m_modelPackageRegistrationTypeHasBeenSet = true;
116 m_modelPackageRegistrationType = value;
117 }
120 return *this;
121 }
123
125
134 inline const InferenceSpecification& GetInferenceSpecification() const { return m_inferenceSpecification; }
135 inline bool InferenceSpecificationHasBeenSet() const { return m_inferenceSpecificationHasBeenSet; }
136 template <typename InferenceSpecificationT = InferenceSpecification>
137 void SetInferenceSpecification(InferenceSpecificationT&& value) {
138 m_inferenceSpecificationHasBeenSet = true;
139 m_inferenceSpecification = std::forward<InferenceSpecificationT>(value);
140 }
141 template <typename InferenceSpecificationT = InferenceSpecification>
142 CreateModelPackageRequest& WithInferenceSpecification(InferenceSpecificationT&& value) {
143 SetInferenceSpecification(std::forward<InferenceSpecificationT>(value));
144 return *this;
145 }
147
149
153 inline const ModelPackageValidationSpecification& GetValidationSpecification() const { return m_validationSpecification; }
154 inline bool ValidationSpecificationHasBeenSet() const { return m_validationSpecificationHasBeenSet; }
155 template <typename ValidationSpecificationT = ModelPackageValidationSpecification>
156 void SetValidationSpecification(ValidationSpecificationT&& value) {
157 m_validationSpecificationHasBeenSet = true;
158 m_validationSpecification = std::forward<ValidationSpecificationT>(value);
159 }
160 template <typename ValidationSpecificationT = ModelPackageValidationSpecification>
161 CreateModelPackageRequest& WithValidationSpecification(ValidationSpecificationT&& value) {
162 SetValidationSpecification(std::forward<ValidationSpecificationT>(value));
163 return *this;
164 }
166
168
171 inline const SourceAlgorithmSpecification& GetSourceAlgorithmSpecification() const { return m_sourceAlgorithmSpecification; }
172 inline bool SourceAlgorithmSpecificationHasBeenSet() const { return m_sourceAlgorithmSpecificationHasBeenSet; }
173 template <typename SourceAlgorithmSpecificationT = SourceAlgorithmSpecification>
174 void SetSourceAlgorithmSpecification(SourceAlgorithmSpecificationT&& value) {
175 m_sourceAlgorithmSpecificationHasBeenSet = true;
176 m_sourceAlgorithmSpecification = std::forward<SourceAlgorithmSpecificationT>(value);
177 }
178 template <typename SourceAlgorithmSpecificationT = SourceAlgorithmSpecification>
179 CreateModelPackageRequest& WithSourceAlgorithmSpecification(SourceAlgorithmSpecificationT&& value) {
180 SetSourceAlgorithmSpecification(std::forward<SourceAlgorithmSpecificationT>(value));
181 return *this;
182 }
184
186
191 inline bool GetCertifyForMarketplace() const { return m_certifyForMarketplace; }
192 inline bool CertifyForMarketplaceHasBeenSet() const { return m_certifyForMarketplaceHasBeenSet; }
193 inline void SetCertifyForMarketplace(bool value) {
194 m_certifyForMarketplaceHasBeenSet = true;
195 m_certifyForMarketplace = value;
196 }
199 return *this;
200 }
202
204
214 inline const Aws::Vector<Tag>& GetTags() const { return m_tags; }
215 inline bool TagsHasBeenSet() const { return m_tagsHasBeenSet; }
216 template <typename TagsT = Aws::Vector<Tag>>
217 void SetTags(TagsT&& value) {
218 m_tagsHasBeenSet = true;
219 m_tags = std::forward<TagsT>(value);
220 }
221 template <typename TagsT = Aws::Vector<Tag>>
223 SetTags(std::forward<TagsT>(value));
224 return *this;
225 }
226 template <typename TagsT = Tag>
228 m_tagsHasBeenSet = true;
229 m_tags.emplace_back(std::forward<TagsT>(value));
230 return *this;
231 }
233
235
241 inline ModelApprovalStatus GetModelApprovalStatus() const { return m_modelApprovalStatus; }
242 inline bool ModelApprovalStatusHasBeenSet() const { return m_modelApprovalStatusHasBeenSet; }
244 m_modelApprovalStatusHasBeenSet = true;
245 m_modelApprovalStatus = value;
246 }
249 return *this;
250 }
252
254
255 inline const MetadataProperties& GetMetadataProperties() const { return m_metadataProperties; }
256 inline bool MetadataPropertiesHasBeenSet() const { return m_metadataPropertiesHasBeenSet; }
257 template <typename MetadataPropertiesT = MetadataProperties>
258 void SetMetadataProperties(MetadataPropertiesT&& value) {
259 m_metadataPropertiesHasBeenSet = true;
260 m_metadataProperties = std::forward<MetadataPropertiesT>(value);
261 }
262 template <typename MetadataPropertiesT = MetadataProperties>
263 CreateModelPackageRequest& WithMetadataProperties(MetadataPropertiesT&& value) {
264 SetMetadataProperties(std::forward<MetadataPropertiesT>(value));
265 return *this;
266 }
268
270
273 inline const ModelMetrics& GetModelMetrics() const { return m_modelMetrics; }
274 inline bool ModelMetricsHasBeenSet() const { return m_modelMetricsHasBeenSet; }
275 template <typename ModelMetricsT = ModelMetrics>
276 void SetModelMetrics(ModelMetricsT&& value) {
277 m_modelMetricsHasBeenSet = true;
278 m_modelMetrics = std::forward<ModelMetricsT>(value);
279 }
280 template <typename ModelMetricsT = ModelMetrics>
282 SetModelMetrics(std::forward<ModelMetricsT>(value));
283 return *this;
284 }
286
288
291 inline const Aws::String& GetClientToken() const { return m_clientToken; }
292 inline bool ClientTokenHasBeenSet() const { return m_clientTokenHasBeenSet; }
293 template <typename ClientTokenT = Aws::String>
294 void SetClientToken(ClientTokenT&& value) {
295 m_clientTokenHasBeenSet = true;
296 m_clientToken = std::forward<ClientTokenT>(value);
297 }
298 template <typename ClientTokenT = Aws::String>
300 SetClientToken(std::forward<ClientTokenT>(value));
301 return *this;
302 }
304
306
311 inline const Aws::String& GetDomain() const { return m_domain; }
312 inline bool DomainHasBeenSet() const { return m_domainHasBeenSet; }
313 template <typename DomainT = Aws::String>
314 void SetDomain(DomainT&& value) {
315 m_domainHasBeenSet = true;
316 m_domain = std::forward<DomainT>(value);
317 }
318 template <typename DomainT = Aws::String>
320 SetDomain(std::forward<DomainT>(value));
321 return *this;
322 }
324
326
336 inline const Aws::String& GetTask() const { return m_task; }
337 inline bool TaskHasBeenSet() const { return m_taskHasBeenSet; }
338 template <typename TaskT = Aws::String>
339 void SetTask(TaskT&& value) {
340 m_taskHasBeenSet = true;
341 m_task = std::forward<TaskT>(value);
342 }
343 template <typename TaskT = Aws::String>
345 SetTask(std::forward<TaskT>(value));
346 return *this;
347 }
349
351
359 inline const Aws::String& GetSamplePayloadUrl() const { return m_samplePayloadUrl; }
360 inline bool SamplePayloadUrlHasBeenSet() const { return m_samplePayloadUrlHasBeenSet; }
361 template <typename SamplePayloadUrlT = Aws::String>
362 void SetSamplePayloadUrl(SamplePayloadUrlT&& value) {
363 m_samplePayloadUrlHasBeenSet = true;
364 m_samplePayloadUrl = std::forward<SamplePayloadUrlT>(value);
365 }
366 template <typename SamplePayloadUrlT = Aws::String>
368 SetSamplePayloadUrl(std::forward<SamplePayloadUrlT>(value));
369 return *this;
370 }
372
374
377 inline const Aws::Map<Aws::String, Aws::String>& GetCustomerMetadataProperties() const { return m_customerMetadataProperties; }
378 inline bool CustomerMetadataPropertiesHasBeenSet() const { return m_customerMetadataPropertiesHasBeenSet; }
379 template <typename CustomerMetadataPropertiesT = Aws::Map<Aws::String, Aws::String>>
380 void SetCustomerMetadataProperties(CustomerMetadataPropertiesT&& value) {
381 m_customerMetadataPropertiesHasBeenSet = true;
382 m_customerMetadataProperties = std::forward<CustomerMetadataPropertiesT>(value);
383 }
384 template <typename CustomerMetadataPropertiesT = Aws::Map<Aws::String, Aws::String>>
385 CreateModelPackageRequest& WithCustomerMetadataProperties(CustomerMetadataPropertiesT&& value) {
386 SetCustomerMetadataProperties(std::forward<CustomerMetadataPropertiesT>(value));
387 return *this;
388 }
389 template <typename CustomerMetadataPropertiesKeyT = Aws::String, typename CustomerMetadataPropertiesValueT = Aws::String>
390 CreateModelPackageRequest& AddCustomerMetadataProperties(CustomerMetadataPropertiesKeyT&& key, CustomerMetadataPropertiesValueT&& value) {
391 m_customerMetadataPropertiesHasBeenSet = true;
392 m_customerMetadataProperties.emplace(std::forward<CustomerMetadataPropertiesKeyT>(key),
393 std::forward<CustomerMetadataPropertiesValueT>(value));
394 return *this;
395 }
397
399
406 inline const DriftCheckBaselines& GetDriftCheckBaselines() const { return m_driftCheckBaselines; }
407 inline bool DriftCheckBaselinesHasBeenSet() const { return m_driftCheckBaselinesHasBeenSet; }
408 template <typename DriftCheckBaselinesT = DriftCheckBaselines>
409 void SetDriftCheckBaselines(DriftCheckBaselinesT&& value) {
410 m_driftCheckBaselinesHasBeenSet = true;
411 m_driftCheckBaselines = std::forward<DriftCheckBaselinesT>(value);
412 }
413 template <typename DriftCheckBaselinesT = DriftCheckBaselines>
414 CreateModelPackageRequest& WithDriftCheckBaselines(DriftCheckBaselinesT&& value) {
415 SetDriftCheckBaselines(std::forward<DriftCheckBaselinesT>(value));
416 return *this;
417 }
419
421
428 return m_additionalInferenceSpecifications;
429 }
430 inline bool AdditionalInferenceSpecificationsHasBeenSet() const { return m_additionalInferenceSpecificationsHasBeenSet; }
431 template <typename AdditionalInferenceSpecificationsT = Aws::Vector<AdditionalInferenceSpecificationDefinition>>
432 void SetAdditionalInferenceSpecifications(AdditionalInferenceSpecificationsT&& value) {
433 m_additionalInferenceSpecificationsHasBeenSet = true;
434 m_additionalInferenceSpecifications = std::forward<AdditionalInferenceSpecificationsT>(value);
435 }
436 template <typename AdditionalInferenceSpecificationsT = Aws::Vector<AdditionalInferenceSpecificationDefinition>>
437 CreateModelPackageRequest& WithAdditionalInferenceSpecifications(AdditionalInferenceSpecificationsT&& value) {
438 SetAdditionalInferenceSpecifications(std::forward<AdditionalInferenceSpecificationsT>(value));
439 return *this;
440 }
441 template <typename AdditionalInferenceSpecificationsT = AdditionalInferenceSpecificationDefinition>
442 CreateModelPackageRequest& AddAdditionalInferenceSpecifications(AdditionalInferenceSpecificationsT&& value) {
443 m_additionalInferenceSpecificationsHasBeenSet = true;
444 m_additionalInferenceSpecifications.emplace_back(std::forward<AdditionalInferenceSpecificationsT>(value));
445 return *this;
446 }
448
450
453 inline SkipModelValidation GetSkipModelValidation() const { return m_skipModelValidation; }
454 inline bool SkipModelValidationHasBeenSet() const { return m_skipModelValidationHasBeenSet; }
456 m_skipModelValidationHasBeenSet = true;
457 m_skipModelValidation = value;
458 }
461 return *this;
462 }
464
466
471 inline const Aws::String& GetSourceUri() const { return m_sourceUri; }
472 inline bool SourceUriHasBeenSet() const { return m_sourceUriHasBeenSet; }
473 template <typename SourceUriT = Aws::String>
474 void SetSourceUri(SourceUriT&& value) {
475 m_sourceUriHasBeenSet = true;
476 m_sourceUri = std::forward<SourceUriT>(value);
477 }
478 template <typename SourceUriT = Aws::String>
480 SetSourceUri(std::forward<SourceUriT>(value));
481 return *this;
482 }
484
486
490 inline const ModelPackageSecurityConfig& GetSecurityConfig() const { return m_securityConfig; }
491 inline bool SecurityConfigHasBeenSet() const { return m_securityConfigHasBeenSet; }
492 template <typename SecurityConfigT = ModelPackageSecurityConfig>
493 void SetSecurityConfig(SecurityConfigT&& value) {
494 m_securityConfigHasBeenSet = true;
495 m_securityConfig = std::forward<SecurityConfigT>(value);
496 }
497 template <typename SecurityConfigT = ModelPackageSecurityConfig>
499 SetSecurityConfig(std::forward<SecurityConfigT>(value));
500 return *this;
501 }
503
505
520 inline const ModelPackageModelCard& GetModelCard() const { return m_modelCard; }
521 inline bool ModelCardHasBeenSet() const { return m_modelCardHasBeenSet; }
522 template <typename ModelCardT = ModelPackageModelCard>
523 void SetModelCard(ModelCardT&& value) {
524 m_modelCardHasBeenSet = true;
525 m_modelCard = std::forward<ModelCardT>(value);
526 }
527 template <typename ModelCardT = ModelPackageModelCard>
529 SetModelCard(std::forward<ModelCardT>(value));
530 return *this;
531 }
533
535
539 inline const ModelLifeCycle& GetModelLifeCycle() const { return m_modelLifeCycle; }
540 inline bool ModelLifeCycleHasBeenSet() const { return m_modelLifeCycleHasBeenSet; }
541 template <typename ModelLifeCycleT = ModelLifeCycle>
542 void SetModelLifeCycle(ModelLifeCycleT&& value) {
543 m_modelLifeCycleHasBeenSet = true;
544 m_modelLifeCycle = std::forward<ModelLifeCycleT>(value);
545 }
546 template <typename ModelLifeCycleT = ModelLifeCycle>
548 SetModelLifeCycle(std::forward<ModelLifeCycleT>(value));
549 return *this;
550 }
552 private:
553 Aws::String m_modelPackageName;
554
555 Aws::String m_modelPackageGroupName;
556
557 Aws::String m_modelPackageDescription;
558
560
561 InferenceSpecification m_inferenceSpecification;
562
563 ModelPackageValidationSpecification m_validationSpecification;
564
565 SourceAlgorithmSpecification m_sourceAlgorithmSpecification;
566
567 bool m_certifyForMarketplace{false};
568
569 Aws::Vector<Tag> m_tags;
570
572
573 MetadataProperties m_metadataProperties;
574
575 ModelMetrics m_modelMetrics;
576
578
579 Aws::String m_domain;
580
581 Aws::String m_task;
582
583 Aws::String m_samplePayloadUrl;
584
585 Aws::Map<Aws::String, Aws::String> m_customerMetadataProperties;
586
587 DriftCheckBaselines m_driftCheckBaselines;
588
589 Aws::Vector<AdditionalInferenceSpecificationDefinition> m_additionalInferenceSpecifications;
590
592
593 Aws::String m_sourceUri;
594
595 ModelPackageSecurityConfig m_securityConfig;
596
597 ModelPackageModelCard m_modelCard;
598
599 ModelLifeCycle m_modelLifeCycle;
600 bool m_modelPackageNameHasBeenSet = false;
601 bool m_modelPackageGroupNameHasBeenSet = false;
602 bool m_modelPackageDescriptionHasBeenSet = false;
603 bool m_modelPackageRegistrationTypeHasBeenSet = false;
604 bool m_inferenceSpecificationHasBeenSet = false;
605 bool m_validationSpecificationHasBeenSet = false;
606 bool m_sourceAlgorithmSpecificationHasBeenSet = false;
607 bool m_certifyForMarketplaceHasBeenSet = false;
608 bool m_tagsHasBeenSet = false;
609 bool m_modelApprovalStatusHasBeenSet = false;
610 bool m_metadataPropertiesHasBeenSet = false;
611 bool m_modelMetricsHasBeenSet = false;
612 bool m_clientTokenHasBeenSet = true;
613 bool m_domainHasBeenSet = false;
614 bool m_taskHasBeenSet = false;
615 bool m_samplePayloadUrlHasBeenSet = false;
616 bool m_customerMetadataPropertiesHasBeenSet = false;
617 bool m_driftCheckBaselinesHasBeenSet = false;
618 bool m_additionalInferenceSpecificationsHasBeenSet = false;
619 bool m_skipModelValidationHasBeenSet = false;
620 bool m_sourceUriHasBeenSet = false;
621 bool m_securityConfigHasBeenSet = false;
622 bool m_modelCardHasBeenSet = false;
623 bool m_modelLifeCycleHasBeenSet = false;
624};
625
626} // namespace Model
627} // namespace SageMaker
628} // 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 & 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