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>
35template <
typename RESULT_TYPE>
36class AmazonWebServiceResult;
61 template <
typename FunctionNameT = Aws::String>
63 m_functionNameHasBeenSet =
true;
64 m_functionName = std::forward<FunctionNameT>(value);
66 template <
typename FunctionNameT = Aws::String>
78 template <
typename FunctionArnT = Aws::String>
80 m_functionArnHasBeenSet =
true;
81 m_functionArn = std::forward<FunctionArnT>(value);
83 template <
typename FunctionArnT = Aws::String>
107 m_runtimeHasBeenSet =
true;
121 template <
typename RoleT = Aws::String>
123 m_roleHasBeenSet =
true;
124 m_role = std::forward<RoleT>(value);
126 template <
typename RoleT = Aws::String>
128 SetRole(std::forward<RoleT>(value));
138 template <
typename HandlerT = Aws::String>
140 m_handlerHasBeenSet =
true;
141 m_handler = std::forward<HandlerT>(value);
143 template <
typename HandlerT = Aws::String>
156 m_codeSizeHasBeenSet =
true;
170 template <
typename DescriptionT = Aws::String>
172 m_descriptionHasBeenSet =
true;
173 m_description = std::forward<DescriptionT>(value);
175 template <
typename DescriptionT = Aws::String>
189 m_timeoutHasBeenSet =
true;
204 m_memorySizeHasBeenSet =
true;
205 m_memorySize = value;
220 template <
typename LastModifiedT = Aws::String>
222 m_lastModifiedHasBeenSet =
true;
223 m_lastModified = std::forward<LastModifiedT>(value);
225 template <
typename LastModifiedT = Aws::String>
237 template <
typename CodeSha256T = Aws::String>
239 m_codeSha256HasBeenSet =
true;
240 m_codeSha256 = std::forward<CodeSha256T>(value);
242 template <
typename CodeSha256T = Aws::String>
254 template <
typename VersionT = Aws::String>
256 m_versionHasBeenSet =
true;
257 m_version = std::forward<VersionT>(value);
259 template <
typename VersionT = Aws::String>
271 template <
typename VpcConfigT = VpcConfigResponse>
273 m_vpcConfigHasBeenSet =
true;
274 m_vpcConfig = std::forward<VpcConfigT>(value);
276 template <
typename VpcConfigT = VpcConfigResponse>
288 template <
typename DeadLetterConfigT = DeadLetterConfig>
290 m_deadLetterConfigHasBeenSet =
true;
291 m_deadLetterConfig = std::forward<DeadLetterConfigT>(value);
293 template <
typename DeadLetterConfigT = DeadLetterConfig>
307 template <
typename EnvironmentT = EnvironmentResponse>
309 m_environmentHasBeenSet =
true;
310 m_environment = std::forward<EnvironmentT>(value);
312 template <
typename EnvironmentT = EnvironmentResponse>
344 template <
typename KMSKeyArnT = Aws::String>
346 m_kMSKeyArnHasBeenSet =
true;
347 m_kMSKeyArn = std::forward<KMSKeyArnT>(value);
349 template <
typename KMSKeyArnT = Aws::String>
361 template <
typename TracingConfigT = TracingConfigResponse>
363 m_tracingConfigHasBeenSet =
true;
364 m_tracingConfig = std::forward<TracingConfigT>(value);
366 template <
typename TracingConfigT = TracingConfigResponse>
378 template <
typename MasterArnT = Aws::String>
380 m_masterArnHasBeenSet =
true;
381 m_masterArn = std::forward<MasterArnT>(value);
383 template <
typename MasterArnT = Aws::String>
395 template <
typename RevisionIdT = Aws::String>
397 m_revisionIdHasBeenSet =
true;
398 m_revisionId = std::forward<RevisionIdT>(value);
400 template <
typename RevisionIdT = Aws::String>
413 template <
typename LayersT = Aws::Vector<Layer>>
415 m_layersHasBeenSet =
true;
416 m_layers = std::forward<LayersT>(value);
418 template <
typename LayersT = Aws::Vector<Layer>>
423 template <
typename LayersT = Layer>
425 m_layersHasBeenSet =
true;
426 m_layers.emplace_back(std::forward<LayersT>(value));
438 m_stateHasBeenSet =
true;
452 template <
typename StateReasonT = Aws::String>
454 m_stateReasonHasBeenSet =
true;
455 m_stateReason = std::forward<StateReasonT>(value);
457 template <
typename StateReasonT = Aws::String>
471 m_stateReasonCodeHasBeenSet =
true;
472 m_stateReasonCode = value;
487 m_lastUpdateStatusHasBeenSet =
true;
488 m_lastUpdateStatus = value;
501 template <
typename LastUpdateStatusReasonT = Aws::String>
503 m_lastUpdateStatusReasonHasBeenSet =
true;
504 m_lastUpdateStatusReason = std::forward<LastUpdateStatusReasonT>(value);
506 template <
typename LastUpdateStatusReasonT = Aws::String>
519 m_lastUpdateStatusReasonCodeHasBeenSet =
true;
520 m_lastUpdateStatusReasonCode = value;
535 template <
typename FileSystemConfigsT = Aws::Vector<FileSystemConfig>>
537 m_fileSystemConfigsHasBeenSet =
true;
538 m_fileSystemConfigs = std::forward<FileSystemConfigsT>(value);
540 template <
typename FileSystemConfigsT = Aws::Vector<FileSystemConfig>>
545 template <
typename FileSystemConfigsT = FileSystemConfig>
547 m_fileSystemConfigsHasBeenSet =
true;
548 m_fileSystemConfigs.emplace_back(std::forward<FileSystemConfigsT>(value));
560 m_packageTypeHasBeenSet =
true;
561 m_packageType = value;
574 template <
typename ImageConfigResponseT = ImageConfigResponse>
576 m_imageConfigResponseHasBeenSet =
true;
577 m_imageConfigResponse = std::forward<ImageConfigResponseT>(value);
579 template <
typename ImageConfigResponseT = ImageConfigResponse>
591 template <
typename SigningProfileVersionArnT = Aws::String>
593 m_signingProfileVersionArnHasBeenSet =
true;
594 m_signingProfileVersionArn = std::forward<SigningProfileVersionArnT>(value);
596 template <
typename SigningProfileVersionArnT = Aws::String>
608 template <
typename SigningJobArnT = Aws::String>
610 m_signingJobArnHasBeenSet =
true;
611 m_signingJobArn = std::forward<SigningJobArnT>(value);
613 template <
typename SigningJobArnT = Aws::String>
627 template <
typename ArchitecturesT = Aws::Vector<Architecture>>
629 m_architecturesHasBeenSet =
true;
630 m_architectures = std::forward<ArchitecturesT>(value);
632 template <
typename ArchitecturesT = Aws::Vector<Architecture>>
638 m_architecturesHasBeenSet =
true;
639 m_architectures.push_back(value);
653 template <
typename EphemeralStorageT = EphemeralStorage>
655 m_ephemeralStorageHasBeenSet =
true;
656 m_ephemeralStorage = std::forward<EphemeralStorageT>(value);
658 template <
typename EphemeralStorageT = EphemeralStorage>
674 template <
typename SnapStartT = SnapStartResponse>
676 m_snapStartHasBeenSet =
true;
677 m_snapStart = std::forward<SnapStartT>(value);
679 template <
typename SnapStartT = SnapStartResponse>
691 template <
typename RuntimeVersionConfigT = RuntimeVersionConfig>
693 m_runtimeVersionConfigHasBeenSet =
true;
694 m_runtimeVersionConfig = std::forward<RuntimeVersionConfigT>(value);
696 template <
typename RuntimeVersionConfigT = RuntimeVersionConfig>
708 template <
typename LoggingConfigT = LoggingConfig>
710 m_loggingConfigHasBeenSet =
true;
711 m_loggingConfig = std::forward<LoggingConfigT>(value);
713 template <
typename LoggingConfigT = LoggingConfig>
726 template <
typename CapacityProv
iderConfigT = CapacityProv
iderConfig>
728 m_capacityProviderConfigHasBeenSet =
true;
729 m_capacityProviderConfig = std::forward<CapacityProviderConfigT>(value);
731 template <
typename CapacityProv
iderConfigT = CapacityProv
iderConfig>
743 template <
typename ConfigSha256T = Aws::String>
745 m_configSha256HasBeenSet =
true;
746 m_configSha256 = std::forward<ConfigSha256T>(value);
748 template <
typename ConfigSha256T = Aws::String>
761 template <
typename DurableConfigT = DurableConfig>
763 m_durableConfigHasBeenSet =
true;
764 m_durableConfig = std::forward<DurableConfigT>(value);
766 template <
typename DurableConfigT = DurableConfig>
780 template <
typename TenancyConfigT = TenancyConfig>
782 m_tenancyConfigHasBeenSet =
true;
783 m_tenancyConfig = std::forward<TenancyConfigT>(value);
785 template <
typename TenancyConfigT = TenancyConfig>
795 template <
typename RequestIdT = Aws::String>
797 m_requestIdHasBeenSet =
true;
798 m_requestId = std::forward<RequestIdT>(value);
800 template <
typename RequestIdT = Aws::String>
817 long long m_codeSize{0};
831 VpcConfigResponse m_vpcConfig;
833 DeadLetterConfig m_deadLetterConfig;
835 EnvironmentResponse m_environment;
839 TracingConfigResponse m_tracingConfig;
863 ImageConfigResponse m_imageConfigResponse;
871 EphemeralStorage m_ephemeralStorage;
873 SnapStartResponse m_snapStart;
875 RuntimeVersionConfig m_runtimeVersionConfig;
877 LoggingConfig m_loggingConfig;
879 CapacityProviderConfig m_capacityProviderConfig;
883 DurableConfig m_durableConfig;
885 TenancyConfig m_tenancyConfig;
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;
UpdateFunctionCodeResult & AddArchitectures(Architecture value)
const SnapStartResponse & GetSnapStart() const
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
void SetEnvironment(EnvironmentT &&value)
void SetStateReason(StateReasonT &&value)
const Aws::String & GetFunctionArn() const
const Aws::String & GetFunctionName() const
const RuntimeVersionConfig & GetRuntimeVersionConfig() const
void SetMemorySize(int value)
void SetEphemeralStorage(EphemeralStorageT &&value)
UpdateFunctionCodeResult & WithFunctionArn(FunctionArnT &&value)
UpdateFunctionCodeResult & WithDeadLetterConfig(DeadLetterConfigT &&value)
UpdateFunctionCodeResult & WithTimeout(int value)
void SetCodeSha256(CodeSha256T &&value)
UpdateFunctionCodeResult & WithLastUpdateStatus(LastUpdateStatus value)
const Aws::String & GetLastUpdateStatusReason() const
Runtime GetRuntime() const
UpdateFunctionCodeResult & WithDurableConfig(DurableConfigT &&value)
void SetFileSystemConfigs(FileSystemConfigsT &&value)
void SetLastModified(LastModifiedT &&value)
UpdateFunctionCodeResult & WithSigningJobArn(SigningJobArnT &&value)
const Aws::String & GetSigningProfileVersionArn() const
UpdateFunctionCodeResult & WithState(State value)
const TenancyConfig & GetTenancyConfig() const
UpdateFunctionCodeResult & WithRole(RoleT &&value)
AWS_LAMBDA_API UpdateFunctionCodeResult()=default
const Aws::String & GetVersion() const
void SetImageConfigResponse(ImageConfigResponseT &&value)
int GetMemorySize() const
void SetMasterArn(MasterArnT &&value)
PackageType GetPackageType() const
void SetDurableConfig(DurableConfigT &&value)
const Aws::String & GetDescription() const
void SetArchitectures(ArchitecturesT &&value)
UpdateFunctionCodeResult & WithTenancyConfig(TenancyConfigT &&value)
UpdateFunctionCodeResult & WithFileSystemConfigs(FileSystemConfigsT &&value)
const LoggingConfig & GetLoggingConfig() const
void SetTenancyConfig(TenancyConfigT &&value)
UpdateFunctionCodeResult & WithRuntimeVersionConfig(RuntimeVersionConfigT &&value)
UpdateFunctionCodeResult & WithStateReason(StateReasonT &&value)
const Aws::String & GetMasterArn() const
UpdateFunctionCodeResult & WithArchitectures(ArchitecturesT &&value)
UpdateFunctionCodeResult & WithSnapStart(SnapStartT &&value)
UpdateFunctionCodeResult & WithImageConfigResponse(ImageConfigResponseT &&value)
const Aws::String & GetRequestId() const
UpdateFunctionCodeResult & WithLastUpdateStatusReasonCode(LastUpdateStatusReasonCode value)
const Aws::Vector< Architecture > & GetArchitectures() const
void SetLastUpdateStatusReason(LastUpdateStatusReasonT &&value)
void SetCodeSize(long long value)
UpdateFunctionCodeResult & WithMasterArn(MasterArnT &&value)
const DeadLetterConfig & GetDeadLetterConfig() const
void SetRequestId(RequestIdT &&value)
const Aws::String & GetCodeSha256() const
UpdateFunctionCodeResult & WithConfigSha256(ConfigSha256T &&value)
StateReasonCode GetStateReasonCode() const
UpdateFunctionCodeResult & WithDescription(DescriptionT &&value)
UpdateFunctionCodeResult & WithEnvironment(EnvironmentT &&value)
void SetSigningJobArn(SigningJobArnT &&value)
void SetTracingConfig(TracingConfigT &&value)
UpdateFunctionCodeResult & WithFunctionName(FunctionNameT &&value)
const EphemeralStorage & GetEphemeralStorage() const
void SetRevisionId(RevisionIdT &&value)
void SetConfigSha256(ConfigSha256T &&value)
UpdateFunctionCodeResult & AddFileSystemConfigs(FileSystemConfigsT &&value)
const Aws::String & GetHandler() const
const EnvironmentResponse & GetEnvironment() const
const DurableConfig & GetDurableConfig() const
const Aws::String & GetLastModified() const
const Aws::String & GetStateReason() const
UpdateFunctionCodeResult & WithSigningProfileVersionArn(SigningProfileVersionArnT &&value)
UpdateFunctionCodeResult & WithKMSKeyArn(KMSKeyArnT &&value)
void SetTimeout(int value)
AWS_LAMBDA_API UpdateFunctionCodeResult(const Aws::AmazonWebServiceResult< Aws::Utils::Json::JsonValue > &result)
const TracingConfigResponse & GetTracingConfig() const
void SetLoggingConfig(LoggingConfigT &&value)
UpdateFunctionCodeResult & WithStateReasonCode(StateReasonCode value)
UpdateFunctionCodeResult & WithLastUpdateStatusReason(LastUpdateStatusReasonT &&value)
UpdateFunctionCodeResult & WithCapacityProviderConfig(CapacityProviderConfigT &&value)
const Aws::String & GetRevisionId() const
const VpcConfigResponse & GetVpcConfig() const
void SetLayers(LayersT &&value)
void SetState(State value)
void SetLastUpdateStatus(LastUpdateStatus value)
void SetPackageType(PackageType value)
AWS_LAMBDA_API UpdateFunctionCodeResult & operator=(const Aws::AmazonWebServiceResult< Aws::Utils::Json::JsonValue > &result)
LastUpdateStatus GetLastUpdateStatus() const
void SetVersion(VersionT &&value)
UpdateFunctionCodeResult & WithCodeSize(long long value)
void SetFunctionArn(FunctionArnT &&value)
void SetRole(RoleT &&value)
UpdateFunctionCodeResult & WithCodeSha256(CodeSha256T &&value)
const ImageConfigResponse & GetImageConfigResponse() const
void SetVpcConfig(VpcConfigT &&value)
void SetSnapStart(SnapStartT &&value)
void SetStateReasonCode(StateReasonCode value)
void SetDescription(DescriptionT &&value)
const Aws::Vector< FileSystemConfig > & GetFileSystemConfigs() const
UpdateFunctionCodeResult & WithLastModified(LastModifiedT &&value)
UpdateFunctionCodeResult & WithEphemeralStorage(EphemeralStorageT &&value)
void SetKMSKeyArn(KMSKeyArnT &&value)
UpdateFunctionCodeResult & WithHandler(HandlerT &&value)
UpdateFunctionCodeResult & WithLayers(LayersT &&value)
const Aws::String & GetKMSKeyArn() const
void SetFunctionName(FunctionNameT &&value)
UpdateFunctionCodeResult & WithRuntime(Runtime value)
UpdateFunctionCodeResult & WithVpcConfig(VpcConfigT &&value)
void SetSigningProfileVersionArn(SigningProfileVersionArnT &&value)
long long GetCodeSize() const
void SetRuntimeVersionConfig(RuntimeVersionConfigT &&value)
void SetHandler(HandlerT &&value)
const Aws::String & GetSigningJobArn() const
const Aws::String & GetConfigSha256() const
LastUpdateStatusReasonCode GetLastUpdateStatusReasonCode() const
UpdateFunctionCodeResult & WithTracingConfig(TracingConfigT &&value)
UpdateFunctionCodeResult & WithRevisionId(RevisionIdT &&value)
const Aws::String & GetRole() const
UpdateFunctionCodeResult & AddLayers(LayersT &&value)
UpdateFunctionCodeResult & WithVersion(VersionT &&value)
void SetRuntime(Runtime value)
void SetDeadLetterConfig(DeadLetterConfigT &&value)
UpdateFunctionCodeResult & WithRequestId(RequestIdT &&value)
UpdateFunctionCodeResult & WithMemorySize(int value)
LastUpdateStatusReasonCode
std::basic_string< char, std::char_traits< char >, Aws::Allocator< char > > String
std::vector< T, Aws::Allocator< T > > Vector
Aws::Utils::Json::JsonValue JsonValue