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>
38template <
typename RESULT_TYPE>
39class AmazonWebServiceResult;
64 template <
typename FunctionNameT = Aws::String>
66 m_functionNameHasBeenSet =
true;
67 m_functionName = std::forward<FunctionNameT>(value);
69 template <
typename FunctionNameT = Aws::String>
81 template <
typename FunctionArnT = Aws::String>
83 m_functionArnHasBeenSet =
true;
84 m_functionArn = std::forward<FunctionArnT>(value);
86 template <
typename FunctionArnT = Aws::String>
110 m_runtimeHasBeenSet =
true;
124 template <
typename RoleT = Aws::String>
126 m_roleHasBeenSet =
true;
127 m_role = std::forward<RoleT>(value);
129 template <
typename RoleT = Aws::String>
131 SetRole(std::forward<RoleT>(value));
141 template <
typename HandlerT = Aws::String>
143 m_handlerHasBeenSet =
true;
144 m_handler = std::forward<HandlerT>(value);
146 template <
typename HandlerT = Aws::String>
159 m_codeSizeHasBeenSet =
true;
173 template <
typename DescriptionT = Aws::String>
175 m_descriptionHasBeenSet =
true;
176 m_description = std::forward<DescriptionT>(value);
178 template <
typename DescriptionT = Aws::String>
192 m_timeoutHasBeenSet =
true;
207 m_memorySizeHasBeenSet =
true;
208 m_memorySize = value;
223 template <
typename LastModifiedT = Aws::String>
225 m_lastModifiedHasBeenSet =
true;
226 m_lastModified = std::forward<LastModifiedT>(value);
228 template <
typename LastModifiedT = Aws::String>
240 template <
typename CodeSha256T = Aws::String>
242 m_codeSha256HasBeenSet =
true;
243 m_codeSha256 = std::forward<CodeSha256T>(value);
245 template <
typename CodeSha256T = Aws::String>
257 template <
typename VersionT = Aws::String>
259 m_versionHasBeenSet =
true;
260 m_version = std::forward<VersionT>(value);
262 template <
typename VersionT = Aws::String>
274 template <
typename VpcConfigT = VpcConfigResponse>
276 m_vpcConfigHasBeenSet =
true;
277 m_vpcConfig = std::forward<VpcConfigT>(value);
279 template <
typename VpcConfigT = VpcConfigResponse>
291 template <
typename DeadLetterConfigT = DeadLetterConfig>
293 m_deadLetterConfigHasBeenSet =
true;
294 m_deadLetterConfig = std::forward<DeadLetterConfigT>(value);
296 template <
typename DeadLetterConfigT = DeadLetterConfig>
310 template <
typename EnvironmentT = EnvironmentResponse>
312 m_environmentHasBeenSet =
true;
313 m_environment = std::forward<EnvironmentT>(value);
315 template <
typename EnvironmentT = EnvironmentResponse>
347 template <
typename KMSKeyArnT = Aws::String>
349 m_kMSKeyArnHasBeenSet =
true;
350 m_kMSKeyArn = std::forward<KMSKeyArnT>(value);
352 template <
typename KMSKeyArnT = Aws::String>
364 template <
typename TracingConfigT = TracingConfigResponse>
366 m_tracingConfigHasBeenSet =
true;
367 m_tracingConfig = std::forward<TracingConfigT>(value);
369 template <
typename TracingConfigT = TracingConfigResponse>
381 template <
typename MasterArnT = Aws::String>
383 m_masterArnHasBeenSet =
true;
384 m_masterArn = std::forward<MasterArnT>(value);
386 template <
typename MasterArnT = Aws::String>
398 template <
typename RevisionIdT = Aws::String>
400 m_revisionIdHasBeenSet =
true;
401 m_revisionId = std::forward<RevisionIdT>(value);
403 template <
typename RevisionIdT = Aws::String>
416 template <
typename LayersT = Aws::Vector<Layer>>
418 m_layersHasBeenSet =
true;
419 m_layers = std::forward<LayersT>(value);
421 template <
typename LayersT = Aws::Vector<Layer>>
426 template <
typename LayersT = Layer>
428 m_layersHasBeenSet =
true;
429 m_layers.emplace_back(std::forward<LayersT>(value));
441 m_stateHasBeenSet =
true;
455 template <
typename StateReasonT = Aws::String>
457 m_stateReasonHasBeenSet =
true;
458 m_stateReason = std::forward<StateReasonT>(value);
460 template <
typename StateReasonT = Aws::String>
474 m_stateReasonCodeHasBeenSet =
true;
475 m_stateReasonCode = value;
490 m_lastUpdateStatusHasBeenSet =
true;
491 m_lastUpdateStatus = value;
504 template <
typename LastUpdateStatusReasonT = Aws::String>
506 m_lastUpdateStatusReasonHasBeenSet =
true;
507 m_lastUpdateStatusReason = std::forward<LastUpdateStatusReasonT>(value);
509 template <
typename LastUpdateStatusReasonT = Aws::String>
522 m_lastUpdateStatusReasonCodeHasBeenSet =
true;
523 m_lastUpdateStatusReasonCode = value;
540 template <
typename FileSystemConfigsT = Aws::Vector<FileSystemConfig>>
542 m_fileSystemConfigsHasBeenSet =
true;
543 m_fileSystemConfigs = std::forward<FileSystemConfigsT>(value);
545 template <
typename FileSystemConfigsT = Aws::Vector<FileSystemConfig>>
550 template <
typename FileSystemConfigsT = FileSystemConfig>
552 m_fileSystemConfigsHasBeenSet =
true;
553 m_fileSystemConfigs.emplace_back(std::forward<FileSystemConfigsT>(value));
563 template <
typename SigningProfileVersionArnT = Aws::String>
565 m_signingProfileVersionArnHasBeenSet =
true;
566 m_signingProfileVersionArn = std::forward<SigningProfileVersionArnT>(value);
568 template <
typename SigningProfileVersionArnT = Aws::String>
580 template <
typename SigningJobArnT = Aws::String>
582 m_signingJobArnHasBeenSet =
true;
583 m_signingJobArn = std::forward<SigningJobArnT>(value);
585 template <
typename SigningJobArnT = Aws::String>
599 m_packageTypeHasBeenSet =
true;
600 m_packageType = value;
613 template <
typename ImageConfigResponseT = ImageConfigResponse>
615 m_imageConfigResponseHasBeenSet =
true;
616 m_imageConfigResponse = std::forward<ImageConfigResponseT>(value);
618 template <
typename ImageConfigResponseT = ImageConfigResponse>
632 template <
typename ArchitecturesT = Aws::Vector<Architecture>>
634 m_architecturesHasBeenSet =
true;
635 m_architectures = std::forward<ArchitecturesT>(value);
637 template <
typename ArchitecturesT = Aws::Vector<Architecture>>
643 m_architecturesHasBeenSet =
true;
644 m_architectures.push_back(value);
659 template <
typename EphemeralStorageT = EphemeralStorage>
661 m_ephemeralStorageHasBeenSet =
true;
662 m_ephemeralStorage = std::forward<EphemeralStorageT>(value);
664 template <
typename EphemeralStorageT = EphemeralStorage>
680 template <
typename SnapStartT = SnapStartResponse>
682 m_snapStartHasBeenSet =
true;
683 m_snapStart = std::forward<SnapStartT>(value);
685 template <
typename SnapStartT = SnapStartResponse>
697 template <
typename RuntimeVersionConfigT = RuntimeVersionConfig>
699 m_runtimeVersionConfigHasBeenSet =
true;
700 m_runtimeVersionConfig = std::forward<RuntimeVersionConfigT>(value);
702 template <
typename RuntimeVersionConfigT = RuntimeVersionConfig>
714 template <
typename LoggingConfigT = LoggingConfig>
716 m_loggingConfigHasBeenSet =
true;
717 m_loggingConfig = std::forward<LoggingConfigT>(value);
719 template <
typename LoggingConfigT = LoggingConfig>
733 template <
typename TenancyConfigT = TenancyConfig>
735 m_tenancyConfigHasBeenSet =
true;
736 m_tenancyConfig = std::forward<TenancyConfigT>(value);
738 template <
typename TenancyConfigT = TenancyConfig>
751 template <
typename CapacityProv
iderConfigT = CapacityProv
iderConfig>
753 m_capacityProviderConfigHasBeenSet =
true;
754 m_capacityProviderConfig = std::forward<CapacityProviderConfigT>(value);
756 template <
typename CapacityProv
iderConfigT = CapacityProv
iderConfig>
768 template <
typename ConfigSha256T = Aws::String>
770 m_configSha256HasBeenSet =
true;
771 m_configSha256 = std::forward<ConfigSha256T>(value);
773 template <
typename ConfigSha256T = Aws::String>
786 template <
typename DurableConfigT = DurableConfig>
788 m_durableConfigHasBeenSet =
true;
789 m_durableConfig = std::forward<DurableConfigT>(value);
791 template <
typename DurableConfigT = DurableConfig>
804 template <
typename RuntimeConfigT = FunctionRuntimeConfig>
806 m_runtimeConfigHasBeenSet =
true;
807 m_runtimeConfig = std::forward<RuntimeConfigT>(value);
809 template <
typename RuntimeConfigT = FunctionRuntimeConfig>
821 template <
typename AcceleratorConfigT = AcceleratorConfig>
823 m_acceleratorConfigHasBeenSet =
true;
824 m_acceleratorConfig = std::forward<AcceleratorConfigT>(value);
826 template <
typename AcceleratorConfigT = AcceleratorConfig>
836 template <
typename RequestIdT = Aws::String>
838 m_requestIdHasBeenSet =
true;
839 m_requestId = std::forward<RequestIdT>(value);
841 template <
typename RequestIdT = Aws::String>
860 long long m_codeSize{0};
874 VpcConfigResponse m_vpcConfig;
876 DeadLetterConfig m_deadLetterConfig;
878 EnvironmentResponse m_environment;
882 TracingConfigResponse m_tracingConfig;
910 ImageConfigResponse m_imageConfigResponse;
914 EphemeralStorage m_ephemeralStorage;
916 SnapStartResponse m_snapStart;
918 RuntimeVersionConfig m_runtimeVersionConfig;
920 LoggingConfig m_loggingConfig;
922 TenancyConfig m_tenancyConfig;
924 CapacityProviderConfig m_capacityProviderConfig;
928 DurableConfig m_durableConfig;
930 FunctionRuntimeConfig m_runtimeConfig;
932 AcceleratorConfig m_acceleratorConfig;
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;
void SetLastUpdateStatusReasonCode(LastUpdateStatusReasonCode value)
void SetImageConfigResponse(ImageConfigResponseT &&value)
UpdateFunctionConfigurationResult & WithRequestId(RequestIdT &&value)
UpdateFunctionConfigurationResult & AddLayers(LayersT &&value)
UpdateFunctionConfigurationResult & WithVersion(VersionT &&value)
UpdateFunctionConfigurationResult & WithLastUpdateStatusReason(LastUpdateStatusReasonT &&value)
UpdateFunctionConfigurationResult & WithDurableConfig(DurableConfigT &&value)
void SetMemorySize(int value)
UpdateFunctionConfigurationResult & WithDescription(DescriptionT &&value)
const ImageConfigResponse & GetImageConfigResponse() const
UpdateFunctionConfigurationResult & WithLayers(LayersT &&value)
void SetEnvironment(EnvironmentT &&value)
UpdateFunctionConfigurationResult & WithRuntimeConfig(RuntimeConfigT &&value)
void SetCodeSize(long long value)
const Aws::String & GetVersion() const
UpdateFunctionConfigurationResult & WithFileSystemConfigs(FileSystemConfigsT &&value)
const FunctionRuntimeConfig & GetRuntimeConfig() const
const DurableConfig & GetDurableConfig() const
const AcceleratorConfig & GetAcceleratorConfig() const
void SetPackageType(PackageType value)
void SetFileSystemConfigs(FileSystemConfigsT &&value)
UpdateFunctionConfigurationResult & WithCodeSha256(CodeSha256T &&value)
UpdateFunctionConfigurationResult & WithPackageType(PackageType value)
UpdateFunctionConfigurationResult & WithLastUpdateStatus(LastUpdateStatus value)
const Aws::String & GetMasterArn() const
void SetVpcConfig(VpcConfigT &&value)
UpdateFunctionConfigurationResult & WithFunctionName(FunctionNameT &&value)
const Aws::String & GetLastModified() const
const CapacityProviderConfig & GetCapacityProviderConfig() const
UpdateFunctionConfigurationResult & WithTracingConfig(TracingConfigT &&value)
const Aws::Vector< Architecture > & GetArchitectures() const
const SnapStartResponse & GetSnapStart() const
const Aws::String & GetConfigSha256() const
UpdateFunctionConfigurationResult & WithTimeout(int value)
UpdateFunctionConfigurationResult & WithAcceleratorConfig(AcceleratorConfigT &&value)
UpdateFunctionConfigurationResult & WithLastModified(LastModifiedT &&value)
void SetCodeSha256(CodeSha256T &&value)
UpdateFunctionConfigurationResult & WithRuntime(Runtime value)
const DeadLetterConfig & GetDeadLetterConfig() const
void SetEphemeralStorage(EphemeralStorageT &&value)
void SetLayers(LayersT &&value)
const Aws::String & GetRequestId() const
UpdateFunctionConfigurationResult & WithConfigSha256(ConfigSha256T &&value)
UpdateFunctionConfigurationResult & WithImageConfigResponse(ImageConfigResponseT &&value)
const TracingConfigResponse & GetTracingConfig() const
const Aws::String & GetHandler() const
const Aws::String & GetDescription() const
UpdateFunctionConfigurationResult & WithSnapStart(SnapStartT &&value)
void SetVersion(VersionT &&value)
const Aws::String & GetKMSKeyArn() const
UpdateFunctionConfigurationResult & WithCodeSize(long long value)
void SetStateReason(StateReasonT &&value)
const Aws::String & GetRole() const
const VpcConfigResponse & GetVpcConfig() const
AWS_LAMBDA_API UpdateFunctionConfigurationResult & operator=(const Aws::AmazonWebServiceResult< Aws::Utils::Json::JsonValue > &result)
void SetConfigSha256(ConfigSha256T &&value)
void SetRevisionId(RevisionIdT &&value)
void SetSigningProfileVersionArn(SigningProfileVersionArnT &&value)
UpdateFunctionConfigurationResult & WithSigningProfileVersionArn(SigningProfileVersionArnT &&value)
void SetFunctionArn(FunctionArnT &&value)
UpdateFunctionConfigurationResult & WithLastUpdateStatusReasonCode(LastUpdateStatusReasonCode value)
void SetLastUpdateStatus(LastUpdateStatus value)
Runtime GetRuntime() const
UpdateFunctionConfigurationResult & WithStateReason(StateReasonT &&value)
LastUpdateStatusReasonCode GetLastUpdateStatusReasonCode() const
const EnvironmentResponse & GetEnvironment() const
int GetMemorySize() const
void SetRequestId(RequestIdT &&value)
const Aws::String & GetFunctionName() const
UpdateFunctionConfigurationResult & WithHandler(HandlerT &&value)
const Aws::String & GetStateReason() const
void SetLoggingConfig(LoggingConfigT &&value)
UpdateFunctionConfigurationResult & WithState(State value)
const Aws::String & GetRevisionId() const
UpdateFunctionConfigurationResult & WithVpcConfig(VpcConfigT &&value)
UpdateFunctionConfigurationResult & WithEnvironment(EnvironmentT &&value)
UpdateFunctionConfigurationResult & AddArchitectures(Architecture value)
void SetState(State value)
void SetTracingConfig(TracingConfigT &&value)
const Aws::Vector< FileSystemConfig > & GetFileSystemConfigs() const
Aws::Http::HttpResponseCode GetHttpResponseCode() const
UpdateFunctionConfigurationResult & WithDeadLetterConfig(DeadLetterConfigT &&value)
AWS_LAMBDA_API UpdateFunctionConfigurationResult()=default
void SetCapacityProviderConfig(CapacityProviderConfigT &&value)
AWS_LAMBDA_API UpdateFunctionConfigurationResult(const Aws::AmazonWebServiceResult< Aws::Utils::Json::JsonValue > &result)
const LoggingConfig & GetLoggingConfig() const
const TenancyConfig & GetTenancyConfig() const
LastUpdateStatus GetLastUpdateStatus() const
UpdateFunctionConfigurationResult & WithMemorySize(int value)
void SetAcceleratorConfig(AcceleratorConfigT &&value)
void SetRuntime(Runtime value)
UpdateFunctionConfigurationResult & WithMasterArn(MasterArnT &&value)
UpdateFunctionConfigurationResult & AddFileSystemConfigs(FileSystemConfigsT &&value)
void SetKMSKeyArn(KMSKeyArnT &&value)
void SetLastUpdateStatusReason(LastUpdateStatusReasonT &&value)
void SetTenancyConfig(TenancyConfigT &&value)
UpdateFunctionConfigurationResult & WithLoggingConfig(LoggingConfigT &&value)
UpdateFunctionConfigurationResult & WithArchitectures(ArchitecturesT &&value)
const Aws::String & GetFunctionArn() const
UpdateFunctionConfigurationResult & WithTenancyConfig(TenancyConfigT &&value)
void SetHandler(HandlerT &&value)
UpdateFunctionConfigurationResult & WithCapacityProviderConfig(CapacityProviderConfigT &&value)
void SetFunctionName(FunctionNameT &&value)
void SetRuntimeVersionConfig(RuntimeVersionConfigT &&value)
void SetLastModified(LastModifiedT &&value)
UpdateFunctionConfigurationResult & WithRole(RoleT &&value)
const Aws::String & GetCodeSha256() const
const EphemeralStorage & GetEphemeralStorage() const
UpdateFunctionConfigurationResult & WithRevisionId(RevisionIdT &&value)
const Aws::String & GetSigningProfileVersionArn() const
void SetSigningJobArn(SigningJobArnT &&value)
long long GetCodeSize() const
const Aws::String & GetLastUpdateStatusReason() const
const Aws::String & GetSigningJobArn() const
void SetSnapStart(SnapStartT &&value)
UpdateFunctionConfigurationResult & WithFunctionArn(FunctionArnT &&value)
const Aws::Vector< Layer > & GetLayers() const
UpdateFunctionConfigurationResult & WithEphemeralStorage(EphemeralStorageT &&value)
void SetDurableConfig(DurableConfigT &&value)
void SetDeadLetterConfig(DeadLetterConfigT &&value)
UpdateFunctionConfigurationResult & WithRuntimeVersionConfig(RuntimeVersionConfigT &&value)
void SetRole(RoleT &&value)
void SetTimeout(int value)
UpdateFunctionConfigurationResult & WithSigningJobArn(SigningJobArnT &&value)
void SetRuntimeConfig(RuntimeConfigT &&value)
UpdateFunctionConfigurationResult & WithKMSKeyArn(KMSKeyArnT &&value)
const RuntimeVersionConfig & GetRuntimeVersionConfig() const
UpdateFunctionConfigurationResult & WithStateReasonCode(StateReasonCode value)
void SetDescription(DescriptionT &&value)
StateReasonCode GetStateReasonCode() const
void SetArchitectures(ArchitecturesT &&value)
void SetStateReasonCode(StateReasonCode value)
PackageType GetPackageType() const
void SetMasterArn(MasterArnT &&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