AWS SDK for C++

AWS SDK for C++ Version 1.11.606

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() = default;
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 template<typename FunctionNameT = Aws::String>
66 void SetFunctionName(FunctionNameT&& value) { m_functionNameHasBeenSet = true; m_functionName = std::forward<FunctionNameT>(value); }
67 template<typename FunctionNameT = Aws::String>
68 FunctionConfiguration& WithFunctionName(FunctionNameT&& value) { SetFunctionName(std::forward<FunctionNameT>(value)); return *this;}
70
72
75 inline const Aws::String& GetFunctionArn() const { return m_functionArn; }
76 inline bool FunctionArnHasBeenSet() const { return m_functionArnHasBeenSet; }
77 template<typename FunctionArnT = Aws::String>
78 void SetFunctionArn(FunctionArnT&& value) { m_functionArnHasBeenSet = true; m_functionArn = std::forward<FunctionArnT>(value); }
79 template<typename FunctionArnT = Aws::String>
80 FunctionConfiguration& WithFunctionArn(FunctionArnT&& value) { SetFunctionArn(std::forward<FunctionArnT>(value)); return *this;}
82
84
98 inline Runtime GetRuntime() const { return m_runtime; }
99 inline bool RuntimeHasBeenSet() const { return m_runtimeHasBeenSet; }
100 inline void SetRuntime(Runtime value) { m_runtimeHasBeenSet = true; m_runtime = value; }
101 inline FunctionConfiguration& WithRuntime(Runtime value) { SetRuntime(value); return *this;}
103
105
108 inline const Aws::String& GetRole() const { return m_role; }
109 inline bool RoleHasBeenSet() const { return m_roleHasBeenSet; }
110 template<typename RoleT = Aws::String>
111 void SetRole(RoleT&& value) { m_roleHasBeenSet = true; m_role = std::forward<RoleT>(value); }
112 template<typename RoleT = Aws::String>
113 FunctionConfiguration& WithRole(RoleT&& value) { SetRole(std::forward<RoleT>(value)); return *this;}
115
117
120 inline const Aws::String& GetHandler() const { return m_handler; }
121 inline bool HandlerHasBeenSet() const { return m_handlerHasBeenSet; }
122 template<typename HandlerT = Aws::String>
123 void SetHandler(HandlerT&& value) { m_handlerHasBeenSet = true; m_handler = std::forward<HandlerT>(value); }
124 template<typename HandlerT = Aws::String>
125 FunctionConfiguration& WithHandler(HandlerT&& value) { SetHandler(std::forward<HandlerT>(value)); return *this;}
127
129
132 inline long long GetCodeSize() const { return m_codeSize; }
133 inline bool CodeSizeHasBeenSet() const { return m_codeSizeHasBeenSet; }
134 inline void SetCodeSize(long long value) { m_codeSizeHasBeenSet = true; m_codeSize = value; }
135 inline FunctionConfiguration& WithCodeSize(long long value) { SetCodeSize(value); return *this;}
137
139
142 inline const Aws::String& GetDescription() const { return m_description; }
143 inline bool DescriptionHasBeenSet() const { return m_descriptionHasBeenSet; }
144 template<typename DescriptionT = Aws::String>
145 void SetDescription(DescriptionT&& value) { m_descriptionHasBeenSet = true; m_description = std::forward<DescriptionT>(value); }
146 template<typename DescriptionT = Aws::String>
147 FunctionConfiguration& WithDescription(DescriptionT&& value) { SetDescription(std::forward<DescriptionT>(value)); return *this;}
149
151
155 inline int GetTimeout() const { return m_timeout; }
156 inline bool TimeoutHasBeenSet() const { return m_timeoutHasBeenSet; }
157 inline void SetTimeout(int value) { m_timeoutHasBeenSet = true; m_timeout = value; }
158 inline FunctionConfiguration& WithTimeout(int value) { SetTimeout(value); return *this;}
160
162
165 inline int GetMemorySize() const { return m_memorySize; }
166 inline bool MemorySizeHasBeenSet() const { return m_memorySizeHasBeenSet; }
167 inline void SetMemorySize(int value) { m_memorySizeHasBeenSet = true; m_memorySize = value; }
168 inline FunctionConfiguration& WithMemorySize(int value) { SetMemorySize(value); return *this;}
170
172
177 inline const Aws::String& GetLastModified() const { return m_lastModified; }
178 inline bool LastModifiedHasBeenSet() const { return m_lastModifiedHasBeenSet; }
179 template<typename LastModifiedT = Aws::String>
180 void SetLastModified(LastModifiedT&& value) { m_lastModifiedHasBeenSet = true; m_lastModified = std::forward<LastModifiedT>(value); }
181 template<typename LastModifiedT = Aws::String>
182 FunctionConfiguration& WithLastModified(LastModifiedT&& value) { SetLastModified(std::forward<LastModifiedT>(value)); return *this;}
184
186
189 inline const Aws::String& GetCodeSha256() const { return m_codeSha256; }
190 inline bool CodeSha256HasBeenSet() const { return m_codeSha256HasBeenSet; }
191 template<typename CodeSha256T = Aws::String>
192 void SetCodeSha256(CodeSha256T&& value) { m_codeSha256HasBeenSet = true; m_codeSha256 = std::forward<CodeSha256T>(value); }
193 template<typename CodeSha256T = Aws::String>
194 FunctionConfiguration& WithCodeSha256(CodeSha256T&& value) { SetCodeSha256(std::forward<CodeSha256T>(value)); return *this;}
196
198
201 inline const Aws::String& GetVersion() const { return m_version; }
202 inline bool VersionHasBeenSet() const { return m_versionHasBeenSet; }
203 template<typename VersionT = Aws::String>
204 void SetVersion(VersionT&& value) { m_versionHasBeenSet = true; m_version = std::forward<VersionT>(value); }
205 template<typename VersionT = Aws::String>
206 FunctionConfiguration& WithVersion(VersionT&& value) { SetVersion(std::forward<VersionT>(value)); return *this;}
208
210
213 inline const VpcConfigResponse& GetVpcConfig() const { return m_vpcConfig; }
214 inline bool VpcConfigHasBeenSet() const { return m_vpcConfigHasBeenSet; }
215 template<typename VpcConfigT = VpcConfigResponse>
216 void SetVpcConfig(VpcConfigT&& value) { m_vpcConfigHasBeenSet = true; m_vpcConfig = std::forward<VpcConfigT>(value); }
217 template<typename VpcConfigT = VpcConfigResponse>
218 FunctionConfiguration& WithVpcConfig(VpcConfigT&& value) { SetVpcConfig(std::forward<VpcConfigT>(value)); return *this;}
220
222
225 inline const DeadLetterConfig& GetDeadLetterConfig() const { return m_deadLetterConfig; }
226 inline bool DeadLetterConfigHasBeenSet() const { return m_deadLetterConfigHasBeenSet; }
227 template<typename DeadLetterConfigT = DeadLetterConfig>
228 void SetDeadLetterConfig(DeadLetterConfigT&& value) { m_deadLetterConfigHasBeenSet = true; m_deadLetterConfig = std::forward<DeadLetterConfigT>(value); }
229 template<typename DeadLetterConfigT = DeadLetterConfig>
230 FunctionConfiguration& WithDeadLetterConfig(DeadLetterConfigT&& value) { SetDeadLetterConfig(std::forward<DeadLetterConfigT>(value)); return *this;}
232
234
239 inline const EnvironmentResponse& GetEnvironment() const { return m_environment; }
240 inline bool EnvironmentHasBeenSet() const { return m_environmentHasBeenSet; }
241 template<typename EnvironmentT = EnvironmentResponse>
242 void SetEnvironment(EnvironmentT&& value) { m_environmentHasBeenSet = true; m_environment = std::forward<EnvironmentT>(value); }
243 template<typename EnvironmentT = EnvironmentResponse>
244 FunctionConfiguration& WithEnvironment(EnvironmentT&& value) { SetEnvironment(std::forward<EnvironmentT>(value)); return *this;}
246
248
271 inline const Aws::String& GetKMSKeyArn() const { return m_kMSKeyArn; }
272 inline bool KMSKeyArnHasBeenSet() const { return m_kMSKeyArnHasBeenSet; }
273 template<typename KMSKeyArnT = Aws::String>
274 void SetKMSKeyArn(KMSKeyArnT&& value) { m_kMSKeyArnHasBeenSet = true; m_kMSKeyArn = std::forward<KMSKeyArnT>(value); }
275 template<typename KMSKeyArnT = Aws::String>
276 FunctionConfiguration& WithKMSKeyArn(KMSKeyArnT&& value) { SetKMSKeyArn(std::forward<KMSKeyArnT>(value)); return *this;}
278
280
283 inline const TracingConfigResponse& GetTracingConfig() const { return m_tracingConfig; }
284 inline bool TracingConfigHasBeenSet() const { return m_tracingConfigHasBeenSet; }
285 template<typename TracingConfigT = TracingConfigResponse>
286 void SetTracingConfig(TracingConfigT&& value) { m_tracingConfigHasBeenSet = true; m_tracingConfig = std::forward<TracingConfigT>(value); }
287 template<typename TracingConfigT = TracingConfigResponse>
288 FunctionConfiguration& WithTracingConfig(TracingConfigT&& value) { SetTracingConfig(std::forward<TracingConfigT>(value)); return *this;}
290
292
295 inline const Aws::String& GetMasterArn() const { return m_masterArn; }
296 inline bool MasterArnHasBeenSet() const { return m_masterArnHasBeenSet; }
297 template<typename MasterArnT = Aws::String>
298 void SetMasterArn(MasterArnT&& value) { m_masterArnHasBeenSet = true; m_masterArn = std::forward<MasterArnT>(value); }
299 template<typename MasterArnT = Aws::String>
300 FunctionConfiguration& WithMasterArn(MasterArnT&& value) { SetMasterArn(std::forward<MasterArnT>(value)); return *this;}
302
304
307 inline const Aws::String& GetRevisionId() const { return m_revisionId; }
308 inline bool RevisionIdHasBeenSet() const { return m_revisionIdHasBeenSet; }
309 template<typename RevisionIdT = Aws::String>
310 void SetRevisionId(RevisionIdT&& value) { m_revisionIdHasBeenSet = true; m_revisionId = std::forward<RevisionIdT>(value); }
311 template<typename RevisionIdT = Aws::String>
312 FunctionConfiguration& WithRevisionId(RevisionIdT&& value) { SetRevisionId(std::forward<RevisionIdT>(value)); return *this;}
314
316
320 inline const Aws::Vector<Layer>& GetLayers() const { return m_layers; }
321 inline bool LayersHasBeenSet() const { return m_layersHasBeenSet; }
322 template<typename LayersT = Aws::Vector<Layer>>
323 void SetLayers(LayersT&& value) { m_layersHasBeenSet = true; m_layers = std::forward<LayersT>(value); }
324 template<typename LayersT = Aws::Vector<Layer>>
325 FunctionConfiguration& WithLayers(LayersT&& value) { SetLayers(std::forward<LayersT>(value)); return *this;}
326 template<typename LayersT = Layer>
327 FunctionConfiguration& AddLayers(LayersT&& value) { m_layersHasBeenSet = true; m_layers.emplace_back(std::forward<LayersT>(value)); return *this; }
329
331
335 inline State GetState() const { return m_state; }
336 inline bool StateHasBeenSet() const { return m_stateHasBeenSet; }
337 inline void SetState(State value) { m_stateHasBeenSet = true; m_state = value; }
338 inline FunctionConfiguration& WithState(State value) { SetState(value); return *this;}
340
342
345 inline const Aws::String& GetStateReason() const { return m_stateReason; }
346 inline bool StateReasonHasBeenSet() const { return m_stateReasonHasBeenSet; }
347 template<typename StateReasonT = Aws::String>
348 void SetStateReason(StateReasonT&& value) { m_stateReasonHasBeenSet = true; m_stateReason = std::forward<StateReasonT>(value); }
349 template<typename StateReasonT = Aws::String>
350 FunctionConfiguration& WithStateReason(StateReasonT&& value) { SetStateReason(std::forward<StateReasonT>(value)); return *this;}
352
354
358 inline StateReasonCode GetStateReasonCode() const { return m_stateReasonCode; }
359 inline bool StateReasonCodeHasBeenSet() const { return m_stateReasonCodeHasBeenSet; }
360 inline void SetStateReasonCode(StateReasonCode value) { m_stateReasonCodeHasBeenSet = true; m_stateReasonCode = value; }
363
365
369 inline LastUpdateStatus GetLastUpdateStatus() const { return m_lastUpdateStatus; }
370 inline bool LastUpdateStatusHasBeenSet() const { return m_lastUpdateStatusHasBeenSet; }
371 inline void SetLastUpdateStatus(LastUpdateStatus value) { m_lastUpdateStatusHasBeenSet = true; m_lastUpdateStatus = value; }
374
376
379 inline const Aws::String& GetLastUpdateStatusReason() const { return m_lastUpdateStatusReason; }
380 inline bool LastUpdateStatusReasonHasBeenSet() const { return m_lastUpdateStatusReasonHasBeenSet; }
381 template<typename LastUpdateStatusReasonT = Aws::String>
382 void SetLastUpdateStatusReason(LastUpdateStatusReasonT&& value) { m_lastUpdateStatusReasonHasBeenSet = true; m_lastUpdateStatusReason = std::forward<LastUpdateStatusReasonT>(value); }
383 template<typename LastUpdateStatusReasonT = Aws::String>
384 FunctionConfiguration& WithLastUpdateStatusReason(LastUpdateStatusReasonT&& value) { SetLastUpdateStatusReason(std::forward<LastUpdateStatusReasonT>(value)); return *this;}
386
388
391 inline LastUpdateStatusReasonCode GetLastUpdateStatusReasonCode() const { return m_lastUpdateStatusReasonCode; }
392 inline bool LastUpdateStatusReasonCodeHasBeenSet() const { return m_lastUpdateStatusReasonCodeHasBeenSet; }
393 inline void SetLastUpdateStatusReasonCode(LastUpdateStatusReasonCode value) { m_lastUpdateStatusReasonCodeHasBeenSet = true; m_lastUpdateStatusReasonCode = value; }
396
398
403 inline const Aws::Vector<FileSystemConfig>& GetFileSystemConfigs() const { return m_fileSystemConfigs; }
404 inline bool FileSystemConfigsHasBeenSet() const { return m_fileSystemConfigsHasBeenSet; }
405 template<typename FileSystemConfigsT = Aws::Vector<FileSystemConfig>>
406 void SetFileSystemConfigs(FileSystemConfigsT&& value) { m_fileSystemConfigsHasBeenSet = true; m_fileSystemConfigs = std::forward<FileSystemConfigsT>(value); }
407 template<typename FileSystemConfigsT = Aws::Vector<FileSystemConfig>>
408 FunctionConfiguration& WithFileSystemConfigs(FileSystemConfigsT&& value) { SetFileSystemConfigs(std::forward<FileSystemConfigsT>(value)); return *this;}
409 template<typename FileSystemConfigsT = FileSystemConfig>
410 FunctionConfiguration& AddFileSystemConfigs(FileSystemConfigsT&& value) { m_fileSystemConfigsHasBeenSet = true; m_fileSystemConfigs.emplace_back(std::forward<FileSystemConfigsT>(value)); return *this; }
412
414
418 inline PackageType GetPackageType() const { return m_packageType; }
419 inline bool PackageTypeHasBeenSet() const { return m_packageTypeHasBeenSet; }
420 inline void SetPackageType(PackageType value) { m_packageTypeHasBeenSet = true; m_packageType = value; }
421 inline FunctionConfiguration& WithPackageType(PackageType value) { SetPackageType(value); return *this;}
423
425
428 inline const ImageConfigResponse& GetImageConfigResponse() const { return m_imageConfigResponse; }
429 inline bool ImageConfigResponseHasBeenSet() const { return m_imageConfigResponseHasBeenSet; }
430 template<typename ImageConfigResponseT = ImageConfigResponse>
431 void SetImageConfigResponse(ImageConfigResponseT&& value) { m_imageConfigResponseHasBeenSet = true; m_imageConfigResponse = std::forward<ImageConfigResponseT>(value); }
432 template<typename ImageConfigResponseT = ImageConfigResponse>
433 FunctionConfiguration& WithImageConfigResponse(ImageConfigResponseT&& value) { SetImageConfigResponse(std::forward<ImageConfigResponseT>(value)); return *this;}
435
437
440 inline const Aws::String& GetSigningProfileVersionArn() const { return m_signingProfileVersionArn; }
441 inline bool SigningProfileVersionArnHasBeenSet() const { return m_signingProfileVersionArnHasBeenSet; }
442 template<typename SigningProfileVersionArnT = Aws::String>
443 void SetSigningProfileVersionArn(SigningProfileVersionArnT&& value) { m_signingProfileVersionArnHasBeenSet = true; m_signingProfileVersionArn = std::forward<SigningProfileVersionArnT>(value); }
444 template<typename SigningProfileVersionArnT = Aws::String>
445 FunctionConfiguration& WithSigningProfileVersionArn(SigningProfileVersionArnT&& value) { SetSigningProfileVersionArn(std::forward<SigningProfileVersionArnT>(value)); return *this;}
447
449
452 inline const Aws::String& GetSigningJobArn() const { return m_signingJobArn; }
453 inline bool SigningJobArnHasBeenSet() const { return m_signingJobArnHasBeenSet; }
454 template<typename SigningJobArnT = Aws::String>
455 void SetSigningJobArn(SigningJobArnT&& value) { m_signingJobArnHasBeenSet = true; m_signingJobArn = std::forward<SigningJobArnT>(value); }
456 template<typename SigningJobArnT = Aws::String>
457 FunctionConfiguration& WithSigningJobArn(SigningJobArnT&& value) { SetSigningJobArn(std::forward<SigningJobArnT>(value)); return *this;}
459
461
466 inline const Aws::Vector<Architecture>& GetArchitectures() const { return m_architectures; }
467 inline bool ArchitecturesHasBeenSet() const { return m_architecturesHasBeenSet; }
468 template<typename ArchitecturesT = Aws::Vector<Architecture>>
469 void SetArchitectures(ArchitecturesT&& value) { m_architecturesHasBeenSet = true; m_architectures = std::forward<ArchitecturesT>(value); }
470 template<typename ArchitecturesT = Aws::Vector<Architecture>>
471 FunctionConfiguration& WithArchitectures(ArchitecturesT&& value) { SetArchitectures(std::forward<ArchitecturesT>(value)); return *this;}
472 inline FunctionConfiguration& AddArchitectures(Architecture value) { m_architecturesHasBeenSet = true; m_architectures.push_back(value); return *this; }
474
476
483 inline const EphemeralStorage& GetEphemeralStorage() const { return m_ephemeralStorage; }
484 inline bool EphemeralStorageHasBeenSet() const { return m_ephemeralStorageHasBeenSet; }
485 template<typename EphemeralStorageT = EphemeralStorage>
486 void SetEphemeralStorage(EphemeralStorageT&& value) { m_ephemeralStorageHasBeenSet = true; m_ephemeralStorage = std::forward<EphemeralStorageT>(value); }
487 template<typename EphemeralStorageT = EphemeralStorage>
488 FunctionConfiguration& WithEphemeralStorage(EphemeralStorageT&& value) { SetEphemeralStorage(std::forward<EphemeralStorageT>(value)); return *this;}
490
492
499 inline const SnapStartResponse& GetSnapStart() const { return m_snapStart; }
500 inline bool SnapStartHasBeenSet() const { return m_snapStartHasBeenSet; }
501 template<typename SnapStartT = SnapStartResponse>
502 void SetSnapStart(SnapStartT&& value) { m_snapStartHasBeenSet = true; m_snapStart = std::forward<SnapStartT>(value); }
503 template<typename SnapStartT = SnapStartResponse>
504 FunctionConfiguration& WithSnapStart(SnapStartT&& value) { SetSnapStart(std::forward<SnapStartT>(value)); return *this;}
506
508
511 inline const RuntimeVersionConfig& GetRuntimeVersionConfig() const { return m_runtimeVersionConfig; }
512 inline bool RuntimeVersionConfigHasBeenSet() const { return m_runtimeVersionConfigHasBeenSet; }
513 template<typename RuntimeVersionConfigT = RuntimeVersionConfig>
514 void SetRuntimeVersionConfig(RuntimeVersionConfigT&& value) { m_runtimeVersionConfigHasBeenSet = true; m_runtimeVersionConfig = std::forward<RuntimeVersionConfigT>(value); }
515 template<typename RuntimeVersionConfigT = RuntimeVersionConfig>
516 FunctionConfiguration& WithRuntimeVersionConfig(RuntimeVersionConfigT&& value) { SetRuntimeVersionConfig(std::forward<RuntimeVersionConfigT>(value)); return *this;}
518
520
523 inline const LoggingConfig& GetLoggingConfig() const { return m_loggingConfig; }
524 inline bool LoggingConfigHasBeenSet() const { return m_loggingConfigHasBeenSet; }
525 template<typename LoggingConfigT = LoggingConfig>
526 void SetLoggingConfig(LoggingConfigT&& value) { m_loggingConfigHasBeenSet = true; m_loggingConfig = std::forward<LoggingConfigT>(value); }
527 template<typename LoggingConfigT = LoggingConfig>
528 FunctionConfiguration& WithLoggingConfig(LoggingConfigT&& value) { SetLoggingConfig(std::forward<LoggingConfigT>(value)); return *this;}
530
532
533 inline const Aws::String& GetRequestId() const { return m_requestId; }
534 inline bool RequestIdHasBeenSet() const { return m_requestIdHasBeenSet; }
535 template<typename RequestIdT = Aws::String>
536 void SetRequestId(RequestIdT&& value) { m_requestIdHasBeenSet = true; m_requestId = std::forward<RequestIdT>(value); }
537 template<typename RequestIdT = Aws::String>
538 FunctionConfiguration& WithRequestId(RequestIdT&& value) { SetRequestId(std::forward<RequestIdT>(value)); return *this;}
540 private:
541
542 Aws::String m_functionName;
543 bool m_functionNameHasBeenSet = false;
544
545 Aws::String m_functionArn;
546 bool m_functionArnHasBeenSet = false;
547
548 Runtime m_runtime{Runtime::NOT_SET};
549 bool m_runtimeHasBeenSet = false;
550
551 Aws::String m_role;
552 bool m_roleHasBeenSet = false;
553
554 Aws::String m_handler;
555 bool m_handlerHasBeenSet = false;
556
557 long long m_codeSize{0};
558 bool m_codeSizeHasBeenSet = false;
559
560 Aws::String m_description;
561 bool m_descriptionHasBeenSet = false;
562
563 int m_timeout{0};
564 bool m_timeoutHasBeenSet = false;
565
566 int m_memorySize{0};
567 bool m_memorySizeHasBeenSet = false;
568
569 Aws::String m_lastModified;
570 bool m_lastModifiedHasBeenSet = false;
571
572 Aws::String m_codeSha256;
573 bool m_codeSha256HasBeenSet = false;
574
575 Aws::String m_version;
576 bool m_versionHasBeenSet = false;
577
578 VpcConfigResponse m_vpcConfig;
579 bool m_vpcConfigHasBeenSet = false;
580
581 DeadLetterConfig m_deadLetterConfig;
582 bool m_deadLetterConfigHasBeenSet = false;
583
584 EnvironmentResponse m_environment;
585 bool m_environmentHasBeenSet = false;
586
587 Aws::String m_kMSKeyArn;
588 bool m_kMSKeyArnHasBeenSet = false;
589
590 TracingConfigResponse m_tracingConfig;
591 bool m_tracingConfigHasBeenSet = false;
592
593 Aws::String m_masterArn;
594 bool m_masterArnHasBeenSet = false;
595
596 Aws::String m_revisionId;
597 bool m_revisionIdHasBeenSet = false;
598
599 Aws::Vector<Layer> m_layers;
600 bool m_layersHasBeenSet = false;
601
602 State m_state{State::NOT_SET};
603 bool m_stateHasBeenSet = false;
604
605 Aws::String m_stateReason;
606 bool m_stateReasonHasBeenSet = false;
607
608 StateReasonCode m_stateReasonCode{StateReasonCode::NOT_SET};
609 bool m_stateReasonCodeHasBeenSet = false;
610
612 bool m_lastUpdateStatusHasBeenSet = false;
613
614 Aws::String m_lastUpdateStatusReason;
615 bool m_lastUpdateStatusReasonHasBeenSet = false;
616
618 bool m_lastUpdateStatusReasonCodeHasBeenSet = false;
619
620 Aws::Vector<FileSystemConfig> m_fileSystemConfigs;
621 bool m_fileSystemConfigsHasBeenSet = false;
622
623 PackageType m_packageType{PackageType::NOT_SET};
624 bool m_packageTypeHasBeenSet = false;
625
626 ImageConfigResponse m_imageConfigResponse;
627 bool m_imageConfigResponseHasBeenSet = false;
628
629 Aws::String m_signingProfileVersionArn;
630 bool m_signingProfileVersionArnHasBeenSet = false;
631
632 Aws::String m_signingJobArn;
633 bool m_signingJobArnHasBeenSet = false;
634
635 Aws::Vector<Architecture> m_architectures;
636 bool m_architecturesHasBeenSet = false;
637
638 EphemeralStorage m_ephemeralStorage;
639 bool m_ephemeralStorageHasBeenSet = false;
640
641 SnapStartResponse m_snapStart;
642 bool m_snapStartHasBeenSet = false;
643
644 RuntimeVersionConfig m_runtimeVersionConfig;
645 bool m_runtimeVersionConfigHasBeenSet = false;
646
647 LoggingConfig m_loggingConfig;
648 bool m_loggingConfigHasBeenSet = false;
649
650 Aws::String m_requestId;
651 bool m_requestIdHasBeenSet = false;
652 };
653
654} // namespace Model
655} // namespace Lambda
656} // namespace Aws
FunctionConfiguration & WithStateReasonCode(StateReasonCode value)
AWS_LAMBDA_API FunctionConfiguration()=default
void SetSigningProfileVersionArn(SigningProfileVersionArnT &&value)
void SetLastUpdateStatusReason(LastUpdateStatusReasonT &&value)
FunctionConfiguration & WithHandler(HandlerT &&value)
FunctionConfiguration & WithDeadLetterConfig(DeadLetterConfigT &&value)
FunctionConfiguration & WithLayers(LayersT &&value)
FunctionConfiguration & WithEphemeralStorage(EphemeralStorageT &&value)
const ImageConfigResponse & GetImageConfigResponse() const
FunctionConfiguration & AddArchitectures(Architecture value)
AWS_LAMBDA_API FunctionConfiguration(Aws::Utils::Json::JsonView jsonValue)
const RuntimeVersionConfig & GetRuntimeVersionConfig() const
FunctionConfiguration & WithRuntime(Runtime value)
FunctionConfiguration & WithImageConfigResponse(ImageConfigResponseT &&value)
FunctionConfiguration & WithLastUpdateStatus(LastUpdateStatus value)
void SetImageConfigResponse(ImageConfigResponseT &&value)
FunctionConfiguration & WithKMSKeyArn(KMSKeyArnT &&value)
void SetLastUpdateStatusReasonCode(LastUpdateStatusReasonCode value)
const EnvironmentResponse & GetEnvironment() const
FunctionConfiguration & WithMemorySize(int value)
void SetFileSystemConfigs(FileSystemConfigsT &&value)
void SetEphemeralStorage(EphemeralStorageT &&value)
FunctionConfiguration & WithCodeSize(long long value)
const Aws::String & GetLastUpdateStatusReason() const
FunctionConfiguration & WithRole(RoleT &&value)
FunctionConfiguration & WithFileSystemConfigs(FileSystemConfigsT &&value)
FunctionConfiguration & WithCodeSha256(CodeSha256T &&value)
void SetDeadLetterConfig(DeadLetterConfigT &&value)
const Aws::String & GetSigningProfileVersionArn() const
const DeadLetterConfig & GetDeadLetterConfig() const
AWS_LAMBDA_API Aws::Utils::Json::JsonValue Jsonize() const
FunctionConfiguration & WithTracingConfig(TracingConfigT &&value)
LastUpdateStatusReasonCode GetLastUpdateStatusReasonCode() const
FunctionConfiguration & WithLoggingConfig(LoggingConfigT &&value)
FunctionConfiguration & WithMasterArn(MasterArnT &&value)
FunctionConfiguration & WithTimeout(int value)
FunctionConfiguration & WithSigningJobArn(SigningJobArnT &&value)
const SnapStartResponse & GetSnapStart() const
FunctionConfiguration & WithRuntimeVersionConfig(RuntimeVersionConfigT &&value)
FunctionConfiguration & WithArchitectures(ArchitecturesT &&value)
const TracingConfigResponse & GetTracingConfig() const
FunctionConfiguration & WithEnvironment(EnvironmentT &&value)
FunctionConfiguration & WithSigningProfileVersionArn(SigningProfileVersionArnT &&value)
FunctionConfiguration & WithState(State value)
FunctionConfiguration & WithLastUpdateStatusReason(LastUpdateStatusReasonT &&value)
const Aws::Vector< FileSystemConfig > & GetFileSystemConfigs() const
FunctionConfiguration & WithLastUpdateStatusReasonCode(LastUpdateStatusReasonCode value)
const VpcConfigResponse & GetVpcConfig() const
FunctionConfiguration & WithPackageType(PackageType value)
const Aws::Vector< Architecture > & GetArchitectures() const
FunctionConfiguration & AddFileSystemConfigs(FileSystemConfigsT &&value)
FunctionConfiguration & WithDescription(DescriptionT &&value)
FunctionConfiguration & WithRequestId(RequestIdT &&value)
const Aws::Vector< Layer > & GetLayers() const
FunctionConfiguration & WithFunctionName(FunctionNameT &&value)
FunctionConfiguration & WithFunctionArn(FunctionArnT &&value)
FunctionConfiguration & WithVpcConfig(VpcConfigT &&value)
FunctionConfiguration & WithLastModified(LastModifiedT &&value)
FunctionConfiguration & WithStateReason(StateReasonT &&value)
FunctionConfiguration & WithRevisionId(RevisionIdT &&value)
AWS_LAMBDA_API FunctionConfiguration & operator=(Aws::Utils::Json::JsonView jsonValue)
FunctionConfiguration & WithSnapStart(SnapStartT &&value)
FunctionConfiguration & AddLayers(LayersT &&value)
void SetRuntimeVersionConfig(RuntimeVersionConfigT &&value)
FunctionConfiguration & WithVersion(VersionT &&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