AWS SDK for C++

AWS SDK for C++ Version 1.11.719

Loading...
Searching...
No Matches
AccountUsage.h
1
6#pragma once
7#include <aws/lambda/Lambda_EXPORTS.h>
8
9namespace Aws {
10namespace Utils {
11namespace Json {
12class JsonValue;
13class JsonView;
14} // namespace Json
15} // namespace Utils
16namespace Lambda {
17namespace Model {
18
26 public:
27 AWS_LAMBDA_API AccountUsage() = default;
28 AWS_LAMBDA_API AccountUsage(Aws::Utils::Json::JsonView jsonValue);
30 AWS_LAMBDA_API Aws::Utils::Json::JsonValue Jsonize() const;
31
33
37 inline long long GetTotalCodeSize() const { return m_totalCodeSize; }
38 inline bool TotalCodeSizeHasBeenSet() const { return m_totalCodeSizeHasBeenSet; }
39 inline void SetTotalCodeSize(long long value) {
40 m_totalCodeSizeHasBeenSet = true;
41 m_totalCodeSize = value;
42 }
43 inline AccountUsage& WithTotalCodeSize(long long value) {
44 SetTotalCodeSize(value);
45 return *this;
46 }
48
50
53 inline long long GetFunctionCount() const { return m_functionCount; }
54 inline bool FunctionCountHasBeenSet() const { return m_functionCountHasBeenSet; }
55 inline void SetFunctionCount(long long value) {
56 m_functionCountHasBeenSet = true;
57 m_functionCount = value;
58 }
59 inline AccountUsage& WithFunctionCount(long long value) {
60 SetFunctionCount(value);
61 return *this;
62 }
64 private:
65 long long m_totalCodeSize{0};
66
67 long long m_functionCount{0};
68 bool m_totalCodeSizeHasBeenSet = false;
69 bool m_functionCountHasBeenSet = false;
70};
71
72} // namespace Model
73} // namespace Lambda
74} // namespace Aws
void SetFunctionCount(long long value)
long long GetFunctionCount() const
AccountUsage & WithFunctionCount(long long value)
AWS_LAMBDA_API Aws::Utils::Json::JsonValue Jsonize() const
AWS_LAMBDA_API AccountUsage(Aws::Utils::Json::JsonView jsonValue)
AWS_LAMBDA_API AccountUsage & operator=(Aws::Utils::Json::JsonView jsonValue)
void SetTotalCodeSize(long long value)
AWS_LAMBDA_API AccountUsage()=default
AccountUsage & WithTotalCodeSize(long long value)
long long GetTotalCodeSize() const
Aws::Utils::Json::JsonValue JsonValue