AWS SDK for C++

AWS SDK for C++ Version 1.11.939

Loading...
Searching...
No Matches
UpdateFunctionCodeResult.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/AcceleratorConfig.h>
12#include <aws/lambda/model/Architecture.h>
13#include <aws/lambda/model/CapacityProviderConfig.h>
14#include <aws/lambda/model/DeadLetterConfig.h>
15#include <aws/lambda/model/DurableConfig.h>
16#include <aws/lambda/model/EnvironmentResponse.h>
17#include <aws/lambda/model/EphemeralStorage.h>
18#include <aws/lambda/model/FileSystemConfig.h>
19#include <aws/lambda/model/FunctionRuntimeConfig.h>
20#include <aws/lambda/model/ImageConfigResponse.h>
21#include <aws/lambda/model/LastUpdateStatus.h>
22#include <aws/lambda/model/LastUpdateStatusReasonCode.h>
23#include <aws/lambda/model/Layer.h>
24#include <aws/lambda/model/LoggingConfig.h>
25#include <aws/lambda/model/PackageType.h>
26#include <aws/lambda/model/Runtime.h>
27#include <aws/lambda/model/RuntimeVersionConfig.h>
28#include <aws/lambda/model/SnapStartResponse.h>
29#include <aws/lambda/model/State.h>
30#include <aws/lambda/model/StateReasonCode.h>
31#include <aws/lambda/model/TenancyConfig.h>
32#include <aws/lambda/model/TracingConfigResponse.h>
33#include <aws/lambda/model/VpcConfigResponse.h>
34
35#include <utility>
36
37namespace Aws {
38template <typename RESULT_TYPE>
39class AmazonWebServiceResult;
40
41namespace Utils {
42namespace Json {
43class JsonValue;
44} // namespace Json
45} // namespace Utils
46namespace Lambda {
47namespace Model {
54 public:
55 AWS_LAMBDA_API UpdateFunctionCodeResult() = default;
58
60
63 inline const Aws::String& GetFunctionName() const { return m_functionName; }
64 template <typename FunctionNameT = Aws::String>
65 void SetFunctionName(FunctionNameT&& value) {
66 m_functionNameHasBeenSet = true;
67 m_functionName = std::forward<FunctionNameT>(value);
68 }
69 template <typename FunctionNameT = Aws::String>
71 SetFunctionName(std::forward<FunctionNameT>(value));
72 return *this;
73 }
75
77
80 inline const Aws::String& GetFunctionArn() const { return m_functionArn; }
81 template <typename FunctionArnT = Aws::String>
82 void SetFunctionArn(FunctionArnT&& value) {
83 m_functionArnHasBeenSet = true;
84 m_functionArn = std::forward<FunctionArnT>(value);
85 }
86 template <typename FunctionArnT = Aws::String>
88 SetFunctionArn(std::forward<FunctionArnT>(value));
89 return *this;
90 }
92
94
108 inline Runtime GetRuntime() const { return m_runtime; }
109 inline void SetRuntime(Runtime value) {
110 m_runtimeHasBeenSet = true;
111 m_runtime = value;
112 }
114 SetRuntime(value);
115 return *this;
116 }
118
120
123 inline const Aws::String& GetRole() const { return m_role; }
124 template <typename RoleT = Aws::String>
125 void SetRole(RoleT&& value) {
126 m_roleHasBeenSet = true;
127 m_role = std::forward<RoleT>(value);
128 }
129 template <typename RoleT = Aws::String>
131 SetRole(std::forward<RoleT>(value));
132 return *this;
133 }
135
137
140 inline const Aws::String& GetHandler() const { return m_handler; }
141 template <typename HandlerT = Aws::String>
142 void SetHandler(HandlerT&& value) {
143 m_handlerHasBeenSet = true;
144 m_handler = std::forward<HandlerT>(value);
145 }
146 template <typename HandlerT = Aws::String>
148 SetHandler(std::forward<HandlerT>(value));
149 return *this;
150 }
152
154
157 inline long long GetCodeSize() const { return m_codeSize; }
158 inline void SetCodeSize(long long value) {
159 m_codeSizeHasBeenSet = true;
160 m_codeSize = value;
161 }
162 inline UpdateFunctionCodeResult& WithCodeSize(long long value) {
163 SetCodeSize(value);
164 return *this;
165 }
167
169
172 inline const Aws::String& GetDescription() const { return m_description; }
173 template <typename DescriptionT = Aws::String>
174 void SetDescription(DescriptionT&& value) {
175 m_descriptionHasBeenSet = true;
176 m_description = std::forward<DescriptionT>(value);
177 }
178 template <typename DescriptionT = Aws::String>
180 SetDescription(std::forward<DescriptionT>(value));
181 return *this;
182 }
184
186
190 inline int GetTimeout() const { return m_timeout; }
191 inline void SetTimeout(int value) {
192 m_timeoutHasBeenSet = true;
193 m_timeout = value;
194 }
196 SetTimeout(value);
197 return *this;
198 }
200
202
205 inline int GetMemorySize() const { return m_memorySize; }
206 inline void SetMemorySize(int value) {
207 m_memorySizeHasBeenSet = true;
208 m_memorySize = value;
209 }
211 SetMemorySize(value);
212 return *this;
213 }
215
217
222 inline const Aws::String& GetLastModified() const { return m_lastModified; }
223 template <typename LastModifiedT = Aws::String>
224 void SetLastModified(LastModifiedT&& value) {
225 m_lastModifiedHasBeenSet = true;
226 m_lastModified = std::forward<LastModifiedT>(value);
227 }
228 template <typename LastModifiedT = Aws::String>
230 SetLastModified(std::forward<LastModifiedT>(value));
231 return *this;
232 }
234
236
239 inline const Aws::String& GetCodeSha256() const { return m_codeSha256; }
240 template <typename CodeSha256T = Aws::String>
241 void SetCodeSha256(CodeSha256T&& value) {
242 m_codeSha256HasBeenSet = true;
243 m_codeSha256 = std::forward<CodeSha256T>(value);
244 }
245 template <typename CodeSha256T = Aws::String>
247 SetCodeSha256(std::forward<CodeSha256T>(value));
248 return *this;
249 }
251
253
256 inline const Aws::String& GetVersion() const { return m_version; }
257 template <typename VersionT = Aws::String>
258 void SetVersion(VersionT&& value) {
259 m_versionHasBeenSet = true;
260 m_version = std::forward<VersionT>(value);
261 }
262 template <typename VersionT = Aws::String>
264 SetVersion(std::forward<VersionT>(value));
265 return *this;
266 }
268
270
273 inline const VpcConfigResponse& GetVpcConfig() const { return m_vpcConfig; }
274 template <typename VpcConfigT = VpcConfigResponse>
275 void SetVpcConfig(VpcConfigT&& value) {
276 m_vpcConfigHasBeenSet = true;
277 m_vpcConfig = std::forward<VpcConfigT>(value);
278 }
279 template <typename VpcConfigT = VpcConfigResponse>
281 SetVpcConfig(std::forward<VpcConfigT>(value));
282 return *this;
283 }
285
287
290 inline const DeadLetterConfig& GetDeadLetterConfig() const { return m_deadLetterConfig; }
291 template <typename DeadLetterConfigT = DeadLetterConfig>
292 void SetDeadLetterConfig(DeadLetterConfigT&& value) {
293 m_deadLetterConfigHasBeenSet = true;
294 m_deadLetterConfig = std::forward<DeadLetterConfigT>(value);
295 }
296 template <typename DeadLetterConfigT = DeadLetterConfig>
297 UpdateFunctionCodeResult& WithDeadLetterConfig(DeadLetterConfigT&& value) {
298 SetDeadLetterConfig(std::forward<DeadLetterConfigT>(value));
299 return *this;
300 }
302
304
309 inline const EnvironmentResponse& GetEnvironment() const { return m_environment; }
310 template <typename EnvironmentT = EnvironmentResponse>
311 void SetEnvironment(EnvironmentT&& value) {
312 m_environmentHasBeenSet = true;
313 m_environment = std::forward<EnvironmentT>(value);
314 }
315 template <typename EnvironmentT = EnvironmentResponse>
317 SetEnvironment(std::forward<EnvironmentT>(value));
318 return *this;
319 }
321
323
346 inline const Aws::String& GetKMSKeyArn() const { return m_kMSKeyArn; }
347 template <typename KMSKeyArnT = Aws::String>
348 void SetKMSKeyArn(KMSKeyArnT&& value) {
349 m_kMSKeyArnHasBeenSet = true;
350 m_kMSKeyArn = std::forward<KMSKeyArnT>(value);
351 }
352 template <typename KMSKeyArnT = Aws::String>
354 SetKMSKeyArn(std::forward<KMSKeyArnT>(value));
355 return *this;
356 }
358
360
363 inline const TracingConfigResponse& GetTracingConfig() const { return m_tracingConfig; }
364 template <typename TracingConfigT = TracingConfigResponse>
365 void SetTracingConfig(TracingConfigT&& value) {
366 m_tracingConfigHasBeenSet = true;
367 m_tracingConfig = std::forward<TracingConfigT>(value);
368 }
369 template <typename TracingConfigT = TracingConfigResponse>
371 SetTracingConfig(std::forward<TracingConfigT>(value));
372 return *this;
373 }
375
377
380 inline const Aws::String& GetMasterArn() const { return m_masterArn; }
381 template <typename MasterArnT = Aws::String>
382 void SetMasterArn(MasterArnT&& value) {
383 m_masterArnHasBeenSet = true;
384 m_masterArn = std::forward<MasterArnT>(value);
385 }
386 template <typename MasterArnT = Aws::String>
388 SetMasterArn(std::forward<MasterArnT>(value));
389 return *this;
390 }
392
394
397 inline const Aws::String& GetRevisionId() const { return m_revisionId; }
398 template <typename RevisionIdT = Aws::String>
399 void SetRevisionId(RevisionIdT&& value) {
400 m_revisionIdHasBeenSet = true;
401 m_revisionId = std::forward<RevisionIdT>(value);
402 }
403 template <typename RevisionIdT = Aws::String>
405 SetRevisionId(std::forward<RevisionIdT>(value));
406 return *this;
407 }
409
411
415 inline const Aws::Vector<Layer>& GetLayers() const { return m_layers; }
416 template <typename LayersT = Aws::Vector<Layer>>
417 void SetLayers(LayersT&& value) {
418 m_layersHasBeenSet = true;
419 m_layers = std::forward<LayersT>(value);
420 }
421 template <typename LayersT = Aws::Vector<Layer>>
423 SetLayers(std::forward<LayersT>(value));
424 return *this;
425 }
426 template <typename LayersT = Layer>
428 m_layersHasBeenSet = true;
429 m_layers.emplace_back(std::forward<LayersT>(value));
430 return *this;
431 }
433
435
439 inline State GetState() const { return m_state; }
440 inline void SetState(State value) {
441 m_stateHasBeenSet = true;
442 m_state = value;
443 }
445 SetState(value);
446 return *this;
447 }
449
451
454 inline const Aws::String& GetStateReason() const { return m_stateReason; }
455 template <typename StateReasonT = Aws::String>
456 void SetStateReason(StateReasonT&& value) {
457 m_stateReasonHasBeenSet = true;
458 m_stateReason = std::forward<StateReasonT>(value);
459 }
460 template <typename StateReasonT = Aws::String>
462 SetStateReason(std::forward<StateReasonT>(value));
463 return *this;
464 }
466
468
472 inline StateReasonCode GetStateReasonCode() const { return m_stateReasonCode; }
474 m_stateReasonCodeHasBeenSet = true;
475 m_stateReasonCode = value;
476 }
478 SetStateReasonCode(value);
479 return *this;
480 }
482
484
488 inline LastUpdateStatus GetLastUpdateStatus() const { return m_lastUpdateStatus; }
490 m_lastUpdateStatusHasBeenSet = true;
491 m_lastUpdateStatus = value;
492 }
494 SetLastUpdateStatus(value);
495 return *this;
496 }
498
500
503 inline const Aws::String& GetLastUpdateStatusReason() const { return m_lastUpdateStatusReason; }
504 template <typename LastUpdateStatusReasonT = Aws::String>
505 void SetLastUpdateStatusReason(LastUpdateStatusReasonT&& value) {
506 m_lastUpdateStatusReasonHasBeenSet = true;
507 m_lastUpdateStatusReason = std::forward<LastUpdateStatusReasonT>(value);
508 }
509 template <typename LastUpdateStatusReasonT = Aws::String>
510 UpdateFunctionCodeResult& WithLastUpdateStatusReason(LastUpdateStatusReasonT&& value) {
511 SetLastUpdateStatusReason(std::forward<LastUpdateStatusReasonT>(value));
512 return *this;
513 }
515
517
520 inline LastUpdateStatusReasonCode GetLastUpdateStatusReasonCode() const { return m_lastUpdateStatusReasonCode; }
522 m_lastUpdateStatusReasonCodeHasBeenSet = true;
523 m_lastUpdateStatusReasonCode = value;
524 }
530
532
539 inline const Aws::Vector<FileSystemConfig>& GetFileSystemConfigs() const { return m_fileSystemConfigs; }
540 template <typename FileSystemConfigsT = Aws::Vector<FileSystemConfig>>
541 void SetFileSystemConfigs(FileSystemConfigsT&& value) {
542 m_fileSystemConfigsHasBeenSet = true;
543 m_fileSystemConfigs = std::forward<FileSystemConfigsT>(value);
544 }
545 template <typename FileSystemConfigsT = Aws::Vector<FileSystemConfig>>
546 UpdateFunctionCodeResult& WithFileSystemConfigs(FileSystemConfigsT&& value) {
547 SetFileSystemConfigs(std::forward<FileSystemConfigsT>(value));
548 return *this;
549 }
550 template <typename FileSystemConfigsT = FileSystemConfig>
551 UpdateFunctionCodeResult& AddFileSystemConfigs(FileSystemConfigsT&& value) {
552 m_fileSystemConfigsHasBeenSet = true;
553 m_fileSystemConfigs.emplace_back(std::forward<FileSystemConfigsT>(value));
554 return *this;
555 }
557
559
562 inline const Aws::String& GetSigningProfileVersionArn() const { return m_signingProfileVersionArn; }
563 template <typename SigningProfileVersionArnT = Aws::String>
564 void SetSigningProfileVersionArn(SigningProfileVersionArnT&& value) {
565 m_signingProfileVersionArnHasBeenSet = true;
566 m_signingProfileVersionArn = std::forward<SigningProfileVersionArnT>(value);
567 }
568 template <typename SigningProfileVersionArnT = Aws::String>
569 UpdateFunctionCodeResult& WithSigningProfileVersionArn(SigningProfileVersionArnT&& value) {
570 SetSigningProfileVersionArn(std::forward<SigningProfileVersionArnT>(value));
571 return *this;
572 }
574
576
579 inline const Aws::String& GetSigningJobArn() const { return m_signingJobArn; }
580 template <typename SigningJobArnT = Aws::String>
581 void SetSigningJobArn(SigningJobArnT&& value) {
582 m_signingJobArnHasBeenSet = true;
583 m_signingJobArn = std::forward<SigningJobArnT>(value);
584 }
585 template <typename SigningJobArnT = Aws::String>
587 SetSigningJobArn(std::forward<SigningJobArnT>(value));
588 return *this;
589 }
591
593
597 inline PackageType GetPackageType() const { return m_packageType; }
598 inline void SetPackageType(PackageType value) {
599 m_packageTypeHasBeenSet = true;
600 m_packageType = value;
601 }
603 SetPackageType(value);
604 return *this;
605 }
607
609
612 inline const ImageConfigResponse& GetImageConfigResponse() const { return m_imageConfigResponse; }
613 template <typename ImageConfigResponseT = ImageConfigResponse>
614 void SetImageConfigResponse(ImageConfigResponseT&& value) {
615 m_imageConfigResponseHasBeenSet = true;
616 m_imageConfigResponse = std::forward<ImageConfigResponseT>(value);
617 }
618 template <typename ImageConfigResponseT = ImageConfigResponse>
619 UpdateFunctionCodeResult& WithImageConfigResponse(ImageConfigResponseT&& value) {
620 SetImageConfigResponse(std::forward<ImageConfigResponseT>(value));
621 return *this;
622 }
624
626
631 inline const Aws::Vector<Architecture>& GetArchitectures() const { return m_architectures; }
632 template <typename ArchitecturesT = Aws::Vector<Architecture>>
633 void SetArchitectures(ArchitecturesT&& value) {
634 m_architecturesHasBeenSet = true;
635 m_architectures = std::forward<ArchitecturesT>(value);
636 }
637 template <typename ArchitecturesT = Aws::Vector<Architecture>>
639 SetArchitectures(std::forward<ArchitecturesT>(value));
640 return *this;
641 }
643 m_architecturesHasBeenSet = true;
644 m_architectures.push_back(value);
645 return *this;
646 }
648
650
658 inline const EphemeralStorage& GetEphemeralStorage() const { return m_ephemeralStorage; }
659 template <typename EphemeralStorageT = EphemeralStorage>
660 void SetEphemeralStorage(EphemeralStorageT&& value) {
661 m_ephemeralStorageHasBeenSet = true;
662 m_ephemeralStorage = std::forward<EphemeralStorageT>(value);
663 }
664 template <typename EphemeralStorageT = EphemeralStorage>
665 UpdateFunctionCodeResult& WithEphemeralStorage(EphemeralStorageT&& value) {
666 SetEphemeralStorage(std::forward<EphemeralStorageT>(value));
667 return *this;
668 }
670
672
679 inline const SnapStartResponse& GetSnapStart() const { return m_snapStart; }
680 template <typename SnapStartT = SnapStartResponse>
681 void SetSnapStart(SnapStartT&& value) {
682 m_snapStartHasBeenSet = true;
683 m_snapStart = std::forward<SnapStartT>(value);
684 }
685 template <typename SnapStartT = SnapStartResponse>
687 SetSnapStart(std::forward<SnapStartT>(value));
688 return *this;
689 }
691
693
696 inline const RuntimeVersionConfig& GetRuntimeVersionConfig() const { return m_runtimeVersionConfig; }
697 template <typename RuntimeVersionConfigT = RuntimeVersionConfig>
698 void SetRuntimeVersionConfig(RuntimeVersionConfigT&& value) {
699 m_runtimeVersionConfigHasBeenSet = true;
700 m_runtimeVersionConfig = std::forward<RuntimeVersionConfigT>(value);
701 }
702 template <typename RuntimeVersionConfigT = RuntimeVersionConfig>
703 UpdateFunctionCodeResult& WithRuntimeVersionConfig(RuntimeVersionConfigT&& value) {
704 SetRuntimeVersionConfig(std::forward<RuntimeVersionConfigT>(value));
705 return *this;
706 }
708
710
713 inline const LoggingConfig& GetLoggingConfig() const { return m_loggingConfig; }
714 template <typename LoggingConfigT = LoggingConfig>
715 void SetLoggingConfig(LoggingConfigT&& value) {
716 m_loggingConfigHasBeenSet = true;
717 m_loggingConfig = std::forward<LoggingConfigT>(value);
718 }
719 template <typename LoggingConfigT = LoggingConfig>
721 SetLoggingConfig(std::forward<LoggingConfigT>(value));
722 return *this;
723 }
725
727
732 inline const TenancyConfig& GetTenancyConfig() const { return m_tenancyConfig; }
733 template <typename TenancyConfigT = TenancyConfig>
734 void SetTenancyConfig(TenancyConfigT&& value) {
735 m_tenancyConfigHasBeenSet = true;
736 m_tenancyConfig = std::forward<TenancyConfigT>(value);
737 }
738 template <typename TenancyConfigT = TenancyConfig>
740 SetTenancyConfig(std::forward<TenancyConfigT>(value));
741 return *this;
742 }
744
746
750 inline const CapacityProviderConfig& GetCapacityProviderConfig() const { return m_capacityProviderConfig; }
751 template <typename CapacityProviderConfigT = CapacityProviderConfig>
752 void SetCapacityProviderConfig(CapacityProviderConfigT&& value) {
753 m_capacityProviderConfigHasBeenSet = true;
754 m_capacityProviderConfig = std::forward<CapacityProviderConfigT>(value);
755 }
756 template <typename CapacityProviderConfigT = CapacityProviderConfig>
757 UpdateFunctionCodeResult& WithCapacityProviderConfig(CapacityProviderConfigT&& value) {
758 SetCapacityProviderConfig(std::forward<CapacityProviderConfigT>(value));
759 return *this;
760 }
762
764
767 inline const Aws::String& GetConfigSha256() const { return m_configSha256; }
768 template <typename ConfigSha256T = Aws::String>
769 void SetConfigSha256(ConfigSha256T&& value) {
770 m_configSha256HasBeenSet = true;
771 m_configSha256 = std::forward<ConfigSha256T>(value);
772 }
773 template <typename ConfigSha256T = Aws::String>
775 SetConfigSha256(std::forward<ConfigSha256T>(value));
776 return *this;
777 }
779
781
785 inline const DurableConfig& GetDurableConfig() const { return m_durableConfig; }
786 template <typename DurableConfigT = DurableConfig>
787 void SetDurableConfig(DurableConfigT&& value) {
788 m_durableConfigHasBeenSet = true;
789 m_durableConfig = std::forward<DurableConfigT>(value);
790 }
791 template <typename DurableConfigT = DurableConfig>
793 SetDurableConfig(std::forward<DurableConfigT>(value));
794 return *this;
795 }
797
799
803 inline const FunctionRuntimeConfig& GetRuntimeConfig() const { return m_runtimeConfig; }
804 template <typename RuntimeConfigT = FunctionRuntimeConfig>
805 void SetRuntimeConfig(RuntimeConfigT&& value) {
806 m_runtimeConfigHasBeenSet = true;
807 m_runtimeConfig = std::forward<RuntimeConfigT>(value);
808 }
809 template <typename RuntimeConfigT = FunctionRuntimeConfig>
811 SetRuntimeConfig(std::forward<RuntimeConfigT>(value));
812 return *this;
813 }
815
817
820 inline const AcceleratorConfig& GetAcceleratorConfig() const { return m_acceleratorConfig; }
821 template <typename AcceleratorConfigT = AcceleratorConfig>
822 void SetAcceleratorConfig(AcceleratorConfigT&& value) {
823 m_acceleratorConfigHasBeenSet = true;
824 m_acceleratorConfig = std::forward<AcceleratorConfigT>(value);
825 }
826 template <typename AcceleratorConfigT = AcceleratorConfig>
827 UpdateFunctionCodeResult& WithAcceleratorConfig(AcceleratorConfigT&& value) {
828 SetAcceleratorConfig(std::forward<AcceleratorConfigT>(value));
829 return *this;
830 }
832
834
835 inline const Aws::String& GetRequestId() const { return m_requestId; }
836 template <typename RequestIdT = Aws::String>
837 void SetRequestId(RequestIdT&& value) {
838 m_requestIdHasBeenSet = true;
839 m_requestId = std::forward<RequestIdT>(value);
840 }
841 template <typename RequestIdT = Aws::String>
843 SetRequestId(std::forward<RequestIdT>(value));
844 return *this;
845 }
847 inline Aws::Http::HttpResponseCode GetHttpResponseCode() const { return m_HttpResponseCode; }
848
849 private:
850 Aws::String m_functionName;
851
852 Aws::String m_functionArn;
853
854 Runtime m_runtime{Runtime::NOT_SET};
855
856 Aws::String m_role;
857
858 Aws::String m_handler;
859
860 long long m_codeSize{0};
861
862 Aws::String m_description;
863
864 int m_timeout{0};
865
866 int m_memorySize{0};
867
868 Aws::String m_lastModified;
869
870 Aws::String m_codeSha256;
871
872 Aws::String m_version;
873
874 VpcConfigResponse m_vpcConfig;
875
876 DeadLetterConfig m_deadLetterConfig;
877
878 EnvironmentResponse m_environment;
879
880 Aws::String m_kMSKeyArn;
881
882 TracingConfigResponse m_tracingConfig;
883
884 Aws::String m_masterArn;
885
886 Aws::String m_revisionId;
887
888 Aws::Vector<Layer> m_layers;
889
890 State m_state{State::NOT_SET};
891
892 Aws::String m_stateReason;
893
894 StateReasonCode m_stateReasonCode{StateReasonCode::NOT_SET};
895
897
898 Aws::String m_lastUpdateStatusReason;
899
901
902 Aws::Vector<FileSystemConfig> m_fileSystemConfigs;
903
904 Aws::String m_signingProfileVersionArn;
905
906 Aws::String m_signingJobArn;
907
908 PackageType m_packageType{PackageType::NOT_SET};
909
910 ImageConfigResponse m_imageConfigResponse;
911
912 Aws::Vector<Architecture> m_architectures;
913
914 EphemeralStorage m_ephemeralStorage;
915
916 SnapStartResponse m_snapStart;
917
918 RuntimeVersionConfig m_runtimeVersionConfig;
919
920 LoggingConfig m_loggingConfig;
921
922 TenancyConfig m_tenancyConfig;
923
924 CapacityProviderConfig m_capacityProviderConfig;
925
926 Aws::String m_configSha256;
927
928 DurableConfig m_durableConfig;
929
930 FunctionRuntimeConfig m_runtimeConfig;
931
932 AcceleratorConfig m_acceleratorConfig;
933
934 Aws::String m_requestId;
935 Aws::Http::HttpResponseCode m_HttpResponseCode;
936 bool m_functionNameHasBeenSet = false;
937 bool m_functionArnHasBeenSet = false;
938 bool m_runtimeHasBeenSet = false;
939 bool m_roleHasBeenSet = false;
940 bool m_handlerHasBeenSet = false;
941 bool m_codeSizeHasBeenSet = false;
942 bool m_descriptionHasBeenSet = false;
943 bool m_timeoutHasBeenSet = false;
944 bool m_memorySizeHasBeenSet = false;
945 bool m_lastModifiedHasBeenSet = false;
946 bool m_codeSha256HasBeenSet = false;
947 bool m_versionHasBeenSet = false;
948 bool m_vpcConfigHasBeenSet = false;
949 bool m_deadLetterConfigHasBeenSet = false;
950 bool m_environmentHasBeenSet = false;
951 bool m_kMSKeyArnHasBeenSet = false;
952 bool m_tracingConfigHasBeenSet = false;
953 bool m_masterArnHasBeenSet = false;
954 bool m_revisionIdHasBeenSet = false;
955 bool m_layersHasBeenSet = false;
956 bool m_stateHasBeenSet = false;
957 bool m_stateReasonHasBeenSet = false;
958 bool m_stateReasonCodeHasBeenSet = false;
959 bool m_lastUpdateStatusHasBeenSet = false;
960 bool m_lastUpdateStatusReasonHasBeenSet = false;
961 bool m_lastUpdateStatusReasonCodeHasBeenSet = false;
962 bool m_fileSystemConfigsHasBeenSet = false;
963 bool m_signingProfileVersionArnHasBeenSet = false;
964 bool m_signingJobArnHasBeenSet = false;
965 bool m_packageTypeHasBeenSet = false;
966 bool m_imageConfigResponseHasBeenSet = false;
967 bool m_architecturesHasBeenSet = false;
968 bool m_ephemeralStorageHasBeenSet = false;
969 bool m_snapStartHasBeenSet = false;
970 bool m_runtimeVersionConfigHasBeenSet = false;
971 bool m_loggingConfigHasBeenSet = false;
972 bool m_tenancyConfigHasBeenSet = false;
973 bool m_capacityProviderConfigHasBeenSet = false;
974 bool m_configSha256HasBeenSet = false;
975 bool m_durableConfigHasBeenSet = false;
976 bool m_runtimeConfigHasBeenSet = false;
977 bool m_acceleratorConfigHasBeenSet = false;
978 bool m_requestIdHasBeenSet = false;
979};
980
981} // namespace Model
982} // namespace Lambda
983} // namespace Aws
UpdateFunctionCodeResult & AddArchitectures(Architecture value)
void SetCapacityProviderConfig(CapacityProviderConfigT &&value)
const Aws::Vector< Layer > & GetLayers() const
UpdateFunctionCodeResult & WithRuntimeConfig(RuntimeConfigT &&value)
void SetLastUpdateStatusReasonCode(LastUpdateStatusReasonCode value)
UpdateFunctionCodeResult & WithPackageType(PackageType value)
UpdateFunctionCodeResult & WithLoggingConfig(LoggingConfigT &&value)
const CapacityProviderConfig & GetCapacityProviderConfig() const
void SetAcceleratorConfig(AcceleratorConfigT &&value)
const RuntimeVersionConfig & GetRuntimeVersionConfig() const
const AcceleratorConfig & GetAcceleratorConfig() const
UpdateFunctionCodeResult & WithFunctionArn(FunctionArnT &&value)
UpdateFunctionCodeResult & WithDeadLetterConfig(DeadLetterConfigT &&value)
UpdateFunctionCodeResult & WithTimeout(int value)
UpdateFunctionCodeResult & WithLastUpdateStatus(LastUpdateStatus value)
UpdateFunctionCodeResult & WithDurableConfig(DurableConfigT &&value)
void SetFileSystemConfigs(FileSystemConfigsT &&value)
UpdateFunctionCodeResult & WithSigningJobArn(SigningJobArnT &&value)
UpdateFunctionCodeResult & WithState(State value)
UpdateFunctionCodeResult & WithRole(RoleT &&value)
AWS_LAMBDA_API UpdateFunctionCodeResult()=default
void SetImageConfigResponse(ImageConfigResponseT &&value)
UpdateFunctionCodeResult & WithTenancyConfig(TenancyConfigT &&value)
UpdateFunctionCodeResult & WithFileSystemConfigs(FileSystemConfigsT &&value)
UpdateFunctionCodeResult & WithRuntimeVersionConfig(RuntimeVersionConfigT &&value)
UpdateFunctionCodeResult & WithStateReason(StateReasonT &&value)
UpdateFunctionCodeResult & WithArchitectures(ArchitecturesT &&value)
UpdateFunctionCodeResult & WithSnapStart(SnapStartT &&value)
UpdateFunctionCodeResult & WithImageConfigResponse(ImageConfigResponseT &&value)
UpdateFunctionCodeResult & WithLastUpdateStatusReasonCode(LastUpdateStatusReasonCode value)
const Aws::Vector< Architecture > & GetArchitectures() const
void SetLastUpdateStatusReason(LastUpdateStatusReasonT &&value)
UpdateFunctionCodeResult & WithMasterArn(MasterArnT &&value)
UpdateFunctionCodeResult & WithConfigSha256(ConfigSha256T &&value)
UpdateFunctionCodeResult & WithDescription(DescriptionT &&value)
UpdateFunctionCodeResult & WithEnvironment(EnvironmentT &&value)
UpdateFunctionCodeResult & WithFunctionName(FunctionNameT &&value)
UpdateFunctionCodeResult & AddFileSystemConfigs(FileSystemConfigsT &&value)
const EnvironmentResponse & GetEnvironment() const
const FunctionRuntimeConfig & GetRuntimeConfig() const
UpdateFunctionCodeResult & WithSigningProfileVersionArn(SigningProfileVersionArnT &&value)
UpdateFunctionCodeResult & WithKMSKeyArn(KMSKeyArnT &&value)
AWS_LAMBDA_API UpdateFunctionCodeResult(const Aws::AmazonWebServiceResult< Aws::Utils::Json::JsonValue > &result)
const TracingConfigResponse & GetTracingConfig() const
UpdateFunctionCodeResult & WithStateReasonCode(StateReasonCode value)
UpdateFunctionCodeResult & WithLastUpdateStatusReason(LastUpdateStatusReasonT &&value)
UpdateFunctionCodeResult & WithCapacityProviderConfig(CapacityProviderConfigT &&value)
AWS_LAMBDA_API UpdateFunctionCodeResult & operator=(const Aws::AmazonWebServiceResult< Aws::Utils::Json::JsonValue > &result)
UpdateFunctionCodeResult & WithCodeSize(long long value)
UpdateFunctionCodeResult & WithCodeSha256(CodeSha256T &&value)
const ImageConfigResponse & GetImageConfigResponse() const
const Aws::Vector< FileSystemConfig > & GetFileSystemConfigs() const
UpdateFunctionCodeResult & WithLastModified(LastModifiedT &&value)
UpdateFunctionCodeResult & WithEphemeralStorage(EphemeralStorageT &&value)
UpdateFunctionCodeResult & WithHandler(HandlerT &&value)
UpdateFunctionCodeResult & WithLayers(LayersT &&value)
UpdateFunctionCodeResult & WithRuntime(Runtime value)
UpdateFunctionCodeResult & WithVpcConfig(VpcConfigT &&value)
void SetSigningProfileVersionArn(SigningProfileVersionArnT &&value)
void SetRuntimeVersionConfig(RuntimeVersionConfigT &&value)
LastUpdateStatusReasonCode GetLastUpdateStatusReasonCode() const
UpdateFunctionCodeResult & WithTracingConfig(TracingConfigT &&value)
UpdateFunctionCodeResult & WithRevisionId(RevisionIdT &&value)
UpdateFunctionCodeResult & WithAcceleratorConfig(AcceleratorConfigT &&value)
UpdateFunctionCodeResult & AddLayers(LayersT &&value)
UpdateFunctionCodeResult & WithVersion(VersionT &&value)
UpdateFunctionCodeResult & WithRequestId(RequestIdT &&value)
UpdateFunctionCodeResult & WithMemorySize(int value)
Aws::Http::HttpResponseCode GetHttpResponseCode() 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