AWS SDK for C++

AWS SDK for C++ Version 1.11.440

Loading...
Searching...
No Matches
FunctionConfiguration.h
1
6#pragma once
7#include <aws/lambda/Lambda_EXPORTS.h>
8#include <aws/core/utils/memory/stl/AWSString.h>
9#include <aws/lambda/model/Runtime.h>
10#include <aws/lambda/model/VpcConfigResponse.h>
11#include <aws/lambda/model/DeadLetterConfig.h>
12#include <aws/lambda/model/EnvironmentResponse.h>
13#include <aws/lambda/model/TracingConfigResponse.h>
14#include <aws/core/utils/memory/stl/AWSVector.h>
15#include <aws/lambda/model/State.h>
16#include <aws/lambda/model/StateReasonCode.h>
17#include <aws/lambda/model/LastUpdateStatus.h>
18#include <aws/lambda/model/LastUpdateStatusReasonCode.h>
19#include <aws/lambda/model/PackageType.h>
20#include <aws/lambda/model/ImageConfigResponse.h>
21#include <aws/lambda/model/EphemeralStorage.h>
22#include <aws/lambda/model/SnapStartResponse.h>
23#include <aws/lambda/model/RuntimeVersionConfig.h>
24#include <aws/lambda/model/LoggingConfig.h>
25#include <aws/lambda/model/Layer.h>
26#include <aws/lambda/model/FileSystemConfig.h>
27#include <aws/lambda/model/Architecture.h>
28#include <utility>
29
30namespace Aws
31{
32namespace Utils
33{
34namespace Json
35{
36 class JsonValue;
37 class JsonView;
38} // namespace Json
39} // namespace Utils
40namespace Lambda
41{
42namespace Model
43{
44
51 {
52 public:
53 AWS_LAMBDA_API FunctionConfiguration();
56 AWS_LAMBDA_API Aws::Utils::Json::JsonValue Jsonize() const;
57
58
60
63 inline const Aws::String& GetFunctionName() const{ return m_functionName; }
64 inline bool FunctionNameHasBeenSet() const { return m_functionNameHasBeenSet; }
65 inline void SetFunctionName(const Aws::String& value) { m_functionNameHasBeenSet = true; m_functionName = value; }
66 inline void SetFunctionName(Aws::String&& value) { m_functionNameHasBeenSet = true; m_functionName = std::move(value); }
67 inline void SetFunctionName(const char* value) { m_functionNameHasBeenSet = true; m_functionName.assign(value); }
68 inline FunctionConfiguration& WithFunctionName(const Aws::String& value) { SetFunctionName(value); return *this;}
69 inline FunctionConfiguration& WithFunctionName(Aws::String&& value) { SetFunctionName(std::move(value)); return *this;}
70 inline FunctionConfiguration& WithFunctionName(const char* value) { SetFunctionName(value); return *this;}
72
74
77 inline const Aws::String& GetFunctionArn() const{ return m_functionArn; }
78 inline bool FunctionArnHasBeenSet() const { return m_functionArnHasBeenSet; }
79 inline void SetFunctionArn(const Aws::String& value) { m_functionArnHasBeenSet = true; m_functionArn = value; }
80 inline void SetFunctionArn(Aws::String&& value) { m_functionArnHasBeenSet = true; m_functionArn = std::move(value); }
81 inline void SetFunctionArn(const char* value) { m_functionArnHasBeenSet = true; m_functionArn.assign(value); }
82 inline FunctionConfiguration& WithFunctionArn(const Aws::String& value) { SetFunctionArn(value); return *this;}
83 inline FunctionConfiguration& WithFunctionArn(Aws::String&& value) { SetFunctionArn(std::move(value)); return *this;}
84 inline FunctionConfiguration& WithFunctionArn(const char* value) { SetFunctionArn(value); return *this;}
86
88
102 inline const Runtime& GetRuntime() const{ return m_runtime; }
103 inline bool RuntimeHasBeenSet() const { return m_runtimeHasBeenSet; }
104 inline void SetRuntime(const Runtime& value) { m_runtimeHasBeenSet = true; m_runtime = value; }
105 inline void SetRuntime(Runtime&& value) { m_runtimeHasBeenSet = true; m_runtime = std::move(value); }
106 inline FunctionConfiguration& WithRuntime(const Runtime& value) { SetRuntime(value); return *this;}
107 inline FunctionConfiguration& WithRuntime(Runtime&& value) { SetRuntime(std::move(value)); return *this;}
109
111
114 inline const Aws::String& GetRole() const{ return m_role; }
115 inline bool RoleHasBeenSet() const { return m_roleHasBeenSet; }
116 inline void SetRole(const Aws::String& value) { m_roleHasBeenSet = true; m_role = value; }
117 inline void SetRole(Aws::String&& value) { m_roleHasBeenSet = true; m_role = std::move(value); }
118 inline void SetRole(const char* value) { m_roleHasBeenSet = true; m_role.assign(value); }
119 inline FunctionConfiguration& WithRole(const Aws::String& value) { SetRole(value); return *this;}
120 inline FunctionConfiguration& WithRole(Aws::String&& value) { SetRole(std::move(value)); return *this;}
121 inline FunctionConfiguration& WithRole(const char* value) { SetRole(value); return *this;}
123
125
128 inline const Aws::String& GetHandler() const{ return m_handler; }
129 inline bool HandlerHasBeenSet() const { return m_handlerHasBeenSet; }
130 inline void SetHandler(const Aws::String& value) { m_handlerHasBeenSet = true; m_handler = value; }
131 inline void SetHandler(Aws::String&& value) { m_handlerHasBeenSet = true; m_handler = std::move(value); }
132 inline void SetHandler(const char* value) { m_handlerHasBeenSet = true; m_handler.assign(value); }
133 inline FunctionConfiguration& WithHandler(const Aws::String& value) { SetHandler(value); return *this;}
134 inline FunctionConfiguration& WithHandler(Aws::String&& value) { SetHandler(std::move(value)); return *this;}
135 inline FunctionConfiguration& WithHandler(const char* value) { SetHandler(value); return *this;}
137
139
142 inline long long GetCodeSize() const{ return m_codeSize; }
143 inline bool CodeSizeHasBeenSet() const { return m_codeSizeHasBeenSet; }
144 inline void SetCodeSize(long long value) { m_codeSizeHasBeenSet = true; m_codeSize = value; }
145 inline FunctionConfiguration& WithCodeSize(long long value) { SetCodeSize(value); return *this;}
147
149
152 inline const Aws::String& GetDescription() const{ return m_description; }
153 inline bool DescriptionHasBeenSet() const { return m_descriptionHasBeenSet; }
154 inline void SetDescription(const Aws::String& value) { m_descriptionHasBeenSet = true; m_description = value; }
155 inline void SetDescription(Aws::String&& value) { m_descriptionHasBeenSet = true; m_description = std::move(value); }
156 inline void SetDescription(const char* value) { m_descriptionHasBeenSet = true; m_description.assign(value); }
157 inline FunctionConfiguration& WithDescription(const Aws::String& value) { SetDescription(value); return *this;}
158 inline FunctionConfiguration& WithDescription(Aws::String&& value) { SetDescription(std::move(value)); return *this;}
159 inline FunctionConfiguration& WithDescription(const char* value) { SetDescription(value); return *this;}
161
163
167 inline int GetTimeout() const{ return m_timeout; }
168 inline bool TimeoutHasBeenSet() const { return m_timeoutHasBeenSet; }
169 inline void SetTimeout(int value) { m_timeoutHasBeenSet = true; m_timeout = value; }
170 inline FunctionConfiguration& WithTimeout(int value) { SetTimeout(value); return *this;}
172
174
177 inline int GetMemorySize() const{ return m_memorySize; }
178 inline bool MemorySizeHasBeenSet() const { return m_memorySizeHasBeenSet; }
179 inline void SetMemorySize(int value) { m_memorySizeHasBeenSet = true; m_memorySize = value; }
180 inline FunctionConfiguration& WithMemorySize(int value) { SetMemorySize(value); return *this;}
182
184
189 inline const Aws::String& GetLastModified() const{ return m_lastModified; }
190 inline bool LastModifiedHasBeenSet() const { return m_lastModifiedHasBeenSet; }
191 inline void SetLastModified(const Aws::String& value) { m_lastModifiedHasBeenSet = true; m_lastModified = value; }
192 inline void SetLastModified(Aws::String&& value) { m_lastModifiedHasBeenSet = true; m_lastModified = std::move(value); }
193 inline void SetLastModified(const char* value) { m_lastModifiedHasBeenSet = true; m_lastModified.assign(value); }
194 inline FunctionConfiguration& WithLastModified(const Aws::String& value) { SetLastModified(value); return *this;}
195 inline FunctionConfiguration& WithLastModified(Aws::String&& value) { SetLastModified(std::move(value)); return *this;}
196 inline FunctionConfiguration& WithLastModified(const char* value) { SetLastModified(value); return *this;}
198
200
203 inline const Aws::String& GetCodeSha256() const{ return m_codeSha256; }
204 inline bool CodeSha256HasBeenSet() const { return m_codeSha256HasBeenSet; }
205 inline void SetCodeSha256(const Aws::String& value) { m_codeSha256HasBeenSet = true; m_codeSha256 = value; }
206 inline void SetCodeSha256(Aws::String&& value) { m_codeSha256HasBeenSet = true; m_codeSha256 = std::move(value); }
207 inline void SetCodeSha256(const char* value) { m_codeSha256HasBeenSet = true; m_codeSha256.assign(value); }
208 inline FunctionConfiguration& WithCodeSha256(const Aws::String& value) { SetCodeSha256(value); return *this;}
209 inline FunctionConfiguration& WithCodeSha256(Aws::String&& value) { SetCodeSha256(std::move(value)); return *this;}
210 inline FunctionConfiguration& WithCodeSha256(const char* value) { SetCodeSha256(value); return *this;}
212
214
217 inline const Aws::String& GetVersion() const{ return m_version; }
218 inline bool VersionHasBeenSet() const { return m_versionHasBeenSet; }
219 inline void SetVersion(const Aws::String& value) { m_versionHasBeenSet = true; m_version = value; }
220 inline void SetVersion(Aws::String&& value) { m_versionHasBeenSet = true; m_version = std::move(value); }
221 inline void SetVersion(const char* value) { m_versionHasBeenSet = true; m_version.assign(value); }
222 inline FunctionConfiguration& WithVersion(const Aws::String& value) { SetVersion(value); return *this;}
223 inline FunctionConfiguration& WithVersion(Aws::String&& value) { SetVersion(std::move(value)); return *this;}
224 inline FunctionConfiguration& WithVersion(const char* value) { SetVersion(value); return *this;}
226
228
231 inline const VpcConfigResponse& GetVpcConfig() const{ return m_vpcConfig; }
232 inline bool VpcConfigHasBeenSet() const { return m_vpcConfigHasBeenSet; }
233 inline void SetVpcConfig(const VpcConfigResponse& value) { m_vpcConfigHasBeenSet = true; m_vpcConfig = value; }
234 inline void SetVpcConfig(VpcConfigResponse&& value) { m_vpcConfigHasBeenSet = true; m_vpcConfig = std::move(value); }
235 inline FunctionConfiguration& WithVpcConfig(const VpcConfigResponse& value) { SetVpcConfig(value); return *this;}
236 inline FunctionConfiguration& WithVpcConfig(VpcConfigResponse&& value) { SetVpcConfig(std::move(value)); return *this;}
238
240
243 inline const DeadLetterConfig& GetDeadLetterConfig() const{ return m_deadLetterConfig; }
244 inline bool DeadLetterConfigHasBeenSet() const { return m_deadLetterConfigHasBeenSet; }
245 inline void SetDeadLetterConfig(const DeadLetterConfig& value) { m_deadLetterConfigHasBeenSet = true; m_deadLetterConfig = value; }
246 inline void SetDeadLetterConfig(DeadLetterConfig&& value) { m_deadLetterConfigHasBeenSet = true; m_deadLetterConfig = std::move(value); }
248 inline FunctionConfiguration& WithDeadLetterConfig(DeadLetterConfig&& value) { SetDeadLetterConfig(std::move(value)); return *this;}
250
252
257 inline const EnvironmentResponse& GetEnvironment() const{ return m_environment; }
258 inline bool EnvironmentHasBeenSet() const { return m_environmentHasBeenSet; }
259 inline void SetEnvironment(const EnvironmentResponse& value) { m_environmentHasBeenSet = true; m_environment = value; }
260 inline void SetEnvironment(EnvironmentResponse&& value) { m_environmentHasBeenSet = true; m_environment = std::move(value); }
261 inline FunctionConfiguration& WithEnvironment(const EnvironmentResponse& value) { SetEnvironment(value); return *this;}
262 inline FunctionConfiguration& WithEnvironment(EnvironmentResponse&& value) { SetEnvironment(std::move(value)); return *this;}
264
266
275 inline const Aws::String& GetKMSKeyArn() const{ return m_kMSKeyArn; }
276 inline bool KMSKeyArnHasBeenSet() const { return m_kMSKeyArnHasBeenSet; }
277 inline void SetKMSKeyArn(const Aws::String& value) { m_kMSKeyArnHasBeenSet = true; m_kMSKeyArn = value; }
278 inline void SetKMSKeyArn(Aws::String&& value) { m_kMSKeyArnHasBeenSet = true; m_kMSKeyArn = std::move(value); }
279 inline void SetKMSKeyArn(const char* value) { m_kMSKeyArnHasBeenSet = true; m_kMSKeyArn.assign(value); }
280 inline FunctionConfiguration& WithKMSKeyArn(const Aws::String& value) { SetKMSKeyArn(value); return *this;}
281 inline FunctionConfiguration& WithKMSKeyArn(Aws::String&& value) { SetKMSKeyArn(std::move(value)); return *this;}
282 inline FunctionConfiguration& WithKMSKeyArn(const char* value) { SetKMSKeyArn(value); return *this;}
284
286
289 inline const TracingConfigResponse& GetTracingConfig() const{ return m_tracingConfig; }
290 inline bool TracingConfigHasBeenSet() const { return m_tracingConfigHasBeenSet; }
291 inline void SetTracingConfig(const TracingConfigResponse& value) { m_tracingConfigHasBeenSet = true; m_tracingConfig = value; }
292 inline void SetTracingConfig(TracingConfigResponse&& value) { m_tracingConfigHasBeenSet = true; m_tracingConfig = std::move(value); }
294 inline FunctionConfiguration& WithTracingConfig(TracingConfigResponse&& value) { SetTracingConfig(std::move(value)); return *this;}
296
298
301 inline const Aws::String& GetMasterArn() const{ return m_masterArn; }
302 inline bool MasterArnHasBeenSet() const { return m_masterArnHasBeenSet; }
303 inline void SetMasterArn(const Aws::String& value) { m_masterArnHasBeenSet = true; m_masterArn = value; }
304 inline void SetMasterArn(Aws::String&& value) { m_masterArnHasBeenSet = true; m_masterArn = std::move(value); }
305 inline void SetMasterArn(const char* value) { m_masterArnHasBeenSet = true; m_masterArn.assign(value); }
306 inline FunctionConfiguration& WithMasterArn(const Aws::String& value) { SetMasterArn(value); return *this;}
307 inline FunctionConfiguration& WithMasterArn(Aws::String&& value) { SetMasterArn(std::move(value)); return *this;}
308 inline FunctionConfiguration& WithMasterArn(const char* value) { SetMasterArn(value); return *this;}
310
312
315 inline const Aws::String& GetRevisionId() const{ return m_revisionId; }
316 inline bool RevisionIdHasBeenSet() const { return m_revisionIdHasBeenSet; }
317 inline void SetRevisionId(const Aws::String& value) { m_revisionIdHasBeenSet = true; m_revisionId = value; }
318 inline void SetRevisionId(Aws::String&& value) { m_revisionIdHasBeenSet = true; m_revisionId = std::move(value); }
319 inline void SetRevisionId(const char* value) { m_revisionIdHasBeenSet = true; m_revisionId.assign(value); }
320 inline FunctionConfiguration& WithRevisionId(const Aws::String& value) { SetRevisionId(value); return *this;}
321 inline FunctionConfiguration& WithRevisionId(Aws::String&& value) { SetRevisionId(std::move(value)); return *this;}
322 inline FunctionConfiguration& WithRevisionId(const char* value) { SetRevisionId(value); return *this;}
324
326
330 inline const Aws::Vector<Layer>& GetLayers() const{ return m_layers; }
331 inline bool LayersHasBeenSet() const { return m_layersHasBeenSet; }
332 inline void SetLayers(const Aws::Vector<Layer>& value) { m_layersHasBeenSet = true; m_layers = value; }
333 inline void SetLayers(Aws::Vector<Layer>&& value) { m_layersHasBeenSet = true; m_layers = std::move(value); }
334 inline FunctionConfiguration& WithLayers(const Aws::Vector<Layer>& value) { SetLayers(value); return *this;}
335 inline FunctionConfiguration& WithLayers(Aws::Vector<Layer>&& value) { SetLayers(std::move(value)); return *this;}
336 inline FunctionConfiguration& AddLayers(const Layer& value) { m_layersHasBeenSet = true; m_layers.push_back(value); return *this; }
337 inline FunctionConfiguration& AddLayers(Layer&& value) { m_layersHasBeenSet = true; m_layers.push_back(std::move(value)); return *this; }
339
341
345 inline const State& GetState() const{ return m_state; }
346 inline bool StateHasBeenSet() const { return m_stateHasBeenSet; }
347 inline void SetState(const State& value) { m_stateHasBeenSet = true; m_state = value; }
348 inline void SetState(State&& value) { m_stateHasBeenSet = true; m_state = std::move(value); }
349 inline FunctionConfiguration& WithState(const State& value) { SetState(value); return *this;}
350 inline FunctionConfiguration& WithState(State&& value) { SetState(std::move(value)); return *this;}
352
354
357 inline const Aws::String& GetStateReason() const{ return m_stateReason; }
358 inline bool StateReasonHasBeenSet() const { return m_stateReasonHasBeenSet; }
359 inline void SetStateReason(const Aws::String& value) { m_stateReasonHasBeenSet = true; m_stateReason = value; }
360 inline void SetStateReason(Aws::String&& value) { m_stateReasonHasBeenSet = true; m_stateReason = std::move(value); }
361 inline void SetStateReason(const char* value) { m_stateReasonHasBeenSet = true; m_stateReason.assign(value); }
362 inline FunctionConfiguration& WithStateReason(const Aws::String& value) { SetStateReason(value); return *this;}
363 inline FunctionConfiguration& WithStateReason(Aws::String&& value) { SetStateReason(std::move(value)); return *this;}
364 inline FunctionConfiguration& WithStateReason(const char* value) { SetStateReason(value); return *this;}
366
368
372 inline const StateReasonCode& GetStateReasonCode() const{ return m_stateReasonCode; }
373 inline bool StateReasonCodeHasBeenSet() const { return m_stateReasonCodeHasBeenSet; }
374 inline void SetStateReasonCode(const StateReasonCode& value) { m_stateReasonCodeHasBeenSet = true; m_stateReasonCode = value; }
375 inline void SetStateReasonCode(StateReasonCode&& value) { m_stateReasonCodeHasBeenSet = true; m_stateReasonCode = std::move(value); }
377 inline FunctionConfiguration& WithStateReasonCode(StateReasonCode&& value) { SetStateReasonCode(std::move(value)); return *this;}
379
381
385 inline const LastUpdateStatus& GetLastUpdateStatus() const{ return m_lastUpdateStatus; }
386 inline bool LastUpdateStatusHasBeenSet() const { return m_lastUpdateStatusHasBeenSet; }
387 inline void SetLastUpdateStatus(const LastUpdateStatus& value) { m_lastUpdateStatusHasBeenSet = true; m_lastUpdateStatus = value; }
388 inline void SetLastUpdateStatus(LastUpdateStatus&& value) { m_lastUpdateStatusHasBeenSet = true; m_lastUpdateStatus = std::move(value); }
390 inline FunctionConfiguration& WithLastUpdateStatus(LastUpdateStatus&& value) { SetLastUpdateStatus(std::move(value)); return *this;}
392
394
397 inline const Aws::String& GetLastUpdateStatusReason() const{ return m_lastUpdateStatusReason; }
398 inline bool LastUpdateStatusReasonHasBeenSet() const { return m_lastUpdateStatusReasonHasBeenSet; }
399 inline void SetLastUpdateStatusReason(const Aws::String& value) { m_lastUpdateStatusReasonHasBeenSet = true; m_lastUpdateStatusReason = value; }
400 inline void SetLastUpdateStatusReason(Aws::String&& value) { m_lastUpdateStatusReasonHasBeenSet = true; m_lastUpdateStatusReason = std::move(value); }
401 inline void SetLastUpdateStatusReason(const char* value) { m_lastUpdateStatusReasonHasBeenSet = true; m_lastUpdateStatusReason.assign(value); }
404 inline FunctionConfiguration& WithLastUpdateStatusReason(const char* value) { SetLastUpdateStatusReason(value); return *this;}
406
408
411 inline const LastUpdateStatusReasonCode& GetLastUpdateStatusReasonCode() const{ return m_lastUpdateStatusReasonCode; }
412 inline bool LastUpdateStatusReasonCodeHasBeenSet() const { return m_lastUpdateStatusReasonCodeHasBeenSet; }
413 inline void SetLastUpdateStatusReasonCode(const LastUpdateStatusReasonCode& value) { m_lastUpdateStatusReasonCodeHasBeenSet = true; m_lastUpdateStatusReasonCode = value; }
414 inline void SetLastUpdateStatusReasonCode(LastUpdateStatusReasonCode&& value) { m_lastUpdateStatusReasonCodeHasBeenSet = true; m_lastUpdateStatusReasonCode = std::move(value); }
418
420
425 inline const Aws::Vector<FileSystemConfig>& GetFileSystemConfigs() const{ return m_fileSystemConfigs; }
426 inline bool FileSystemConfigsHasBeenSet() const { return m_fileSystemConfigsHasBeenSet; }
427 inline void SetFileSystemConfigs(const Aws::Vector<FileSystemConfig>& value) { m_fileSystemConfigsHasBeenSet = true; m_fileSystemConfigs = value; }
428 inline void SetFileSystemConfigs(Aws::Vector<FileSystemConfig>&& value) { m_fileSystemConfigsHasBeenSet = true; m_fileSystemConfigs = std::move(value); }
431 inline FunctionConfiguration& AddFileSystemConfigs(const FileSystemConfig& value) { m_fileSystemConfigsHasBeenSet = true; m_fileSystemConfigs.push_back(value); return *this; }
432 inline FunctionConfiguration& AddFileSystemConfigs(FileSystemConfig&& value) { m_fileSystemConfigsHasBeenSet = true; m_fileSystemConfigs.push_back(std::move(value)); return *this; }
434
436
440 inline const PackageType& GetPackageType() const{ return m_packageType; }
441 inline bool PackageTypeHasBeenSet() const { return m_packageTypeHasBeenSet; }
442 inline void SetPackageType(const PackageType& value) { m_packageTypeHasBeenSet = true; m_packageType = value; }
443 inline void SetPackageType(PackageType&& value) { m_packageTypeHasBeenSet = true; m_packageType = std::move(value); }
444 inline FunctionConfiguration& WithPackageType(const PackageType& value) { SetPackageType(value); return *this;}
445 inline FunctionConfiguration& WithPackageType(PackageType&& value) { SetPackageType(std::move(value)); return *this;}
447
449
452 inline const ImageConfigResponse& GetImageConfigResponse() const{ return m_imageConfigResponse; }
453 inline bool ImageConfigResponseHasBeenSet() const { return m_imageConfigResponseHasBeenSet; }
454 inline void SetImageConfigResponse(const ImageConfigResponse& value) { m_imageConfigResponseHasBeenSet = true; m_imageConfigResponse = value; }
455 inline void SetImageConfigResponse(ImageConfigResponse&& value) { m_imageConfigResponseHasBeenSet = true; m_imageConfigResponse = std::move(value); }
459
461
464 inline const Aws::String& GetSigningProfileVersionArn() const{ return m_signingProfileVersionArn; }
465 inline bool SigningProfileVersionArnHasBeenSet() const { return m_signingProfileVersionArnHasBeenSet; }
466 inline void SetSigningProfileVersionArn(const Aws::String& value) { m_signingProfileVersionArnHasBeenSet = true; m_signingProfileVersionArn = value; }
467 inline void SetSigningProfileVersionArn(Aws::String&& value) { m_signingProfileVersionArnHasBeenSet = true; m_signingProfileVersionArn = std::move(value); }
468 inline void SetSigningProfileVersionArn(const char* value) { m_signingProfileVersionArnHasBeenSet = true; m_signingProfileVersionArn.assign(value); }
471 inline FunctionConfiguration& WithSigningProfileVersionArn(const char* value) { SetSigningProfileVersionArn(value); return *this;}
473
475
478 inline const Aws::String& GetSigningJobArn() const{ return m_signingJobArn; }
479 inline bool SigningJobArnHasBeenSet() const { return m_signingJobArnHasBeenSet; }
480 inline void SetSigningJobArn(const Aws::String& value) { m_signingJobArnHasBeenSet = true; m_signingJobArn = value; }
481 inline void SetSigningJobArn(Aws::String&& value) { m_signingJobArnHasBeenSet = true; m_signingJobArn = std::move(value); }
482 inline void SetSigningJobArn(const char* value) { m_signingJobArnHasBeenSet = true; m_signingJobArn.assign(value); }
483 inline FunctionConfiguration& WithSigningJobArn(const Aws::String& value) { SetSigningJobArn(value); return *this;}
484 inline FunctionConfiguration& WithSigningJobArn(Aws::String&& value) { SetSigningJobArn(std::move(value)); return *this;}
485 inline FunctionConfiguration& WithSigningJobArn(const char* value) { SetSigningJobArn(value); return *this;}
487
489
494 inline const Aws::Vector<Architecture>& GetArchitectures() const{ return m_architectures; }
495 inline bool ArchitecturesHasBeenSet() const { return m_architecturesHasBeenSet; }
496 inline void SetArchitectures(const Aws::Vector<Architecture>& value) { m_architecturesHasBeenSet = true; m_architectures = value; }
497 inline void SetArchitectures(Aws::Vector<Architecture>&& value) { m_architecturesHasBeenSet = true; m_architectures = std::move(value); }
499 inline FunctionConfiguration& WithArchitectures(Aws::Vector<Architecture>&& value) { SetArchitectures(std::move(value)); return *this;}
500 inline FunctionConfiguration& AddArchitectures(const Architecture& value) { m_architecturesHasBeenSet = true; m_architectures.push_back(value); return *this; }
501 inline FunctionConfiguration& AddArchitectures(Architecture&& value) { m_architecturesHasBeenSet = true; m_architectures.push_back(std::move(value)); return *this; }
503
505
512 inline const EphemeralStorage& GetEphemeralStorage() const{ return m_ephemeralStorage; }
513 inline bool EphemeralStorageHasBeenSet() const { return m_ephemeralStorageHasBeenSet; }
514 inline void SetEphemeralStorage(const EphemeralStorage& value) { m_ephemeralStorageHasBeenSet = true; m_ephemeralStorage = value; }
515 inline void SetEphemeralStorage(EphemeralStorage&& value) { m_ephemeralStorageHasBeenSet = true; m_ephemeralStorage = std::move(value); }
517 inline FunctionConfiguration& WithEphemeralStorage(EphemeralStorage&& value) { SetEphemeralStorage(std::move(value)); return *this;}
519
521
528 inline const SnapStartResponse& GetSnapStart() const{ return m_snapStart; }
529 inline bool SnapStartHasBeenSet() const { return m_snapStartHasBeenSet; }
530 inline void SetSnapStart(const SnapStartResponse& value) { m_snapStartHasBeenSet = true; m_snapStart = value; }
531 inline void SetSnapStart(SnapStartResponse&& value) { m_snapStartHasBeenSet = true; m_snapStart = std::move(value); }
532 inline FunctionConfiguration& WithSnapStart(const SnapStartResponse& value) { SetSnapStart(value); return *this;}
533 inline FunctionConfiguration& WithSnapStart(SnapStartResponse&& value) { SetSnapStart(std::move(value)); return *this;}
535
537
540 inline const RuntimeVersionConfig& GetRuntimeVersionConfig() const{ return m_runtimeVersionConfig; }
541 inline bool RuntimeVersionConfigHasBeenSet() const { return m_runtimeVersionConfigHasBeenSet; }
542 inline void SetRuntimeVersionConfig(const RuntimeVersionConfig& value) { m_runtimeVersionConfigHasBeenSet = true; m_runtimeVersionConfig = value; }
543 inline void SetRuntimeVersionConfig(RuntimeVersionConfig&& value) { m_runtimeVersionConfigHasBeenSet = true; m_runtimeVersionConfig = std::move(value); }
547
549
552 inline const LoggingConfig& GetLoggingConfig() const{ return m_loggingConfig; }
553 inline bool LoggingConfigHasBeenSet() const { return m_loggingConfigHasBeenSet; }
554 inline void SetLoggingConfig(const LoggingConfig& value) { m_loggingConfigHasBeenSet = true; m_loggingConfig = value; }
555 inline void SetLoggingConfig(LoggingConfig&& value) { m_loggingConfigHasBeenSet = true; m_loggingConfig = std::move(value); }
556 inline FunctionConfiguration& WithLoggingConfig(const LoggingConfig& value) { SetLoggingConfig(value); return *this;}
557 inline FunctionConfiguration& WithLoggingConfig(LoggingConfig&& value) { SetLoggingConfig(std::move(value)); return *this;}
559
561
562 inline const Aws::String& GetRequestId() const{ return m_requestId; }
563 inline bool RequestIdHasBeenSet() const { return m_requestIdHasBeenSet; }
564 inline void SetRequestId(const Aws::String& value) { m_requestIdHasBeenSet = true; m_requestId = value; }
565 inline void SetRequestId(Aws::String&& value) { m_requestIdHasBeenSet = true; m_requestId = std::move(value); }
566 inline void SetRequestId(const char* value) { m_requestIdHasBeenSet = true; m_requestId.assign(value); }
567 inline FunctionConfiguration& WithRequestId(const Aws::String& value) { SetRequestId(value); return *this;}
568 inline FunctionConfiguration& WithRequestId(Aws::String&& value) { SetRequestId(std::move(value)); return *this;}
569 inline FunctionConfiguration& WithRequestId(const char* value) { SetRequestId(value); return *this;}
571 private:
572
573 Aws::String m_functionName;
574 bool m_functionNameHasBeenSet = false;
575
576 Aws::String m_functionArn;
577 bool m_functionArnHasBeenSet = false;
578
579 Runtime m_runtime;
580 bool m_runtimeHasBeenSet = false;
581
582 Aws::String m_role;
583 bool m_roleHasBeenSet = false;
584
585 Aws::String m_handler;
586 bool m_handlerHasBeenSet = false;
587
588 long long m_codeSize;
589 bool m_codeSizeHasBeenSet = false;
590
591 Aws::String m_description;
592 bool m_descriptionHasBeenSet = false;
593
594 int m_timeout;
595 bool m_timeoutHasBeenSet = false;
596
597 int m_memorySize;
598 bool m_memorySizeHasBeenSet = false;
599
600 Aws::String m_lastModified;
601 bool m_lastModifiedHasBeenSet = false;
602
603 Aws::String m_codeSha256;
604 bool m_codeSha256HasBeenSet = false;
605
606 Aws::String m_version;
607 bool m_versionHasBeenSet = false;
608
609 VpcConfigResponse m_vpcConfig;
610 bool m_vpcConfigHasBeenSet = false;
611
612 DeadLetterConfig m_deadLetterConfig;
613 bool m_deadLetterConfigHasBeenSet = false;
614
615 EnvironmentResponse m_environment;
616 bool m_environmentHasBeenSet = false;
617
618 Aws::String m_kMSKeyArn;
619 bool m_kMSKeyArnHasBeenSet = false;
620
621 TracingConfigResponse m_tracingConfig;
622 bool m_tracingConfigHasBeenSet = false;
623
624 Aws::String m_masterArn;
625 bool m_masterArnHasBeenSet = false;
626
627 Aws::String m_revisionId;
628 bool m_revisionIdHasBeenSet = false;
629
630 Aws::Vector<Layer> m_layers;
631 bool m_layersHasBeenSet = false;
632
633 State m_state;
634 bool m_stateHasBeenSet = false;
635
636 Aws::String m_stateReason;
637 bool m_stateReasonHasBeenSet = false;
638
639 StateReasonCode m_stateReasonCode;
640 bool m_stateReasonCodeHasBeenSet = false;
641
642 LastUpdateStatus m_lastUpdateStatus;
643 bool m_lastUpdateStatusHasBeenSet = false;
644
645 Aws::String m_lastUpdateStatusReason;
646 bool m_lastUpdateStatusReasonHasBeenSet = false;
647
648 LastUpdateStatusReasonCode m_lastUpdateStatusReasonCode;
649 bool m_lastUpdateStatusReasonCodeHasBeenSet = false;
650
651 Aws::Vector<FileSystemConfig> m_fileSystemConfigs;
652 bool m_fileSystemConfigsHasBeenSet = false;
653
654 PackageType m_packageType;
655 bool m_packageTypeHasBeenSet = false;
656
657 ImageConfigResponse m_imageConfigResponse;
658 bool m_imageConfigResponseHasBeenSet = false;
659
660 Aws::String m_signingProfileVersionArn;
661 bool m_signingProfileVersionArnHasBeenSet = false;
662
663 Aws::String m_signingJobArn;
664 bool m_signingJobArnHasBeenSet = false;
665
666 Aws::Vector<Architecture> m_architectures;
667 bool m_architecturesHasBeenSet = false;
668
669 EphemeralStorage m_ephemeralStorage;
670 bool m_ephemeralStorageHasBeenSet = false;
671
672 SnapStartResponse m_snapStart;
673 bool m_snapStartHasBeenSet = false;
674
675 RuntimeVersionConfig m_runtimeVersionConfig;
676 bool m_runtimeVersionConfigHasBeenSet = false;
677
678 LoggingConfig m_loggingConfig;
679 bool m_loggingConfigHasBeenSet = false;
680
681 Aws::String m_requestId;
682 bool m_requestIdHasBeenSet = false;
683 };
684
685} // namespace Model
686} // namespace Lambda
687} // namespace Aws
FunctionConfiguration & WithRuntime(const Runtime &value)
FunctionConfiguration & WithSigningJobArn(const char *value)
FunctionConfiguration & WithVersion(const Aws::String &value)
FunctionConfiguration & WithFileSystemConfigs(const Aws::Vector< FileSystemConfig > &value)
FunctionConfiguration & WithLastUpdateStatusReason(const char *value)
FunctionConfiguration & WithStateReason(const char *value)
void SetPackageType(const PackageType &value)
FunctionConfiguration & WithFunctionName(Aws::String &&value)
FunctionConfiguration & WithFunctionArn(const Aws::String &value)
void SetTracingConfig(TracingConfigResponse &&value)
void SetSigningJobArn(const Aws::String &value)
FunctionConfiguration & AddArchitectures(Architecture &&value)
FunctionConfiguration & WithMasterArn(const char *value)
FunctionConfiguration & WithSnapStart(SnapStartResponse &&value)
FunctionConfiguration & WithLayers(Aws::Vector< Layer > &&value)
FunctionConfiguration & WithLastUpdateStatusReason(const Aws::String &value)
FunctionConfiguration & WithKMSKeyArn(const Aws::String &value)
FunctionConfiguration & WithFunctionName(const char *value)
void SetDeadLetterConfig(const DeadLetterConfig &value)
FunctionConfiguration & WithRevisionId(Aws::String &&value)
void SetLastUpdateStatusReasonCode(LastUpdateStatusReasonCode &&value)
FunctionConfiguration & WithHandler(const char *value)
void SetSnapStart(SnapStartResponse &&value)
const ImageConfigResponse & GetImageConfigResponse() const
void SetFileSystemConfigs(Aws::Vector< FileSystemConfig > &&value)
AWS_LAMBDA_API FunctionConfiguration(Aws::Utils::Json::JsonView jsonValue)
const RuntimeVersionConfig & GetRuntimeVersionConfig() const
FunctionConfiguration & WithEnvironment(EnvironmentResponse &&value)
FunctionConfiguration & WithTracingConfig(const TracingConfigResponse &value)
FunctionConfiguration & WithState(State &&value)
void SetEphemeralStorage(const EphemeralStorage &value)
FunctionConfiguration & WithDeadLetterConfig(const DeadLetterConfig &value)
void SetFunctionName(const Aws::String &value)
void SetTracingConfig(const TracingConfigResponse &value)
void SetLoggingConfig(const LoggingConfig &value)
void SetStateReasonCode(StateReasonCode &&value)
const LastUpdateStatus & GetLastUpdateStatus() const
const EnvironmentResponse & GetEnvironment() const
void SetFunctionArn(const Aws::String &value)
FunctionConfiguration & WithMemorySize(int value)
FunctionConfiguration & WithSigningProfileVersionArn(Aws::String &&value)
FunctionConfiguration & WithStateReason(Aws::String &&value)
void SetLayers(Aws::Vector< Layer > &&value)
void SetArchitectures(const Aws::Vector< Architecture > &value)
FunctionConfiguration & WithTracingConfig(TracingConfigResponse &&value)
FunctionConfiguration & WithCodeSha256(const char *value)
void SetImageConfigResponse(const ImageConfigResponse &value)
FunctionConfiguration & WithPackageType(const PackageType &value)
FunctionConfiguration & WithCodeSha256(const Aws::String &value)
FunctionConfiguration & WithCodeSha256(Aws::String &&value)
FunctionConfiguration & WithCodeSize(long long value)
const Aws::String & GetLastUpdateStatusReason() const
FunctionConfiguration & WithPackageType(PackageType &&value)
FunctionConfiguration & WithRequestId(const char *value)
FunctionConfiguration & WithStateReasonCode(const StateReasonCode &value)
void SetVpcConfig(const VpcConfigResponse &value)
void SetLayers(const Aws::Vector< Layer > &value)
void SetLastModified(const Aws::String &value)
FunctionConfiguration & WithLastUpdateStatusReason(Aws::String &&value)
FunctionConfiguration & WithArchitectures(Aws::Vector< Architecture > &&value)
void SetDescription(const Aws::String &value)
FunctionConfiguration & WithStateReasonCode(StateReasonCode &&value)
FunctionConfiguration & WithLoggingConfig(const LoggingConfig &value)
const Aws::String & GetSigningProfileVersionArn() const
const DeadLetterConfig & GetDeadLetterConfig() const
FunctionConfiguration & AddArchitectures(const Architecture &value)
FunctionConfiguration & WithFunctionArn(const char *value)
void SetDeadLetterConfig(DeadLetterConfig &&value)
FunctionConfiguration & WithEnvironment(const EnvironmentResponse &value)
FunctionConfiguration & WithArchitectures(const Aws::Vector< Architecture > &value)
FunctionConfiguration & WithRole(const Aws::String &value)
FunctionConfiguration & WithLastUpdateStatusReasonCode(LastUpdateStatusReasonCode &&value)
AWS_LAMBDA_API Aws::Utils::Json::JsonValue Jsonize() const
void SetEnvironment(EnvironmentResponse &&value)
FunctionConfiguration & WithLastUpdateStatusReasonCode(const LastUpdateStatusReasonCode &value)
FunctionConfiguration & WithVpcConfig(VpcConfigResponse &&value)
const LastUpdateStatusReasonCode & GetLastUpdateStatusReasonCode() const
FunctionConfiguration & WithHandler(Aws::String &&value)
FunctionConfiguration & WithRuntimeVersionConfig(RuntimeVersionConfig &&value)
FunctionConfiguration & WithFileSystemConfigs(Aws::Vector< FileSystemConfig > &&value)
FunctionConfiguration & WithDeadLetterConfig(DeadLetterConfig &&value)
void SetVpcConfig(VpcConfigResponse &&value)
FunctionConfiguration & WithLastModified(const Aws::String &value)
FunctionConfiguration & AddFileSystemConfigs(const FileSystemConfig &value)
FunctionConfiguration & WithSigningJobArn(Aws::String &&value)
FunctionConfiguration & WithSigningJobArn(const Aws::String &value)
void SetSigningProfileVersionArn(const Aws::String &value)
FunctionConfiguration & WithLastUpdateStatus(const LastUpdateStatus &value)
void SetLastUpdateStatus(const LastUpdateStatus &value)
FunctionConfiguration & WithTimeout(int value)
FunctionConfiguration & WithDescription(Aws::String &&value)
FunctionConfiguration & WithVpcConfig(const VpcConfigResponse &value)
const SnapStartResponse & GetSnapStart() const
FunctionConfiguration & WithEphemeralStorage(EphemeralStorage &&value)
FunctionConfiguration & WithDescription(const Aws::String &value)
const TracingConfigResponse & GetTracingConfig() const
FunctionConfiguration & WithSigningProfileVersionArn(const char *value)
void SetStateReason(const Aws::String &value)
FunctionConfiguration & AddLayers(const Layer &value)
void SetStateReasonCode(const StateReasonCode &value)
FunctionConfiguration & WithMasterArn(Aws::String &&value)
void SetEnvironment(const EnvironmentResponse &value)
FunctionConfiguration & WithHandler(const Aws::String &value)
FunctionConfiguration & WithVersion(const char *value)
FunctionConfiguration & WithLastModified(const char *value)
FunctionConfiguration & WithRevisionId(const char *value)
void SetArchitectures(Aws::Vector< Architecture > &&value)
FunctionConfiguration & WithSigningProfileVersionArn(const Aws::String &value)
const Aws::Vector< FileSystemConfig > & GetFileSystemConfigs() const
FunctionConfiguration & WithEphemeralStorage(const EphemeralStorage &value)
const StateReasonCode & GetStateReasonCode() const
void SetImageConfigResponse(ImageConfigResponse &&value)
const VpcConfigResponse & GetVpcConfig() const
FunctionConfiguration & WithLastModified(Aws::String &&value)
void SetLastUpdateStatusReason(const Aws::String &value)
FunctionConfiguration & WithSnapStart(const SnapStartResponse &value)
const Aws::Vector< Architecture > & GetArchitectures() const
FunctionConfiguration & WithKMSKeyArn(const char *value)
void SetLastUpdateStatus(LastUpdateStatus &&value)
FunctionConfiguration & WithVersion(Aws::String &&value)
FunctionConfiguration & WithLayers(const Aws::Vector< Layer > &value)
void SetSnapStart(const SnapStartResponse &value)
FunctionConfiguration & WithRuntime(Runtime &&value)
void SetRuntimeVersionConfig(const RuntimeVersionConfig &value)
FunctionConfiguration & WithRole(const char *value)
FunctionConfiguration & WithLastUpdateStatus(LastUpdateStatus &&value)
FunctionConfiguration & WithRevisionId(const Aws::String &value)
const Aws::Vector< Layer > & GetLayers() const
FunctionConfiguration & WithRequestId(const Aws::String &value)
void SetEphemeralStorage(EphemeralStorage &&value)
FunctionConfiguration & WithImageConfigResponse(const ImageConfigResponse &value)
FunctionConfiguration & WithImageConfigResponse(ImageConfigResponse &&value)
FunctionConfiguration & AddFileSystemConfigs(FileSystemConfig &&value)
void SetRuntimeVersionConfig(RuntimeVersionConfig &&value)
void SetLastUpdateStatusReasonCode(const LastUpdateStatusReasonCode &value)
FunctionConfiguration & WithFunctionName(const Aws::String &value)
FunctionConfiguration & WithFunctionArn(Aws::String &&value)
FunctionConfiguration & WithState(const State &value)
FunctionConfiguration & WithDescription(const char *value)
FunctionConfiguration & WithRuntimeVersionConfig(const RuntimeVersionConfig &value)
FunctionConfiguration & WithKMSKeyArn(Aws::String &&value)
FunctionConfiguration & AddLayers(Layer &&value)
FunctionConfiguration & WithLoggingConfig(LoggingConfig &&value)
AWS_LAMBDA_API FunctionConfiguration & operator=(Aws::Utils::Json::JsonView jsonValue)
FunctionConfiguration & WithRequestId(Aws::String &&value)
void SetFileSystemConfigs(const Aws::Vector< FileSystemConfig > &value)
FunctionConfiguration & WithRole(Aws::String &&value)
FunctionConfiguration & WithMasterArn(const Aws::String &value)
FunctionConfiguration & WithStateReason(const Aws::String &value)
const EphemeralStorage & GetEphemeralStorage() const
std::basic_string< char, std::char_traits< char >, Aws::Allocator< char > > String
std::vector< T, Aws::Allocator< T > > Vector
Aws::Utils::Json::JsonValue JsonValue