AWS SDK for C++  1.9.20
AWS SDK for C++
ProvisionedConcurrencyConfigListItem.h
Go to the documentation of this file.
1 
6 #pragma once
10 #include <utility>
11 
12 namespace Aws
13 {
14 namespace Utils
15 {
16 namespace Json
17 {
18  class JsonValue;
19  class JsonView;
20 } // namespace Json
21 } // namespace Utils
22 namespace Lambda
23 {
24 namespace Model
25 {
26 
34  {
35  public:
40 
41 
45  inline const Aws::String& GetFunctionArn() const{ return m_functionArn; }
46 
50  inline bool FunctionArnHasBeenSet() const { return m_functionArnHasBeenSet; }
51 
55  inline void SetFunctionArn(const Aws::String& value) { m_functionArnHasBeenSet = true; m_functionArn = value; }
56 
60  inline void SetFunctionArn(Aws::String&& value) { m_functionArnHasBeenSet = true; m_functionArn = std::move(value); }
61 
65  inline void SetFunctionArn(const char* value) { m_functionArnHasBeenSet = true; m_functionArn.assign(value); }
66 
70  inline ProvisionedConcurrencyConfigListItem& WithFunctionArn(const Aws::String& value) { SetFunctionArn(value); return *this;}
71 
75  inline ProvisionedConcurrencyConfigListItem& WithFunctionArn(Aws::String&& value) { SetFunctionArn(std::move(value)); return *this;}
76 
80  inline ProvisionedConcurrencyConfigListItem& WithFunctionArn(const char* value) { SetFunctionArn(value); return *this;}
81 
82 
86  inline int GetRequestedProvisionedConcurrentExecutions() const{ return m_requestedProvisionedConcurrentExecutions; }
87 
91  inline bool RequestedProvisionedConcurrentExecutionsHasBeenSet() const { return m_requestedProvisionedConcurrentExecutionsHasBeenSet; }
92 
96  inline void SetRequestedProvisionedConcurrentExecutions(int value) { m_requestedProvisionedConcurrentExecutionsHasBeenSet = true; m_requestedProvisionedConcurrentExecutions = value; }
97 
101  inline ProvisionedConcurrencyConfigListItem& WithRequestedProvisionedConcurrentExecutions(int value) { SetRequestedProvisionedConcurrentExecutions(value); return *this;}
102 
103 
107  inline int GetAvailableProvisionedConcurrentExecutions() const{ return m_availableProvisionedConcurrentExecutions; }
108 
112  inline bool AvailableProvisionedConcurrentExecutionsHasBeenSet() const { return m_availableProvisionedConcurrentExecutionsHasBeenSet; }
113 
117  inline void SetAvailableProvisionedConcurrentExecutions(int value) { m_availableProvisionedConcurrentExecutionsHasBeenSet = true; m_availableProvisionedConcurrentExecutions = value; }
118 
122  inline ProvisionedConcurrencyConfigListItem& WithAvailableProvisionedConcurrentExecutions(int value) { SetAvailableProvisionedConcurrentExecutions(value); return *this;}
123 
124 
128  inline int GetAllocatedProvisionedConcurrentExecutions() const{ return m_allocatedProvisionedConcurrentExecutions; }
129 
133  inline bool AllocatedProvisionedConcurrentExecutionsHasBeenSet() const { return m_allocatedProvisionedConcurrentExecutionsHasBeenSet; }
134 
138  inline void SetAllocatedProvisionedConcurrentExecutions(int value) { m_allocatedProvisionedConcurrentExecutionsHasBeenSet = true; m_allocatedProvisionedConcurrentExecutions = value; }
139 
143  inline ProvisionedConcurrencyConfigListItem& WithAllocatedProvisionedConcurrentExecutions(int value) { SetAllocatedProvisionedConcurrentExecutions(value); return *this;}
144 
145 
149  inline const ProvisionedConcurrencyStatusEnum& GetStatus() const{ return m_status; }
150 
154  inline bool StatusHasBeenSet() const { return m_statusHasBeenSet; }
155 
159  inline void SetStatus(const ProvisionedConcurrencyStatusEnum& value) { m_statusHasBeenSet = true; m_status = value; }
160 
164  inline void SetStatus(ProvisionedConcurrencyStatusEnum&& value) { m_statusHasBeenSet = true; m_status = std::move(value); }
165 
169  inline ProvisionedConcurrencyConfigListItem& WithStatus(const ProvisionedConcurrencyStatusEnum& value) { SetStatus(value); return *this;}
170 
174  inline ProvisionedConcurrencyConfigListItem& WithStatus(ProvisionedConcurrencyStatusEnum&& value) { SetStatus(std::move(value)); return *this;}
175 
176 
181  inline const Aws::String& GetStatusReason() const{ return m_statusReason; }
182 
187  inline bool StatusReasonHasBeenSet() const { return m_statusReasonHasBeenSet; }
188 
193  inline void SetStatusReason(const Aws::String& value) { m_statusReasonHasBeenSet = true; m_statusReason = value; }
194 
199  inline void SetStatusReason(Aws::String&& value) { m_statusReasonHasBeenSet = true; m_statusReason = std::move(value); }
200 
205  inline void SetStatusReason(const char* value) { m_statusReasonHasBeenSet = true; m_statusReason.assign(value); }
206 
211  inline ProvisionedConcurrencyConfigListItem& WithStatusReason(const Aws::String& value) { SetStatusReason(value); return *this;}
212 
217  inline ProvisionedConcurrencyConfigListItem& WithStatusReason(Aws::String&& value) { SetStatusReason(std::move(value)); return *this;}
218 
223  inline ProvisionedConcurrencyConfigListItem& WithStatusReason(const char* value) { SetStatusReason(value); return *this;}
224 
225 
231  inline const Aws::String& GetLastModified() const{ return m_lastModified; }
232 
238  inline bool LastModifiedHasBeenSet() const { return m_lastModifiedHasBeenSet; }
239 
245  inline void SetLastModified(const Aws::String& value) { m_lastModifiedHasBeenSet = true; m_lastModified = value; }
246 
252  inline void SetLastModified(Aws::String&& value) { m_lastModifiedHasBeenSet = true; m_lastModified = std::move(value); }
253 
259  inline void SetLastModified(const char* value) { m_lastModifiedHasBeenSet = true; m_lastModified.assign(value); }
260 
266  inline ProvisionedConcurrencyConfigListItem& WithLastModified(const Aws::String& value) { SetLastModified(value); return *this;}
267 
273  inline ProvisionedConcurrencyConfigListItem& WithLastModified(Aws::String&& value) { SetLastModified(std::move(value)); return *this;}
274 
280  inline ProvisionedConcurrencyConfigListItem& WithLastModified(const char* value) { SetLastModified(value); return *this;}
281 
282  private:
283 
284  Aws::String m_functionArn;
285  bool m_functionArnHasBeenSet;
286 
287  int m_requestedProvisionedConcurrentExecutions;
288  bool m_requestedProvisionedConcurrentExecutionsHasBeenSet;
289 
290  int m_availableProvisionedConcurrentExecutions;
291  bool m_availableProvisionedConcurrentExecutionsHasBeenSet;
292 
293  int m_allocatedProvisionedConcurrentExecutions;
294  bool m_allocatedProvisionedConcurrentExecutionsHasBeenSet;
295 
297  bool m_statusHasBeenSet;
298 
299  Aws::String m_statusReason;
300  bool m_statusReasonHasBeenSet;
301 
302  Aws::String m_lastModified;
303  bool m_lastModifiedHasBeenSet;
304  };
305 
306 } // namespace Model
307 } // namespace Lambda
308 } // namespace Aws
Aws::Lambda::Model::ProvisionedConcurrencyConfigListItem::WithFunctionArn
ProvisionedConcurrencyConfigListItem & WithFunctionArn(Aws::String &&value)
Definition: ProvisionedConcurrencyConfigListItem.h:75
Aws::Lambda::Model::ProvisionedConcurrencyConfigListItem::SetLastModified
void SetLastModified(const Aws::String &value)
Definition: ProvisionedConcurrencyConfigListItem.h:245
Aws::Lambda::Model::ProvisionedConcurrencyConfigListItem::SetStatusReason
void SetStatusReason(const Aws::String &value)
Definition: ProvisionedConcurrencyConfigListItem.h:193
Aws::Lambda::Model::ProvisionedConcurrencyConfigListItem::SetLastModified
void SetLastModified(Aws::String &&value)
Definition: ProvisionedConcurrencyConfigListItem.h:252
Aws::Lambda::Model::ProvisionedConcurrencyConfigListItem::SetStatusReason
void SetStatusReason(Aws::String &&value)
Definition: ProvisionedConcurrencyConfigListItem.h:199
Aws::Lambda::Model::ProvisionedConcurrencyConfigListItem::GetAllocatedProvisionedConcurrentExecutions
int GetAllocatedProvisionedConcurrentExecutions() const
Definition: ProvisionedConcurrencyConfigListItem.h:128
Aws::Lambda::Model::ProvisionedConcurrencyConfigListItem::SetFunctionArn
void SetFunctionArn(Aws::String &&value)
Definition: ProvisionedConcurrencyConfigListItem.h:60
Aws::Lambda::Model::ProvisionedConcurrencyConfigListItem::ProvisionedConcurrencyConfigListItem
ProvisionedConcurrencyConfigListItem()
Aws::Lambda::Model::ProvisionedConcurrencyConfigListItem::WithLastModified
ProvisionedConcurrencyConfigListItem & WithLastModified(const Aws::String &value)
Definition: ProvisionedConcurrencyConfigListItem.h:266
Aws::Lambda::Model::ProvisionedConcurrencyConfigListItem::operator=
ProvisionedConcurrencyConfigListItem & operator=(Aws::Utils::Json::JsonView jsonValue)
Aws::Lambda::Model::ProvisionedConcurrencyConfigListItem::WithAllocatedProvisionedConcurrentExecutions
ProvisionedConcurrencyConfigListItem & WithAllocatedProvisionedConcurrentExecutions(int value)
Definition: ProvisionedConcurrencyConfigListItem.h:143
Aws::Lambda::Model::ProvisionedConcurrencyConfigListItem::WithLastModified
ProvisionedConcurrencyConfigListItem & WithLastModified(const char *value)
Definition: ProvisionedConcurrencyConfigListItem.h:280
Aws::Lambda::Model::ProvisionedConcurrencyConfigListItem::SetRequestedProvisionedConcurrentExecutions
void SetRequestedProvisionedConcurrentExecutions(int value)
Definition: ProvisionedConcurrencyConfigListItem.h:96
Aws::Lambda::Model::ProvisionedConcurrencyConfigListItem::SetStatus
void SetStatus(const ProvisionedConcurrencyStatusEnum &value)
Definition: ProvisionedConcurrencyConfigListItem.h:159
Aws::Lambda::Model::ProvisionedConcurrencyStatusEnum
ProvisionedConcurrencyStatusEnum
Definition: ProvisionedConcurrencyStatusEnum.h:17
Aws::Lambda::Model::ProvisionedConcurrencyConfigListItem::SetStatus
void SetStatus(ProvisionedConcurrencyStatusEnum &&value)
Definition: ProvisionedConcurrencyConfigListItem.h:164
Aws::Lambda::Model::ProvisionedConcurrencyConfigListItem::RequestedProvisionedConcurrentExecutionsHasBeenSet
bool RequestedProvisionedConcurrentExecutionsHasBeenSet() const
Definition: ProvisionedConcurrencyConfigListItem.h:91
Aws::Lambda::Model::ProvisionedConcurrencyConfigListItem::SetStatusReason
void SetStatusReason(const char *value)
Definition: ProvisionedConcurrencyConfigListItem.h:205
Aws::Lambda::Model::ProvisionedConcurrencyConfigListItem::GetFunctionArn
const Aws::String & GetFunctionArn() const
Definition: ProvisionedConcurrencyConfigListItem.h:45
Aws::Lambda::Model::ProvisionedConcurrencyConfigListItem::SetAllocatedProvisionedConcurrentExecutions
void SetAllocatedProvisionedConcurrentExecutions(int value)
Definition: ProvisionedConcurrencyConfigListItem.h:138
AWS_LAMBDA_API
#define AWS_LAMBDA_API
Definition: Lambda_EXPORTS.h:28
Aws::Lambda::Model::ProvisionedConcurrencyConfigListItem::GetRequestedProvisionedConcurrentExecutions
int GetRequestedProvisionedConcurrentExecutions() const
Definition: ProvisionedConcurrencyConfigListItem.h:86
Aws::Lambda::Model::ProvisionedConcurrencyConfigListItem::WithRequestedProvisionedConcurrentExecutions
ProvisionedConcurrencyConfigListItem & WithRequestedProvisionedConcurrentExecutions(int value)
Definition: ProvisionedConcurrencyConfigListItem.h:101
Aws::Lambda::Model::ProvisionedConcurrencyConfigListItem::GetStatusReason
const Aws::String & GetStatusReason() const
Definition: ProvisionedConcurrencyConfigListItem.h:181
Aws::Lambda::Model::ProvisionedConcurrencyConfigListItem::GetAvailableProvisionedConcurrentExecutions
int GetAvailableProvisionedConcurrentExecutions() const
Definition: ProvisionedConcurrencyConfigListItem.h:107
Aws::Lambda::Model::ProvisionedConcurrencyConfigListItem::AvailableProvisionedConcurrentExecutionsHasBeenSet
bool AvailableProvisionedConcurrentExecutionsHasBeenSet() const
Definition: ProvisionedConcurrencyConfigListItem.h:112
Aws::Lambda::Model::ProvisionedConcurrencyConfigListItem::AllocatedProvisionedConcurrentExecutionsHasBeenSet
bool AllocatedProvisionedConcurrentExecutionsHasBeenSet() const
Definition: ProvisionedConcurrencyConfigListItem.h:133
Aws::Lambda::Model::ProvisionedConcurrencyConfigListItem::WithStatusReason
ProvisionedConcurrencyConfigListItem & WithStatusReason(const Aws::String &value)
Definition: ProvisionedConcurrencyConfigListItem.h:211
Aws::Utils::Json::JsonView
Definition: JsonSerializer.h:222
AWSString.h
Aws::Lambda::Model::ProvisionedConcurrencyConfigListItem::Jsonize
Aws::Utils::Json::JsonValue Jsonize() const
Aws::Utils::Json::JsonValue
Definition: JsonSerializer.h:30
Aws::Lambda::Model::ProvisionedConcurrencyConfigListItem::WithStatus
ProvisionedConcurrencyConfigListItem & WithStatus(const ProvisionedConcurrencyStatusEnum &value)
Definition: ProvisionedConcurrencyConfigListItem.h:169
Aws::Lambda::Model::ProvisionedConcurrencyConfigListItem::SetFunctionArn
void SetFunctionArn(const Aws::String &value)
Definition: ProvisionedConcurrencyConfigListItem.h:55
Aws::Lambda::Model::ProvisionedConcurrencyConfigListItem::SetAvailableProvisionedConcurrentExecutions
void SetAvailableProvisionedConcurrentExecutions(int value)
Definition: ProvisionedConcurrencyConfigListItem.h:117
Aws::Lambda::Model::ProvisionedConcurrencyConfigListItem::WithAvailableProvisionedConcurrentExecutions
ProvisionedConcurrencyConfigListItem & WithAvailableProvisionedConcurrentExecutions(int value)
Definition: ProvisionedConcurrencyConfigListItem.h:122
ProvisionedConcurrencyStatusEnum.h
Aws::Lambda::Model::ProvisionedConcurrencyConfigListItem::StatusHasBeenSet
bool StatusHasBeenSet() const
Definition: ProvisionedConcurrencyConfigListItem.h:154
Aws::Lambda::Model::ProvisionedConcurrencyConfigListItem::WithFunctionArn
ProvisionedConcurrencyConfigListItem & WithFunctionArn(const char *value)
Definition: ProvisionedConcurrencyConfigListItem.h:80
Aws::CodePipeline::Model::ExecutorType::NOT_SET
@ NOT_SET
Aws
Definition: AccessManagementClient.h:15
Aws::Lambda::Model::ProvisionedConcurrencyConfigListItem::WithStatusReason
ProvisionedConcurrencyConfigListItem & WithStatusReason(const char *value)
Definition: ProvisionedConcurrencyConfigListItem.h:223
Aws::Lambda::Model::ProvisionedConcurrencyConfigListItem
Definition: ProvisionedConcurrencyConfigListItem.h:34
Aws::Lambda::Model::ProvisionedConcurrencyConfigListItem::LastModifiedHasBeenSet
bool LastModifiedHasBeenSet() const
Definition: ProvisionedConcurrencyConfigListItem.h:238
Aws::String
std::basic_string< char, std::char_traits< char >, Aws::Allocator< char > > String
Definition: AWSString.h:97
Aws::Lambda::Model::ProvisionedConcurrencyConfigListItem::WithFunctionArn
ProvisionedConcurrencyConfigListItem & WithFunctionArn(const Aws::String &value)
Definition: ProvisionedConcurrencyConfigListItem.h:70
Aws::Lambda::Model::ProvisionedConcurrencyConfigListItem::WithStatus
ProvisionedConcurrencyConfigListItem & WithStatus(ProvisionedConcurrencyStatusEnum &&value)
Definition: ProvisionedConcurrencyConfigListItem.h:174
Aws::Lambda::Model::ProvisionedConcurrencyConfigListItem::SetFunctionArn
void SetFunctionArn(const char *value)
Definition: ProvisionedConcurrencyConfigListItem.h:65
Aws::Lambda::Model::ProvisionedConcurrencyConfigListItem::ProvisionedConcurrencyConfigListItem
ProvisionedConcurrencyConfigListItem(Aws::Utils::Json::JsonView jsonValue)
Aws::Lambda::Model::ProvisionedConcurrencyConfigListItem::WithLastModified
ProvisionedConcurrencyConfigListItem & WithLastModified(Aws::String &&value)
Definition: ProvisionedConcurrencyConfigListItem.h:273
Aws::Lambda::Model::ProvisionedConcurrencyConfigListItem::FunctionArnHasBeenSet
bool FunctionArnHasBeenSet() const
Definition: ProvisionedConcurrencyConfigListItem.h:50
Lambda_EXPORTS.h
Aws::Lambda::Model::ProvisionedConcurrencyConfigListItem::GetLastModified
const Aws::String & GetLastModified() const
Definition: ProvisionedConcurrencyConfigListItem.h:231
Aws::Lambda::Model::ProvisionedConcurrencyConfigListItem::SetLastModified
void SetLastModified(const char *value)
Definition: ProvisionedConcurrencyConfigListItem.h:259
Aws::Lambda::Model::ProvisionedConcurrencyConfigListItem::WithStatusReason
ProvisionedConcurrencyConfigListItem & WithStatusReason(Aws::String &&value)
Definition: ProvisionedConcurrencyConfigListItem.h:217
Aws::Lambda::Model::ProvisionedConcurrencyConfigListItem::GetStatus
const ProvisionedConcurrencyStatusEnum & GetStatus() const
Definition: ProvisionedConcurrencyConfigListItem.h:149
Aws::Lambda::Model::ProvisionedConcurrencyConfigListItem::StatusReasonHasBeenSet
bool StatusReasonHasBeenSet() const
Definition: ProvisionedConcurrencyConfigListItem.h:187