/**
* Copyright Amazon.com, Inc. or its affiliates. All Rights Reserved.
* SPDX-License-Identifier: Apache-2.0.
*/
#pragma once
#include Configures conditions under which the processing job should be stopped, such
* as how long the processing job has been running. After the condition is met, the
* processing job is stopped.See Also:
AWS
* API Reference
Specifies the maximum runtime in seconds.
*/ inline int GetMaxRuntimeInSeconds() const{ return m_maxRuntimeInSeconds; } /** *Specifies the maximum runtime in seconds.
*/ inline bool MaxRuntimeInSecondsHasBeenSet() const { return m_maxRuntimeInSecondsHasBeenSet; } /** *Specifies the maximum runtime in seconds.
*/ inline void SetMaxRuntimeInSeconds(int value) { m_maxRuntimeInSecondsHasBeenSet = true; m_maxRuntimeInSeconds = value; } /** *Specifies the maximum runtime in seconds.
*/ inline ProcessingStoppingCondition& WithMaxRuntimeInSeconds(int value) { SetMaxRuntimeInSeconds(value); return *this;} private: int m_maxRuntimeInSeconds; bool m_maxRuntimeInSecondsHasBeenSet = false; }; } // namespace Model } // namespace SageMaker } // namespace Aws