/** * 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 DescribeAlgorithmResult { public: AWS_SAGEMAKER_API DescribeAlgorithmResult(); AWS_SAGEMAKER_API DescribeAlgorithmResult(const Aws::AmazonWebServiceResult& result); AWS_SAGEMAKER_API DescribeAlgorithmResult& operator=(const Aws::AmazonWebServiceResult& result); /** *

The name of the algorithm being described.

*/ inline const Aws::String& GetAlgorithmName() const{ return m_algorithmName; } /** *

The name of the algorithm being described.

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

The name of the algorithm being described.

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

The name of the algorithm being described.

*/ inline void SetAlgorithmName(const char* value) { m_algorithmName.assign(value); } /** *

The name of the algorithm being described.

*/ inline DescribeAlgorithmResult& WithAlgorithmName(const Aws::String& value) { SetAlgorithmName(value); return *this;} /** *

The name of the algorithm being described.

*/ inline DescribeAlgorithmResult& WithAlgorithmName(Aws::String&& value) { SetAlgorithmName(std::move(value)); return *this;} /** *

The name of the algorithm being described.

*/ inline DescribeAlgorithmResult& WithAlgorithmName(const char* value) { SetAlgorithmName(value); return *this;} /** *

The Amazon Resource Name (ARN) of the algorithm.

*/ inline const Aws::String& GetAlgorithmArn() const{ return m_algorithmArn; } /** *

The Amazon Resource Name (ARN) of the algorithm.

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

The Amazon Resource Name (ARN) of the algorithm.

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

The Amazon Resource Name (ARN) of the algorithm.

*/ inline void SetAlgorithmArn(const char* value) { m_algorithmArn.assign(value); } /** *

The Amazon Resource Name (ARN) of the algorithm.

*/ inline DescribeAlgorithmResult& WithAlgorithmArn(const Aws::String& value) { SetAlgorithmArn(value); return *this;} /** *

The Amazon Resource Name (ARN) of the algorithm.

*/ inline DescribeAlgorithmResult& WithAlgorithmArn(Aws::String&& value) { SetAlgorithmArn(std::move(value)); return *this;} /** *

The Amazon Resource Name (ARN) of the algorithm.

*/ inline DescribeAlgorithmResult& WithAlgorithmArn(const char* value) { SetAlgorithmArn(value); return *this;} /** *

A brief summary about the algorithm.

*/ inline const Aws::String& GetAlgorithmDescription() const{ return m_algorithmDescription; } /** *

A brief summary about the algorithm.

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

A brief summary about the algorithm.

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

A brief summary about the algorithm.

*/ inline void SetAlgorithmDescription(const char* value) { m_algorithmDescription.assign(value); } /** *

A brief summary about the algorithm.

*/ inline DescribeAlgorithmResult& WithAlgorithmDescription(const Aws::String& value) { SetAlgorithmDescription(value); return *this;} /** *

A brief summary about the algorithm.

*/ inline DescribeAlgorithmResult& WithAlgorithmDescription(Aws::String&& value) { SetAlgorithmDescription(std::move(value)); return *this;} /** *

A brief summary about the algorithm.

*/ inline DescribeAlgorithmResult& WithAlgorithmDescription(const char* value) { SetAlgorithmDescription(value); return *this;} /** *

A timestamp specifying when the algorithm was created.

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

A timestamp specifying when the algorithm was created.

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

A timestamp specifying when the algorithm was created.

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

A timestamp specifying when the algorithm was created.

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

A timestamp specifying when the algorithm was created.

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

Details about training jobs run by this algorithm.

*/ inline const TrainingSpecification& GetTrainingSpecification() const{ return m_trainingSpecification; } /** *

Details about training jobs run by this algorithm.

*/ inline void SetTrainingSpecification(const TrainingSpecification& value) { m_trainingSpecification = value; } /** *

Details about training jobs run by this algorithm.

*/ inline void SetTrainingSpecification(TrainingSpecification&& value) { m_trainingSpecification = std::move(value); } /** *

Details about training jobs run by this algorithm.

*/ inline DescribeAlgorithmResult& WithTrainingSpecification(const TrainingSpecification& value) { SetTrainingSpecification(value); return *this;} /** *

Details about training jobs run by this algorithm.

*/ inline DescribeAlgorithmResult& WithTrainingSpecification(TrainingSpecification&& value) { SetTrainingSpecification(std::move(value)); return *this;} /** *

Details about inference jobs that the algorithm runs.

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

Details about inference jobs that the algorithm runs.

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

Details about inference jobs that the algorithm runs.

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

Details about inference jobs that the algorithm runs.

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

Details about inference jobs that the algorithm runs.

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

Details about configurations for one or more training jobs that SageMaker * runs to test the algorithm.

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

Details about configurations for one or more training jobs that SageMaker * runs to test the algorithm.

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

Details about configurations for one or more training jobs that SageMaker * runs to test the algorithm.

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

Details about configurations for one or more training jobs that SageMaker * runs to test the algorithm.

*/ inline DescribeAlgorithmResult& WithValidationSpecification(const AlgorithmValidationSpecification& value) { SetValidationSpecification(value); return *this;} /** *

Details about configurations for one or more training jobs that SageMaker * runs to test the algorithm.

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

The current status of the algorithm.

*/ inline const AlgorithmStatus& GetAlgorithmStatus() const{ return m_algorithmStatus; } /** *

The current status of the algorithm.

*/ inline void SetAlgorithmStatus(const AlgorithmStatus& value) { m_algorithmStatus = value; } /** *

The current status of the algorithm.

*/ inline void SetAlgorithmStatus(AlgorithmStatus&& value) { m_algorithmStatus = std::move(value); } /** *

The current status of the algorithm.

*/ inline DescribeAlgorithmResult& WithAlgorithmStatus(const AlgorithmStatus& value) { SetAlgorithmStatus(value); return *this;} /** *

The current status of the algorithm.

*/ inline DescribeAlgorithmResult& WithAlgorithmStatus(AlgorithmStatus&& value) { SetAlgorithmStatus(std::move(value)); return *this;} /** *

Details about the current status of the algorithm.

*/ inline const AlgorithmStatusDetails& GetAlgorithmStatusDetails() const{ return m_algorithmStatusDetails; } /** *

Details about the current status of the algorithm.

*/ inline void SetAlgorithmStatusDetails(const AlgorithmStatusDetails& value) { m_algorithmStatusDetails = value; } /** *

Details about the current status of the algorithm.

*/ inline void SetAlgorithmStatusDetails(AlgorithmStatusDetails&& value) { m_algorithmStatusDetails = std::move(value); } /** *

Details about the current status of the algorithm.

*/ inline DescribeAlgorithmResult& WithAlgorithmStatusDetails(const AlgorithmStatusDetails& value) { SetAlgorithmStatusDetails(value); return *this;} /** *

Details about the current status of the algorithm.

*/ inline DescribeAlgorithmResult& WithAlgorithmStatusDetails(AlgorithmStatusDetails&& value) { SetAlgorithmStatusDetails(std::move(value)); return *this;} /** *

The product identifier of the algorithm.

*/ inline const Aws::String& GetProductId() const{ return m_productId; } /** *

The product identifier of the algorithm.

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

The product identifier of the algorithm.

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

The product identifier of the algorithm.

*/ inline void SetProductId(const char* value) { m_productId.assign(value); } /** *

The product identifier of the algorithm.

*/ inline DescribeAlgorithmResult& WithProductId(const Aws::String& value) { SetProductId(value); return *this;} /** *

The product identifier of the algorithm.

*/ inline DescribeAlgorithmResult& WithProductId(Aws::String&& value) { SetProductId(std::move(value)); return *this;} /** *

The product identifier of the algorithm.

*/ inline DescribeAlgorithmResult& WithProductId(const char* value) { SetProductId(value); return *this;} /** *

Whether the algorithm is certified to be listed in Amazon Web Services * Marketplace.

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

Whether the algorithm is certified to be listed in Amazon Web Services * Marketplace.

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

Whether the algorithm is certified to be listed in Amazon Web Services * Marketplace.

*/ inline DescribeAlgorithmResult& WithCertifyForMarketplace(bool value) { SetCertifyForMarketplace(value); return *this;} inline const Aws::String& GetRequestId() const{ return m_requestId; } inline void SetRequestId(const Aws::String& value) { m_requestId = value; } inline void SetRequestId(Aws::String&& value) { m_requestId = std::move(value); } inline void SetRequestId(const char* value) { m_requestId.assign(value); } inline DescribeAlgorithmResult& WithRequestId(const Aws::String& value) { SetRequestId(value); return *this;} inline DescribeAlgorithmResult& WithRequestId(Aws::String&& value) { SetRequestId(std::move(value)); return *this;} inline DescribeAlgorithmResult& WithRequestId(const char* value) { SetRequestId(value); return *this;} private: Aws::String m_algorithmName; Aws::String m_algorithmArn; Aws::String m_algorithmDescription; Aws::Utils::DateTime m_creationTime; TrainingSpecification m_trainingSpecification; InferenceSpecification m_inferenceSpecification; AlgorithmValidationSpecification m_validationSpecification; AlgorithmStatus m_algorithmStatus; AlgorithmStatusDetails m_algorithmStatusDetails; Aws::String m_productId; bool m_certifyForMarketplace; Aws::String m_requestId; }; } // namespace Model } // namespace SageMaker } // namespace Aws