/** * Copyright Amazon.com, Inc. or its affiliates. All Rights Reserved. * SPDX-License-Identifier: Apache-2.0. */ #pragma once #include #include #include #include #include #include #include #include #include namespace Aws { template class AmazonWebServiceResult; namespace Utils { namespace Json { class JsonValue; } // namespace Json } // namespace Utils namespace SageMaker { namespace Model { class AWS_SAGEMAKER_API DescribeModelPackageResult { public: DescribeModelPackageResult(); DescribeModelPackageResult(const Aws::AmazonWebServiceResult& result); DescribeModelPackageResult& operator=(const Aws::AmazonWebServiceResult& result); /** *

The name of the model package being described.

*/ inline const Aws::String& GetModelPackageName() const{ return m_modelPackageName; } /** *

The name of the model package being described.

*/ inline void SetModelPackageName(const Aws::String& value) { m_modelPackageName = value; } /** *

The name of the model package being described.

*/ inline void SetModelPackageName(Aws::String&& value) { m_modelPackageName = std::move(value); } /** *

The name of the model package being described.

*/ inline void SetModelPackageName(const char* value) { m_modelPackageName.assign(value); } /** *

The name of the model package being described.

*/ inline DescribeModelPackageResult& WithModelPackageName(const Aws::String& value) { SetModelPackageName(value); return *this;} /** *

The name of the model package being described.

*/ inline DescribeModelPackageResult& WithModelPackageName(Aws::String&& value) { SetModelPackageName(std::move(value)); return *this;} /** *

The name of the model package being described.

*/ inline DescribeModelPackageResult& WithModelPackageName(const char* value) { SetModelPackageName(value); return *this;} /** *

The Amazon Resource Name (ARN) of the model package.

*/ inline const Aws::String& GetModelPackageArn() const{ return m_modelPackageArn; } /** *

The Amazon Resource Name (ARN) of the model package.

*/ inline void SetModelPackageArn(const Aws::String& value) { m_modelPackageArn = value; } /** *

The Amazon Resource Name (ARN) of the model package.

*/ inline void SetModelPackageArn(Aws::String&& value) { m_modelPackageArn = std::move(value); } /** *

The Amazon Resource Name (ARN) of the model package.

*/ inline void SetModelPackageArn(const char* value) { m_modelPackageArn.assign(value); } /** *

The Amazon Resource Name (ARN) of the model package.

*/ inline DescribeModelPackageResult& WithModelPackageArn(const Aws::String& value) { SetModelPackageArn(value); return *this;} /** *

The Amazon Resource Name (ARN) of the model package.

*/ inline DescribeModelPackageResult& WithModelPackageArn(Aws::String&& value) { SetModelPackageArn(std::move(value)); return *this;} /** *

The Amazon Resource Name (ARN) of the model package.

*/ inline DescribeModelPackageResult& WithModelPackageArn(const char* value) { SetModelPackageArn(value); return *this;} /** *

A brief summary of the model package.

*/ inline const Aws::String& GetModelPackageDescription() const{ return m_modelPackageDescription; } /** *

A brief summary of the model package.

*/ inline void SetModelPackageDescription(const Aws::String& value) { m_modelPackageDescription = value; } /** *

A brief summary of the model package.

*/ inline void SetModelPackageDescription(Aws::String&& value) { m_modelPackageDescription = std::move(value); } /** *

A brief summary of the model package.

*/ inline void SetModelPackageDescription(const char* value) { m_modelPackageDescription.assign(value); } /** *

A brief summary of the model package.

*/ inline DescribeModelPackageResult& WithModelPackageDescription(const Aws::String& value) { SetModelPackageDescription(value); return *this;} /** *

A brief summary of the model package.

*/ inline DescribeModelPackageResult& WithModelPackageDescription(Aws::String&& value) { SetModelPackageDescription(std::move(value)); return *this;} /** *

A brief summary of the model package.

*/ inline DescribeModelPackageResult& WithModelPackageDescription(const char* value) { SetModelPackageDescription(value); return *this;} /** *

A timestamp specifying when the model package was created.

*/ inline const Aws::Utils::DateTime& GetCreationTime() const{ return m_creationTime; } /** *

A timestamp specifying when the model package was created.

*/ inline void SetCreationTime(const Aws::Utils::DateTime& value) { m_creationTime = value; } /** *

A timestamp specifying when the model package was created.

*/ inline void SetCreationTime(Aws::Utils::DateTime&& value) { m_creationTime = std::move(value); } /** *

A timestamp specifying when the model package was created.

*/ inline DescribeModelPackageResult& WithCreationTime(const Aws::Utils::DateTime& value) { SetCreationTime(value); return *this;} /** *

A timestamp specifying when the model package was created.

*/ inline DescribeModelPackageResult& WithCreationTime(Aws::Utils::DateTime&& value) { SetCreationTime(std::move(value)); return *this;} /** *

Details about inference jobs that can be run with models based on this model * package.

*/ inline const InferenceSpecification& GetInferenceSpecification() const{ return m_inferenceSpecification; } /** *

Details about inference jobs that can be run with models based on this model * package.

*/ inline void SetInferenceSpecification(const InferenceSpecification& value) { m_inferenceSpecification = value; } /** *

Details about inference jobs that can be run with models based on this model * package.

*/ inline void SetInferenceSpecification(InferenceSpecification&& value) { m_inferenceSpecification = std::move(value); } /** *

Details about inference jobs that can be run with models based on this model * package.

*/ inline DescribeModelPackageResult& WithInferenceSpecification(const InferenceSpecification& value) { SetInferenceSpecification(value); return *this;} /** *

Details about inference jobs that can be run with models based on this model * package.

*/ inline DescribeModelPackageResult& WithInferenceSpecification(InferenceSpecification&& value) { SetInferenceSpecification(std::move(value)); return *this;} /** *

Details about the algorithm that was used to create the model package.

*/ inline const SourceAlgorithmSpecification& GetSourceAlgorithmSpecification() const{ return m_sourceAlgorithmSpecification; } /** *

Details about the algorithm that was used to create the model package.

*/ inline void SetSourceAlgorithmSpecification(const SourceAlgorithmSpecification& value) { m_sourceAlgorithmSpecification = value; } /** *

Details about the algorithm that was used to create the model package.

*/ inline void SetSourceAlgorithmSpecification(SourceAlgorithmSpecification&& value) { m_sourceAlgorithmSpecification = std::move(value); } /** *

Details about the algorithm that was used to create the model package.

*/ inline DescribeModelPackageResult& WithSourceAlgorithmSpecification(const SourceAlgorithmSpecification& value) { SetSourceAlgorithmSpecification(value); return *this;} /** *

Details about the algorithm that was used to create the model package.

*/ inline DescribeModelPackageResult& WithSourceAlgorithmSpecification(SourceAlgorithmSpecification&& value) { SetSourceAlgorithmSpecification(std::move(value)); return *this;} /** *

Configurations for one or more transform jobs that Amazon SageMaker runs to * test the model package.

*/ inline const ModelPackageValidationSpecification& GetValidationSpecification() const{ return m_validationSpecification; } /** *

Configurations for one or more transform jobs that Amazon SageMaker runs to * test the model package.

*/ inline void SetValidationSpecification(const ModelPackageValidationSpecification& value) { m_validationSpecification = value; } /** *

Configurations for one or more transform jobs that Amazon SageMaker runs to * test the model package.

*/ inline void SetValidationSpecification(ModelPackageValidationSpecification&& value) { m_validationSpecification = std::move(value); } /** *

Configurations for one or more transform jobs that Amazon SageMaker runs to * test the model package.

*/ inline DescribeModelPackageResult& WithValidationSpecification(const ModelPackageValidationSpecification& value) { SetValidationSpecification(value); return *this;} /** *

Configurations for one or more transform jobs that Amazon SageMaker runs to * test the model package.

*/ inline DescribeModelPackageResult& WithValidationSpecification(ModelPackageValidationSpecification&& value) { SetValidationSpecification(std::move(value)); return *this;} /** *

The current status of the model package.

*/ inline const ModelPackageStatus& GetModelPackageStatus() const{ return m_modelPackageStatus; } /** *

The current status of the model package.

*/ inline void SetModelPackageStatus(const ModelPackageStatus& value) { m_modelPackageStatus = value; } /** *

The current status of the model package.

*/ inline void SetModelPackageStatus(ModelPackageStatus&& value) { m_modelPackageStatus = std::move(value); } /** *

The current status of the model package.

*/ inline DescribeModelPackageResult& WithModelPackageStatus(const ModelPackageStatus& value) { SetModelPackageStatus(value); return *this;} /** *

The current status of the model package.

*/ inline DescribeModelPackageResult& WithModelPackageStatus(ModelPackageStatus&& value) { SetModelPackageStatus(std::move(value)); return *this;} /** *

Details about the current status of the model package.

*/ inline const ModelPackageStatusDetails& GetModelPackageStatusDetails() const{ return m_modelPackageStatusDetails; } /** *

Details about the current status of the model package.

*/ inline void SetModelPackageStatusDetails(const ModelPackageStatusDetails& value) { m_modelPackageStatusDetails = value; } /** *

Details about the current status of the model package.

*/ inline void SetModelPackageStatusDetails(ModelPackageStatusDetails&& value) { m_modelPackageStatusDetails = std::move(value); } /** *

Details about the current status of the model package.

*/ inline DescribeModelPackageResult& WithModelPackageStatusDetails(const ModelPackageStatusDetails& value) { SetModelPackageStatusDetails(value); return *this;} /** *

Details about the current status of the model package.

*/ inline DescribeModelPackageResult& WithModelPackageStatusDetails(ModelPackageStatusDetails&& value) { SetModelPackageStatusDetails(std::move(value)); return *this;} /** *

Whether the model package is certified for listing on AWS Marketplace.

*/ inline bool GetCertifyForMarketplace() const{ return m_certifyForMarketplace; } /** *

Whether the model package is certified for listing on AWS Marketplace.

*/ inline void SetCertifyForMarketplace(bool value) { m_certifyForMarketplace = value; } /** *

Whether the model package is certified for listing on AWS Marketplace.

*/ inline DescribeModelPackageResult& WithCertifyForMarketplace(bool value) { SetCertifyForMarketplace(value); return *this;} private: Aws::String m_modelPackageName; Aws::String m_modelPackageArn; Aws::String m_modelPackageDescription; Aws::Utils::DateTime m_creationTime; InferenceSpecification m_inferenceSpecification; SourceAlgorithmSpecification m_sourceAlgorithmSpecification; ModelPackageValidationSpecification m_validationSpecification; ModelPackageStatus m_modelPackageStatus; ModelPackageStatusDetails m_modelPackageStatusDetails; bool m_certifyForMarketplace; }; } // namespace Model } // namespace SageMaker } // namespace Aws