This repository has been archived on 2025-09-14. You can view files and clone it, but cannot push or open issues or pull requests.
Files
pxz-hos-client-cpp-module/support/aws-sdk-cpp-master/aws-cpp-sdk-sagemaker/include/aws/sagemaker/model/ProcessingStoppingCondition.h

68 lines
1.7 KiB
C++

/**
* Copyright Amazon.com, Inc. or its affiliates. All Rights Reserved.
* SPDX-License-Identifier: Apache-2.0.
*/
#pragma once
#include <aws/sagemaker/SageMaker_EXPORTS.h>
namespace Aws
{
namespace Utils
{
namespace Json
{
class JsonValue;
class JsonView;
} // namespace Json
} // namespace Utils
namespace SageMaker
{
namespace Model
{
/**
* <p>Specifies a time limit for how long the processing job is allowed to
* run.</p><p><h3>See Also:</h3> <a
* href="http://docs.aws.amazon.com/goto/WebAPI/sagemaker-2017-07-24/ProcessingStoppingCondition">AWS
* API Reference</a></p>
*/
class AWS_SAGEMAKER_API ProcessingStoppingCondition
{
public:
ProcessingStoppingCondition();
ProcessingStoppingCondition(Aws::Utils::Json::JsonView jsonValue);
ProcessingStoppingCondition& operator=(Aws::Utils::Json::JsonView jsonValue);
Aws::Utils::Json::JsonValue Jsonize() const;
/**
* <p>Specifies the maximum runtime in seconds.</p>
*/
inline int GetMaxRuntimeInSeconds() const{ return m_maxRuntimeInSeconds; }
/**
* <p>Specifies the maximum runtime in seconds.</p>
*/
inline bool MaxRuntimeInSecondsHasBeenSet() const { return m_maxRuntimeInSecondsHasBeenSet; }
/**
* <p>Specifies the maximum runtime in seconds.</p>
*/
inline void SetMaxRuntimeInSeconds(int value) { m_maxRuntimeInSecondsHasBeenSet = true; m_maxRuntimeInSeconds = value; }
/**
* <p>Specifies the maximum runtime in seconds.</p>
*/
inline ProcessingStoppingCondition& WithMaxRuntimeInSeconds(int value) { SetMaxRuntimeInSeconds(value); return *this;}
private:
int m_maxRuntimeInSeconds;
bool m_maxRuntimeInSecondsHasBeenSet;
};
} // namespace Model
} // namespace SageMaker
} // namespace Aws