AWS SDK for C++

AWS SDK for C++ Version 1.11.440

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
52 {
53 public:
54 AWS_SAGEMAKER_API ModelPackage();
55 AWS_SAGEMAKER_API ModelPackage(Aws::Utils::Json::JsonView jsonValue);
56 AWS_SAGEMAKER_API ModelPackage& operator=(Aws::Utils::Json::JsonView jsonValue);
57 AWS_SAGEMAKER_API Aws::Utils::Json::JsonValue Jsonize() const;
58
59
61
64 inline const Aws::String& GetModelPackageName() const{ return m_modelPackageName; }
65 inline bool ModelPackageNameHasBeenSet() const { return m_modelPackageNameHasBeenSet; }
66 inline void SetModelPackageName(const Aws::String& value) { m_modelPackageNameHasBeenSet = true; m_modelPackageName = value; }
67 inline void SetModelPackageName(Aws::String&& value) { m_modelPackageNameHasBeenSet = true; m_modelPackageName = std::move(value); }
68 inline void SetModelPackageName(const char* value) { m_modelPackageNameHasBeenSet = true; m_modelPackageName.assign(value); }
69 inline ModelPackage& WithModelPackageName(const Aws::String& value) { SetModelPackageName(value); return *this;}
70 inline ModelPackage& WithModelPackageName(Aws::String&& value) { SetModelPackageName(std::move(value)); return *this;}
71 inline ModelPackage& WithModelPackageName(const char* value) { SetModelPackageName(value); return *this;}
73
75
78 inline const Aws::String& GetModelPackageGroupName() const{ return m_modelPackageGroupName; }
79 inline bool ModelPackageGroupNameHasBeenSet() const { return m_modelPackageGroupNameHasBeenSet; }
80 inline void SetModelPackageGroupName(const Aws::String& value) { m_modelPackageGroupNameHasBeenSet = true; m_modelPackageGroupName = value; }
81 inline void SetModelPackageGroupName(Aws::String&& value) { m_modelPackageGroupNameHasBeenSet = true; m_modelPackageGroupName = std::move(value); }
82 inline void SetModelPackageGroupName(const char* value) { m_modelPackageGroupNameHasBeenSet = true; m_modelPackageGroupName.assign(value); }
83 inline ModelPackage& WithModelPackageGroupName(const Aws::String& value) { SetModelPackageGroupName(value); return *this;}
84 inline ModelPackage& WithModelPackageGroupName(Aws::String&& value) { SetModelPackageGroupName(std::move(value)); return *this;}
85 inline ModelPackage& WithModelPackageGroupName(const char* value) { SetModelPackageGroupName(value); return *this;}
87
89
92 inline int GetModelPackageVersion() const{ return m_modelPackageVersion; }
93 inline bool ModelPackageVersionHasBeenSet() const { return m_modelPackageVersionHasBeenSet; }
94 inline void SetModelPackageVersion(int value) { m_modelPackageVersionHasBeenSet = true; m_modelPackageVersion = value; }
95 inline ModelPackage& WithModelPackageVersion(int value) { SetModelPackageVersion(value); return *this;}
97
99
102 inline const Aws::String& GetModelPackageArn() const{ return m_modelPackageArn; }
103 inline bool ModelPackageArnHasBeenSet() const { return m_modelPackageArnHasBeenSet; }
104 inline void SetModelPackageArn(const Aws::String& value) { m_modelPackageArnHasBeenSet = true; m_modelPackageArn = value; }
105 inline void SetModelPackageArn(Aws::String&& value) { m_modelPackageArnHasBeenSet = true; m_modelPackageArn = std::move(value); }
106 inline void SetModelPackageArn(const char* value) { m_modelPackageArnHasBeenSet = true; m_modelPackageArn.assign(value); }
107 inline ModelPackage& WithModelPackageArn(const Aws::String& value) { SetModelPackageArn(value); return *this;}
108 inline ModelPackage& WithModelPackageArn(Aws::String&& value) { SetModelPackageArn(std::move(value)); return *this;}
109 inline ModelPackage& WithModelPackageArn(const char* value) { SetModelPackageArn(value); return *this;}
111
113
116 inline const Aws::String& GetModelPackageDescription() const{ return m_modelPackageDescription; }
117 inline bool ModelPackageDescriptionHasBeenSet() const { return m_modelPackageDescriptionHasBeenSet; }
118 inline void SetModelPackageDescription(const Aws::String& value) { m_modelPackageDescriptionHasBeenSet = true; m_modelPackageDescription = value; }
119 inline void SetModelPackageDescription(Aws::String&& value) { m_modelPackageDescriptionHasBeenSet = true; m_modelPackageDescription = std::move(value); }
120 inline void SetModelPackageDescription(const char* value) { m_modelPackageDescriptionHasBeenSet = true; m_modelPackageDescription.assign(value); }
122 inline ModelPackage& WithModelPackageDescription(Aws::String&& value) { SetModelPackageDescription(std::move(value)); return *this;}
123 inline ModelPackage& WithModelPackageDescription(const char* value) { SetModelPackageDescription(value); return *this;}
125
127
130 inline const Aws::Utils::DateTime& GetCreationTime() const{ return m_creationTime; }
131 inline bool CreationTimeHasBeenSet() const { return m_creationTimeHasBeenSet; }
132 inline void SetCreationTime(const Aws::Utils::DateTime& value) { m_creationTimeHasBeenSet = true; m_creationTime = value; }
133 inline void SetCreationTime(Aws::Utils::DateTime&& value) { m_creationTimeHasBeenSet = true; m_creationTime = std::move(value); }
134 inline ModelPackage& WithCreationTime(const Aws::Utils::DateTime& value) { SetCreationTime(value); return *this;}
135 inline ModelPackage& WithCreationTime(Aws::Utils::DateTime&& value) { SetCreationTime(std::move(value)); return *this;}
137
139
142 inline const InferenceSpecification& GetInferenceSpecification() const{ return m_inferenceSpecification; }
143 inline bool InferenceSpecificationHasBeenSet() const { return m_inferenceSpecificationHasBeenSet; }
144 inline void SetInferenceSpecification(const InferenceSpecification& value) { m_inferenceSpecificationHasBeenSet = true; m_inferenceSpecification = value; }
145 inline void SetInferenceSpecification(InferenceSpecification&& value) { m_inferenceSpecificationHasBeenSet = true; m_inferenceSpecification = std::move(value); }
149
151
154 inline const SourceAlgorithmSpecification& GetSourceAlgorithmSpecification() const{ return m_sourceAlgorithmSpecification; }
155 inline bool SourceAlgorithmSpecificationHasBeenSet() const { return m_sourceAlgorithmSpecificationHasBeenSet; }
156 inline void SetSourceAlgorithmSpecification(const SourceAlgorithmSpecification& value) { m_sourceAlgorithmSpecificationHasBeenSet = true; m_sourceAlgorithmSpecification = value; }
157 inline void SetSourceAlgorithmSpecification(SourceAlgorithmSpecification&& value) { m_sourceAlgorithmSpecificationHasBeenSet = true; m_sourceAlgorithmSpecification = std::move(value); }
161
163
167 inline const ModelPackageValidationSpecification& GetValidationSpecification() const{ return m_validationSpecification; }
168 inline bool ValidationSpecificationHasBeenSet() const { return m_validationSpecificationHasBeenSet; }
169 inline void SetValidationSpecification(const ModelPackageValidationSpecification& value) { m_validationSpecificationHasBeenSet = true; m_validationSpecification = value; }
170 inline void SetValidationSpecification(ModelPackageValidationSpecification&& value) { m_validationSpecificationHasBeenSet = true; m_validationSpecification = std::move(value); }
174
176
185 inline const ModelPackageStatus& GetModelPackageStatus() const{ return m_modelPackageStatus; }
186 inline bool ModelPackageStatusHasBeenSet() const { return m_modelPackageStatusHasBeenSet; }
187 inline void SetModelPackageStatus(const ModelPackageStatus& value) { m_modelPackageStatusHasBeenSet = true; m_modelPackageStatus = value; }
188 inline void SetModelPackageStatus(ModelPackageStatus&& value) { m_modelPackageStatusHasBeenSet = true; m_modelPackageStatus = std::move(value); }
190 inline ModelPackage& WithModelPackageStatus(ModelPackageStatus&& value) { SetModelPackageStatus(std::move(value)); return *this;}
192
194
197 inline const ModelPackageStatusDetails& GetModelPackageStatusDetails() const{ return m_modelPackageStatusDetails; }
198 inline bool ModelPackageStatusDetailsHasBeenSet() const { return m_modelPackageStatusDetailsHasBeenSet; }
199 inline void SetModelPackageStatusDetails(const ModelPackageStatusDetails& value) { m_modelPackageStatusDetailsHasBeenSet = true; m_modelPackageStatusDetails = value; }
200 inline void SetModelPackageStatusDetails(ModelPackageStatusDetails&& value) { m_modelPackageStatusDetailsHasBeenSet = true; m_modelPackageStatusDetails = std::move(value); }
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 const ModelApprovalStatus& GetModelApprovalStatus() const{ return m_modelApprovalStatus; }
228 inline bool ModelApprovalStatusHasBeenSet() const { return m_modelApprovalStatusHasBeenSet; }
229 inline void SetModelApprovalStatus(const ModelApprovalStatus& value) { m_modelApprovalStatusHasBeenSet = true; m_modelApprovalStatus = value; }
230 inline void SetModelApprovalStatus(ModelApprovalStatus&& value) { m_modelApprovalStatusHasBeenSet = true; m_modelApprovalStatus = std::move(value); }
232 inline ModelPackage& WithModelApprovalStatus(ModelApprovalStatus&& value) { SetModelApprovalStatus(std::move(value)); return *this;}
234
236
240 inline const UserContext& GetCreatedBy() const{ return m_createdBy; }
241 inline bool CreatedByHasBeenSet() const { return m_createdByHasBeenSet; }
242 inline void SetCreatedBy(const UserContext& value) { m_createdByHasBeenSet = true; m_createdBy = value; }
243 inline void SetCreatedBy(UserContext&& value) { m_createdByHasBeenSet = true; m_createdBy = std::move(value); }
244 inline ModelPackage& WithCreatedBy(const UserContext& value) { SetCreatedBy(value); return *this;}
245 inline ModelPackage& WithCreatedBy(UserContext&& value) { SetCreatedBy(std::move(value)); return *this;}
247
249
252 inline const MetadataProperties& GetMetadataProperties() const{ return m_metadataProperties; }
253 inline bool MetadataPropertiesHasBeenSet() const { return m_metadataPropertiesHasBeenSet; }
254 inline void SetMetadataProperties(const MetadataProperties& value) { m_metadataPropertiesHasBeenSet = true; m_metadataProperties = value; }
255 inline void SetMetadataProperties(MetadataProperties&& value) { m_metadataPropertiesHasBeenSet = true; m_metadataProperties = std::move(value); }
257 inline ModelPackage& WithMetadataProperties(MetadataProperties&& value) { SetMetadataProperties(std::move(value)); return *this;}
259
261
264 inline const ModelMetrics& GetModelMetrics() const{ return m_modelMetrics; }
265 inline bool ModelMetricsHasBeenSet() const { return m_modelMetricsHasBeenSet; }
266 inline void SetModelMetrics(const ModelMetrics& value) { m_modelMetricsHasBeenSet = true; m_modelMetrics = value; }
267 inline void SetModelMetrics(ModelMetrics&& value) { m_modelMetricsHasBeenSet = true; m_modelMetrics = std::move(value); }
268 inline ModelPackage& WithModelMetrics(const ModelMetrics& value) { SetModelMetrics(value); return *this;}
269 inline ModelPackage& WithModelMetrics(ModelMetrics&& value) { SetModelMetrics(std::move(value)); return *this;}
271
273
276 inline const Aws::Utils::DateTime& GetLastModifiedTime() const{ return m_lastModifiedTime; }
277 inline bool LastModifiedTimeHasBeenSet() const { return m_lastModifiedTimeHasBeenSet; }
278 inline void SetLastModifiedTime(const Aws::Utils::DateTime& value) { m_lastModifiedTimeHasBeenSet = true; m_lastModifiedTime = value; }
279 inline void SetLastModifiedTime(Aws::Utils::DateTime&& value) { m_lastModifiedTimeHasBeenSet = true; m_lastModifiedTime = std::move(value); }
280 inline ModelPackage& WithLastModifiedTime(const Aws::Utils::DateTime& value) { SetLastModifiedTime(value); return *this;}
281 inline ModelPackage& WithLastModifiedTime(Aws::Utils::DateTime&& value) { SetLastModifiedTime(std::move(value)); return *this;}
283
285
289 inline const UserContext& GetLastModifiedBy() const{ return m_lastModifiedBy; }
290 inline bool LastModifiedByHasBeenSet() const { return m_lastModifiedByHasBeenSet; }
291 inline void SetLastModifiedBy(const UserContext& value) { m_lastModifiedByHasBeenSet = true; m_lastModifiedBy = value; }
292 inline void SetLastModifiedBy(UserContext&& value) { m_lastModifiedByHasBeenSet = true; m_lastModifiedBy = std::move(value); }
293 inline ModelPackage& WithLastModifiedBy(const UserContext& value) { SetLastModifiedBy(value); return *this;}
294 inline ModelPackage& WithLastModifiedBy(UserContext&& value) { SetLastModifiedBy(std::move(value)); return *this;}
296
298
301 inline const Aws::String& GetApprovalDescription() const{ return m_approvalDescription; }
302 inline bool ApprovalDescriptionHasBeenSet() const { return m_approvalDescriptionHasBeenSet; }
303 inline void SetApprovalDescription(const Aws::String& value) { m_approvalDescriptionHasBeenSet = true; m_approvalDescription = value; }
304 inline void SetApprovalDescription(Aws::String&& value) { m_approvalDescriptionHasBeenSet = true; m_approvalDescription = std::move(value); }
305 inline void SetApprovalDescription(const char* value) { m_approvalDescriptionHasBeenSet = true; m_approvalDescription.assign(value); }
306 inline ModelPackage& WithApprovalDescription(const Aws::String& value) { SetApprovalDescription(value); return *this;}
307 inline ModelPackage& WithApprovalDescription(Aws::String&& value) { SetApprovalDescription(std::move(value)); return *this;}
308 inline ModelPackage& WithApprovalDescription(const char* value) { SetApprovalDescription(value); return *this;}
310
312
317 inline const Aws::String& GetDomain() const{ return m_domain; }
318 inline bool DomainHasBeenSet() const { return m_domainHasBeenSet; }
319 inline void SetDomain(const Aws::String& value) { m_domainHasBeenSet = true; m_domain = value; }
320 inline void SetDomain(Aws::String&& value) { m_domainHasBeenSet = true; m_domain = std::move(value); }
321 inline void SetDomain(const char* value) { m_domainHasBeenSet = true; m_domain.assign(value); }
322 inline ModelPackage& WithDomain(const Aws::String& value) { SetDomain(value); return *this;}
323 inline ModelPackage& WithDomain(Aws::String&& value) { SetDomain(std::move(value)); return *this;}
324 inline ModelPackage& WithDomain(const char* value) { SetDomain(value); return *this;}
326
328
332 inline const Aws::String& GetTask() const{ return m_task; }
333 inline bool TaskHasBeenSet() const { return m_taskHasBeenSet; }
334 inline void SetTask(const Aws::String& value) { m_taskHasBeenSet = true; m_task = value; }
335 inline void SetTask(Aws::String&& value) { m_taskHasBeenSet = true; m_task = std::move(value); }
336 inline void SetTask(const char* value) { m_taskHasBeenSet = true; m_task.assign(value); }
337 inline ModelPackage& WithTask(const Aws::String& value) { SetTask(value); return *this;}
338 inline ModelPackage& WithTask(Aws::String&& value) { SetTask(std::move(value)); return *this;}
339 inline ModelPackage& WithTask(const char* value) { SetTask(value); return *this;}
341
343
348 inline const Aws::String& GetSamplePayloadUrl() const{ return m_samplePayloadUrl; }
349 inline bool SamplePayloadUrlHasBeenSet() const { return m_samplePayloadUrlHasBeenSet; }
350 inline void SetSamplePayloadUrl(const Aws::String& value) { m_samplePayloadUrlHasBeenSet = true; m_samplePayloadUrl = value; }
351 inline void SetSamplePayloadUrl(Aws::String&& value) { m_samplePayloadUrlHasBeenSet = true; m_samplePayloadUrl = std::move(value); }
352 inline void SetSamplePayloadUrl(const char* value) { m_samplePayloadUrlHasBeenSet = true; m_samplePayloadUrl.assign(value); }
353 inline ModelPackage& WithSamplePayloadUrl(const Aws::String& value) { SetSamplePayloadUrl(value); return *this;}
354 inline ModelPackage& WithSamplePayloadUrl(Aws::String&& value) { SetSamplePayloadUrl(std::move(value)); return *this;}
355 inline ModelPackage& WithSamplePayloadUrl(const char* value) { SetSamplePayloadUrl(value); return *this;}
357
359
362 inline const Aws::Vector<AdditionalInferenceSpecificationDefinition>& GetAdditionalInferenceSpecifications() const{ return m_additionalInferenceSpecifications; }
363 inline bool AdditionalInferenceSpecificationsHasBeenSet() const { return m_additionalInferenceSpecificationsHasBeenSet; }
364 inline void SetAdditionalInferenceSpecifications(const Aws::Vector<AdditionalInferenceSpecificationDefinition>& value) { m_additionalInferenceSpecificationsHasBeenSet = true; m_additionalInferenceSpecifications = value; }
365 inline void SetAdditionalInferenceSpecifications(Aws::Vector<AdditionalInferenceSpecificationDefinition>&& value) { m_additionalInferenceSpecificationsHasBeenSet = true; m_additionalInferenceSpecifications = std::move(value); }
368 inline ModelPackage& AddAdditionalInferenceSpecifications(const AdditionalInferenceSpecificationDefinition& value) { m_additionalInferenceSpecificationsHasBeenSet = true; m_additionalInferenceSpecifications.push_back(value); return *this; }
369 inline ModelPackage& AddAdditionalInferenceSpecifications(AdditionalInferenceSpecificationDefinition&& value) { m_additionalInferenceSpecificationsHasBeenSet = true; m_additionalInferenceSpecifications.push_back(std::move(value)); return *this; }
371
373
376 inline const Aws::String& GetSourceUri() const{ return m_sourceUri; }
377 inline bool SourceUriHasBeenSet() const { return m_sourceUriHasBeenSet; }
378 inline void SetSourceUri(const Aws::String& value) { m_sourceUriHasBeenSet = true; m_sourceUri = value; }
379 inline void SetSourceUri(Aws::String&& value) { m_sourceUriHasBeenSet = true; m_sourceUri = std::move(value); }
380 inline void SetSourceUri(const char* value) { m_sourceUriHasBeenSet = true; m_sourceUri.assign(value); }
381 inline ModelPackage& WithSourceUri(const Aws::String& value) { SetSourceUri(value); return *this;}
382 inline ModelPackage& WithSourceUri(Aws::String&& value) { SetSourceUri(std::move(value)); return *this;}
383 inline ModelPackage& WithSourceUri(const char* value) { SetSourceUri(value); return *this;}
385
387
388 inline const ModelPackageSecurityConfig& GetSecurityConfig() const{ return m_securityConfig; }
389 inline bool SecurityConfigHasBeenSet() const { return m_securityConfigHasBeenSet; }
390 inline void SetSecurityConfig(const ModelPackageSecurityConfig& value) { m_securityConfigHasBeenSet = true; m_securityConfig = value; }
391 inline void SetSecurityConfig(ModelPackageSecurityConfig&& value) { m_securityConfigHasBeenSet = true; m_securityConfig = std::move(value); }
393 inline ModelPackage& WithSecurityConfig(ModelPackageSecurityConfig&& value) { SetSecurityConfig(std::move(value)); return *this;}
395
397
398 inline const ModelPackageModelCard& GetModelCard() const{ return m_modelCard; }
399 inline bool ModelCardHasBeenSet() const { return m_modelCardHasBeenSet; }
400 inline void SetModelCard(const ModelPackageModelCard& value) { m_modelCardHasBeenSet = true; m_modelCard = value; }
401 inline void SetModelCard(ModelPackageModelCard&& value) { m_modelCardHasBeenSet = true; m_modelCard = std::move(value); }
402 inline ModelPackage& WithModelCard(const ModelPackageModelCard& value) { SetModelCard(value); return *this;}
403 inline ModelPackage& WithModelCard(ModelPackageModelCard&& value) { SetModelCard(std::move(value)); return *this;}
405
407
411 inline const ModelLifeCycle& GetModelLifeCycle() const{ return m_modelLifeCycle; }
412 inline bool ModelLifeCycleHasBeenSet() const { return m_modelLifeCycleHasBeenSet; }
413 inline void SetModelLifeCycle(const ModelLifeCycle& value) { m_modelLifeCycleHasBeenSet = true; m_modelLifeCycle = value; }
414 inline void SetModelLifeCycle(ModelLifeCycle&& value) { m_modelLifeCycleHasBeenSet = true; m_modelLifeCycle = std::move(value); }
415 inline ModelPackage& WithModelLifeCycle(const ModelLifeCycle& value) { SetModelLifeCycle(value); return *this;}
416 inline ModelPackage& WithModelLifeCycle(ModelLifeCycle&& value) { SetModelLifeCycle(std::move(value)); return *this;}
418
420
427 inline const Aws::Vector<Tag>& GetTags() const{ return m_tags; }
428 inline bool TagsHasBeenSet() const { return m_tagsHasBeenSet; }
429 inline void SetTags(const Aws::Vector<Tag>& value) { m_tagsHasBeenSet = true; m_tags = value; }
430 inline void SetTags(Aws::Vector<Tag>&& value) { m_tagsHasBeenSet = true; m_tags = std::move(value); }
431 inline ModelPackage& WithTags(const Aws::Vector<Tag>& value) { SetTags(value); return *this;}
432 inline ModelPackage& WithTags(Aws::Vector<Tag>&& value) { SetTags(std::move(value)); return *this;}
433 inline ModelPackage& AddTags(const Tag& value) { m_tagsHasBeenSet = true; m_tags.push_back(value); return *this; }
434 inline ModelPackage& AddTags(Tag&& value) { m_tagsHasBeenSet = true; m_tags.push_back(std::move(value)); return *this; }
436
438
441 inline const Aws::Map<Aws::String, Aws::String>& GetCustomerMetadataProperties() const{ return m_customerMetadataProperties; }
442 inline bool CustomerMetadataPropertiesHasBeenSet() const { return m_customerMetadataPropertiesHasBeenSet; }
443 inline void SetCustomerMetadataProperties(const Aws::Map<Aws::String, Aws::String>& value) { m_customerMetadataPropertiesHasBeenSet = true; m_customerMetadataProperties = value; }
444 inline void SetCustomerMetadataProperties(Aws::Map<Aws::String, Aws::String>&& value) { m_customerMetadataPropertiesHasBeenSet = true; m_customerMetadataProperties = std::move(value); }
447 inline ModelPackage& AddCustomerMetadataProperties(const Aws::String& key, const Aws::String& value) { m_customerMetadataPropertiesHasBeenSet = true; m_customerMetadataProperties.emplace(key, value); return *this; }
448 inline ModelPackage& AddCustomerMetadataProperties(Aws::String&& key, const Aws::String& value) { m_customerMetadataPropertiesHasBeenSet = true; m_customerMetadataProperties.emplace(std::move(key), value); return *this; }
449 inline ModelPackage& AddCustomerMetadataProperties(const Aws::String& key, Aws::String&& value) { m_customerMetadataPropertiesHasBeenSet = true; m_customerMetadataProperties.emplace(key, std::move(value)); return *this; }
450 inline ModelPackage& AddCustomerMetadataProperties(Aws::String&& key, Aws::String&& value) { m_customerMetadataPropertiesHasBeenSet = true; m_customerMetadataProperties.emplace(std::move(key), std::move(value)); return *this; }
451 inline ModelPackage& AddCustomerMetadataProperties(const char* key, Aws::String&& value) { m_customerMetadataPropertiesHasBeenSet = true; m_customerMetadataProperties.emplace(key, std::move(value)); return *this; }
452 inline ModelPackage& AddCustomerMetadataProperties(Aws::String&& key, const char* value) { m_customerMetadataPropertiesHasBeenSet = true; m_customerMetadataProperties.emplace(std::move(key), value); return *this; }
453 inline ModelPackage& AddCustomerMetadataProperties(const char* key, const char* value) { m_customerMetadataPropertiesHasBeenSet = true; m_customerMetadataProperties.emplace(key, value); return *this; }
455
457
461 inline const DriftCheckBaselines& GetDriftCheckBaselines() const{ return m_driftCheckBaselines; }
462 inline bool DriftCheckBaselinesHasBeenSet() const { return m_driftCheckBaselinesHasBeenSet; }
463 inline void SetDriftCheckBaselines(const DriftCheckBaselines& value) { m_driftCheckBaselinesHasBeenSet = true; m_driftCheckBaselines = value; }
464 inline void SetDriftCheckBaselines(DriftCheckBaselines&& value) { m_driftCheckBaselinesHasBeenSet = true; m_driftCheckBaselines = std::move(value); }
466 inline ModelPackage& WithDriftCheckBaselines(DriftCheckBaselines&& value) { SetDriftCheckBaselines(std::move(value)); return *this;}
468
470
473 inline const SkipModelValidation& GetSkipModelValidation() const{ return m_skipModelValidation; }
474 inline bool SkipModelValidationHasBeenSet() const { return m_skipModelValidationHasBeenSet; }
475 inline void SetSkipModelValidation(const SkipModelValidation& value) { m_skipModelValidationHasBeenSet = true; m_skipModelValidation = value; }
476 inline void SetSkipModelValidation(SkipModelValidation&& value) { m_skipModelValidationHasBeenSet = true; m_skipModelValidation = std::move(value); }
478 inline ModelPackage& WithSkipModelValidation(SkipModelValidation&& value) { SetSkipModelValidation(std::move(value)); return *this;}
480 private:
481
482 Aws::String m_modelPackageName;
483 bool m_modelPackageNameHasBeenSet = false;
484
485 Aws::String m_modelPackageGroupName;
486 bool m_modelPackageGroupNameHasBeenSet = false;
487
488 int m_modelPackageVersion;
489 bool m_modelPackageVersionHasBeenSet = false;
490
491 Aws::String m_modelPackageArn;
492 bool m_modelPackageArnHasBeenSet = false;
493
494 Aws::String m_modelPackageDescription;
495 bool m_modelPackageDescriptionHasBeenSet = false;
496
497 Aws::Utils::DateTime m_creationTime;
498 bool m_creationTimeHasBeenSet = false;
499
500 InferenceSpecification m_inferenceSpecification;
501 bool m_inferenceSpecificationHasBeenSet = false;
502
503 SourceAlgorithmSpecification m_sourceAlgorithmSpecification;
504 bool m_sourceAlgorithmSpecificationHasBeenSet = false;
505
506 ModelPackageValidationSpecification m_validationSpecification;
507 bool m_validationSpecificationHasBeenSet = false;
508
509 ModelPackageStatus m_modelPackageStatus;
510 bool m_modelPackageStatusHasBeenSet = false;
511
512 ModelPackageStatusDetails m_modelPackageStatusDetails;
513 bool m_modelPackageStatusDetailsHasBeenSet = false;
514
515 bool m_certifyForMarketplace;
516 bool m_certifyForMarketplaceHasBeenSet = false;
517
518 ModelApprovalStatus m_modelApprovalStatus;
519 bool m_modelApprovalStatusHasBeenSet = false;
520
521 UserContext m_createdBy;
522 bool m_createdByHasBeenSet = false;
523
524 MetadataProperties m_metadataProperties;
525 bool m_metadataPropertiesHasBeenSet = false;
526
527 ModelMetrics m_modelMetrics;
528 bool m_modelMetricsHasBeenSet = false;
529
530 Aws::Utils::DateTime m_lastModifiedTime;
531 bool m_lastModifiedTimeHasBeenSet = false;
532
533 UserContext m_lastModifiedBy;
534 bool m_lastModifiedByHasBeenSet = false;
535
536 Aws::String m_approvalDescription;
537 bool m_approvalDescriptionHasBeenSet = false;
538
539 Aws::String m_domain;
540 bool m_domainHasBeenSet = false;
541
542 Aws::String m_task;
543 bool m_taskHasBeenSet = false;
544
545 Aws::String m_samplePayloadUrl;
546 bool m_samplePayloadUrlHasBeenSet = false;
547
548 Aws::Vector<AdditionalInferenceSpecificationDefinition> m_additionalInferenceSpecifications;
549 bool m_additionalInferenceSpecificationsHasBeenSet = false;
550
551 Aws::String m_sourceUri;
552 bool m_sourceUriHasBeenSet = false;
553
554 ModelPackageSecurityConfig m_securityConfig;
555 bool m_securityConfigHasBeenSet = false;
556
557 ModelPackageModelCard m_modelCard;
558 bool m_modelCardHasBeenSet = false;
559
560 ModelLifeCycle m_modelLifeCycle;
561 bool m_modelLifeCycleHasBeenSet = false;
562
563 Aws::Vector<Tag> m_tags;
564 bool m_tagsHasBeenSet = false;
565
566 Aws::Map<Aws::String, Aws::String> m_customerMetadataProperties;
567 bool m_customerMetadataPropertiesHasBeenSet = false;
568
569 DriftCheckBaselines m_driftCheckBaselines;
570 bool m_driftCheckBaselinesHasBeenSet = false;
571
572 SkipModelValidation m_skipModelValidation;
573 bool m_skipModelValidationHasBeenSet = false;
574 };
575
576} // namespace Model
577} // namespace SageMaker
578} // namespace Aws
ModelPackage & WithSourceAlgorithmSpecification(SourceAlgorithmSpecification &&value)
void SetSecurityConfig(const ModelPackageSecurityConfig &value)
ModelPackage & AddCustomerMetadataProperties(Aws::String &&key, const Aws::String &value)
ModelPackage & AddCustomerMetadataProperties(const Aws::String &key, Aws::String &&value)
const Aws::Vector< AdditionalInferenceSpecificationDefinition > & GetAdditionalInferenceSpecifications() const
ModelPackage & WithTags(Aws::Vector< Tag > &&value)
ModelPackage & WithSourceUri(const char *value)
ModelPackage & WithModelPackageArn(const Aws::String &value)
const Aws::String & GetSamplePayloadUrl() const
ModelPackage & WithTask(Aws::String &&value)
const UserContext & GetCreatedBy() const
ModelPackage & AddTags(Tag &&value)
AWS_SAGEMAKER_API Aws::Utils::Json::JsonValue Jsonize() const
ModelPackage & WithInferenceSpecification(const InferenceSpecification &value)
const Aws::Utils::DateTime & GetLastModifiedTime() const
const Aws::String & GetDomain() const
void SetCreationTime(const Aws::Utils::DateTime &value)
ModelPackage & WithLastModifiedBy(const UserContext &value)
ModelPackage & WithCreationTime(const Aws::Utils::DateTime &value)
const ModelPackageModelCard & GetModelCard() const
void SetCreatedBy(UserContext &&value)
void SetModelPackageArn(Aws::String &&value)
ModelPackage & WithAdditionalInferenceSpecifications(const Aws::Vector< AdditionalInferenceSpecificationDefinition > &value)
void SetCreationTime(Aws::Utils::DateTime &&value)
ModelPackage & WithModelPackageDescription(const Aws::String &value)
void SetSamplePayloadUrl(Aws::String &&value)
ModelPackage & AddCustomerMetadataProperties(Aws::String &&key, const char *value)
ModelPackage & WithModelCard(const ModelPackageModelCard &value)
ModelPackage & WithSkipModelValidation(const SkipModelValidation &value)
ModelPackage & WithModelPackageStatusDetails(ModelPackageStatusDetails &&value)
ModelPackage & WithModelPackageGroupName(const char *value)
ModelPackage & WithCreatedBy(UserContext &&value)
const UserContext & GetLastModifiedBy() const
const SkipModelValidation & GetSkipModelValidation() const
void SetSourceUri(const Aws::String &value)
ModelPackage & WithModelPackageVersion(int value)
void SetModelPackageGroupName(const Aws::String &value)
void SetModelMetrics(ModelMetrics &&value)
const Aws::String & GetModelPackageName() const
ModelPackage & WithCustomerMetadataProperties(const Aws::Map< Aws::String, Aws::String > &value)
ModelPackage & WithModelPackageStatusDetails(const ModelPackageStatusDetails &value)
void SetModelApprovalStatus(ModelApprovalStatus &&value)
void SetSamplePayloadUrl(const char *value)
void SetAdditionalInferenceSpecifications(const Aws::Vector< AdditionalInferenceSpecificationDefinition > &value)
const Aws::String & GetModelPackageGroupName() const
AWS_SAGEMAKER_API ModelPackage & operator=(Aws::Utils::Json::JsonView jsonValue)
ModelPackage & WithValidationSpecification(ModelPackageValidationSpecification &&value)
ModelPackage & WithAdditionalInferenceSpecifications(Aws::Vector< AdditionalInferenceSpecificationDefinition > &&value)
void SetSamplePayloadUrl(const Aws::String &value)
ModelPackage & WithCreationTime(Aws::Utils::DateTime &&value)
const ModelPackageValidationSpecification & GetValidationSpecification() const
void SetModelPackageDescription(const char *value)
ModelPackage & WithDriftCheckBaselines(DriftCheckBaselines &&value)
void SetDriftCheckBaselines(DriftCheckBaselines &&value)
void SetModelPackageName(const Aws::String &value)
bool AdditionalInferenceSpecificationsHasBeenSet() const
const SourceAlgorithmSpecification & GetSourceAlgorithmSpecification() const
void SetApprovalDescription(const Aws::String &value)
ModelPackage & WithModelPackageArn(const char *value)
const MetadataProperties & GetMetadataProperties() const
ModelPackage & WithApprovalDescription(const Aws::String &value)
void SetTags(Aws::Vector< Tag > &&value)
ModelPackage & AddTags(const Tag &value)
void SetModelPackageArn(const char *value)
void SetAdditionalInferenceSpecifications(Aws::Vector< AdditionalInferenceSpecificationDefinition > &&value)
void SetModelPackageGroupName(Aws::String &&value)
ModelPackage & WithModelLifeCycle(const ModelLifeCycle &value)
void SetLastModifiedBy(const UserContext &value)
ModelPackage & WithDriftCheckBaselines(const DriftCheckBaselines &value)
ModelPackage & WithMetadataProperties(const MetadataProperties &value)
const ModelPackageStatusDetails & GetModelPackageStatusDetails() const
ModelPackage & WithModelPackageGroupName(Aws::String &&value)
void SetModelLifeCycle(const ModelLifeCycle &value)
ModelPackage & WithLastModifiedTime(const Aws::Utils::DateTime &value)
const Aws::String & GetApprovalDescription() const
void SetMetadataProperties(const MetadataProperties &value)
ModelPackage & WithDomain(const Aws::String &value)
ModelPackage & AddCustomerMetadataProperties(Aws::String &&key, Aws::String &&value)
void SetSkipModelValidation(const SkipModelValidation &value)
ModelPackage & AddCustomerMetadataProperties(const char *key, const char *value)
ModelPackage & WithSamplePayloadUrl(const char *value)
const InferenceSpecification & GetInferenceSpecification() const
ModelPackage & WithModelApprovalStatus(const ModelApprovalStatus &value)
const ModelPackageStatus & GetModelPackageStatus() const
ModelPackage & WithTask(const char *value)
ModelPackage & WithSecurityConfig(const ModelPackageSecurityConfig &value)
void SetSecurityConfig(ModelPackageSecurityConfig &&value)
void SetInferenceSpecification(InferenceSpecification &&value)
ModelPackage & WithTask(const Aws::String &value)
ModelPackage & WithInferenceSpecification(InferenceSpecification &&value)
ModelPackage & WithModelPackageStatus(const ModelPackageStatus &value)
void SetInferenceSpecification(const InferenceSpecification &value)
const Aws::String & GetTask() const
void SetLastModifiedTime(Aws::Utils::DateTime &&value)
void SetModelApprovalStatus(const ModelApprovalStatus &value)
ModelPackage & WithModelPackageName(Aws::String &&value)
ModelPackage & WithSourceUri(const Aws::String &value)
void SetSourceUri(Aws::String &&value)
ModelPackage & WithSourceUri(Aws::String &&value)
void SetMetadataProperties(MetadataProperties &&value)
const Aws::String & GetSourceUri() const
void SetLastModifiedBy(UserContext &&value)
ModelPackage & WithModelMetrics(const ModelMetrics &value)
void SetModelLifeCycle(ModelLifeCycle &&value)
const Aws::Map< Aws::String, Aws::String > & GetCustomerMetadataProperties() const
ModelPackage & WithApprovalDescription(Aws::String &&value)
void SetTask(Aws::String &&value)
void SetDomain(const Aws::String &value)
void SetCustomerMetadataProperties(const Aws::Map< Aws::String, Aws::String > &value)
ModelPackage & WithSamplePayloadUrl(const Aws::String &value)
void SetSourceUri(const char *value)
ModelPackage & WithApprovalDescription(const char *value)
ModelPackage & AddCustomerMetadataProperties(const char *key, Aws::String &&value)
void SetSourceAlgorithmSpecification(SourceAlgorithmSpecification &&value)
void SetModelMetrics(const ModelMetrics &value)
void SetModelPackageDescription(const Aws::String &value)
void SetTags(const Aws::Vector< Tag > &value)
void SetDomain(Aws::String &&value)
ModelPackage & WithLastModifiedTime(Aws::Utils::DateTime &&value)
ModelPackage & WithValidationSpecification(const ModelPackageValidationSpecification &value)
void SetModelPackageName(const char *value)
ModelPackage & WithLastModifiedBy(UserContext &&value)
void SetLastModifiedTime(const Aws::Utils::DateTime &value)
ModelPackage & WithMetadataProperties(MetadataProperties &&value)
const ModelPackageSecurityConfig & GetSecurityConfig() const
void SetSkipModelValidation(SkipModelValidation &&value)
ModelPackage & AddAdditionalInferenceSpecifications(AdditionalInferenceSpecificationDefinition &&value)
const Aws::Utils::DateTime & GetCreationTime() const
ModelPackage & WithModelApprovalStatus(ModelApprovalStatus &&value)
const ModelApprovalStatus & GetModelApprovalStatus() const
AWS_SAGEMAKER_API ModelPackage(Aws::Utils::Json::JsonView jsonValue)
void SetModelCard(ModelPackageModelCard &&value)
ModelPackage & WithSamplePayloadUrl(Aws::String &&value)
ModelPackage & WithModelPackageGroupName(const Aws::String &value)
const ModelLifeCycle & GetModelLifeCycle() const
ModelPackage & AddCustomerMetadataProperties(const Aws::String &key, const Aws::String &value)
ModelPackage & WithCreatedBy(const UserContext &value)
ModelPackage & WithSkipModelValidation(SkipModelValidation &&value)
void SetModelPackageStatus(ModelPackageStatus &&value)
ModelPackage & WithTags(const Aws::Vector< Tag > &value)
void SetApprovalDescription(Aws::String &&value)
void SetApprovalDescription(const char *value)
void SetCreatedBy(const UserContext &value)
void SetModelPackageArn(const Aws::String &value)
const ModelMetrics & GetModelMetrics() const
ModelPackage & WithModelPackageDescription(const char *value)
ModelPackage & WithCustomerMetadataProperties(Aws::Map< Aws::String, Aws::String > &&value)
void SetModelCard(const ModelPackageModelCard &value)
void SetModelPackageDescription(Aws::String &&value)
ModelPackage & WithModelCard(ModelPackageModelCard &&value)
bool SourceAlgorithmSpecificationHasBeenSet() const
ModelPackage & WithModelLifeCycle(ModelLifeCycle &&value)
const Aws::Vector< Tag > & GetTags() const
ModelPackage & WithModelPackageName(const Aws::String &value)
ModelPackage & WithModelMetrics(ModelMetrics &&value)
ModelPackage & WithDomain(const char *value)
ModelPackage & AddAdditionalInferenceSpecifications(const AdditionalInferenceSpecificationDefinition &value)
void SetCustomerMetadataProperties(Aws::Map< Aws::String, Aws::String > &&value)
void SetModelPackageStatus(const ModelPackageStatus &value)
void SetModelPackageStatusDetails(ModelPackageStatusDetails &&value)
void SetValidationSpecification(const ModelPackageValidationSpecification &value)
void SetModelPackageGroupName(const char *value)
void SetDriftCheckBaselines(const DriftCheckBaselines &value)
ModelPackage & WithCertifyForMarketplace(bool value)
void SetModelPackageStatusDetails(const ModelPackageStatusDetails &value)
const Aws::String & GetModelPackageDescription() const
ModelPackage & WithSecurityConfig(ModelPackageSecurityConfig &&value)
void SetTask(const char *value)
void SetModelPackageName(Aws::String &&value)
const Aws::String & GetModelPackageArn() const
void SetValidationSpecification(ModelPackageValidationSpecification &&value)
ModelPackage & WithModelPackageStatus(ModelPackageStatus &&value)
ModelPackage & WithModelPackageArn(Aws::String &&value)
void SetDomain(const char *value)
const DriftCheckBaselines & GetDriftCheckBaselines() const
ModelPackage & WithSourceAlgorithmSpecification(const SourceAlgorithmSpecification &value)
ModelPackage & WithModelPackageDescription(Aws::String &&value)
void SetTask(const Aws::String &value)
ModelPackage & WithDomain(Aws::String &&value)
ModelPackage & WithModelPackageName(const char *value)
void SetSourceAlgorithmSpecification(const SourceAlgorithmSpecification &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