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-lambda/include/aws/lambda/model/Concurrency.h

74 lines
2.2 KiB
C++

/**
* Copyright Amazon.com, Inc. or its affiliates. All Rights Reserved.
* SPDX-License-Identifier: Apache-2.0.
*/
#pragma once
#include <aws/lambda/Lambda_EXPORTS.h>
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;
/**
* <p>The number of concurrent executions that are reserved for this function. For
* more information, see <a
* href="https://docs.aws.amazon.com/lambda/latest/dg/concurrent-executions.html">Managing
* Concurrency</a>.</p>
*/
inline int GetReservedConcurrentExecutions() const{ return m_reservedConcurrentExecutions; }
/**
* <p>The number of concurrent executions that are reserved for this function. For
* more information, see <a
* href="https://docs.aws.amazon.com/lambda/latest/dg/concurrent-executions.html">Managing
* Concurrency</a>.</p>
*/
inline bool ReservedConcurrentExecutionsHasBeenSet() const { return m_reservedConcurrentExecutionsHasBeenSet; }
/**
* <p>The number of concurrent executions that are reserved for this function. For
* more information, see <a
* href="https://docs.aws.amazon.com/lambda/latest/dg/concurrent-executions.html">Managing
* Concurrency</a>.</p>
*/
inline void SetReservedConcurrentExecutions(int value) { m_reservedConcurrentExecutionsHasBeenSet = true; m_reservedConcurrentExecutions = value; }
/**
* <p>The number of concurrent executions that are reserved for this function. For
* more information, see <a
* href="https://docs.aws.amazon.com/lambda/latest/dg/concurrent-executions.html">Managing
* Concurrency</a>.</p>
*/
inline Concurrency& WithReservedConcurrentExecutions(int value) { SetReservedConcurrentExecutions(value); return *this;}
private:
int m_reservedConcurrentExecutions;
bool m_reservedConcurrentExecutionsHasBeenSet;
};
} // namespace Model
} // namespace Lambda
} // namespace Aws