/** * Copyright Amazon.com, Inc. or its affiliates. All Rights Reserved. * SPDX-License-Identifier: Apache-2.0. */ #pragma once #include #include #include namespace Aws { template class AmazonWebServiceResult; namespace Utils { namespace Json { class JsonValue; } // namespace Json } // namespace Utils namespace Lambda { namespace Model { class PutFunctionConcurrencyResult { public: AWS_LAMBDA_API PutFunctionConcurrencyResult(); AWS_LAMBDA_API PutFunctionConcurrencyResult(const Aws::AmazonWebServiceResult& result); AWS_LAMBDA_API PutFunctionConcurrencyResult& operator=(const Aws::AmazonWebServiceResult& result); /** *

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

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

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

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

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

*/ inline PutFunctionConcurrencyResult& WithReservedConcurrentExecutions(int value) { SetReservedConcurrentExecutions(value); return *this;} inline const Aws::String& GetRequestId() const{ return m_requestId; } inline void SetRequestId(const Aws::String& value) { m_requestId = value; } inline void SetRequestId(Aws::String&& value) { m_requestId = std::move(value); } inline void SetRequestId(const char* value) { m_requestId.assign(value); } inline PutFunctionConcurrencyResult& WithRequestId(const Aws::String& value) { SetRequestId(value); return *this;} inline PutFunctionConcurrencyResult& WithRequestId(Aws::String&& value) { SetRequestId(std::move(value)); return *this;} inline PutFunctionConcurrencyResult& WithRequestId(const char* value) { SetRequestId(value); return *this;} private: int m_reservedConcurrentExecutions; Aws::String m_requestId; }; } // namespace Model } // namespace Lambda } // namespace Aws