/** * Copyright Amazon.com, Inc. or its affiliates. All Rights Reserved. * SPDX-License-Identifier: Apache-2.0. */ #pragma once #include #include #include #include namespace Aws { namespace Utils { namespace Json { class JsonValue; class JsonView; } // namespace Json } // namespace Utils namespace SageMaker { namespace Model { /** *

Specifies the validation and image scan statuses of the model * package.

See Also:

AWS * API Reference

*/ class ModelPackageStatusDetails { public: AWS_SAGEMAKER_API ModelPackageStatusDetails(); AWS_SAGEMAKER_API ModelPackageStatusDetails(Aws::Utils::Json::JsonView jsonValue); AWS_SAGEMAKER_API ModelPackageStatusDetails& operator=(Aws::Utils::Json::JsonView jsonValue); AWS_SAGEMAKER_API Aws::Utils::Json::JsonValue Jsonize() const; /** *

The validation status of the model package.

*/ inline const Aws::Vector& GetValidationStatuses() const{ return m_validationStatuses; } /** *

The validation status of the model package.

*/ inline bool ValidationStatusesHasBeenSet() const { return m_validationStatusesHasBeenSet; } /** *

The validation status of the model package.

*/ inline void SetValidationStatuses(const Aws::Vector& value) { m_validationStatusesHasBeenSet = true; m_validationStatuses = value; } /** *

The validation status of the model package.

*/ inline void SetValidationStatuses(Aws::Vector&& value) { m_validationStatusesHasBeenSet = true; m_validationStatuses = std::move(value); } /** *

The validation status of the model package.

*/ inline ModelPackageStatusDetails& WithValidationStatuses(const Aws::Vector& value) { SetValidationStatuses(value); return *this;} /** *

The validation status of the model package.

*/ inline ModelPackageStatusDetails& WithValidationStatuses(Aws::Vector&& value) { SetValidationStatuses(std::move(value)); return *this;} /** *

The validation status of the model package.

*/ inline ModelPackageStatusDetails& AddValidationStatuses(const ModelPackageStatusItem& value) { m_validationStatusesHasBeenSet = true; m_validationStatuses.push_back(value); return *this; } /** *

The validation status of the model package.

*/ inline ModelPackageStatusDetails& AddValidationStatuses(ModelPackageStatusItem&& value) { m_validationStatusesHasBeenSet = true; m_validationStatuses.push_back(std::move(value)); return *this; } /** *

The status of the scan of the Docker image container for the model * package.

*/ inline const Aws::Vector& GetImageScanStatuses() const{ return m_imageScanStatuses; } /** *

The status of the scan of the Docker image container for the model * package.

*/ inline bool ImageScanStatusesHasBeenSet() const { return m_imageScanStatusesHasBeenSet; } /** *

The status of the scan of the Docker image container for the model * package.

*/ inline void SetImageScanStatuses(const Aws::Vector& value) { m_imageScanStatusesHasBeenSet = true; m_imageScanStatuses = value; } /** *

The status of the scan of the Docker image container for the model * package.

*/ inline void SetImageScanStatuses(Aws::Vector&& value) { m_imageScanStatusesHasBeenSet = true; m_imageScanStatuses = std::move(value); } /** *

The status of the scan of the Docker image container for the model * package.

*/ inline ModelPackageStatusDetails& WithImageScanStatuses(const Aws::Vector& value) { SetImageScanStatuses(value); return *this;} /** *

The status of the scan of the Docker image container for the model * package.

*/ inline ModelPackageStatusDetails& WithImageScanStatuses(Aws::Vector&& value) { SetImageScanStatuses(std::move(value)); return *this;} /** *

The status of the scan of the Docker image container for the model * package.

*/ inline ModelPackageStatusDetails& AddImageScanStatuses(const ModelPackageStatusItem& value) { m_imageScanStatusesHasBeenSet = true; m_imageScanStatuses.push_back(value); return *this; } /** *

The status of the scan of the Docker image container for the model * package.

*/ inline ModelPackageStatusDetails& AddImageScanStatuses(ModelPackageStatusItem&& value) { m_imageScanStatusesHasBeenSet = true; m_imageScanStatuses.push_back(std::move(value)); return *this; } private: Aws::Vector m_validationStatuses; bool m_validationStatusesHasBeenSet = false; Aws::Vector m_imageScanStatuses; bool m_imageScanStatusesHasBeenSet = false; }; } // namespace Model } // namespace SageMaker } // namespace Aws