/**
* Copyright Amazon.com, Inc. or its affiliates. All Rights Reserved.
* SPDX-License-Identifier: Apache-2.0.
*/
#pragma once
#include Limits that are related to concurrency and storage. All file and storage
* sizes are in bytes.See Also:
AWS
* API Reference
The amount of storage space that you can use for all deployment packages and * layer archives.
*/ inline long long GetTotalCodeSize() const{ return m_totalCodeSize; } /** *The amount of storage space that you can use for all deployment packages and * layer archives.
*/ inline bool TotalCodeSizeHasBeenSet() const { return m_totalCodeSizeHasBeenSet; } /** *The amount of storage space that you can use for all deployment packages and * layer archives.
*/ inline void SetTotalCodeSize(long long value) { m_totalCodeSizeHasBeenSet = true; m_totalCodeSize = value; } /** *The amount of storage space that you can use for all deployment packages and * layer archives.
*/ inline AccountLimit& WithTotalCodeSize(long long value) { SetTotalCodeSize(value); return *this;} /** *The maximum size of a function's deployment package and layers when they're * extracted.
*/ inline long long GetCodeSizeUnzipped() const{ return m_codeSizeUnzipped; } /** *The maximum size of a function's deployment package and layers when they're * extracted.
*/ inline bool CodeSizeUnzippedHasBeenSet() const { return m_codeSizeUnzippedHasBeenSet; } /** *The maximum size of a function's deployment package and layers when they're * extracted.
*/ inline void SetCodeSizeUnzipped(long long value) { m_codeSizeUnzippedHasBeenSet = true; m_codeSizeUnzipped = value; } /** *The maximum size of a function's deployment package and layers when they're * extracted.
*/ inline AccountLimit& WithCodeSizeUnzipped(long long value) { SetCodeSizeUnzipped(value); return *this;} /** *The maximum size of a deployment package when it's uploaded directly to * Lambda. Use Amazon S3 for larger files.
*/ inline long long GetCodeSizeZipped() const{ return m_codeSizeZipped; } /** *The maximum size of a deployment package when it's uploaded directly to * Lambda. Use Amazon S3 for larger files.
*/ inline bool CodeSizeZippedHasBeenSet() const { return m_codeSizeZippedHasBeenSet; } /** *The maximum size of a deployment package when it's uploaded directly to * Lambda. Use Amazon S3 for larger files.
*/ inline void SetCodeSizeZipped(long long value) { m_codeSizeZippedHasBeenSet = true; m_codeSizeZipped = value; } /** *The maximum size of a deployment package when it's uploaded directly to * Lambda. Use Amazon S3 for larger files.
*/ inline AccountLimit& WithCodeSizeZipped(long long value) { SetCodeSizeZipped(value); return *this;} /** *The maximum number of simultaneous function executions.
*/ inline int GetConcurrentExecutions() const{ return m_concurrentExecutions; } /** *The maximum number of simultaneous function executions.
*/ inline bool ConcurrentExecutionsHasBeenSet() const { return m_concurrentExecutionsHasBeenSet; } /** *The maximum number of simultaneous function executions.
*/ inline void SetConcurrentExecutions(int value) { m_concurrentExecutionsHasBeenSet = true; m_concurrentExecutions = value; } /** *The maximum number of simultaneous function executions.
*/ inline AccountLimit& WithConcurrentExecutions(int value) { SetConcurrentExecutions(value); return *this;} /** *The maximum number of simultaneous function executions, minus the capacity * that's reserved for individual functions with PutFunctionConcurrency.
*/ inline int GetUnreservedConcurrentExecutions() const{ return m_unreservedConcurrentExecutions; } /** *The maximum number of simultaneous function executions, minus the capacity * that's reserved for individual functions with PutFunctionConcurrency.
*/ inline bool UnreservedConcurrentExecutionsHasBeenSet() const { return m_unreservedConcurrentExecutionsHasBeenSet; } /** *The maximum number of simultaneous function executions, minus the capacity * that's reserved for individual functions with PutFunctionConcurrency.
*/ inline void SetUnreservedConcurrentExecutions(int value) { m_unreservedConcurrentExecutionsHasBeenSet = true; m_unreservedConcurrentExecutions = value; } /** *The maximum number of simultaneous function executions, minus the capacity * that's reserved for individual functions with PutFunctionConcurrency.
*/ inline AccountLimit& WithUnreservedConcurrentExecutions(int value) { SetUnreservedConcurrentExecutions(value); return *this;} private: long long m_totalCodeSize; bool m_totalCodeSizeHasBeenSet = false; long long m_codeSizeUnzipped; bool m_codeSizeUnzippedHasBeenSet = false; long long m_codeSizeZipped; bool m_codeSizeZippedHasBeenSet = false; int m_concurrentExecutions; bool m_concurrentExecutionsHasBeenSet = false; int m_unreservedConcurrentExecutions; bool m_unreservedConcurrentExecutionsHasBeenSet = false; }; } // namespace Model } // namespace Lambda } // namespace Aws