AWS SDK for C++

AWS SDK for C++ Version 1.11.719

Loading...
Searching...
No Matches
AccountLimit.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 AccountLimit() = default;
28 AWS_LAMBDA_API AccountLimit(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 AccountLimit& WithTotalCodeSize(long long value) {
44 SetTotalCodeSize(value);
45 return *this;
46 }
48
50
54 inline long long GetCodeSizeUnzipped() const { return m_codeSizeUnzipped; }
55 inline bool CodeSizeUnzippedHasBeenSet() const { return m_codeSizeUnzippedHasBeenSet; }
56 inline void SetCodeSizeUnzipped(long long value) {
57 m_codeSizeUnzippedHasBeenSet = true;
58 m_codeSizeUnzipped = value;
59 }
60 inline AccountLimit& WithCodeSizeUnzipped(long long value) {
62 return *this;
63 }
65
67
71 inline long long GetCodeSizeZipped() const { return m_codeSizeZipped; }
72 inline bool CodeSizeZippedHasBeenSet() const { return m_codeSizeZippedHasBeenSet; }
73 inline void SetCodeSizeZipped(long long value) {
74 m_codeSizeZippedHasBeenSet = true;
75 m_codeSizeZipped = value;
76 }
77 inline AccountLimit& WithCodeSizeZipped(long long value) {
78 SetCodeSizeZipped(value);
79 return *this;
80 }
82
84
87 inline int GetConcurrentExecutions() const { return m_concurrentExecutions; }
88 inline bool ConcurrentExecutionsHasBeenSet() const { return m_concurrentExecutionsHasBeenSet; }
89 inline void SetConcurrentExecutions(int value) {
90 m_concurrentExecutionsHasBeenSet = true;
91 m_concurrentExecutions = value;
92 }
95 return *this;
96 }
98
100
104 inline int GetUnreservedConcurrentExecutions() const { return m_unreservedConcurrentExecutions; }
105 inline bool UnreservedConcurrentExecutionsHasBeenSet() const { return m_unreservedConcurrentExecutionsHasBeenSet; }
106 inline void SetUnreservedConcurrentExecutions(int value) {
107 m_unreservedConcurrentExecutionsHasBeenSet = true;
108 m_unreservedConcurrentExecutions = value;
109 }
112 return *this;
113 }
115 private:
116 long long m_totalCodeSize{0};
117
118 long long m_codeSizeUnzipped{0};
119
120 long long m_codeSizeZipped{0};
121
122 int m_concurrentExecutions{0};
123
124 int m_unreservedConcurrentExecutions{0};
125 bool m_totalCodeSizeHasBeenSet = false;
126 bool m_codeSizeUnzippedHasBeenSet = false;
127 bool m_codeSizeZippedHasBeenSet = false;
128 bool m_concurrentExecutionsHasBeenSet = false;
129 bool m_unreservedConcurrentExecutionsHasBeenSet = false;
130};
131
132} // namespace Model
133} // namespace Lambda
134} // namespace Aws
void SetConcurrentExecutions(int value)
AccountLimit & WithConcurrentExecutions(int value)
void SetTotalCodeSize(long long value)
void SetUnreservedConcurrentExecutions(int value)
long long GetCodeSizeUnzipped() const
AccountLimit & WithUnreservedConcurrentExecutions(int value)
long long GetCodeSizeZipped() const
AWS_LAMBDA_API AccountLimit()=default
AccountLimit & WithTotalCodeSize(long long value)
AWS_LAMBDA_API AccountLimit(Aws::Utils::Json::JsonView jsonValue)
AccountLimit & WithCodeSizeUnzipped(long long value)
bool ConcurrentExecutionsHasBeenSet() const
AWS_LAMBDA_API Aws::Utils::Json::JsonValue Jsonize() const
AWS_LAMBDA_API AccountLimit & operator=(Aws::Utils::Json::JsonView jsonValue)
void SetCodeSizeUnzipped(long long value)
long long GetTotalCodeSize() const
AccountLimit & WithCodeSizeZipped(long long value)
void SetCodeSizeZipped(long long value)
bool UnreservedConcurrentExecutionsHasBeenSet() const
Aws::Utils::Json::JsonValue JsonValue