/** * 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 * algorithm.

See Also:

AWS * API Reference

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

The status of algorithm validation.

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

The status of algorithm validation.

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

The status of algorithm validation.

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

The status of algorithm validation.

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

The status of algorithm validation.

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

The status of algorithm validation.

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

The status of algorithm validation.

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

The status of algorithm validation.

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

The status of the scan of the algorithm's Docker image container.

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

The status of the scan of the algorithm's Docker image container.

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

The status of the scan of the algorithm's Docker image container.

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

The status of the scan of the algorithm's Docker image container.

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

The status of the scan of the algorithm's Docker image container.

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

The status of the scan of the algorithm's Docker image container.

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

The status of the scan of the algorithm's Docker image container.

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

The status of the scan of the algorithm's Docker image container.

*/ inline AlgorithmStatusDetails& AddImageScanStatuses(AlgorithmStatusItem&& 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