AWS SDK for C++

AWS SDK for C++ Version 1.11.719

Loading...
Searching...
No Matches
UpdateFunctionCodeResult.h
1
6#pragma once
7#include <aws/core/utils/memory/stl/AWSString.h>
8#include <aws/core/utils/memory/stl/AWSVector.h>
9#include <aws/lambda/Lambda_EXPORTS.h>
10#include <aws/lambda/model/Architecture.h>
11#include <aws/lambda/model/CapacityProviderConfig.h>
12#include <aws/lambda/model/DeadLetterConfig.h>
13#include <aws/lambda/model/DurableConfig.h>
14#include <aws/lambda/model/EnvironmentResponse.h>
15#include <aws/lambda/model/EphemeralStorage.h>
16#include <aws/lambda/model/FileSystemConfig.h>
17#include <aws/lambda/model/ImageConfigResponse.h>
18#include <aws/lambda/model/LastUpdateStatus.h>
19#include <aws/lambda/model/LastUpdateStatusReasonCode.h>
20#include <aws/lambda/model/Layer.h>
21#include <aws/lambda/model/LoggingConfig.h>
22#include <aws/lambda/model/PackageType.h>
23#include <aws/lambda/model/Runtime.h>
24#include <aws/lambda/model/RuntimeVersionConfig.h>
25#include <aws/lambda/model/SnapStartResponse.h>
26#include <aws/lambda/model/State.h>
27#include <aws/lambda/model/StateReasonCode.h>
28#include <aws/lambda/model/TenancyConfig.h>
29#include <aws/lambda/model/TracingConfigResponse.h>
30#include <aws/lambda/model/VpcConfigResponse.h>
31
32#include <utility>
33
34namespace Aws {
35template <typename RESULT_TYPE>
36class AmazonWebServiceResult;
37
38namespace Utils {
39namespace Json {
40class JsonValue;
41} // namespace Json
42} // namespace Utils
43namespace Lambda {
44namespace Model {
51 public:
52 AWS_LAMBDA_API UpdateFunctionCodeResult() = default;
55
57
60 inline const Aws::String& GetFunctionName() const { return m_functionName; }
61 template <typename FunctionNameT = Aws::String>
62 void SetFunctionName(FunctionNameT&& value) {
63 m_functionNameHasBeenSet = true;
64 m_functionName = std::forward<FunctionNameT>(value);
65 }
66 template <typename FunctionNameT = Aws::String>
68 SetFunctionName(std::forward<FunctionNameT>(value));
69 return *this;
70 }
72
74
77 inline const Aws::String& GetFunctionArn() const { return m_functionArn; }
78 template <typename FunctionArnT = Aws::String>
79 void SetFunctionArn(FunctionArnT&& value) {
80 m_functionArnHasBeenSet = true;
81 m_functionArn = std::forward<FunctionArnT>(value);
82 }
83 template <typename FunctionArnT = Aws::String>
85 SetFunctionArn(std::forward<FunctionArnT>(value));
86 return *this;
87 }
89
91
105 inline Runtime GetRuntime() const { return m_runtime; }
106 inline void SetRuntime(Runtime value) {
107 m_runtimeHasBeenSet = true;
108 m_runtime = value;
109 }
111 SetRuntime(value);
112 return *this;
113 }
115
117
120 inline const Aws::String& GetRole() const { return m_role; }
121 template <typename RoleT = Aws::String>
122 void SetRole(RoleT&& value) {
123 m_roleHasBeenSet = true;
124 m_role = std::forward<RoleT>(value);
125 }
126 template <typename RoleT = Aws::String>
128 SetRole(std::forward<RoleT>(value));
129 return *this;
130 }
132
134
137 inline const Aws::String& GetHandler() const { return m_handler; }
138 template <typename HandlerT = Aws::String>
139 void SetHandler(HandlerT&& value) {
140 m_handlerHasBeenSet = true;
141 m_handler = std::forward<HandlerT>(value);
142 }
143 template <typename HandlerT = Aws::String>
145 SetHandler(std::forward<HandlerT>(value));
146 return *this;
147 }
149
151
154 inline long long GetCodeSize() const { return m_codeSize; }
155 inline void SetCodeSize(long long value) {
156 m_codeSizeHasBeenSet = true;
157 m_codeSize = value;
158 }
159 inline UpdateFunctionCodeResult& WithCodeSize(long long value) {
160 SetCodeSize(value);
161 return *this;
162 }
164
166
169 inline const Aws::String& GetDescription() const { return m_description; }
170 template <typename DescriptionT = Aws::String>
171 void SetDescription(DescriptionT&& value) {
172 m_descriptionHasBeenSet = true;
173 m_description = std::forward<DescriptionT>(value);
174 }
175 template <typename DescriptionT = Aws::String>
177 SetDescription(std::forward<DescriptionT>(value));
178 return *this;
179 }
181
183
187 inline int GetTimeout() const { return m_timeout; }
188 inline void SetTimeout(int value) {
189 m_timeoutHasBeenSet = true;
190 m_timeout = value;
191 }
193 SetTimeout(value);
194 return *this;
195 }
197
199
202 inline int GetMemorySize() const { return m_memorySize; }
203 inline void SetMemorySize(int value) {
204 m_memorySizeHasBeenSet = true;
205 m_memorySize = value;
206 }
208 SetMemorySize(value);
209 return *this;
210 }
212
214
219 inline const Aws::String& GetLastModified() const { return m_lastModified; }
220 template <typename LastModifiedT = Aws::String>
221 void SetLastModified(LastModifiedT&& value) {
222 m_lastModifiedHasBeenSet = true;
223 m_lastModified = std::forward<LastModifiedT>(value);
224 }
225 template <typename LastModifiedT = Aws::String>
227 SetLastModified(std::forward<LastModifiedT>(value));
228 return *this;
229 }
231
233
236 inline const Aws::String& GetCodeSha256() const { return m_codeSha256; }
237 template <typename CodeSha256T = Aws::String>
238 void SetCodeSha256(CodeSha256T&& value) {
239 m_codeSha256HasBeenSet = true;
240 m_codeSha256 = std::forward<CodeSha256T>(value);
241 }
242 template <typename CodeSha256T = Aws::String>
244 SetCodeSha256(std::forward<CodeSha256T>(value));
245 return *this;
246 }
248
250
253 inline const Aws::String& GetVersion() const { return m_version; }
254 template <typename VersionT = Aws::String>
255 void SetVersion(VersionT&& value) {
256 m_versionHasBeenSet = true;
257 m_version = std::forward<VersionT>(value);
258 }
259 template <typename VersionT = Aws::String>
261 SetVersion(std::forward<VersionT>(value));
262 return *this;
263 }
265
267
270 inline const VpcConfigResponse& GetVpcConfig() const { return m_vpcConfig; }
271 template <typename VpcConfigT = VpcConfigResponse>
272 void SetVpcConfig(VpcConfigT&& value) {
273 m_vpcConfigHasBeenSet = true;
274 m_vpcConfig = std::forward<VpcConfigT>(value);
275 }
276 template <typename VpcConfigT = VpcConfigResponse>
278 SetVpcConfig(std::forward<VpcConfigT>(value));
279 return *this;
280 }
282
284
287 inline const DeadLetterConfig& GetDeadLetterConfig() const { return m_deadLetterConfig; }
288 template <typename DeadLetterConfigT = DeadLetterConfig>
289 void SetDeadLetterConfig(DeadLetterConfigT&& value) {
290 m_deadLetterConfigHasBeenSet = true;
291 m_deadLetterConfig = std::forward<DeadLetterConfigT>(value);
292 }
293 template <typename DeadLetterConfigT = DeadLetterConfig>
294 UpdateFunctionCodeResult& WithDeadLetterConfig(DeadLetterConfigT&& value) {
295 SetDeadLetterConfig(std::forward<DeadLetterConfigT>(value));
296 return *this;
297 }
299
301
306 inline const EnvironmentResponse& GetEnvironment() const { return m_environment; }
307 template <typename EnvironmentT = EnvironmentResponse>
308 void SetEnvironment(EnvironmentT&& value) {
309 m_environmentHasBeenSet = true;
310 m_environment = std::forward<EnvironmentT>(value);
311 }
312 template <typename EnvironmentT = EnvironmentResponse>
314 SetEnvironment(std::forward<EnvironmentT>(value));
315 return *this;
316 }
318
320
343 inline const Aws::String& GetKMSKeyArn() const { return m_kMSKeyArn; }
344 template <typename KMSKeyArnT = Aws::String>
345 void SetKMSKeyArn(KMSKeyArnT&& value) {
346 m_kMSKeyArnHasBeenSet = true;
347 m_kMSKeyArn = std::forward<KMSKeyArnT>(value);
348 }
349 template <typename KMSKeyArnT = Aws::String>
351 SetKMSKeyArn(std::forward<KMSKeyArnT>(value));
352 return *this;
353 }
355
357
360 inline const TracingConfigResponse& GetTracingConfig() const { return m_tracingConfig; }
361 template <typename TracingConfigT = TracingConfigResponse>
362 void SetTracingConfig(TracingConfigT&& value) {
363 m_tracingConfigHasBeenSet = true;
364 m_tracingConfig = std::forward<TracingConfigT>(value);
365 }
366 template <typename TracingConfigT = TracingConfigResponse>
368 SetTracingConfig(std::forward<TracingConfigT>(value));
369 return *this;
370 }
372
374
377 inline const Aws::String& GetMasterArn() const { return m_masterArn; }
378 template <typename MasterArnT = Aws::String>
379 void SetMasterArn(MasterArnT&& value) {
380 m_masterArnHasBeenSet = true;
381 m_masterArn = std::forward<MasterArnT>(value);
382 }
383 template <typename MasterArnT = Aws::String>
385 SetMasterArn(std::forward<MasterArnT>(value));
386 return *this;
387 }
389
391
394 inline const Aws::String& GetRevisionId() const { return m_revisionId; }
395 template <typename RevisionIdT = Aws::String>
396 void SetRevisionId(RevisionIdT&& value) {
397 m_revisionIdHasBeenSet = true;
398 m_revisionId = std::forward<RevisionIdT>(value);
399 }
400 template <typename RevisionIdT = Aws::String>
402 SetRevisionId(std::forward<RevisionIdT>(value));
403 return *this;
404 }
406
408
412 inline const Aws::Vector<Layer>& GetLayers() const { return m_layers; }
413 template <typename LayersT = Aws::Vector<Layer>>
414 void SetLayers(LayersT&& value) {
415 m_layersHasBeenSet = true;
416 m_layers = std::forward<LayersT>(value);
417 }
418 template <typename LayersT = Aws::Vector<Layer>>
420 SetLayers(std::forward<LayersT>(value));
421 return *this;
422 }
423 template <typename LayersT = Layer>
425 m_layersHasBeenSet = true;
426 m_layers.emplace_back(std::forward<LayersT>(value));
427 return *this;
428 }
430
432
436 inline State GetState() const { return m_state; }
437 inline void SetState(State value) {
438 m_stateHasBeenSet = true;
439 m_state = value;
440 }
442 SetState(value);
443 return *this;
444 }
446
448
451 inline const Aws::String& GetStateReason() const { return m_stateReason; }
452 template <typename StateReasonT = Aws::String>
453 void SetStateReason(StateReasonT&& value) {
454 m_stateReasonHasBeenSet = true;
455 m_stateReason = std::forward<StateReasonT>(value);
456 }
457 template <typename StateReasonT = Aws::String>
459 SetStateReason(std::forward<StateReasonT>(value));
460 return *this;
461 }
463
465
469 inline StateReasonCode GetStateReasonCode() const { return m_stateReasonCode; }
471 m_stateReasonCodeHasBeenSet = true;
472 m_stateReasonCode = value;
473 }
475 SetStateReasonCode(value);
476 return *this;
477 }
479
481
485 inline LastUpdateStatus GetLastUpdateStatus() const { return m_lastUpdateStatus; }
487 m_lastUpdateStatusHasBeenSet = true;
488 m_lastUpdateStatus = value;
489 }
491 SetLastUpdateStatus(value);
492 return *this;
493 }
495
497
500 inline const Aws::String& GetLastUpdateStatusReason() const { return m_lastUpdateStatusReason; }
501 template <typename LastUpdateStatusReasonT = Aws::String>
502 void SetLastUpdateStatusReason(LastUpdateStatusReasonT&& value) {
503 m_lastUpdateStatusReasonHasBeenSet = true;
504 m_lastUpdateStatusReason = std::forward<LastUpdateStatusReasonT>(value);
505 }
506 template <typename LastUpdateStatusReasonT = Aws::String>
507 UpdateFunctionCodeResult& WithLastUpdateStatusReason(LastUpdateStatusReasonT&& value) {
508 SetLastUpdateStatusReason(std::forward<LastUpdateStatusReasonT>(value));
509 return *this;
510 }
512
514
517 inline LastUpdateStatusReasonCode GetLastUpdateStatusReasonCode() const { return m_lastUpdateStatusReasonCode; }
519 m_lastUpdateStatusReasonCodeHasBeenSet = true;
520 m_lastUpdateStatusReasonCode = value;
521 }
524 return *this;
525 }
527
529
534 inline const Aws::Vector<FileSystemConfig>& GetFileSystemConfigs() const { return m_fileSystemConfigs; }
535 template <typename FileSystemConfigsT = Aws::Vector<FileSystemConfig>>
536 void SetFileSystemConfigs(FileSystemConfigsT&& value) {
537 m_fileSystemConfigsHasBeenSet = true;
538 m_fileSystemConfigs = std::forward<FileSystemConfigsT>(value);
539 }
540 template <typename FileSystemConfigsT = Aws::Vector<FileSystemConfig>>
541 UpdateFunctionCodeResult& WithFileSystemConfigs(FileSystemConfigsT&& value) {
542 SetFileSystemConfigs(std::forward<FileSystemConfigsT>(value));
543 return *this;
544 }
545 template <typename FileSystemConfigsT = FileSystemConfig>
546 UpdateFunctionCodeResult& AddFileSystemConfigs(FileSystemConfigsT&& value) {
547 m_fileSystemConfigsHasBeenSet = true;
548 m_fileSystemConfigs.emplace_back(std::forward<FileSystemConfigsT>(value));
549 return *this;
550 }
552
554
558 inline PackageType GetPackageType() const { return m_packageType; }
559 inline void SetPackageType(PackageType value) {
560 m_packageTypeHasBeenSet = true;
561 m_packageType = value;
562 }
564 SetPackageType(value);
565 return *this;
566 }
568
570
573 inline const ImageConfigResponse& GetImageConfigResponse() const { return m_imageConfigResponse; }
574 template <typename ImageConfigResponseT = ImageConfigResponse>
575 void SetImageConfigResponse(ImageConfigResponseT&& value) {
576 m_imageConfigResponseHasBeenSet = true;
577 m_imageConfigResponse = std::forward<ImageConfigResponseT>(value);
578 }
579 template <typename ImageConfigResponseT = ImageConfigResponse>
580 UpdateFunctionCodeResult& WithImageConfigResponse(ImageConfigResponseT&& value) {
581 SetImageConfigResponse(std::forward<ImageConfigResponseT>(value));
582 return *this;
583 }
585
587
590 inline const Aws::String& GetSigningProfileVersionArn() const { return m_signingProfileVersionArn; }
591 template <typename SigningProfileVersionArnT = Aws::String>
592 void SetSigningProfileVersionArn(SigningProfileVersionArnT&& value) {
593 m_signingProfileVersionArnHasBeenSet = true;
594 m_signingProfileVersionArn = std::forward<SigningProfileVersionArnT>(value);
595 }
596 template <typename SigningProfileVersionArnT = Aws::String>
597 UpdateFunctionCodeResult& WithSigningProfileVersionArn(SigningProfileVersionArnT&& value) {
598 SetSigningProfileVersionArn(std::forward<SigningProfileVersionArnT>(value));
599 return *this;
600 }
602
604
607 inline const Aws::String& GetSigningJobArn() const { return m_signingJobArn; }
608 template <typename SigningJobArnT = Aws::String>
609 void SetSigningJobArn(SigningJobArnT&& value) {
610 m_signingJobArnHasBeenSet = true;
611 m_signingJobArn = std::forward<SigningJobArnT>(value);
612 }
613 template <typename SigningJobArnT = Aws::String>
615 SetSigningJobArn(std::forward<SigningJobArnT>(value));
616 return *this;
617 }
619
621
626 inline const Aws::Vector<Architecture>& GetArchitectures() const { return m_architectures; }
627 template <typename ArchitecturesT = Aws::Vector<Architecture>>
628 void SetArchitectures(ArchitecturesT&& value) {
629 m_architecturesHasBeenSet = true;
630 m_architectures = std::forward<ArchitecturesT>(value);
631 }
632 template <typename ArchitecturesT = Aws::Vector<Architecture>>
634 SetArchitectures(std::forward<ArchitecturesT>(value));
635 return *this;
636 }
638 m_architecturesHasBeenSet = true;
639 m_architectures.push_back(value);
640 return *this;
641 }
643
645
652 inline const EphemeralStorage& GetEphemeralStorage() const { return m_ephemeralStorage; }
653 template <typename EphemeralStorageT = EphemeralStorage>
654 void SetEphemeralStorage(EphemeralStorageT&& value) {
655 m_ephemeralStorageHasBeenSet = true;
656 m_ephemeralStorage = std::forward<EphemeralStorageT>(value);
657 }
658 template <typename EphemeralStorageT = EphemeralStorage>
659 UpdateFunctionCodeResult& WithEphemeralStorage(EphemeralStorageT&& value) {
660 SetEphemeralStorage(std::forward<EphemeralStorageT>(value));
661 return *this;
662 }
664
666
673 inline const SnapStartResponse& GetSnapStart() const { return m_snapStart; }
674 template <typename SnapStartT = SnapStartResponse>
675 void SetSnapStart(SnapStartT&& value) {
676 m_snapStartHasBeenSet = true;
677 m_snapStart = std::forward<SnapStartT>(value);
678 }
679 template <typename SnapStartT = SnapStartResponse>
681 SetSnapStart(std::forward<SnapStartT>(value));
682 return *this;
683 }
685
687
690 inline const RuntimeVersionConfig& GetRuntimeVersionConfig() const { return m_runtimeVersionConfig; }
691 template <typename RuntimeVersionConfigT = RuntimeVersionConfig>
692 void SetRuntimeVersionConfig(RuntimeVersionConfigT&& value) {
693 m_runtimeVersionConfigHasBeenSet = true;
694 m_runtimeVersionConfig = std::forward<RuntimeVersionConfigT>(value);
695 }
696 template <typename RuntimeVersionConfigT = RuntimeVersionConfig>
697 UpdateFunctionCodeResult& WithRuntimeVersionConfig(RuntimeVersionConfigT&& value) {
698 SetRuntimeVersionConfig(std::forward<RuntimeVersionConfigT>(value));
699 return *this;
700 }
702
704
707 inline const LoggingConfig& GetLoggingConfig() const { return m_loggingConfig; }
708 template <typename LoggingConfigT = LoggingConfig>
709 void SetLoggingConfig(LoggingConfigT&& value) {
710 m_loggingConfigHasBeenSet = true;
711 m_loggingConfig = std::forward<LoggingConfigT>(value);
712 }
713 template <typename LoggingConfigT = LoggingConfig>
715 SetLoggingConfig(std::forward<LoggingConfigT>(value));
716 return *this;
717 }
719
721
725 inline const CapacityProviderConfig& GetCapacityProviderConfig() const { return m_capacityProviderConfig; }
726 template <typename CapacityProviderConfigT = CapacityProviderConfig>
727 void SetCapacityProviderConfig(CapacityProviderConfigT&& value) {
728 m_capacityProviderConfigHasBeenSet = true;
729 m_capacityProviderConfig = std::forward<CapacityProviderConfigT>(value);
730 }
731 template <typename CapacityProviderConfigT = CapacityProviderConfig>
732 UpdateFunctionCodeResult& WithCapacityProviderConfig(CapacityProviderConfigT&& value) {
733 SetCapacityProviderConfig(std::forward<CapacityProviderConfigT>(value));
734 return *this;
735 }
737
739
742 inline const Aws::String& GetConfigSha256() const { return m_configSha256; }
743 template <typename ConfigSha256T = Aws::String>
744 void SetConfigSha256(ConfigSha256T&& value) {
745 m_configSha256HasBeenSet = true;
746 m_configSha256 = std::forward<ConfigSha256T>(value);
747 }
748 template <typename ConfigSha256T = Aws::String>
750 SetConfigSha256(std::forward<ConfigSha256T>(value));
751 return *this;
752 }
754
756
760 inline const DurableConfig& GetDurableConfig() const { return m_durableConfig; }
761 template <typename DurableConfigT = DurableConfig>
762 void SetDurableConfig(DurableConfigT&& value) {
763 m_durableConfigHasBeenSet = true;
764 m_durableConfig = std::forward<DurableConfigT>(value);
765 }
766 template <typename DurableConfigT = DurableConfig>
768 SetDurableConfig(std::forward<DurableConfigT>(value));
769 return *this;
770 }
772
774
779 inline const TenancyConfig& GetTenancyConfig() const { return m_tenancyConfig; }
780 template <typename TenancyConfigT = TenancyConfig>
781 void SetTenancyConfig(TenancyConfigT&& value) {
782 m_tenancyConfigHasBeenSet = true;
783 m_tenancyConfig = std::forward<TenancyConfigT>(value);
784 }
785 template <typename TenancyConfigT = TenancyConfig>
787 SetTenancyConfig(std::forward<TenancyConfigT>(value));
788 return *this;
789 }
791
793
794 inline const Aws::String& GetRequestId() const { return m_requestId; }
795 template <typename RequestIdT = Aws::String>
796 void SetRequestId(RequestIdT&& value) {
797 m_requestIdHasBeenSet = true;
798 m_requestId = std::forward<RequestIdT>(value);
799 }
800 template <typename RequestIdT = Aws::String>
802 SetRequestId(std::forward<RequestIdT>(value));
803 return *this;
804 }
806 private:
807 Aws::String m_functionName;
808
809 Aws::String m_functionArn;
810
811 Runtime m_runtime{Runtime::NOT_SET};
812
813 Aws::String m_role;
814
815 Aws::String m_handler;
816
817 long long m_codeSize{0};
818
819 Aws::String m_description;
820
821 int m_timeout{0};
822
823 int m_memorySize{0};
824
825 Aws::String m_lastModified;
826
827 Aws::String m_codeSha256;
828
829 Aws::String m_version;
830
831 VpcConfigResponse m_vpcConfig;
832
833 DeadLetterConfig m_deadLetterConfig;
834
835 EnvironmentResponse m_environment;
836
837 Aws::String m_kMSKeyArn;
838
839 TracingConfigResponse m_tracingConfig;
840
841 Aws::String m_masterArn;
842
843 Aws::String m_revisionId;
844
845 Aws::Vector<Layer> m_layers;
846
847 State m_state{State::NOT_SET};
848
849 Aws::String m_stateReason;
850
851 StateReasonCode m_stateReasonCode{StateReasonCode::NOT_SET};
852
854
855 Aws::String m_lastUpdateStatusReason;
856
858
859 Aws::Vector<FileSystemConfig> m_fileSystemConfigs;
860
861 PackageType m_packageType{PackageType::NOT_SET};
862
863 ImageConfigResponse m_imageConfigResponse;
864
865 Aws::String m_signingProfileVersionArn;
866
867 Aws::String m_signingJobArn;
868
869 Aws::Vector<Architecture> m_architectures;
870
871 EphemeralStorage m_ephemeralStorage;
872
873 SnapStartResponse m_snapStart;
874
875 RuntimeVersionConfig m_runtimeVersionConfig;
876
877 LoggingConfig m_loggingConfig;
878
879 CapacityProviderConfig m_capacityProviderConfig;
880
881 Aws::String m_configSha256;
882
883 DurableConfig m_durableConfig;
884
885 TenancyConfig m_tenancyConfig;
886
887 Aws::String m_requestId;
888 bool m_functionNameHasBeenSet = false;
889 bool m_functionArnHasBeenSet = false;
890 bool m_runtimeHasBeenSet = false;
891 bool m_roleHasBeenSet = false;
892 bool m_handlerHasBeenSet = false;
893 bool m_codeSizeHasBeenSet = false;
894 bool m_descriptionHasBeenSet = false;
895 bool m_timeoutHasBeenSet = false;
896 bool m_memorySizeHasBeenSet = false;
897 bool m_lastModifiedHasBeenSet = false;
898 bool m_codeSha256HasBeenSet = false;
899 bool m_versionHasBeenSet = false;
900 bool m_vpcConfigHasBeenSet = false;
901 bool m_deadLetterConfigHasBeenSet = false;
902 bool m_environmentHasBeenSet = false;
903 bool m_kMSKeyArnHasBeenSet = false;
904 bool m_tracingConfigHasBeenSet = false;
905 bool m_masterArnHasBeenSet = false;
906 bool m_revisionIdHasBeenSet = false;
907 bool m_layersHasBeenSet = false;
908 bool m_stateHasBeenSet = false;
909 bool m_stateReasonHasBeenSet = false;
910 bool m_stateReasonCodeHasBeenSet = false;
911 bool m_lastUpdateStatusHasBeenSet = false;
912 bool m_lastUpdateStatusReasonHasBeenSet = false;
913 bool m_lastUpdateStatusReasonCodeHasBeenSet = false;
914 bool m_fileSystemConfigsHasBeenSet = false;
915 bool m_packageTypeHasBeenSet = false;
916 bool m_imageConfigResponseHasBeenSet = false;
917 bool m_signingProfileVersionArnHasBeenSet = false;
918 bool m_signingJobArnHasBeenSet = false;
919 bool m_architecturesHasBeenSet = false;
920 bool m_ephemeralStorageHasBeenSet = false;
921 bool m_snapStartHasBeenSet = false;
922 bool m_runtimeVersionConfigHasBeenSet = false;
923 bool m_loggingConfigHasBeenSet = false;
924 bool m_capacityProviderConfigHasBeenSet = false;
925 bool m_configSha256HasBeenSet = false;
926 bool m_durableConfigHasBeenSet = false;
927 bool m_tenancyConfigHasBeenSet = false;
928 bool m_requestIdHasBeenSet = false;
929};
930
931} // namespace Model
932} // namespace Lambda
933} // namespace Aws
UpdateFunctionCodeResult & AddArchitectures(Architecture value)
void SetCapacityProviderConfig(CapacityProviderConfigT &&value)
const Aws::Vector< Layer > & GetLayers() const
void SetLastUpdateStatusReasonCode(LastUpdateStatusReasonCode value)
UpdateFunctionCodeResult & WithPackageType(PackageType value)
UpdateFunctionCodeResult & WithLoggingConfig(LoggingConfigT &&value)
const CapacityProviderConfig & GetCapacityProviderConfig() const
const RuntimeVersionConfig & GetRuntimeVersionConfig() 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
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 & AddLayers(LayersT &&value)
UpdateFunctionCodeResult & WithVersion(VersionT &&value)
UpdateFunctionCodeResult & WithRequestId(RequestIdT &&value)
UpdateFunctionCodeResult & WithMemorySize(int 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