/**
* Copyright Amazon.com, Inc. or its affiliates. All Rights Reserved.
* SPDX-License-Identifier: Apache-2.0.
*/
#pragma once
#include An execution property of a job.See Also:
AWS
* API Reference
The maximum number of concurrent runs allowed for the job. The default is 1. * An error is returned when this threshold is reached. The maximum value you can * specify is controlled by a service limit.
*/ inline int GetMaxConcurrentRuns() const{ return m_maxConcurrentRuns; } /** *The maximum number of concurrent runs allowed for the job. The default is 1. * An error is returned when this threshold is reached. The maximum value you can * specify is controlled by a service limit.
*/ inline bool MaxConcurrentRunsHasBeenSet() const { return m_maxConcurrentRunsHasBeenSet; } /** *The maximum number of concurrent runs allowed for the job. The default is 1. * An error is returned when this threshold is reached. The maximum value you can * specify is controlled by a service limit.
*/ inline void SetMaxConcurrentRuns(int value) { m_maxConcurrentRunsHasBeenSet = true; m_maxConcurrentRuns = value; } /** *The maximum number of concurrent runs allowed for the job. The default is 1. * An error is returned when this threshold is reached. The maximum value you can * specify is controlled by a service limit.
*/ inline ExecutionProperty& WithMaxConcurrentRuns(int value) { SetMaxConcurrentRuns(value); return *this;} private: int m_maxConcurrentRuns; bool m_maxConcurrentRunsHasBeenSet = false; }; } // namespace Model } // namespace Glue } // namespace Aws