AWS SDK for C++

AWS SDK for C++ Version 1.11.786

Loading...
Searching...
No Matches
CreateFunctionResult.h
1
6#pragma once
7#include <aws/core/http/HttpResponse.h>
8#include <aws/core/utils/memory/stl/AWSString.h>
9#include <aws/core/utils/memory/stl/AWSVector.h>
10#include <aws/lambda/Lambda_EXPORTS.h>
11#include <aws/lambda/model/Architecture.h>
12#include <aws/lambda/model/CapacityProviderConfig.h>
13#include <aws/lambda/model/DeadLetterConfig.h>
14#include <aws/lambda/model/DurableConfig.h>
15#include <aws/lambda/model/EnvironmentResponse.h>
16#include <aws/lambda/model/EphemeralStorage.h>
17#include <aws/lambda/model/FileSystemConfig.h>
18#include <aws/lambda/model/ImageConfigResponse.h>
19#include <aws/lambda/model/LastUpdateStatus.h>
20#include <aws/lambda/model/LastUpdateStatusReasonCode.h>
21#include <aws/lambda/model/Layer.h>
22#include <aws/lambda/model/LoggingConfig.h>
23#include <aws/lambda/model/PackageType.h>
24#include <aws/lambda/model/Runtime.h>
25#include <aws/lambda/model/RuntimeVersionConfig.h>
26#include <aws/lambda/model/SnapStartResponse.h>
27#include <aws/lambda/model/State.h>
28#include <aws/lambda/model/StateReasonCode.h>
29#include <aws/lambda/model/TenancyConfig.h>
30#include <aws/lambda/model/TracingConfigResponse.h>
31#include <aws/lambda/model/VpcConfigResponse.h>
32
33#include <utility>
34
35namespace Aws {
36template <typename RESULT_TYPE>
37class AmazonWebServiceResult;
38
39namespace Utils {
40namespace Json {
41class JsonValue;
42} // namespace Json
43} // namespace Utils
44namespace Lambda {
45namespace Model {
52 public:
53 AWS_LAMBDA_API CreateFunctionResult() = default;
56
58
61 inline const Aws::String& GetFunctionName() const { return m_functionName; }
62 template <typename FunctionNameT = Aws::String>
63 void SetFunctionName(FunctionNameT&& value) {
64 m_functionNameHasBeenSet = true;
65 m_functionName = std::forward<FunctionNameT>(value);
66 }
67 template <typename FunctionNameT = Aws::String>
68 CreateFunctionResult& WithFunctionName(FunctionNameT&& value) {
69 SetFunctionName(std::forward<FunctionNameT>(value));
70 return *this;
71 }
73
75
78 inline const Aws::String& GetFunctionArn() const { return m_functionArn; }
79 template <typename FunctionArnT = Aws::String>
80 void SetFunctionArn(FunctionArnT&& value) {
81 m_functionArnHasBeenSet = true;
82 m_functionArn = std::forward<FunctionArnT>(value);
83 }
84 template <typename FunctionArnT = Aws::String>
85 CreateFunctionResult& WithFunctionArn(FunctionArnT&& value) {
86 SetFunctionArn(std::forward<FunctionArnT>(value));
87 return *this;
88 }
90
92
106 inline Runtime GetRuntime() const { return m_runtime; }
107 inline void SetRuntime(Runtime value) {
108 m_runtimeHasBeenSet = true;
109 m_runtime = value;
110 }
112 SetRuntime(value);
113 return *this;
114 }
116
118
121 inline const Aws::String& GetRole() const { return m_role; }
122 template <typename RoleT = Aws::String>
123 void SetRole(RoleT&& value) {
124 m_roleHasBeenSet = true;
125 m_role = std::forward<RoleT>(value);
126 }
127 template <typename RoleT = Aws::String>
129 SetRole(std::forward<RoleT>(value));
130 return *this;
131 }
133
135
138 inline const Aws::String& GetHandler() const { return m_handler; }
139 template <typename HandlerT = Aws::String>
140 void SetHandler(HandlerT&& value) {
141 m_handlerHasBeenSet = true;
142 m_handler = std::forward<HandlerT>(value);
143 }
144 template <typename HandlerT = Aws::String>
146 SetHandler(std::forward<HandlerT>(value));
147 return *this;
148 }
150
152
155 inline long long GetCodeSize() const { return m_codeSize; }
156 inline void SetCodeSize(long long value) {
157 m_codeSizeHasBeenSet = true;
158 m_codeSize = value;
159 }
160 inline CreateFunctionResult& WithCodeSize(long long value) {
161 SetCodeSize(value);
162 return *this;
163 }
165
167
170 inline const Aws::String& GetDescription() const { return m_description; }
171 template <typename DescriptionT = Aws::String>
172 void SetDescription(DescriptionT&& value) {
173 m_descriptionHasBeenSet = true;
174 m_description = std::forward<DescriptionT>(value);
175 }
176 template <typename DescriptionT = Aws::String>
177 CreateFunctionResult& WithDescription(DescriptionT&& value) {
178 SetDescription(std::forward<DescriptionT>(value));
179 return *this;
180 }
182
184
188 inline int GetTimeout() const { return m_timeout; }
189 inline void SetTimeout(int value) {
190 m_timeoutHasBeenSet = true;
191 m_timeout = value;
192 }
194 SetTimeout(value);
195 return *this;
196 }
198
200
203 inline int GetMemorySize() const { return m_memorySize; }
204 inline void SetMemorySize(int value) {
205 m_memorySizeHasBeenSet = true;
206 m_memorySize = value;
207 }
209 SetMemorySize(value);
210 return *this;
211 }
213
215
220 inline const Aws::String& GetLastModified() const { return m_lastModified; }
221 template <typename LastModifiedT = Aws::String>
222 void SetLastModified(LastModifiedT&& value) {
223 m_lastModifiedHasBeenSet = true;
224 m_lastModified = std::forward<LastModifiedT>(value);
225 }
226 template <typename LastModifiedT = Aws::String>
227 CreateFunctionResult& WithLastModified(LastModifiedT&& value) {
228 SetLastModified(std::forward<LastModifiedT>(value));
229 return *this;
230 }
232
234
237 inline const Aws::String& GetCodeSha256() const { return m_codeSha256; }
238 template <typename CodeSha256T = Aws::String>
239 void SetCodeSha256(CodeSha256T&& value) {
240 m_codeSha256HasBeenSet = true;
241 m_codeSha256 = std::forward<CodeSha256T>(value);
242 }
243 template <typename CodeSha256T = Aws::String>
244 CreateFunctionResult& WithCodeSha256(CodeSha256T&& value) {
245 SetCodeSha256(std::forward<CodeSha256T>(value));
246 return *this;
247 }
249
251
254 inline const Aws::String& GetVersion() const { return m_version; }
255 template <typename VersionT = Aws::String>
256 void SetVersion(VersionT&& value) {
257 m_versionHasBeenSet = true;
258 m_version = std::forward<VersionT>(value);
259 }
260 template <typename VersionT = Aws::String>
262 SetVersion(std::forward<VersionT>(value));
263 return *this;
264 }
266
268
271 inline const VpcConfigResponse& GetVpcConfig() const { return m_vpcConfig; }
272 template <typename VpcConfigT = VpcConfigResponse>
273 void SetVpcConfig(VpcConfigT&& value) {
274 m_vpcConfigHasBeenSet = true;
275 m_vpcConfig = std::forward<VpcConfigT>(value);
276 }
277 template <typename VpcConfigT = VpcConfigResponse>
278 CreateFunctionResult& WithVpcConfig(VpcConfigT&& value) {
279 SetVpcConfig(std::forward<VpcConfigT>(value));
280 return *this;
281 }
283
285
288 inline const DeadLetterConfig& GetDeadLetterConfig() const { return m_deadLetterConfig; }
289 template <typename DeadLetterConfigT = DeadLetterConfig>
290 void SetDeadLetterConfig(DeadLetterConfigT&& value) {
291 m_deadLetterConfigHasBeenSet = true;
292 m_deadLetterConfig = std::forward<DeadLetterConfigT>(value);
293 }
294 template <typename DeadLetterConfigT = DeadLetterConfig>
295 CreateFunctionResult& WithDeadLetterConfig(DeadLetterConfigT&& value) {
296 SetDeadLetterConfig(std::forward<DeadLetterConfigT>(value));
297 return *this;
298 }
300
302
307 inline const EnvironmentResponse& GetEnvironment() const { return m_environment; }
308 template <typename EnvironmentT = EnvironmentResponse>
309 void SetEnvironment(EnvironmentT&& value) {
310 m_environmentHasBeenSet = true;
311 m_environment = std::forward<EnvironmentT>(value);
312 }
313 template <typename EnvironmentT = EnvironmentResponse>
314 CreateFunctionResult& WithEnvironment(EnvironmentT&& value) {
315 SetEnvironment(std::forward<EnvironmentT>(value));
316 return *this;
317 }
319
321
344 inline const Aws::String& GetKMSKeyArn() const { return m_kMSKeyArn; }
345 template <typename KMSKeyArnT = Aws::String>
346 void SetKMSKeyArn(KMSKeyArnT&& value) {
347 m_kMSKeyArnHasBeenSet = true;
348 m_kMSKeyArn = std::forward<KMSKeyArnT>(value);
349 }
350 template <typename KMSKeyArnT = Aws::String>
351 CreateFunctionResult& WithKMSKeyArn(KMSKeyArnT&& value) {
352 SetKMSKeyArn(std::forward<KMSKeyArnT>(value));
353 return *this;
354 }
356
358
361 inline const TracingConfigResponse& GetTracingConfig() const { return m_tracingConfig; }
362 template <typename TracingConfigT = TracingConfigResponse>
363 void SetTracingConfig(TracingConfigT&& value) {
364 m_tracingConfigHasBeenSet = true;
365 m_tracingConfig = std::forward<TracingConfigT>(value);
366 }
367 template <typename TracingConfigT = TracingConfigResponse>
368 CreateFunctionResult& WithTracingConfig(TracingConfigT&& value) {
369 SetTracingConfig(std::forward<TracingConfigT>(value));
370 return *this;
371 }
373
375
378 inline const Aws::String& GetMasterArn() const { return m_masterArn; }
379 template <typename MasterArnT = Aws::String>
380 void SetMasterArn(MasterArnT&& value) {
381 m_masterArnHasBeenSet = true;
382 m_masterArn = std::forward<MasterArnT>(value);
383 }
384 template <typename MasterArnT = Aws::String>
385 CreateFunctionResult& WithMasterArn(MasterArnT&& value) {
386 SetMasterArn(std::forward<MasterArnT>(value));
387 return *this;
388 }
390
392
395 inline const Aws::String& GetRevisionId() const { return m_revisionId; }
396 template <typename RevisionIdT = Aws::String>
397 void SetRevisionId(RevisionIdT&& value) {
398 m_revisionIdHasBeenSet = true;
399 m_revisionId = std::forward<RevisionIdT>(value);
400 }
401 template <typename RevisionIdT = Aws::String>
402 CreateFunctionResult& WithRevisionId(RevisionIdT&& value) {
403 SetRevisionId(std::forward<RevisionIdT>(value));
404 return *this;
405 }
407
409
413 inline const Aws::Vector<Layer>& GetLayers() const { return m_layers; }
414 template <typename LayersT = Aws::Vector<Layer>>
415 void SetLayers(LayersT&& value) {
416 m_layersHasBeenSet = true;
417 m_layers = std::forward<LayersT>(value);
418 }
419 template <typename LayersT = Aws::Vector<Layer>>
421 SetLayers(std::forward<LayersT>(value));
422 return *this;
423 }
424 template <typename LayersT = Layer>
425 CreateFunctionResult& AddLayers(LayersT&& value) {
426 m_layersHasBeenSet = true;
427 m_layers.emplace_back(std::forward<LayersT>(value));
428 return *this;
429 }
431
433
437 inline State GetState() const { return m_state; }
438 inline void SetState(State value) {
439 m_stateHasBeenSet = true;
440 m_state = value;
441 }
443 SetState(value);
444 return *this;
445 }
447
449
452 inline const Aws::String& GetStateReason() const { return m_stateReason; }
453 template <typename StateReasonT = Aws::String>
454 void SetStateReason(StateReasonT&& value) {
455 m_stateReasonHasBeenSet = true;
456 m_stateReason = std::forward<StateReasonT>(value);
457 }
458 template <typename StateReasonT = Aws::String>
459 CreateFunctionResult& WithStateReason(StateReasonT&& value) {
460 SetStateReason(std::forward<StateReasonT>(value));
461 return *this;
462 }
464
466
470 inline StateReasonCode GetStateReasonCode() const { return m_stateReasonCode; }
472 m_stateReasonCodeHasBeenSet = true;
473 m_stateReasonCode = value;
474 }
476 SetStateReasonCode(value);
477 return *this;
478 }
480
482
486 inline LastUpdateStatus GetLastUpdateStatus() const { return m_lastUpdateStatus; }
488 m_lastUpdateStatusHasBeenSet = true;
489 m_lastUpdateStatus = value;
490 }
492 SetLastUpdateStatus(value);
493 return *this;
494 }
496
498
501 inline const Aws::String& GetLastUpdateStatusReason() const { return m_lastUpdateStatusReason; }
502 template <typename LastUpdateStatusReasonT = Aws::String>
503 void SetLastUpdateStatusReason(LastUpdateStatusReasonT&& value) {
504 m_lastUpdateStatusReasonHasBeenSet = true;
505 m_lastUpdateStatusReason = std::forward<LastUpdateStatusReasonT>(value);
506 }
507 template <typename LastUpdateStatusReasonT = Aws::String>
508 CreateFunctionResult& WithLastUpdateStatusReason(LastUpdateStatusReasonT&& value) {
509 SetLastUpdateStatusReason(std::forward<LastUpdateStatusReasonT>(value));
510 return *this;
511 }
513
515
518 inline LastUpdateStatusReasonCode GetLastUpdateStatusReasonCode() const { return m_lastUpdateStatusReasonCode; }
520 m_lastUpdateStatusReasonCodeHasBeenSet = true;
521 m_lastUpdateStatusReasonCode = value;
522 }
525 return *this;
526 }
528
530
537 inline const Aws::Vector<FileSystemConfig>& GetFileSystemConfigs() const { return m_fileSystemConfigs; }
538 template <typename FileSystemConfigsT = Aws::Vector<FileSystemConfig>>
539 void SetFileSystemConfigs(FileSystemConfigsT&& value) {
540 m_fileSystemConfigsHasBeenSet = true;
541 m_fileSystemConfigs = std::forward<FileSystemConfigsT>(value);
542 }
543 template <typename FileSystemConfigsT = Aws::Vector<FileSystemConfig>>
544 CreateFunctionResult& WithFileSystemConfigs(FileSystemConfigsT&& value) {
545 SetFileSystemConfigs(std::forward<FileSystemConfigsT>(value));
546 return *this;
547 }
548 template <typename FileSystemConfigsT = FileSystemConfig>
549 CreateFunctionResult& AddFileSystemConfigs(FileSystemConfigsT&& value) {
550 m_fileSystemConfigsHasBeenSet = true;
551 m_fileSystemConfigs.emplace_back(std::forward<FileSystemConfigsT>(value));
552 return *this;
553 }
555
557
561 inline PackageType GetPackageType() const { return m_packageType; }
562 inline void SetPackageType(PackageType value) {
563 m_packageTypeHasBeenSet = true;
564 m_packageType = value;
565 }
567 SetPackageType(value);
568 return *this;
569 }
571
573
576 inline const ImageConfigResponse& GetImageConfigResponse() const { return m_imageConfigResponse; }
577 template <typename ImageConfigResponseT = ImageConfigResponse>
578 void SetImageConfigResponse(ImageConfigResponseT&& value) {
579 m_imageConfigResponseHasBeenSet = true;
580 m_imageConfigResponse = std::forward<ImageConfigResponseT>(value);
581 }
582 template <typename ImageConfigResponseT = ImageConfigResponse>
583 CreateFunctionResult& WithImageConfigResponse(ImageConfigResponseT&& value) {
584 SetImageConfigResponse(std::forward<ImageConfigResponseT>(value));
585 return *this;
586 }
588
590
593 inline const Aws::String& GetSigningProfileVersionArn() const { return m_signingProfileVersionArn; }
594 template <typename SigningProfileVersionArnT = Aws::String>
595 void SetSigningProfileVersionArn(SigningProfileVersionArnT&& value) {
596 m_signingProfileVersionArnHasBeenSet = true;
597 m_signingProfileVersionArn = std::forward<SigningProfileVersionArnT>(value);
598 }
599 template <typename SigningProfileVersionArnT = Aws::String>
600 CreateFunctionResult& WithSigningProfileVersionArn(SigningProfileVersionArnT&& value) {
601 SetSigningProfileVersionArn(std::forward<SigningProfileVersionArnT>(value));
602 return *this;
603 }
605
607
610 inline const Aws::String& GetSigningJobArn() const { return m_signingJobArn; }
611 template <typename SigningJobArnT = Aws::String>
612 void SetSigningJobArn(SigningJobArnT&& value) {
613 m_signingJobArnHasBeenSet = true;
614 m_signingJobArn = std::forward<SigningJobArnT>(value);
615 }
616 template <typename SigningJobArnT = Aws::String>
617 CreateFunctionResult& WithSigningJobArn(SigningJobArnT&& value) {
618 SetSigningJobArn(std::forward<SigningJobArnT>(value));
619 return *this;
620 }
622
624
629 inline const Aws::Vector<Architecture>& GetArchitectures() const { return m_architectures; }
630 template <typename ArchitecturesT = Aws::Vector<Architecture>>
631 void SetArchitectures(ArchitecturesT&& value) {
632 m_architecturesHasBeenSet = true;
633 m_architectures = std::forward<ArchitecturesT>(value);
634 }
635 template <typename ArchitecturesT = Aws::Vector<Architecture>>
636 CreateFunctionResult& WithArchitectures(ArchitecturesT&& value) {
637 SetArchitectures(std::forward<ArchitecturesT>(value));
638 return *this;
639 }
641 m_architecturesHasBeenSet = true;
642 m_architectures.push_back(value);
643 return *this;
644 }
646
648
655 inline const EphemeralStorage& GetEphemeralStorage() const { return m_ephemeralStorage; }
656 template <typename EphemeralStorageT = EphemeralStorage>
657 void SetEphemeralStorage(EphemeralStorageT&& value) {
658 m_ephemeralStorageHasBeenSet = true;
659 m_ephemeralStorage = std::forward<EphemeralStorageT>(value);
660 }
661 template <typename EphemeralStorageT = EphemeralStorage>
662 CreateFunctionResult& WithEphemeralStorage(EphemeralStorageT&& value) {
663 SetEphemeralStorage(std::forward<EphemeralStorageT>(value));
664 return *this;
665 }
667
669
676 inline const SnapStartResponse& GetSnapStart() const { return m_snapStart; }
677 template <typename SnapStartT = SnapStartResponse>
678 void SetSnapStart(SnapStartT&& value) {
679 m_snapStartHasBeenSet = true;
680 m_snapStart = std::forward<SnapStartT>(value);
681 }
682 template <typename SnapStartT = SnapStartResponse>
683 CreateFunctionResult& WithSnapStart(SnapStartT&& value) {
684 SetSnapStart(std::forward<SnapStartT>(value));
685 return *this;
686 }
688
690
693 inline const RuntimeVersionConfig& GetRuntimeVersionConfig() const { return m_runtimeVersionConfig; }
694 template <typename RuntimeVersionConfigT = RuntimeVersionConfig>
695 void SetRuntimeVersionConfig(RuntimeVersionConfigT&& value) {
696 m_runtimeVersionConfigHasBeenSet = true;
697 m_runtimeVersionConfig = std::forward<RuntimeVersionConfigT>(value);
698 }
699 template <typename RuntimeVersionConfigT = RuntimeVersionConfig>
700 CreateFunctionResult& WithRuntimeVersionConfig(RuntimeVersionConfigT&& value) {
701 SetRuntimeVersionConfig(std::forward<RuntimeVersionConfigT>(value));
702 return *this;
703 }
705
707
710 inline const LoggingConfig& GetLoggingConfig() const { return m_loggingConfig; }
711 template <typename LoggingConfigT = LoggingConfig>
712 void SetLoggingConfig(LoggingConfigT&& value) {
713 m_loggingConfigHasBeenSet = true;
714 m_loggingConfig = std::forward<LoggingConfigT>(value);
715 }
716 template <typename LoggingConfigT = LoggingConfig>
717 CreateFunctionResult& WithLoggingConfig(LoggingConfigT&& value) {
718 SetLoggingConfig(std::forward<LoggingConfigT>(value));
719 return *this;
720 }
722
724
728 inline const CapacityProviderConfig& GetCapacityProviderConfig() const { return m_capacityProviderConfig; }
729 template <typename CapacityProviderConfigT = CapacityProviderConfig>
730 void SetCapacityProviderConfig(CapacityProviderConfigT&& value) {
731 m_capacityProviderConfigHasBeenSet = true;
732 m_capacityProviderConfig = std::forward<CapacityProviderConfigT>(value);
733 }
734 template <typename CapacityProviderConfigT = CapacityProviderConfig>
735 CreateFunctionResult& WithCapacityProviderConfig(CapacityProviderConfigT&& value) {
736 SetCapacityProviderConfig(std::forward<CapacityProviderConfigT>(value));
737 return *this;
738 }
740
742
745 inline const Aws::String& GetConfigSha256() const { return m_configSha256; }
746 template <typename ConfigSha256T = Aws::String>
747 void SetConfigSha256(ConfigSha256T&& value) {
748 m_configSha256HasBeenSet = true;
749 m_configSha256 = std::forward<ConfigSha256T>(value);
750 }
751 template <typename ConfigSha256T = Aws::String>
752 CreateFunctionResult& WithConfigSha256(ConfigSha256T&& value) {
753 SetConfigSha256(std::forward<ConfigSha256T>(value));
754 return *this;
755 }
757
759
763 inline const DurableConfig& GetDurableConfig() const { return m_durableConfig; }
764 template <typename DurableConfigT = DurableConfig>
765 void SetDurableConfig(DurableConfigT&& value) {
766 m_durableConfigHasBeenSet = true;
767 m_durableConfig = std::forward<DurableConfigT>(value);
768 }
769 template <typename DurableConfigT = DurableConfig>
770 CreateFunctionResult& WithDurableConfig(DurableConfigT&& value) {
771 SetDurableConfig(std::forward<DurableConfigT>(value));
772 return *this;
773 }
775
777
782 inline const TenancyConfig& GetTenancyConfig() const { return m_tenancyConfig; }
783 template <typename TenancyConfigT = TenancyConfig>
784 void SetTenancyConfig(TenancyConfigT&& value) {
785 m_tenancyConfigHasBeenSet = true;
786 m_tenancyConfig = std::forward<TenancyConfigT>(value);
787 }
788 template <typename TenancyConfigT = TenancyConfig>
789 CreateFunctionResult& WithTenancyConfig(TenancyConfigT&& value) {
790 SetTenancyConfig(std::forward<TenancyConfigT>(value));
791 return *this;
792 }
794
796
797 inline const Aws::String& GetRequestId() const { return m_requestId; }
798 template <typename RequestIdT = Aws::String>
799 void SetRequestId(RequestIdT&& value) {
800 m_requestIdHasBeenSet = true;
801 m_requestId = std::forward<RequestIdT>(value);
802 }
803 template <typename RequestIdT = Aws::String>
804 CreateFunctionResult& WithRequestId(RequestIdT&& value) {
805 SetRequestId(std::forward<RequestIdT>(value));
806 return *this;
807 }
809 inline Aws::Http::HttpResponseCode GetHttpResponseCode() const { return m_HttpResponseCode; }
810
811 private:
812 Aws::String m_functionName;
813
814 Aws::String m_functionArn;
815
816 Runtime m_runtime{Runtime::NOT_SET};
817
818 Aws::String m_role;
819
820 Aws::String m_handler;
821
822 long long m_codeSize{0};
823
824 Aws::String m_description;
825
826 int m_timeout{0};
827
828 int m_memorySize{0};
829
830 Aws::String m_lastModified;
831
832 Aws::String m_codeSha256;
833
834 Aws::String m_version;
835
836 VpcConfigResponse m_vpcConfig;
837
838 DeadLetterConfig m_deadLetterConfig;
839
840 EnvironmentResponse m_environment;
841
842 Aws::String m_kMSKeyArn;
843
844 TracingConfigResponse m_tracingConfig;
845
846 Aws::String m_masterArn;
847
848 Aws::String m_revisionId;
849
850 Aws::Vector<Layer> m_layers;
851
852 State m_state{State::NOT_SET};
853
854 Aws::String m_stateReason;
855
856 StateReasonCode m_stateReasonCode{StateReasonCode::NOT_SET};
857
859
860 Aws::String m_lastUpdateStatusReason;
861
863
864 Aws::Vector<FileSystemConfig> m_fileSystemConfigs;
865
866 PackageType m_packageType{PackageType::NOT_SET};
867
868 ImageConfigResponse m_imageConfigResponse;
869
870 Aws::String m_signingProfileVersionArn;
871
872 Aws::String m_signingJobArn;
873
874 Aws::Vector<Architecture> m_architectures;
875
876 EphemeralStorage m_ephemeralStorage;
877
878 SnapStartResponse m_snapStart;
879
880 RuntimeVersionConfig m_runtimeVersionConfig;
881
882 LoggingConfig m_loggingConfig;
883
884 CapacityProviderConfig m_capacityProviderConfig;
885
886 Aws::String m_configSha256;
887
888 DurableConfig m_durableConfig;
889
890 TenancyConfig m_tenancyConfig;
891
892 Aws::String m_requestId;
893 Aws::Http::HttpResponseCode m_HttpResponseCode;
894 bool m_functionNameHasBeenSet = false;
895 bool m_functionArnHasBeenSet = false;
896 bool m_runtimeHasBeenSet = false;
897 bool m_roleHasBeenSet = false;
898 bool m_handlerHasBeenSet = false;
899 bool m_codeSizeHasBeenSet = false;
900 bool m_descriptionHasBeenSet = false;
901 bool m_timeoutHasBeenSet = false;
902 bool m_memorySizeHasBeenSet = false;
903 bool m_lastModifiedHasBeenSet = false;
904 bool m_codeSha256HasBeenSet = false;
905 bool m_versionHasBeenSet = false;
906 bool m_vpcConfigHasBeenSet = false;
907 bool m_deadLetterConfigHasBeenSet = false;
908 bool m_environmentHasBeenSet = false;
909 bool m_kMSKeyArnHasBeenSet = false;
910 bool m_tracingConfigHasBeenSet = false;
911 bool m_masterArnHasBeenSet = false;
912 bool m_revisionIdHasBeenSet = false;
913 bool m_layersHasBeenSet = false;
914 bool m_stateHasBeenSet = false;
915 bool m_stateReasonHasBeenSet = false;
916 bool m_stateReasonCodeHasBeenSet = false;
917 bool m_lastUpdateStatusHasBeenSet = false;
918 bool m_lastUpdateStatusReasonHasBeenSet = false;
919 bool m_lastUpdateStatusReasonCodeHasBeenSet = false;
920 bool m_fileSystemConfigsHasBeenSet = false;
921 bool m_packageTypeHasBeenSet = false;
922 bool m_imageConfigResponseHasBeenSet = false;
923 bool m_signingProfileVersionArnHasBeenSet = false;
924 bool m_signingJobArnHasBeenSet = false;
925 bool m_architecturesHasBeenSet = false;
926 bool m_ephemeralStorageHasBeenSet = false;
927 bool m_snapStartHasBeenSet = false;
928 bool m_runtimeVersionConfigHasBeenSet = false;
929 bool m_loggingConfigHasBeenSet = false;
930 bool m_capacityProviderConfigHasBeenSet = false;
931 bool m_configSha256HasBeenSet = false;
932 bool m_durableConfigHasBeenSet = false;
933 bool m_tenancyConfigHasBeenSet = false;
934 bool m_requestIdHasBeenSet = false;
935};
936
937} // namespace Model
938} // namespace Lambda
939} // namespace Aws
CreateFunctionResult & WithTracingConfig(TracingConfigT &&value)
void SetLastUpdateStatusReasonCode(LastUpdateStatusReasonCode value)
CreateFunctionResult & WithDurableConfig(DurableConfigT &&value)
const Aws::Vector< Architecture > & GetArchitectures() const
CreateFunctionResult & WithCodeSize(long long value)
const VpcConfigResponse & GetVpcConfig() const
const EnvironmentResponse & GetEnvironment() const
const Aws::String & GetLastUpdateStatusReason() const
const DeadLetterConfig & GetDeadLetterConfig() const
void SetArchitectures(ArchitecturesT &&value)
const Aws::String & GetSigningProfileVersionArn() const
void SetCapacityProviderConfig(CapacityProviderConfigT &&value)
CreateFunctionResult & WithLastUpdateStatusReasonCode(LastUpdateStatusReasonCode value)
CreateFunctionResult & WithLoggingConfig(LoggingConfigT &&value)
void SetSigningJobArn(SigningJobArnT &&value)
CreateFunctionResult & WithFileSystemConfigs(FileSystemConfigsT &&value)
const Aws::Vector< Layer > & GetLayers() const
CreateFunctionResult & WithHandler(HandlerT &&value)
void SetLastUpdateStatus(LastUpdateStatus value)
CreateFunctionResult & WithFunctionName(FunctionNameT &&value)
CreateFunctionResult & WithFunctionArn(FunctionArnT &&value)
const RuntimeVersionConfig & GetRuntimeVersionConfig() const
CreateFunctionResult & AddLayers(LayersT &&value)
void SetFileSystemConfigs(FileSystemConfigsT &&value)
CreateFunctionResult & WithRuntimeVersionConfig(RuntimeVersionConfigT &&value)
const DurableConfig & GetDurableConfig() const
CreateFunctionResult & AddFileSystemConfigs(FileSystemConfigsT &&value)
void SetTracingConfig(TracingConfigT &&value)
CreateFunctionResult & WithVpcConfig(VpcConfigT &&value)
CreateFunctionResult & WithEphemeralStorage(EphemeralStorageT &&value)
const CapacityProviderConfig & GetCapacityProviderConfig() const
void SetSigningProfileVersionArn(SigningProfileVersionArnT &&value)
const LoggingConfig & GetLoggingConfig() const
CreateFunctionResult & WithLastUpdateStatusReason(LastUpdateStatusReasonT &&value)
CreateFunctionResult & WithLastUpdateStatus(LastUpdateStatus value)
void SetTenancyConfig(TenancyConfigT &&value)
CreateFunctionResult & WithTenancyConfig(TenancyConfigT &&value)
AWS_LAMBDA_API CreateFunctionResult & operator=(const Aws::AmazonWebServiceResult< Aws::Utils::Json::JsonValue > &result)
void SetImageConfigResponse(ImageConfigResponseT &&value)
Aws::Http::HttpResponseCode GetHttpResponseCode() const
const ImageConfigResponse & GetImageConfigResponse() const
CreateFunctionResult & WithTimeout(int value)
const TenancyConfig & GetTenancyConfig() const
LastUpdateStatusReasonCode GetLastUpdateStatusReasonCode() const
void SetRuntimeVersionConfig(RuntimeVersionConfigT &&value)
CreateFunctionResult & WithLayers(LayersT &&value)
CreateFunctionResult & WithConfigSha256(ConfigSha256T &&value)
AWS_LAMBDA_API CreateFunctionResult()=default
CreateFunctionResult & WithDeadLetterConfig(DeadLetterConfigT &&value)
CreateFunctionResult & WithStateReasonCode(StateReasonCode value)
CreateFunctionResult & AddArchitectures(Architecture value)
CreateFunctionResult & WithSigningJobArn(SigningJobArnT &&value)
const SnapStartResponse & GetSnapStart() const
CreateFunctionResult & WithArchitectures(ArchitecturesT &&value)
CreateFunctionResult & WithMasterArn(MasterArnT &&value)
CreateFunctionResult & WithRequestId(RequestIdT &&value)
const EphemeralStorage & GetEphemeralStorage() const
const Aws::Vector< FileSystemConfig > & GetFileSystemConfigs() const
void SetDurableConfig(DurableConfigT &&value)
CreateFunctionResult & WithImageConfigResponse(ImageConfigResponseT &&value)
CreateFunctionResult & WithRevisionId(RevisionIdT &&value)
CreateFunctionResult & WithSnapStart(SnapStartT &&value)
CreateFunctionResult & WithSigningProfileVersionArn(SigningProfileVersionArnT &&value)
CreateFunctionResult & WithMemorySize(int value)
const TracingConfigResponse & GetTracingConfig() const
CreateFunctionResult & WithState(State value)
void SetDeadLetterConfig(DeadLetterConfigT &&value)
AWS_LAMBDA_API CreateFunctionResult(const Aws::AmazonWebServiceResult< Aws::Utils::Json::JsonValue > &result)
CreateFunctionResult & WithEnvironment(EnvironmentT &&value)
CreateFunctionResult & WithCodeSha256(CodeSha256T &&value)
CreateFunctionResult & WithDescription(DescriptionT &&value)
CreateFunctionResult & WithVersion(VersionT &&value)
CreateFunctionResult & WithLastModified(LastModifiedT &&value)
CreateFunctionResult & WithKMSKeyArn(KMSKeyArnT &&value)
CreateFunctionResult & WithStateReason(StateReasonT &&value)
CreateFunctionResult & WithRuntime(Runtime value)
CreateFunctionResult & WithCapacityProviderConfig(CapacityProviderConfigT &&value)
CreateFunctionResult & WithRole(RoleT &&value)
void SetLoggingConfig(LoggingConfigT &&value)
void SetLastUpdateStatusReason(LastUpdateStatusReasonT &&value)
CreateFunctionResult & WithPackageType(PackageType value)
void SetEphemeralStorage(EphemeralStorageT &&value)
std::basic_string< char, std::char_traits< char >, Aws::Allocator< char > > String
std::vector< T, Aws::Allocator< T > > Vector
Aws::Utils::Json::JsonValue JsonValue