AWS SDK for C++  1.9.19
AWS SDK for C++
AccountLimit.h
Go to the documentation of this file.
1 
6 #pragma once
8 
9 namespace Aws
10 {
11 namespace Utils
12 {
13 namespace Json
14 {
15  class JsonValue;
16  class JsonView;
17 } // namespace Json
18 } // namespace Utils
19 namespace Lambda
20 {
21 namespace Model
22 {
23 
31  {
32  public:
37 
38 
43  inline long long GetTotalCodeSize() const{ return m_totalCodeSize; }
44 
49  inline bool TotalCodeSizeHasBeenSet() const { return m_totalCodeSizeHasBeenSet; }
50 
55  inline void SetTotalCodeSize(long long value) { m_totalCodeSizeHasBeenSet = true; m_totalCodeSize = value; }
56 
61  inline AccountLimit& WithTotalCodeSize(long long value) { SetTotalCodeSize(value); return *this;}
62 
63 
68  inline long long GetCodeSizeUnzipped() const{ return m_codeSizeUnzipped; }
69 
74  inline bool CodeSizeUnzippedHasBeenSet() const { return m_codeSizeUnzippedHasBeenSet; }
75 
80  inline void SetCodeSizeUnzipped(long long value) { m_codeSizeUnzippedHasBeenSet = true; m_codeSizeUnzipped = value; }
81 
86  inline AccountLimit& WithCodeSizeUnzipped(long long value) { SetCodeSizeUnzipped(value); return *this;}
87 
88 
93  inline long long GetCodeSizeZipped() const{ return m_codeSizeZipped; }
94 
99  inline bool CodeSizeZippedHasBeenSet() const { return m_codeSizeZippedHasBeenSet; }
100 
105  inline void SetCodeSizeZipped(long long value) { m_codeSizeZippedHasBeenSet = true; m_codeSizeZipped = value; }
106 
111  inline AccountLimit& WithCodeSizeZipped(long long value) { SetCodeSizeZipped(value); return *this;}
112 
113 
117  inline int GetConcurrentExecutions() const{ return m_concurrentExecutions; }
118 
122  inline bool ConcurrentExecutionsHasBeenSet() const { return m_concurrentExecutionsHasBeenSet; }
123 
127  inline void SetConcurrentExecutions(int value) { m_concurrentExecutionsHasBeenSet = true; m_concurrentExecutions = value; }
128 
132  inline AccountLimit& WithConcurrentExecutions(int value) { SetConcurrentExecutions(value); return *this;}
133 
134 
139  inline int GetUnreservedConcurrentExecutions() const{ return m_unreservedConcurrentExecutions; }
140 
145  inline bool UnreservedConcurrentExecutionsHasBeenSet() const { return m_unreservedConcurrentExecutionsHasBeenSet; }
146 
151  inline void SetUnreservedConcurrentExecutions(int value) { m_unreservedConcurrentExecutionsHasBeenSet = true; m_unreservedConcurrentExecutions = value; }
152 
157  inline AccountLimit& WithUnreservedConcurrentExecutions(int value) { SetUnreservedConcurrentExecutions(value); return *this;}
158 
159  private:
160 
161  long long m_totalCodeSize;
162  bool m_totalCodeSizeHasBeenSet;
163 
164  long long m_codeSizeUnzipped;
165  bool m_codeSizeUnzippedHasBeenSet;
166 
167  long long m_codeSizeZipped;
168  bool m_codeSizeZippedHasBeenSet;
169 
170  int m_concurrentExecutions;
171  bool m_concurrentExecutionsHasBeenSet;
172 
173  int m_unreservedConcurrentExecutions;
174  bool m_unreservedConcurrentExecutionsHasBeenSet;
175  };
176 
177 } // namespace Model
178 } // namespace Lambda
179 } // namespace Aws
Aws::Lambda::Model::AccountLimit::SetCodeSizeZipped
void SetCodeSizeZipped(long long value)
Definition: AccountLimit.h:105
Aws::Lambda::Model::AccountLimit::GetUnreservedConcurrentExecutions
int GetUnreservedConcurrentExecutions() const
Definition: AccountLimit.h:139
Aws::Lambda::Model::AccountLimit::TotalCodeSizeHasBeenSet
bool TotalCodeSizeHasBeenSet() const
Definition: AccountLimit.h:49
Aws::Lambda::Model::AccountLimit::SetUnreservedConcurrentExecutions
void SetUnreservedConcurrentExecutions(int value)
Definition: AccountLimit.h:151
Aws::Lambda::Model::AccountLimit::UnreservedConcurrentExecutionsHasBeenSet
bool UnreservedConcurrentExecutionsHasBeenSet() const
Definition: AccountLimit.h:145
Aws::Lambda::Model::AccountLimit::WithTotalCodeSize
AccountLimit & WithTotalCodeSize(long long value)
Definition: AccountLimit.h:61
Aws::Lambda::Model::AccountLimit::GetCodeSizeZipped
long long GetCodeSizeZipped() const
Definition: AccountLimit.h:93
Aws::Lambda::Model::AccountLimit::operator=
AccountLimit & operator=(Aws::Utils::Json::JsonView jsonValue)
Aws::Lambda::Model::AccountLimit::AccountLimit
AccountLimit()
Aws::Lambda::Model::AccountLimit::CodeSizeZippedHasBeenSet
bool CodeSizeZippedHasBeenSet() const
Definition: AccountLimit.h:99
Aws::Lambda::Model::AccountLimit::ConcurrentExecutionsHasBeenSet
bool ConcurrentExecutionsHasBeenSet() const
Definition: AccountLimit.h:122
Aws::Lambda::Model::AccountLimit::WithCodeSizeUnzipped
AccountLimit & WithCodeSizeUnzipped(long long value)
Definition: AccountLimit.h:86
AWS_LAMBDA_API
#define AWS_LAMBDA_API
Definition: Lambda_EXPORTS.h:28
Aws::Lambda::Model::AccountLimit::Jsonize
Aws::Utils::Json::JsonValue Jsonize() const
Aws::Lambda::Model::AccountLimit
Definition: AccountLimit.h:31
Aws::Lambda::Model::AccountLimit::WithUnreservedConcurrentExecutions
AccountLimit & WithUnreservedConcurrentExecutions(int value)
Definition: AccountLimit.h:157
Aws::Lambda::Model::AccountLimit::WithCodeSizeZipped
AccountLimit & WithCodeSizeZipped(long long value)
Definition: AccountLimit.h:111
Aws::Utils::Json::JsonView
Definition: JsonSerializer.h:222
Aws::Lambda::Model::AccountLimit::CodeSizeUnzippedHasBeenSet
bool CodeSizeUnzippedHasBeenSet() const
Definition: AccountLimit.h:74
Aws::Utils::Json::JsonValue
Definition: JsonSerializer.h:30
Aws::Lambda::Model::AccountLimit::GetConcurrentExecutions
int GetConcurrentExecutions() const
Definition: AccountLimit.h:117
Aws::Lambda::Model::AccountLimit::AccountLimit
AccountLimit(Aws::Utils::Json::JsonView jsonValue)
Aws::Lambda::Model::AccountLimit::SetCodeSizeUnzipped
void SetCodeSizeUnzipped(long long value)
Definition: AccountLimit.h:80
Aws::Lambda::Model::AccountLimit::GetCodeSizeUnzipped
long long GetCodeSizeUnzipped() const
Definition: AccountLimit.h:68
Aws::CodePipeline::Model::ExecutorType::NOT_SET
@ NOT_SET
Aws
Definition: AccessManagementClient.h:15
Aws::Lambda::Model::AccountLimit::WithConcurrentExecutions
AccountLimit & WithConcurrentExecutions(int value)
Definition: AccountLimit.h:132
Aws::Lambda::Model::AccountLimit::GetTotalCodeSize
long long GetTotalCodeSize() const
Definition: AccountLimit.h:43
Lambda_EXPORTS.h
Aws::Lambda::Model::AccountLimit::SetConcurrentExecutions
void SetConcurrentExecutions(int value)
Definition: AccountLimit.h:127
Aws::Lambda::Model::AccountLimit::SetTotalCodeSize
void SetTotalCodeSize(long long value)
Definition: AccountLimit.h:55