/** * 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 total resources consumed by your hyperparameter tuning job.

See * Also:

AWS * API Reference

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

The wall clock runtime in seconds used by your hyperparameter tuning job.

*/ inline int GetRuntimeInSeconds() const{ return m_runtimeInSeconds; } /** *

The wall clock runtime in seconds used by your hyperparameter tuning job.

*/ inline bool RuntimeInSecondsHasBeenSet() const { return m_runtimeInSecondsHasBeenSet; } /** *

The wall clock runtime in seconds used by your hyperparameter tuning job.

*/ inline void SetRuntimeInSeconds(int value) { m_runtimeInSecondsHasBeenSet = true; m_runtimeInSeconds = value; } /** *

The wall clock runtime in seconds used by your hyperparameter tuning job.

*/ inline HyperParameterTuningJobConsumedResources& WithRuntimeInSeconds(int value) { SetRuntimeInSeconds(value); return *this;} private: int m_runtimeInSeconds; bool m_runtimeInSecondsHasBeenSet = false; }; } // namespace Model } // namespace SageMaker } // namespace Aws