AWS SDK for C++

AWS SDK for C++ Version 1.11.607

Loading...
Searching...
No Matches
ModelPackage.h
1
6#pragma once
7#include <aws/sagemaker/SageMaker_EXPORTS.h>
8#include <aws/core/utils/memory/stl/AWSString.h>
9#include <aws/core/utils/DateTime.h>
10#include <aws/sagemaker/model/InferenceSpecification.h>
11#include <aws/sagemaker/model/SourceAlgorithmSpecification.h>
12#include <aws/sagemaker/model/ModelPackageValidationSpecification.h>
13#include <aws/sagemaker/model/ModelPackageStatus.h>
14#include <aws/sagemaker/model/ModelPackageStatusDetails.h>
15#include <aws/sagemaker/model/ModelApprovalStatus.h>
16#include <aws/sagemaker/model/UserContext.h>
17#include <aws/sagemaker/model/MetadataProperties.h>
18#include <aws/sagemaker/model/ModelMetrics.h>
19#include <aws/core/utils/memory/stl/AWSVector.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/core/utils/memory/stl/AWSMap.h>
24#include <aws/sagemaker/model/DriftCheckBaselines.h>
25#include <aws/sagemaker/model/SkipModelValidation.h>
26#include <aws/sagemaker/model/AdditionalInferenceSpecificationDefinition.h>
27#include <aws/sagemaker/model/Tag.h>
28#include <utility>
29
30namespace Aws
31{
32namespace Utils
33{
34namespace Json
35{
36 class JsonValue;
37 class JsonView;
38} // namespace Json
39} // namespace Utils
40namespace SageMaker
41{
42namespace Model
43{
44
58 {
59 public:
60 AWS_SAGEMAKER_API ModelPackage() = default;
61 AWS_SAGEMAKER_API ModelPackage(Aws::Utils::Json::JsonView jsonValue);
62 AWS_SAGEMAKER_API ModelPackage& operator=(Aws::Utils::Json::JsonView jsonValue);
63 AWS_SAGEMAKER_API Aws::Utils::Json::JsonValue Jsonize() const;
64
65
67
74 inline const Aws::String& GetModelPackageName() const { return m_modelPackageName; }
75 inline bool ModelPackageNameHasBeenSet() const { return m_modelPackageNameHasBeenSet; }
76 template<typename ModelPackageNameT = Aws::String>
77 void SetModelPackageName(ModelPackageNameT&& value) { m_modelPackageNameHasBeenSet = true; m_modelPackageName = std::forward<ModelPackageNameT>(value); }
78 template<typename ModelPackageNameT = Aws::String>
79 ModelPackage& WithModelPackageName(ModelPackageNameT&& value) { SetModelPackageName(std::forward<ModelPackageNameT>(value)); return *this;}
81
83
86 inline const Aws::String& GetModelPackageGroupName() const { return m_modelPackageGroupName; }
87 inline bool ModelPackageGroupNameHasBeenSet() const { return m_modelPackageGroupNameHasBeenSet; }
88 template<typename ModelPackageGroupNameT = Aws::String>
89 void SetModelPackageGroupName(ModelPackageGroupNameT&& value) { m_modelPackageGroupNameHasBeenSet = true; m_modelPackageGroupName = std::forward<ModelPackageGroupNameT>(value); }
90 template<typename ModelPackageGroupNameT = Aws::String>
91 ModelPackage& WithModelPackageGroupName(ModelPackageGroupNameT&& value) { SetModelPackageGroupName(std::forward<ModelPackageGroupNameT>(value)); return *this;}
93
95
98 inline int GetModelPackageVersion() const { return m_modelPackageVersion; }
99 inline bool ModelPackageVersionHasBeenSet() const { return m_modelPackageVersionHasBeenSet; }
100 inline void SetModelPackageVersion(int value) { m_modelPackageVersionHasBeenSet = true; m_modelPackageVersion = value; }
101 inline ModelPackage& WithModelPackageVersion(int value) { SetModelPackageVersion(value); return *this;}
103
105
108 inline const Aws::String& GetModelPackageArn() const { return m_modelPackageArn; }
109 inline bool ModelPackageArnHasBeenSet() const { return m_modelPackageArnHasBeenSet; }
110 template<typename ModelPackageArnT = Aws::String>
111 void SetModelPackageArn(ModelPackageArnT&& value) { m_modelPackageArnHasBeenSet = true; m_modelPackageArn = std::forward<ModelPackageArnT>(value); }
112 template<typename ModelPackageArnT = Aws::String>
113 ModelPackage& WithModelPackageArn(ModelPackageArnT&& value) { SetModelPackageArn(std::forward<ModelPackageArnT>(value)); return *this;}
115
117
120 inline const Aws::String& GetModelPackageDescription() const { return m_modelPackageDescription; }
121 inline bool ModelPackageDescriptionHasBeenSet() const { return m_modelPackageDescriptionHasBeenSet; }
122 template<typename ModelPackageDescriptionT = Aws::String>
123 void SetModelPackageDescription(ModelPackageDescriptionT&& value) { m_modelPackageDescriptionHasBeenSet = true; m_modelPackageDescription = std::forward<ModelPackageDescriptionT>(value); }
124 template<typename ModelPackageDescriptionT = Aws::String>
125 ModelPackage& WithModelPackageDescription(ModelPackageDescriptionT&& value) { SetModelPackageDescription(std::forward<ModelPackageDescriptionT>(value)); return *this;}
127
129
132 inline const Aws::Utils::DateTime& GetCreationTime() const { return m_creationTime; }
133 inline bool CreationTimeHasBeenSet() const { return m_creationTimeHasBeenSet; }
134 template<typename CreationTimeT = Aws::Utils::DateTime>
135 void SetCreationTime(CreationTimeT&& value) { m_creationTimeHasBeenSet = true; m_creationTime = std::forward<CreationTimeT>(value); }
136 template<typename CreationTimeT = Aws::Utils::DateTime>
137 ModelPackage& WithCreationTime(CreationTimeT&& value) { SetCreationTime(std::forward<CreationTimeT>(value)); return *this;}
139
141
144 inline const InferenceSpecification& GetInferenceSpecification() const { return m_inferenceSpecification; }
145 inline bool InferenceSpecificationHasBeenSet() const { return m_inferenceSpecificationHasBeenSet; }
146 template<typename InferenceSpecificationT = InferenceSpecification>
147 void SetInferenceSpecification(InferenceSpecificationT&& value) { m_inferenceSpecificationHasBeenSet = true; m_inferenceSpecification = std::forward<InferenceSpecificationT>(value); }
148 template<typename InferenceSpecificationT = InferenceSpecification>
149 ModelPackage& WithInferenceSpecification(InferenceSpecificationT&& value) { SetInferenceSpecification(std::forward<InferenceSpecificationT>(value)); return *this;}
151
153
156 inline const SourceAlgorithmSpecification& GetSourceAlgorithmSpecification() const { return m_sourceAlgorithmSpecification; }
157 inline bool SourceAlgorithmSpecificationHasBeenSet() const { return m_sourceAlgorithmSpecificationHasBeenSet; }
158 template<typename SourceAlgorithmSpecificationT = SourceAlgorithmSpecification>
159 void SetSourceAlgorithmSpecification(SourceAlgorithmSpecificationT&& value) { m_sourceAlgorithmSpecificationHasBeenSet = true; m_sourceAlgorithmSpecification = std::forward<SourceAlgorithmSpecificationT>(value); }
160 template<typename SourceAlgorithmSpecificationT = SourceAlgorithmSpecification>
161 ModelPackage& WithSourceAlgorithmSpecification(SourceAlgorithmSpecificationT&& value) { SetSourceAlgorithmSpecification(std::forward<SourceAlgorithmSpecificationT>(value)); return *this;}
163
165
169 inline const ModelPackageValidationSpecification& GetValidationSpecification() const { return m_validationSpecification; }
170 inline bool ValidationSpecificationHasBeenSet() const { return m_validationSpecificationHasBeenSet; }
171 template<typename ValidationSpecificationT = ModelPackageValidationSpecification>
172 void SetValidationSpecification(ValidationSpecificationT&& value) { m_validationSpecificationHasBeenSet = true; m_validationSpecification = std::forward<ValidationSpecificationT>(value); }
173 template<typename ValidationSpecificationT = ModelPackageValidationSpecification>
174 ModelPackage& WithValidationSpecification(ValidationSpecificationT&& value) { SetValidationSpecification(std::forward<ValidationSpecificationT>(value)); return *this;}
176
178
187 inline ModelPackageStatus GetModelPackageStatus() const { return m_modelPackageStatus; }
188 inline bool ModelPackageStatusHasBeenSet() const { return m_modelPackageStatusHasBeenSet; }
189 inline void SetModelPackageStatus(ModelPackageStatus value) { m_modelPackageStatusHasBeenSet = true; m_modelPackageStatus = value; }
192
194
197 inline const ModelPackageStatusDetails& GetModelPackageStatusDetails() const { return m_modelPackageStatusDetails; }
198 inline bool ModelPackageStatusDetailsHasBeenSet() const { return m_modelPackageStatusDetailsHasBeenSet; }
199 template<typename ModelPackageStatusDetailsT = ModelPackageStatusDetails>
200 void SetModelPackageStatusDetails(ModelPackageStatusDetailsT&& value) { m_modelPackageStatusDetailsHasBeenSet = true; m_modelPackageStatusDetails = std::forward<ModelPackageStatusDetailsT>(value); }
201 template<typename ModelPackageStatusDetailsT = ModelPackageStatusDetails>
202 ModelPackage& WithModelPackageStatusDetails(ModelPackageStatusDetailsT&& value) { SetModelPackageStatusDetails(std::forward<ModelPackageStatusDetailsT>(value)); return *this;}
204
206
213 inline bool GetCertifyForMarketplace() const { return m_certifyForMarketplace; }
214 inline bool CertifyForMarketplaceHasBeenSet() const { return m_certifyForMarketplaceHasBeenSet; }
215 inline void SetCertifyForMarketplace(bool value) { m_certifyForMarketplaceHasBeenSet = true; m_certifyForMarketplace = value; }
216 inline ModelPackage& WithCertifyForMarketplace(bool value) { SetCertifyForMarketplace(value); return *this;}
218
220
227 inline ModelApprovalStatus GetModelApprovalStatus() const { return m_modelApprovalStatus; }
228 inline bool ModelApprovalStatusHasBeenSet() const { return m_modelApprovalStatusHasBeenSet; }
229 inline void SetModelApprovalStatus(ModelApprovalStatus value) { m_modelApprovalStatusHasBeenSet = true; m_modelApprovalStatus = value; }
232
234
238 inline const UserContext& GetCreatedBy() const { return m_createdBy; }
239 inline bool CreatedByHasBeenSet() const { return m_createdByHasBeenSet; }
240 template<typename CreatedByT = UserContext>
241 void SetCreatedBy(CreatedByT&& value) { m_createdByHasBeenSet = true; m_createdBy = std::forward<CreatedByT>(value); }
242 template<typename CreatedByT = UserContext>
243 ModelPackage& WithCreatedBy(CreatedByT&& value) { SetCreatedBy(std::forward<CreatedByT>(value)); return *this;}
245
247
250 inline const MetadataProperties& GetMetadataProperties() const { return m_metadataProperties; }
251 inline bool MetadataPropertiesHasBeenSet() const { return m_metadataPropertiesHasBeenSet; }
252 template<typename MetadataPropertiesT = MetadataProperties>
253 void SetMetadataProperties(MetadataPropertiesT&& value) { m_metadataPropertiesHasBeenSet = true; m_metadataProperties = std::forward<MetadataPropertiesT>(value); }
254 template<typename MetadataPropertiesT = MetadataProperties>
255 ModelPackage& WithMetadataProperties(MetadataPropertiesT&& value) { SetMetadataProperties(std::forward<MetadataPropertiesT>(value)); return *this;}
257
259
262 inline const ModelMetrics& GetModelMetrics() const { return m_modelMetrics; }
263 inline bool ModelMetricsHasBeenSet() const { return m_modelMetricsHasBeenSet; }
264 template<typename ModelMetricsT = ModelMetrics>
265 void SetModelMetrics(ModelMetricsT&& value) { m_modelMetricsHasBeenSet = true; m_modelMetrics = std::forward<ModelMetricsT>(value); }
266 template<typename ModelMetricsT = ModelMetrics>
267 ModelPackage& WithModelMetrics(ModelMetricsT&& value) { SetModelMetrics(std::forward<ModelMetricsT>(value)); return *this;}
269
271
274 inline const Aws::Utils::DateTime& GetLastModifiedTime() const { return m_lastModifiedTime; }
275 inline bool LastModifiedTimeHasBeenSet() const { return m_lastModifiedTimeHasBeenSet; }
276 template<typename LastModifiedTimeT = Aws::Utils::DateTime>
277 void SetLastModifiedTime(LastModifiedTimeT&& value) { m_lastModifiedTimeHasBeenSet = true; m_lastModifiedTime = std::forward<LastModifiedTimeT>(value); }
278 template<typename LastModifiedTimeT = Aws::Utils::DateTime>
279 ModelPackage& WithLastModifiedTime(LastModifiedTimeT&& value) { SetLastModifiedTime(std::forward<LastModifiedTimeT>(value)); return *this;}
281
283
287 inline const UserContext& GetLastModifiedBy() const { return m_lastModifiedBy; }
288 inline bool LastModifiedByHasBeenSet() const { return m_lastModifiedByHasBeenSet; }
289 template<typename LastModifiedByT = UserContext>
290 void SetLastModifiedBy(LastModifiedByT&& value) { m_lastModifiedByHasBeenSet = true; m_lastModifiedBy = std::forward<LastModifiedByT>(value); }
291 template<typename LastModifiedByT = UserContext>
292 ModelPackage& WithLastModifiedBy(LastModifiedByT&& value) { SetLastModifiedBy(std::forward<LastModifiedByT>(value)); return *this;}
294
296
299 inline const Aws::String& GetApprovalDescription() const { return m_approvalDescription; }
300 inline bool ApprovalDescriptionHasBeenSet() const { return m_approvalDescriptionHasBeenSet; }
301 template<typename ApprovalDescriptionT = Aws::String>
302 void SetApprovalDescription(ApprovalDescriptionT&& value) { m_approvalDescriptionHasBeenSet = true; m_approvalDescription = std::forward<ApprovalDescriptionT>(value); }
303 template<typename ApprovalDescriptionT = Aws::String>
304 ModelPackage& WithApprovalDescription(ApprovalDescriptionT&& value) { SetApprovalDescription(std::forward<ApprovalDescriptionT>(value)); return *this;}
306
308
313 inline const Aws::String& GetDomain() const { return m_domain; }
314 inline bool DomainHasBeenSet() const { return m_domainHasBeenSet; }
315 template<typename DomainT = Aws::String>
316 void SetDomain(DomainT&& value) { m_domainHasBeenSet = true; m_domain = std::forward<DomainT>(value); }
317 template<typename DomainT = Aws::String>
318 ModelPackage& WithDomain(DomainT&& value) { SetDomain(std::forward<DomainT>(value)); return *this;}
320
322
326 inline const Aws::String& GetTask() const { return m_task; }
327 inline bool TaskHasBeenSet() const { return m_taskHasBeenSet; }
328 template<typename TaskT = Aws::String>
329 void SetTask(TaskT&& value) { m_taskHasBeenSet = true; m_task = std::forward<TaskT>(value); }
330 template<typename TaskT = Aws::String>
331 ModelPackage& WithTask(TaskT&& value) { SetTask(std::forward<TaskT>(value)); return *this;}
333
335
340 inline const Aws::String& GetSamplePayloadUrl() const { return m_samplePayloadUrl; }
341 inline bool SamplePayloadUrlHasBeenSet() const { return m_samplePayloadUrlHasBeenSet; }
342 template<typename SamplePayloadUrlT = Aws::String>
343 void SetSamplePayloadUrl(SamplePayloadUrlT&& value) { m_samplePayloadUrlHasBeenSet = true; m_samplePayloadUrl = std::forward<SamplePayloadUrlT>(value); }
344 template<typename SamplePayloadUrlT = Aws::String>
345 ModelPackage& WithSamplePayloadUrl(SamplePayloadUrlT&& value) { SetSamplePayloadUrl(std::forward<SamplePayloadUrlT>(value)); return *this;}
347
349
352 inline const Aws::Vector<AdditionalInferenceSpecificationDefinition>& GetAdditionalInferenceSpecifications() const { return m_additionalInferenceSpecifications; }
353 inline bool AdditionalInferenceSpecificationsHasBeenSet() const { return m_additionalInferenceSpecificationsHasBeenSet; }
354 template<typename AdditionalInferenceSpecificationsT = Aws::Vector<AdditionalInferenceSpecificationDefinition>>
355 void SetAdditionalInferenceSpecifications(AdditionalInferenceSpecificationsT&& value) { m_additionalInferenceSpecificationsHasBeenSet = true; m_additionalInferenceSpecifications = std::forward<AdditionalInferenceSpecificationsT>(value); }
356 template<typename AdditionalInferenceSpecificationsT = Aws::Vector<AdditionalInferenceSpecificationDefinition>>
357 ModelPackage& WithAdditionalInferenceSpecifications(AdditionalInferenceSpecificationsT&& value) { SetAdditionalInferenceSpecifications(std::forward<AdditionalInferenceSpecificationsT>(value)); return *this;}
358 template<typename AdditionalInferenceSpecificationsT = AdditionalInferenceSpecificationDefinition>
359 ModelPackage& AddAdditionalInferenceSpecifications(AdditionalInferenceSpecificationsT&& value) { m_additionalInferenceSpecificationsHasBeenSet = true; m_additionalInferenceSpecifications.emplace_back(std::forward<AdditionalInferenceSpecificationsT>(value)); return *this; }
361
363
366 inline const Aws::String& GetSourceUri() const { return m_sourceUri; }
367 inline bool SourceUriHasBeenSet() const { return m_sourceUriHasBeenSet; }
368 template<typename SourceUriT = Aws::String>
369 void SetSourceUri(SourceUriT&& value) { m_sourceUriHasBeenSet = true; m_sourceUri = std::forward<SourceUriT>(value); }
370 template<typename SourceUriT = Aws::String>
371 ModelPackage& WithSourceUri(SourceUriT&& value) { SetSourceUri(std::forward<SourceUriT>(value)); return *this;}
373
375
376 inline const ModelPackageSecurityConfig& GetSecurityConfig() const { return m_securityConfig; }
377 inline bool SecurityConfigHasBeenSet() const { return m_securityConfigHasBeenSet; }
378 template<typename SecurityConfigT = ModelPackageSecurityConfig>
379 void SetSecurityConfig(SecurityConfigT&& value) { m_securityConfigHasBeenSet = true; m_securityConfig = std::forward<SecurityConfigT>(value); }
380 template<typename SecurityConfigT = ModelPackageSecurityConfig>
381 ModelPackage& WithSecurityConfig(SecurityConfigT&& value) { SetSecurityConfig(std::forward<SecurityConfigT>(value)); return *this;}
383
385
386 inline const ModelPackageModelCard& GetModelCard() const { return m_modelCard; }
387 inline bool ModelCardHasBeenSet() const { return m_modelCardHasBeenSet; }
388 template<typename ModelCardT = ModelPackageModelCard>
389 void SetModelCard(ModelCardT&& value) { m_modelCardHasBeenSet = true; m_modelCard = std::forward<ModelCardT>(value); }
390 template<typename ModelCardT = ModelPackageModelCard>
391 ModelPackage& WithModelCard(ModelCardT&& value) { SetModelCard(std::forward<ModelCardT>(value)); return *this;}
393
395
399 inline const ModelLifeCycle& GetModelLifeCycle() const { return m_modelLifeCycle; }
400 inline bool ModelLifeCycleHasBeenSet() const { return m_modelLifeCycleHasBeenSet; }
401 template<typename ModelLifeCycleT = ModelLifeCycle>
402 void SetModelLifeCycle(ModelLifeCycleT&& value) { m_modelLifeCycleHasBeenSet = true; m_modelLifeCycle = std::forward<ModelLifeCycleT>(value); }
403 template<typename ModelLifeCycleT = ModelLifeCycle>
404 ModelPackage& WithModelLifeCycle(ModelLifeCycleT&& value) { SetModelLifeCycle(std::forward<ModelLifeCycleT>(value)); return *this;}
406
408
415 inline const Aws::Vector<Tag>& GetTags() const { return m_tags; }
416 inline bool TagsHasBeenSet() const { return m_tagsHasBeenSet; }
417 template<typename TagsT = Aws::Vector<Tag>>
418 void SetTags(TagsT&& value) { m_tagsHasBeenSet = true; m_tags = std::forward<TagsT>(value); }
419 template<typename TagsT = Aws::Vector<Tag>>
420 ModelPackage& WithTags(TagsT&& value) { SetTags(std::forward<TagsT>(value)); return *this;}
421 template<typename TagsT = Tag>
422 ModelPackage& AddTags(TagsT&& value) { m_tagsHasBeenSet = true; m_tags.emplace_back(std::forward<TagsT>(value)); return *this; }
424
426
429 inline const Aws::Map<Aws::String, Aws::String>& GetCustomerMetadataProperties() const { return m_customerMetadataProperties; }
430 inline bool CustomerMetadataPropertiesHasBeenSet() const { return m_customerMetadataPropertiesHasBeenSet; }
431 template<typename CustomerMetadataPropertiesT = Aws::Map<Aws::String, Aws::String>>
432 void SetCustomerMetadataProperties(CustomerMetadataPropertiesT&& value) { m_customerMetadataPropertiesHasBeenSet = true; m_customerMetadataProperties = std::forward<CustomerMetadataPropertiesT>(value); }
433 template<typename CustomerMetadataPropertiesT = Aws::Map<Aws::String, Aws::String>>
434 ModelPackage& WithCustomerMetadataProperties(CustomerMetadataPropertiesT&& value) { SetCustomerMetadataProperties(std::forward<CustomerMetadataPropertiesT>(value)); return *this;}
435 template<typename CustomerMetadataPropertiesKeyT = Aws::String, typename CustomerMetadataPropertiesValueT = Aws::String>
436 ModelPackage& AddCustomerMetadataProperties(CustomerMetadataPropertiesKeyT&& key, CustomerMetadataPropertiesValueT&& value) {
437 m_customerMetadataPropertiesHasBeenSet = true; m_customerMetadataProperties.emplace(std::forward<CustomerMetadataPropertiesKeyT>(key), std::forward<CustomerMetadataPropertiesValueT>(value)); return *this;
438 }
440
442
446 inline const DriftCheckBaselines& GetDriftCheckBaselines() const { return m_driftCheckBaselines; }
447 inline bool DriftCheckBaselinesHasBeenSet() const { return m_driftCheckBaselinesHasBeenSet; }
448 template<typename DriftCheckBaselinesT = DriftCheckBaselines>
449 void SetDriftCheckBaselines(DriftCheckBaselinesT&& value) { m_driftCheckBaselinesHasBeenSet = true; m_driftCheckBaselines = std::forward<DriftCheckBaselinesT>(value); }
450 template<typename DriftCheckBaselinesT = DriftCheckBaselines>
451 ModelPackage& WithDriftCheckBaselines(DriftCheckBaselinesT&& value) { SetDriftCheckBaselines(std::forward<DriftCheckBaselinesT>(value)); return *this;}
453
455
458 inline SkipModelValidation GetSkipModelValidation() const { return m_skipModelValidation; }
459 inline bool SkipModelValidationHasBeenSet() const { return m_skipModelValidationHasBeenSet; }
460 inline void SetSkipModelValidation(SkipModelValidation value) { m_skipModelValidationHasBeenSet = true; m_skipModelValidation = value; }
463 private:
464
465 Aws::String m_modelPackageName;
466 bool m_modelPackageNameHasBeenSet = false;
467
468 Aws::String m_modelPackageGroupName;
469 bool m_modelPackageGroupNameHasBeenSet = false;
470
471 int m_modelPackageVersion{0};
472 bool m_modelPackageVersionHasBeenSet = false;
473
474 Aws::String m_modelPackageArn;
475 bool m_modelPackageArnHasBeenSet = false;
476
477 Aws::String m_modelPackageDescription;
478 bool m_modelPackageDescriptionHasBeenSet = false;
479
480 Aws::Utils::DateTime m_creationTime{};
481 bool m_creationTimeHasBeenSet = false;
482
483 InferenceSpecification m_inferenceSpecification;
484 bool m_inferenceSpecificationHasBeenSet = false;
485
486 SourceAlgorithmSpecification m_sourceAlgorithmSpecification;
487 bool m_sourceAlgorithmSpecificationHasBeenSet = false;
488
489 ModelPackageValidationSpecification m_validationSpecification;
490 bool m_validationSpecificationHasBeenSet = false;
491
493 bool m_modelPackageStatusHasBeenSet = false;
494
495 ModelPackageStatusDetails m_modelPackageStatusDetails;
496 bool m_modelPackageStatusDetailsHasBeenSet = false;
497
498 bool m_certifyForMarketplace{false};
499 bool m_certifyForMarketplaceHasBeenSet = false;
500
502 bool m_modelApprovalStatusHasBeenSet = false;
503
504 UserContext m_createdBy;
505 bool m_createdByHasBeenSet = false;
506
507 MetadataProperties m_metadataProperties;
508 bool m_metadataPropertiesHasBeenSet = false;
509
510 ModelMetrics m_modelMetrics;
511 bool m_modelMetricsHasBeenSet = false;
512
513 Aws::Utils::DateTime m_lastModifiedTime{};
514 bool m_lastModifiedTimeHasBeenSet = false;
515
516 UserContext m_lastModifiedBy;
517 bool m_lastModifiedByHasBeenSet = false;
518
519 Aws::String m_approvalDescription;
520 bool m_approvalDescriptionHasBeenSet = false;
521
522 Aws::String m_domain;
523 bool m_domainHasBeenSet = false;
524
525 Aws::String m_task;
526 bool m_taskHasBeenSet = false;
527
528 Aws::String m_samplePayloadUrl;
529 bool m_samplePayloadUrlHasBeenSet = false;
530
531 Aws::Vector<AdditionalInferenceSpecificationDefinition> m_additionalInferenceSpecifications;
532 bool m_additionalInferenceSpecificationsHasBeenSet = false;
533
534 Aws::String m_sourceUri;
535 bool m_sourceUriHasBeenSet = false;
536
537 ModelPackageSecurityConfig m_securityConfig;
538 bool m_securityConfigHasBeenSet = false;
539
540 ModelPackageModelCard m_modelCard;
541 bool m_modelCardHasBeenSet = false;
542
543 ModelLifeCycle m_modelLifeCycle;
544 bool m_modelLifeCycleHasBeenSet = false;
545
546 Aws::Vector<Tag> m_tags;
547 bool m_tagsHasBeenSet = false;
548
549 Aws::Map<Aws::String, Aws::String> m_customerMetadataProperties;
550 bool m_customerMetadataPropertiesHasBeenSet = false;
551
552 DriftCheckBaselines m_driftCheckBaselines;
553 bool m_driftCheckBaselinesHasBeenSet = false;
554
556 bool m_skipModelValidationHasBeenSet = false;
557 };
558
559} // namespace Model
560} // namespace SageMaker
561} // namespace Aws
const Aws::Vector< AdditionalInferenceSpecificationDefinition > & GetAdditionalInferenceSpecifications() const
const Aws::String & GetSamplePayloadUrl() const
const UserContext & GetCreatedBy() const
AWS_SAGEMAKER_API Aws::Utils::Json::JsonValue Jsonize() const
const Aws::Utils::DateTime & GetLastModifiedTime() const
const Aws::String & GetDomain() const
ModelPackage & WithCustomerMetadataProperties(CustomerMetadataPropertiesT &&value)
const ModelPackageModelCard & GetModelCard() const
void SetSecurityConfig(SecurityConfigT &&value)
void SetAdditionalInferenceSpecifications(AdditionalInferenceSpecificationsT &&value)
void SetCreationTime(CreationTimeT &&value)
ModelPackage & WithLastModifiedTime(LastModifiedTimeT &&value)
const UserContext & GetLastModifiedBy() const
ModelPackage & WithModelPackageVersion(int value)
const Aws::String & GetModelPackageName() const
ModelPackage & WithMetadataProperties(MetadataPropertiesT &&value)
void SetModelMetrics(ModelMetricsT &&value)
const Aws::String & GetModelPackageGroupName() const
ModelPackage & WithSamplePayloadUrl(SamplePayloadUrlT &&value)
AWS_SAGEMAKER_API ModelPackage & operator=(Aws::Utils::Json::JsonView jsonValue)
void SetModelPackageName(ModelPackageNameT &&value)
void SetCreatedBy(CreatedByT &&value)
ModelPackage & WithModelPackageArn(ModelPackageArnT &&value)
void SetModelPackageStatus(ModelPackageStatus value)
const ModelPackageValidationSpecification & GetValidationSpecification() const
bool AdditionalInferenceSpecificationsHasBeenSet() const
const SourceAlgorithmSpecification & GetSourceAlgorithmSpecification() const
ModelPackage & WithModelPackageName(ModelPackageNameT &&value)
const MetadataProperties & GetMetadataProperties() const
void SetLastModifiedTime(LastModifiedTimeT &&value)
ModelPackage & WithDriftCheckBaselines(DriftCheckBaselinesT &&value)
void SetModelPackageGroupName(ModelPackageGroupNameT &&value)
SkipModelValidation GetSkipModelValidation() const
void SetCustomerMetadataProperties(CustomerMetadataPropertiesT &&value)
const ModelPackageStatusDetails & GetModelPackageStatusDetails() const
const Aws::String & GetApprovalDescription() const
ModelPackage & WithModelPackageDescription(ModelPackageDescriptionT &&value)
ModelPackage & WithDomain(DomainT &&value)
void SetDriftCheckBaselines(DriftCheckBaselinesT &&value)
const InferenceSpecification & GetInferenceSpecification() const
ModelPackage & WithModelMetrics(ModelMetricsT &&value)
void SetModelPackageDescription(ModelPackageDescriptionT &&value)
void SetLastModifiedBy(LastModifiedByT &&value)
ModelPackage & AddAdditionalInferenceSpecifications(AdditionalInferenceSpecificationsT &&value)
void SetSamplePayloadUrl(SamplePayloadUrlT &&value)
ModelPackage & AddCustomerMetadataProperties(CustomerMetadataPropertiesKeyT &&key, CustomerMetadataPropertiesValueT &&value)
const Aws::String & GetTask() const
void SetModelPackageArn(ModelPackageArnT &&value)
ModelPackage & WithValidationSpecification(ValidationSpecificationT &&value)
ModelPackage & WithCreatedBy(CreatedByT &&value)
void SetMetadataProperties(MetadataPropertiesT &&value)
const Aws::String & GetSourceUri() const
ModelPackage & WithSourceUri(SourceUriT &&value)
void SetModelCard(ModelCardT &&value)
ModelPackage & WithModelPackageGroupName(ModelPackageGroupNameT &&value)
const Aws::Map< Aws::String, Aws::String > & GetCustomerMetadataProperties() const
ModelPackage & WithModelPackageStatus(ModelPackageStatus value)
void SetValidationSpecification(ValidationSpecificationT &&value)
ModelPackageStatus GetModelPackageStatus() const
ModelPackage & WithSecurityConfig(SecurityConfigT &&value)
void SetApprovalDescription(ApprovalDescriptionT &&value)
ModelPackage & WithModelApprovalStatus(ModelApprovalStatus value)
ModelPackage & WithAdditionalInferenceSpecifications(AdditionalInferenceSpecificationsT &&value)
ModelPackage & WithModelPackageStatusDetails(ModelPackageStatusDetailsT &&value)
void SetModelApprovalStatus(ModelApprovalStatus value)
const ModelPackageSecurityConfig & GetSecurityConfig() const
void SetSkipModelValidation(SkipModelValidation value)
const Aws::Utils::DateTime & GetCreationTime() const
AWS_SAGEMAKER_API ModelPackage(Aws::Utils::Json::JsonView jsonValue)
const ModelLifeCycle & GetModelLifeCycle() const
void SetSourceUri(SourceUriT &&value)
void SetModelPackageStatusDetails(ModelPackageStatusDetailsT &&value)
ModelPackage & AddTags(TagsT &&value)
void SetInferenceSpecification(InferenceSpecificationT &&value)
ModelPackage & WithSkipModelValidation(SkipModelValidation value)
const ModelMetrics & GetModelMetrics() const
ModelPackage & WithInferenceSpecification(InferenceSpecificationT &&value)
bool SourceAlgorithmSpecificationHasBeenSet() const
const Aws::Vector< Tag > & GetTags() const
ModelPackage & WithTask(TaskT &&value)
ModelPackage & WithModelCard(ModelCardT &&value)
ModelPackage & WithCreationTime(CreationTimeT &&value)
ModelPackage & WithTags(TagsT &&value)
ModelPackage & WithCertifyForMarketplace(bool value)
const Aws::String & GetModelPackageDescription() const
ModelApprovalStatus GetModelApprovalStatus() const
const Aws::String & GetModelPackageArn() const
ModelPackage & WithLastModifiedBy(LastModifiedByT &&value)
ModelPackage & WithApprovalDescription(ApprovalDescriptionT &&value)
void SetSourceAlgorithmSpecification(SourceAlgorithmSpecificationT &&value)
AWS_SAGEMAKER_API ModelPackage()=default
const DriftCheckBaselines & GetDriftCheckBaselines() const
ModelPackage & WithSourceAlgorithmSpecification(SourceAlgorithmSpecificationT &&value)
ModelPackage & WithModelLifeCycle(ModelLifeCycleT &&value)
void SetModelLifeCycle(ModelLifeCycleT &&value)
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
Aws::Utils::Json::JsonValue JsonValue