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>
36template <
typename RESULT_TYPE>
37class AmazonWebServiceResult;
62 template <
typename FunctionNameT = Aws::String>
64 m_functionNameHasBeenSet =
true;
65 m_functionName = std::forward<FunctionNameT>(value);
67 template <
typename FunctionNameT = Aws::String>
79 template <
typename FunctionArnT = Aws::String>
81 m_functionArnHasBeenSet =
true;
82 m_functionArn = std::forward<FunctionArnT>(value);
84 template <
typename FunctionArnT = Aws::String>
108 m_runtimeHasBeenSet =
true;
122 template <
typename RoleT = Aws::String>
124 m_roleHasBeenSet =
true;
125 m_role = std::forward<RoleT>(value);
127 template <
typename RoleT = Aws::String>
129 SetRole(std::forward<RoleT>(value));
139 template <
typename HandlerT = Aws::String>
141 m_handlerHasBeenSet =
true;
142 m_handler = std::forward<HandlerT>(value);
144 template <
typename HandlerT = Aws::String>
157 m_codeSizeHasBeenSet =
true;
171 template <
typename DescriptionT = Aws::String>
173 m_descriptionHasBeenSet =
true;
174 m_description = std::forward<DescriptionT>(value);
176 template <
typename DescriptionT = Aws::String>
190 m_timeoutHasBeenSet =
true;
205 m_memorySizeHasBeenSet =
true;
206 m_memorySize = value;
221 template <
typename LastModifiedT = Aws::String>
223 m_lastModifiedHasBeenSet =
true;
224 m_lastModified = std::forward<LastModifiedT>(value);
226 template <
typename LastModifiedT = Aws::String>
238 template <
typename CodeSha256T = Aws::String>
240 m_codeSha256HasBeenSet =
true;
241 m_codeSha256 = std::forward<CodeSha256T>(value);
243 template <
typename CodeSha256T = Aws::String>
255 template <
typename VersionT = Aws::String>
257 m_versionHasBeenSet =
true;
258 m_version = std::forward<VersionT>(value);
260 template <
typename VersionT = Aws::String>
272 template <
typename VpcConfigT = VpcConfigResponse>
274 m_vpcConfigHasBeenSet =
true;
275 m_vpcConfig = std::forward<VpcConfigT>(value);
277 template <
typename VpcConfigT = VpcConfigResponse>
289 template <
typename DeadLetterConfigT = DeadLetterConfig>
291 m_deadLetterConfigHasBeenSet =
true;
292 m_deadLetterConfig = std::forward<DeadLetterConfigT>(value);
294 template <
typename DeadLetterConfigT = DeadLetterConfig>
308 template <
typename EnvironmentT = EnvironmentResponse>
310 m_environmentHasBeenSet =
true;
311 m_environment = std::forward<EnvironmentT>(value);
313 template <
typename EnvironmentT = EnvironmentResponse>
345 template <
typename KMSKeyArnT = Aws::String>
347 m_kMSKeyArnHasBeenSet =
true;
348 m_kMSKeyArn = std::forward<KMSKeyArnT>(value);
350 template <
typename KMSKeyArnT = Aws::String>
362 template <
typename TracingConfigT = TracingConfigResponse>
364 m_tracingConfigHasBeenSet =
true;
365 m_tracingConfig = std::forward<TracingConfigT>(value);
367 template <
typename TracingConfigT = TracingConfigResponse>
379 template <
typename MasterArnT = Aws::String>
381 m_masterArnHasBeenSet =
true;
382 m_masterArn = std::forward<MasterArnT>(value);
384 template <
typename MasterArnT = Aws::String>
396 template <
typename RevisionIdT = Aws::String>
398 m_revisionIdHasBeenSet =
true;
399 m_revisionId = std::forward<RevisionIdT>(value);
401 template <
typename RevisionIdT = Aws::String>
414 template <
typename LayersT = Aws::Vector<Layer>>
416 m_layersHasBeenSet =
true;
417 m_layers = std::forward<LayersT>(value);
419 template <
typename LayersT = Aws::Vector<Layer>>
424 template <
typename LayersT = Layer>
426 m_layersHasBeenSet =
true;
427 m_layers.emplace_back(std::forward<LayersT>(value));
439 m_stateHasBeenSet =
true;
453 template <
typename StateReasonT = Aws::String>
455 m_stateReasonHasBeenSet =
true;
456 m_stateReason = std::forward<StateReasonT>(value);
458 template <
typename StateReasonT = Aws::String>
472 m_stateReasonCodeHasBeenSet =
true;
473 m_stateReasonCode = value;
488 m_lastUpdateStatusHasBeenSet =
true;
489 m_lastUpdateStatus = value;
502 template <
typename LastUpdateStatusReasonT = Aws::String>
504 m_lastUpdateStatusReasonHasBeenSet =
true;
505 m_lastUpdateStatusReason = std::forward<LastUpdateStatusReasonT>(value);
507 template <
typename LastUpdateStatusReasonT = Aws::String>
520 m_lastUpdateStatusReasonCodeHasBeenSet =
true;
521 m_lastUpdateStatusReasonCode = value;
538 template <
typename FileSystemConfigsT = Aws::Vector<FileSystemConfig>>
540 m_fileSystemConfigsHasBeenSet =
true;
541 m_fileSystemConfigs = std::forward<FileSystemConfigsT>(value);
543 template <
typename FileSystemConfigsT = Aws::Vector<FileSystemConfig>>
548 template <
typename FileSystemConfigsT = FileSystemConfig>
550 m_fileSystemConfigsHasBeenSet =
true;
551 m_fileSystemConfigs.emplace_back(std::forward<FileSystemConfigsT>(value));
563 m_packageTypeHasBeenSet =
true;
564 m_packageType = value;
577 template <
typename ImageConfigResponseT = ImageConfigResponse>
579 m_imageConfigResponseHasBeenSet =
true;
580 m_imageConfigResponse = std::forward<ImageConfigResponseT>(value);
582 template <
typename ImageConfigResponseT = ImageConfigResponse>
594 template <
typename SigningProfileVersionArnT = Aws::String>
596 m_signingProfileVersionArnHasBeenSet =
true;
597 m_signingProfileVersionArn = std::forward<SigningProfileVersionArnT>(value);
599 template <
typename SigningProfileVersionArnT = Aws::String>
611 template <
typename SigningJobArnT = Aws::String>
613 m_signingJobArnHasBeenSet =
true;
614 m_signingJobArn = std::forward<SigningJobArnT>(value);
616 template <
typename SigningJobArnT = Aws::String>
630 template <
typename ArchitecturesT = Aws::Vector<Architecture>>
632 m_architecturesHasBeenSet =
true;
633 m_architectures = std::forward<ArchitecturesT>(value);
635 template <
typename ArchitecturesT = Aws::Vector<Architecture>>
641 m_architecturesHasBeenSet =
true;
642 m_architectures.push_back(value);
656 template <
typename EphemeralStorageT = EphemeralStorage>
658 m_ephemeralStorageHasBeenSet =
true;
659 m_ephemeralStorage = std::forward<EphemeralStorageT>(value);
661 template <
typename EphemeralStorageT = EphemeralStorage>
677 template <
typename SnapStartT = SnapStartResponse>
679 m_snapStartHasBeenSet =
true;
680 m_snapStart = std::forward<SnapStartT>(value);
682 template <
typename SnapStartT = SnapStartResponse>
694 template <
typename RuntimeVersionConfigT = RuntimeVersionConfig>
696 m_runtimeVersionConfigHasBeenSet =
true;
697 m_runtimeVersionConfig = std::forward<RuntimeVersionConfigT>(value);
699 template <
typename RuntimeVersionConfigT = RuntimeVersionConfig>
711 template <
typename LoggingConfigT = LoggingConfig>
713 m_loggingConfigHasBeenSet =
true;
714 m_loggingConfig = std::forward<LoggingConfigT>(value);
716 template <
typename LoggingConfigT = LoggingConfig>
729 template <
typename CapacityProv
iderConfigT = CapacityProv
iderConfig>
731 m_capacityProviderConfigHasBeenSet =
true;
732 m_capacityProviderConfig = std::forward<CapacityProviderConfigT>(value);
734 template <
typename CapacityProv
iderConfigT = CapacityProv
iderConfig>
746 template <
typename ConfigSha256T = Aws::String>
748 m_configSha256HasBeenSet =
true;
749 m_configSha256 = std::forward<ConfigSha256T>(value);
751 template <
typename ConfigSha256T = Aws::String>
764 template <
typename DurableConfigT = DurableConfig>
766 m_durableConfigHasBeenSet =
true;
767 m_durableConfig = std::forward<DurableConfigT>(value);
769 template <
typename DurableConfigT = DurableConfig>
783 template <
typename TenancyConfigT = TenancyConfig>
785 m_tenancyConfigHasBeenSet =
true;
786 m_tenancyConfig = std::forward<TenancyConfigT>(value);
788 template <
typename TenancyConfigT = TenancyConfig>
798 template <
typename RequestIdT = Aws::String>
800 m_requestIdHasBeenSet =
true;
801 m_requestId = std::forward<RequestIdT>(value);
803 template <
typename RequestIdT = Aws::String>
822 long long m_codeSize{0};
836 VpcConfigResponse m_vpcConfig;
838 DeadLetterConfig m_deadLetterConfig;
840 EnvironmentResponse m_environment;
844 TracingConfigResponse m_tracingConfig;
868 ImageConfigResponse m_imageConfigResponse;
876 EphemeralStorage m_ephemeralStorage;
878 SnapStartResponse m_snapStart;
880 RuntimeVersionConfig m_runtimeVersionConfig;
882 LoggingConfig m_loggingConfig;
884 CapacityProviderConfig m_capacityProviderConfig;
888 DurableConfig m_durableConfig;
890 TenancyConfig m_tenancyConfig;
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;
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)
Aws::Http::HttpResponseCode GetHttpResponseCode() const
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