/** * 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 { /** *

The job completion criteria.

See Also:

AWS * API Reference

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

The value of the objective metric.

*/ inline double GetTargetObjectiveMetricValue() const{ return m_targetObjectiveMetricValue; } /** *

The value of the objective metric.

*/ inline bool TargetObjectiveMetricValueHasBeenSet() const { return m_targetObjectiveMetricValueHasBeenSet; } /** *

The value of the objective metric.

*/ inline void SetTargetObjectiveMetricValue(double value) { m_targetObjectiveMetricValueHasBeenSet = true; m_targetObjectiveMetricValue = value; } /** *

The value of the objective metric.

*/ inline TuningJobCompletionCriteria& WithTargetObjectiveMetricValue(double value) { SetTargetObjectiveMetricValue(value); return *this;} private: double m_targetObjectiveMetricValue; bool m_targetObjectiveMetricValueHasBeenSet; }; } // namespace Model } // namespace SageMaker } // namespace Aws