/**
* Copyright Amazon.com, Inc. or its affiliates. All Rights Reserved.
* SPDX-License-Identifier: Apache-2.0.
*/
#pragma once
#include Specifies the infrastructure update policy for the compute environment. For
* more information about infrastructure updates, see Updating
* compute environments in the Batch User Guide.See
* Also:
AWS
* API Reference
Specifies whether jobs are automatically terminated when the computer
* environment infrastructure is updated. The default value is
* false
.
Specifies whether jobs are automatically terminated when the computer
* environment infrastructure is updated. The default value is
* false
.
Specifies whether jobs are automatically terminated when the computer
* environment infrastructure is updated. The default value is
* false
.
Specifies whether jobs are automatically terminated when the computer
* environment infrastructure is updated. The default value is
* false
.
Specifies the job timeout (in minutes) when the compute environment * infrastructure is updated. The default value is 30.
*/ inline long long GetJobExecutionTimeoutMinutes() const{ return m_jobExecutionTimeoutMinutes; } /** *Specifies the job timeout (in minutes) when the compute environment * infrastructure is updated. The default value is 30.
*/ inline bool JobExecutionTimeoutMinutesHasBeenSet() const { return m_jobExecutionTimeoutMinutesHasBeenSet; } /** *Specifies the job timeout (in minutes) when the compute environment * infrastructure is updated. The default value is 30.
*/ inline void SetJobExecutionTimeoutMinutes(long long value) { m_jobExecutionTimeoutMinutesHasBeenSet = true; m_jobExecutionTimeoutMinutes = value; } /** *Specifies the job timeout (in minutes) when the compute environment * infrastructure is updated. The default value is 30.
*/ inline UpdatePolicy& WithJobExecutionTimeoutMinutes(long long value) { SetJobExecutionTimeoutMinutes(value); return *this;} private: bool m_terminateJobsOnUpdate; bool m_terminateJobsOnUpdateHasBeenSet = false; long long m_jobExecutionTimeoutMinutes; bool m_jobExecutionTimeoutMinutesHasBeenSet = false; }; } // namespace Model } // namespace Batch } // namespace Aws