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

Specifies the number of training jobs that this hyperparameter tuning job * launched, categorized by the status of their objective metric. The objective * metric status shows whether the final objective metric for the training job has * been evaluated by the tuning job and used in the hyperparameter tuning * process.

See Also:

AWS * API Reference

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

The number of training jobs whose final objective metric was evaluated by the * hyperparameter tuning job and used in the hyperparameter tuning process.

*/ inline int GetSucceeded() const{ return m_succeeded; } /** *

The number of training jobs whose final objective metric was evaluated by the * hyperparameter tuning job and used in the hyperparameter tuning process.

*/ inline bool SucceededHasBeenSet() const { return m_succeededHasBeenSet; } /** *

The number of training jobs whose final objective metric was evaluated by the * hyperparameter tuning job and used in the hyperparameter tuning process.

*/ inline void SetSucceeded(int value) { m_succeededHasBeenSet = true; m_succeeded = value; } /** *

The number of training jobs whose final objective metric was evaluated by the * hyperparameter tuning job and used in the hyperparameter tuning process.

*/ inline ObjectiveStatusCounters& WithSucceeded(int value) { SetSucceeded(value); return *this;} /** *

The number of training jobs that are in progress and pending evaluation of * their final objective metric.

*/ inline int GetPending() const{ return m_pending; } /** *

The number of training jobs that are in progress and pending evaluation of * their final objective metric.

*/ inline bool PendingHasBeenSet() const { return m_pendingHasBeenSet; } /** *

The number of training jobs that are in progress and pending evaluation of * their final objective metric.

*/ inline void SetPending(int value) { m_pendingHasBeenSet = true; m_pending = value; } /** *

The number of training jobs that are in progress and pending evaluation of * their final objective metric.

*/ inline ObjectiveStatusCounters& WithPending(int value) { SetPending(value); return *this;} /** *

The number of training jobs whose final objective metric was not evaluated * and used in the hyperparameter tuning process. This typically occurs when the * training job failed or did not emit an objective metric.

*/ inline int GetFailed() const{ return m_failed; } /** *

The number of training jobs whose final objective metric was not evaluated * and used in the hyperparameter tuning process. This typically occurs when the * training job failed or did not emit an objective metric.

*/ inline bool FailedHasBeenSet() const { return m_failedHasBeenSet; } /** *

The number of training jobs whose final objective metric was not evaluated * and used in the hyperparameter tuning process. This typically occurs when the * training job failed or did not emit an objective metric.

*/ inline void SetFailed(int value) { m_failedHasBeenSet = true; m_failed = value; } /** *

The number of training jobs whose final objective metric was not evaluated * and used in the hyperparameter tuning process. This typically occurs when the * training job failed or did not emit an objective metric.

*/ inline ObjectiveStatusCounters& WithFailed(int value) { SetFailed(value); return *this;} private: int m_succeeded; bool m_succeededHasBeenSet = false; int m_pending; bool m_pendingHasBeenSet = false; int m_failed; bool m_failedHasBeenSet = false; }; } // namespace Model } // namespace SageMaker } // namespace Aws