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

Provides summary information about an algorithm.

See Also:

* AWS * API Reference

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

The name of the algorithm that is described by the summary.

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

The name of the algorithm that is described by the summary.

*/ inline bool AlgorithmNameHasBeenSet() const { return m_algorithmNameHasBeenSet; } /** *

The name of the algorithm that is described by the summary.

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

The name of the algorithm that is described by the summary.

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

The name of the algorithm that is described by the summary.

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

The name of the algorithm that is described by the summary.

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

The name of the algorithm that is described by the summary.

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

The name of the algorithm that is described by the summary.

*/ inline AlgorithmSummary& 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 bool AlgorithmArnHasBeenSet() const { return m_algorithmArnHasBeenSet; } /** *

The Amazon Resource Name (ARN) of the algorithm.

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

The Amazon Resource Name (ARN) of the algorithm.

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

The Amazon Resource Name (ARN) of the algorithm.

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

The Amazon Resource Name (ARN) of the algorithm.

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

The Amazon Resource Name (ARN) of the algorithm.

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

The Amazon Resource Name (ARN) of the algorithm.

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

A brief description of the algorithm.

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

A brief description of the algorithm.

*/ inline bool AlgorithmDescriptionHasBeenSet() const { return m_algorithmDescriptionHasBeenSet; } /** *

A brief description of the algorithm.

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

A brief description of the algorithm.

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

A brief description of the algorithm.

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

A brief description of the algorithm.

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

A brief description of the algorithm.

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

A brief description of the algorithm.

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

A timestamp that shows when the algorithm was created.

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

A timestamp that shows when the algorithm was created.

*/ inline bool CreationTimeHasBeenSet() const { return m_creationTimeHasBeenSet; } /** *

A timestamp that shows when the algorithm was created.

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

A timestamp that shows when the algorithm was created.

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

A timestamp that shows when the algorithm was created.

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

A timestamp that shows when the algorithm was created.

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

The overall status of the algorithm.

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

The overall status of the algorithm.

*/ inline bool AlgorithmStatusHasBeenSet() const { return m_algorithmStatusHasBeenSet; } /** *

The overall status of the algorithm.

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

The overall status of the algorithm.

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

The overall status of the algorithm.

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

The overall status of the algorithm.

*/ inline AlgorithmSummary& WithAlgorithmStatus(AlgorithmStatus&& value) { SetAlgorithmStatus(std::move(value)); return *this;} private: Aws::String m_algorithmName; bool m_algorithmNameHasBeenSet = false; Aws::String m_algorithmArn; bool m_algorithmArnHasBeenSet = false; Aws::String m_algorithmDescription; bool m_algorithmDescriptionHasBeenSet = false; Aws::Utils::DateTime m_creationTime; bool m_creationTimeHasBeenSet = false; AlgorithmStatus m_algorithmStatus; bool m_algorithmStatusHasBeenSet = false; }; } // namespace Model } // namespace SageMaker } // namespace Aws