/** * 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 { /** *

The number of functions and amount of storage in use.

See * Also:

AWS * API Reference

*/ class AWS_LAMBDA_API AccountUsage { public: AccountUsage(); AccountUsage(Aws::Utils::Json::JsonView jsonValue); AccountUsage& operator=(Aws::Utils::Json::JsonView jsonValue); Aws::Utils::Json::JsonValue Jsonize() const; /** *

The amount of storage space, in bytes, that's being used by deployment * packages and layer archives.

*/ inline long long GetTotalCodeSize() const{ return m_totalCodeSize; } /** *

The amount of storage space, in bytes, that's being used by deployment * packages and layer archives.

*/ inline bool TotalCodeSizeHasBeenSet() const { return m_totalCodeSizeHasBeenSet; } /** *

The amount of storage space, in bytes, that's being used by deployment * packages and layer archives.

*/ inline void SetTotalCodeSize(long long value) { m_totalCodeSizeHasBeenSet = true; m_totalCodeSize = value; } /** *

The amount of storage space, in bytes, that's being used by deployment * packages and layer archives.

*/ inline AccountUsage& WithTotalCodeSize(long long value) { SetTotalCodeSize(value); return *this;} /** *

The number of Lambda functions.

*/ inline long long GetFunctionCount() const{ return m_functionCount; } /** *

The number of Lambda functions.

*/ inline bool FunctionCountHasBeenSet() const { return m_functionCountHasBeenSet; } /** *

The number of Lambda functions.

*/ inline void SetFunctionCount(long long value) { m_functionCountHasBeenSet = true; m_functionCount = value; } /** *

The number of Lambda functions.

*/ inline AccountUsage& WithFunctionCount(long long value) { SetFunctionCount(value); return *this;} private: long long m_totalCodeSize; bool m_totalCodeSizeHasBeenSet; long long m_functionCount; bool m_functionCountHasBeenSet; }; } // namespace Model } // namespace Lambda } // namespace Aws