/** * 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 Lambda { namespace Model { class AWS_LAMBDA_API Concurrency { public: Concurrency(); Concurrency(Aws::Utils::Json::JsonView jsonValue); Concurrency& operator=(Aws::Utils::Json::JsonView jsonValue); Aws::Utils::Json::JsonValue Jsonize() const; /** *

The number of concurrent executions that are reserved for this function. For * more information, see Managing * Concurrency.

*/ inline int GetReservedConcurrentExecutions() const{ return m_reservedConcurrentExecutions; } /** *

The number of concurrent executions that are reserved for this function. For * more information, see Managing * Concurrency.

*/ inline bool ReservedConcurrentExecutionsHasBeenSet() const { return m_reservedConcurrentExecutionsHasBeenSet; } /** *

The number of concurrent executions that are reserved for this function. For * more information, see Managing * Concurrency.

*/ inline void SetReservedConcurrentExecutions(int value) { m_reservedConcurrentExecutionsHasBeenSet = true; m_reservedConcurrentExecutions = value; } /** *

The number of concurrent executions that are reserved for this function. For * more information, see Managing * Concurrency.

*/ inline Concurrency& WithReservedConcurrentExecutions(int value) { SetReservedConcurrentExecutions(value); return *this;} private: int m_reservedConcurrentExecutions; bool m_reservedConcurrentExecutionsHasBeenSet; }; } // namespace Model } // namespace Lambda } // namespace Aws