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/AcceleratorConfig.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/FunctionRuntimeConfig.h>
19#include <aws/lambda/model/ImageConfigResponse.h>
20#include <aws/lambda/model/LastUpdateStatus.h>
21#include <aws/lambda/model/LastUpdateStatusReasonCode.h>
22#include <aws/lambda/model/Layer.h>
23#include <aws/lambda/model/LoggingConfig.h>
24#include <aws/lambda/model/PackageType.h>
25#include <aws/lambda/model/Runtime.h>
26#include <aws/lambda/model/RuntimeVersionConfig.h>
27#include <aws/lambda/model/SnapStartResponse.h>
28#include <aws/lambda/model/State.h>
29#include <aws/lambda/model/StateReasonCode.h>
30#include <aws/lambda/model/TenancyConfig.h>
31#include <aws/lambda/model/TracingConfigResponse.h>
32#include <aws/lambda/model/VpcConfigResponse.h>
64 template <
typename FunctionNameT = Aws::String>
66 m_functionNameHasBeenSet =
true;
67 m_functionName = std::forward<FunctionNameT>(value);
69 template <
typename FunctionNameT = Aws::String>
82 template <
typename FunctionArnT = Aws::String>
84 m_functionArnHasBeenSet =
true;
85 m_functionArn = std::forward<FunctionArnT>(value);
87 template <
typename FunctionArnT = Aws::String>
112 m_runtimeHasBeenSet =
true;
127 template <
typename RoleT = Aws::String>
129 m_roleHasBeenSet =
true;
130 m_role = std::forward<RoleT>(value);
132 template <
typename RoleT = Aws::String>
134 SetRole(std::forward<RoleT>(value));
145 template <
typename HandlerT = Aws::String>
147 m_handlerHasBeenSet =
true;
148 m_handler = std::forward<HandlerT>(value);
150 template <
typename HandlerT = Aws::String>
164 m_codeSizeHasBeenSet =
true;
179 template <
typename DescriptionT = Aws::String>
181 m_descriptionHasBeenSet =
true;
182 m_description = std::forward<DescriptionT>(value);
184 template <
typename DescriptionT = Aws::String>
199 m_timeoutHasBeenSet =
true;
215 m_memorySizeHasBeenSet =
true;
216 m_memorySize = value;
232 template <
typename LastModifiedT = Aws::String>
234 m_lastModifiedHasBeenSet =
true;
235 m_lastModified = std::forward<LastModifiedT>(value);
237 template <
typename LastModifiedT = Aws::String>
250 template <
typename CodeSha256T = Aws::String>
252 m_codeSha256HasBeenSet =
true;
253 m_codeSha256 = std::forward<CodeSha256T>(value);
255 template <
typename CodeSha256T = Aws::String>
268 template <
typename VersionT = Aws::String>
270 m_versionHasBeenSet =
true;
271 m_version = std::forward<VersionT>(value);
273 template <
typename VersionT = Aws::String>
286 template <
typename VpcConfigT = VpcConfigResponse>
288 m_vpcConfigHasBeenSet =
true;
289 m_vpcConfig = std::forward<VpcConfigT>(value);
291 template <
typename VpcConfigT = VpcConfigResponse>
304 template <
typename DeadLetterConfigT = DeadLetterConfig>
306 m_deadLetterConfigHasBeenSet =
true;
307 m_deadLetterConfig = std::forward<DeadLetterConfigT>(value);
309 template <
typename DeadLetterConfigT = DeadLetterConfig>
324 template <
typename EnvironmentT = EnvironmentResponse>
326 m_environmentHasBeenSet =
true;
327 m_environment = std::forward<EnvironmentT>(value);
329 template <
typename EnvironmentT = EnvironmentResponse>
362 template <
typename KMSKeyArnT = Aws::String>
364 m_kMSKeyArnHasBeenSet =
true;
365 m_kMSKeyArn = std::forward<KMSKeyArnT>(value);
367 template <
typename KMSKeyArnT = Aws::String>
380 template <
typename TracingConfigT = TracingConfigResponse>
382 m_tracingConfigHasBeenSet =
true;
383 m_tracingConfig = std::forward<TracingConfigT>(value);
385 template <
typename TracingConfigT = TracingConfigResponse>
398 template <
typename MasterArnT = Aws::String>
400 m_masterArnHasBeenSet =
true;
401 m_masterArn = std::forward<MasterArnT>(value);
403 template <
typename MasterArnT = Aws::String>
416 template <
typename RevisionIdT = Aws::String>
418 m_revisionIdHasBeenSet =
true;
419 m_revisionId = std::forward<RevisionIdT>(value);
421 template <
typename RevisionIdT = Aws::String>
435 template <
typename LayersT = Aws::Vector<Layer>>
437 m_layersHasBeenSet =
true;
438 m_layers = std::forward<LayersT>(value);
440 template <
typename LayersT = Aws::Vector<Layer>>
445 template <
typename LayersT = Layer>
447 m_layersHasBeenSet =
true;
448 m_layers.emplace_back(std::forward<LayersT>(value));
461 m_stateHasBeenSet =
true;
476 template <
typename StateReasonT = Aws::String>
478 m_stateReasonHasBeenSet =
true;
479 m_stateReason = std::forward<StateReasonT>(value);
481 template <
typename StateReasonT = Aws::String>
496 m_stateReasonCodeHasBeenSet =
true;
497 m_stateReasonCode = value;
513 m_lastUpdateStatusHasBeenSet =
true;
514 m_lastUpdateStatus = value;
528 template <
typename LastUpdateStatusReasonT = Aws::String>
530 m_lastUpdateStatusReasonHasBeenSet =
true;
531 m_lastUpdateStatusReason = std::forward<LastUpdateStatusReasonT>(value);
533 template <
typename LastUpdateStatusReasonT = Aws::String>
547 m_lastUpdateStatusReasonCodeHasBeenSet =
true;
548 m_lastUpdateStatusReasonCode = value;
566 template <
typename FileSystemConfigsT = Aws::Vector<FileSystemConfig>>
568 m_fileSystemConfigsHasBeenSet =
true;
569 m_fileSystemConfigs = std::forward<FileSystemConfigsT>(value);
571 template <
typename FileSystemConfigsT = Aws::Vector<FileSystemConfig>>
576 template <
typename FileSystemConfigsT = FileSystemConfig>
578 m_fileSystemConfigsHasBeenSet =
true;
579 m_fileSystemConfigs.emplace_back(std::forward<FileSystemConfigsT>(value));
590 template <
typename SigningProfileVersionArnT = Aws::String>
592 m_signingProfileVersionArnHasBeenSet =
true;
593 m_signingProfileVersionArn = std::forward<SigningProfileVersionArnT>(value);
595 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>
628 m_packageTypeHasBeenSet =
true;
629 m_packageType = value;
643 template <
typename ImageConfigResponseT = ImageConfigResponse>
645 m_imageConfigResponseHasBeenSet =
true;
646 m_imageConfigResponse = std::forward<ImageConfigResponseT>(value);
648 template <
typename ImageConfigResponseT = ImageConfigResponse>
663 template <
typename ArchitecturesT = Aws::Vector<Architecture>>
665 m_architecturesHasBeenSet =
true;
666 m_architectures = std::forward<ArchitecturesT>(value);
668 template <
typename ArchitecturesT = Aws::Vector<Architecture>>
674 m_architecturesHasBeenSet =
true;
675 m_architectures.push_back(value);
691 template <
typename EphemeralStorageT = EphemeralStorage>
693 m_ephemeralStorageHasBeenSet =
true;
694 m_ephemeralStorage = std::forward<EphemeralStorageT>(value);
696 template <
typename EphemeralStorageT = EphemeralStorage>
713 template <
typename SnapStartT = SnapStartResponse>
715 m_snapStartHasBeenSet =
true;
716 m_snapStart = std::forward<SnapStartT>(value);
718 template <
typename SnapStartT = SnapStartResponse>
731 template <
typename RuntimeVersionConfigT = RuntimeVersionConfig>
733 m_runtimeVersionConfigHasBeenSet =
true;
734 m_runtimeVersionConfig = std::forward<RuntimeVersionConfigT>(value);
736 template <
typename RuntimeVersionConfigT = RuntimeVersionConfig>
749 template <
typename LoggingConfigT = LoggingConfig>
751 m_loggingConfigHasBeenSet =
true;
752 m_loggingConfig = std::forward<LoggingConfigT>(value);
754 template <
typename LoggingConfigT = LoggingConfig>
769 template <
typename TenancyConfigT = TenancyConfig>
771 m_tenancyConfigHasBeenSet =
true;
772 m_tenancyConfig = std::forward<TenancyConfigT>(value);
774 template <
typename TenancyConfigT = TenancyConfig>
788 template <
typename CapacityProv
iderConfigT = CapacityProv
iderConfig>
790 m_capacityProviderConfigHasBeenSet =
true;
791 m_capacityProviderConfig = std::forward<CapacityProviderConfigT>(value);
793 template <
typename CapacityProv
iderConfigT = CapacityProv
iderConfig>
806 template <
typename ConfigSha256T = Aws::String>
808 m_configSha256HasBeenSet =
true;
809 m_configSha256 = std::forward<ConfigSha256T>(value);
811 template <
typename ConfigSha256T = Aws::String>
825 template <
typename DurableConfigT = DurableConfig>
827 m_durableConfigHasBeenSet =
true;
828 m_durableConfig = std::forward<DurableConfigT>(value);
830 template <
typename DurableConfigT = DurableConfig>
844 template <
typename RuntimeConfigT = FunctionRuntimeConfig>
846 m_runtimeConfigHasBeenSet =
true;
847 m_runtimeConfig = std::forward<RuntimeConfigT>(value);
849 template <
typename RuntimeConfigT = FunctionRuntimeConfig>
862 template <
typename AcceleratorConfigT = AcceleratorConfig>
864 m_acceleratorConfigHasBeenSet =
true;
865 m_acceleratorConfig = std::forward<AcceleratorConfigT>(value);
867 template <
typename AcceleratorConfigT = AcceleratorConfig>
878 template <
typename RequestIdT = Aws::String>
880 m_requestIdHasBeenSet =
true;
881 m_requestId = std::forward<RequestIdT>(value);
883 template <
typename RequestIdT = Aws::String>
900 long long m_codeSize{0};
914 VpcConfigResponse m_vpcConfig;
916 DeadLetterConfig m_deadLetterConfig;
918 EnvironmentResponse m_environment;
922 TracingConfigResponse m_tracingConfig;
950 ImageConfigResponse m_imageConfigResponse;
954 EphemeralStorage m_ephemeralStorage;
956 SnapStartResponse m_snapStart;
958 RuntimeVersionConfig m_runtimeVersionConfig;
960 LoggingConfig m_loggingConfig;
962 TenancyConfig m_tenancyConfig;
964 CapacityProviderConfig m_capacityProviderConfig;
968 DurableConfig m_durableConfig;
970 FunctionRuntimeConfig m_runtimeConfig;
972 AcceleratorConfig m_acceleratorConfig;
975 bool m_functionNameHasBeenSet =
false;
976 bool m_functionArnHasBeenSet =
false;
977 bool m_runtimeHasBeenSet =
false;
978 bool m_roleHasBeenSet =
false;
979 bool m_handlerHasBeenSet =
false;
980 bool m_codeSizeHasBeenSet =
false;
981 bool m_descriptionHasBeenSet =
false;
982 bool m_timeoutHasBeenSet =
false;
983 bool m_memorySizeHasBeenSet =
false;
984 bool m_lastModifiedHasBeenSet =
false;
985 bool m_codeSha256HasBeenSet =
false;
986 bool m_versionHasBeenSet =
false;
987 bool m_vpcConfigHasBeenSet =
false;
988 bool m_deadLetterConfigHasBeenSet =
false;
989 bool m_environmentHasBeenSet =
false;
990 bool m_kMSKeyArnHasBeenSet =
false;
991 bool m_tracingConfigHasBeenSet =
false;
992 bool m_masterArnHasBeenSet =
false;
993 bool m_revisionIdHasBeenSet =
false;
994 bool m_layersHasBeenSet =
false;
995 bool m_stateHasBeenSet =
false;
996 bool m_stateReasonHasBeenSet =
false;
997 bool m_stateReasonCodeHasBeenSet =
false;
998 bool m_lastUpdateStatusHasBeenSet =
false;
999 bool m_lastUpdateStatusReasonHasBeenSet =
false;
1000 bool m_lastUpdateStatusReasonCodeHasBeenSet =
false;
1001 bool m_fileSystemConfigsHasBeenSet =
false;
1002 bool m_signingProfileVersionArnHasBeenSet =
false;
1003 bool m_signingJobArnHasBeenSet =
false;
1004 bool m_packageTypeHasBeenSet =
false;
1005 bool m_imageConfigResponseHasBeenSet =
false;
1006 bool m_architecturesHasBeenSet =
false;
1007 bool m_ephemeralStorageHasBeenSet =
false;
1008 bool m_snapStartHasBeenSet =
false;
1009 bool m_runtimeVersionConfigHasBeenSet =
false;
1010 bool m_loggingConfigHasBeenSet =
false;
1011 bool m_tenancyConfigHasBeenSet =
false;
1012 bool m_capacityProviderConfigHasBeenSet =
false;
1013 bool m_configSha256HasBeenSet =
false;
1014 bool m_durableConfigHasBeenSet =
false;
1015 bool m_runtimeConfigHasBeenSet =
false;
1016 bool m_acceleratorConfigHasBeenSet =
false;
1017 bool m_requestIdHasBeenSet =
false;
FunctionConfiguration & WithStateReasonCode(StateReasonCode value)
bool AcceleratorConfigHasBeenSet() const
void SetCodeSize(long long value)
bool StateReasonCodeHasBeenSet() const
AWS_LAMBDA_API FunctionConfiguration()=default
void SetVersion(VersionT &&value)
void SetSigningProfileVersionArn(SigningProfileVersionArnT &&value)
void SetMemorySize(int value)
void SetLastUpdateStatusReason(LastUpdateStatusReasonT &&value)
const DurableConfig & GetDurableConfig() const
FunctionConfiguration & WithHandler(HandlerT &&value)
void SetConfigSha256(ConfigSha256T &&value)
bool ConfigSha256HasBeenSet() const
StateReasonCode GetStateReasonCode() const
bool RuntimeConfigHasBeenSet() const
FunctionConfiguration & WithDeadLetterConfig(DeadLetterConfigT &&value)
FunctionConfiguration & WithLayers(LayersT &&value)
void SetTimeout(int value)
FunctionConfiguration & WithEphemeralStorage(EphemeralStorageT &&value)
void SetFunctionName(FunctionNameT &&value)
FunctionConfiguration & WithCapacityProviderConfig(CapacityProviderConfigT &&value)
bool TimeoutHasBeenSet() const
bool StateHasBeenSet() const
const ImageConfigResponse & GetImageConfigResponse() const
FunctionConfiguration & WithTenancyConfig(TenancyConfigT &&value)
FunctionConfiguration & AddArchitectures(Architecture value)
bool DurableConfigHasBeenSet() const
AWS_LAMBDA_API FunctionConfiguration(Aws::Utils::Json::JsonView jsonValue)
const RuntimeVersionConfig & GetRuntimeVersionConfig() const
FunctionConfiguration & WithRuntime(Runtime value)
void SetLayers(LayersT &&value)
void SetStateReason(StateReasonT &&value)
bool RuntimeHasBeenSet() const
void SetCapacityProviderConfig(CapacityProviderConfigT &&value)
FunctionConfiguration & WithImageConfigResponse(ImageConfigResponseT &&value)
FunctionConfiguration & WithLastUpdateStatus(LastUpdateStatus value)
void SetImageConfigResponse(ImageConfigResponseT &&value)
bool MasterArnHasBeenSet() const
FunctionConfiguration & WithKMSKeyArn(KMSKeyArnT &&value)
void SetLastUpdateStatusReasonCode(LastUpdateStatusReasonCode value)
void SetLastModified(LastModifiedT &&value)
const EnvironmentResponse & GetEnvironment() const
bool HandlerHasBeenSet() const
FunctionConfiguration & WithRuntimeConfig(RuntimeConfigT &&value)
FunctionConfiguration & WithMemorySize(int value)
const Aws::String & GetStateReason() const
void SetFileSystemConfigs(FileSystemConfigsT &&value)
const Aws::String & GetCodeSha256() const
PackageType GetPackageType() const
const Aws::String & GetLastModified() const
void SetMasterArn(MasterArnT &&value)
bool CapacityProviderConfigHasBeenSet() const
bool EnvironmentHasBeenSet() const
bool SnapStartHasBeenSet() const
void SetSigningJobArn(SigningJobArnT &&value)
void SetCodeSha256(CodeSha256T &&value)
void SetEphemeralStorage(EphemeralStorageT &&value)
bool RuntimeVersionConfigHasBeenSet() const
bool PackageTypeHasBeenSet() const
FunctionConfiguration & WithCodeSize(long long value)
const Aws::String & GetLastUpdateStatusReason() const
void SetVpcConfig(VpcConfigT &&value)
const Aws::String & GetRequestId() const
void SetTracingConfig(TracingConfigT &&value)
FunctionConfiguration & WithRole(RoleT &&value)
FunctionConfiguration & WithFileSystemConfigs(FileSystemConfigsT &&value)
bool FileSystemConfigsHasBeenSet() const
int GetMemorySize() const
bool RoleHasBeenSet() const
void SetHandler(HandlerT &&value)
void SetRuntimeConfig(RuntimeConfigT &&value)
FunctionConfiguration & WithCodeSha256(CodeSha256T &&value)
const FunctionRuntimeConfig & GetRuntimeConfig() const
bool VersionHasBeenSet() const
LastUpdateStatus GetLastUpdateStatus() const
bool TenancyConfigHasBeenSet() const
bool StateReasonHasBeenSet() const
void SetDeadLetterConfig(DeadLetterConfigT &&value)
const Aws::String & GetConfigSha256() const
const Aws::String & GetFunctionName() const
FunctionConfiguration & WithDurableConfig(DurableConfigT &&value)
const Aws::String & GetSigningProfileVersionArn() const
const DeadLetterConfig & GetDeadLetterConfig() const
void SetRevisionId(RevisionIdT &&value)
bool LastUpdateStatusReasonCodeHasBeenSet() const
void SetDescription(DescriptionT &&value)
long long GetCodeSize() const
AWS_LAMBDA_API Aws::Utils::Json::JsonValue Jsonize() const
FunctionConfiguration & WithTracingConfig(TracingConfigT &&value)
LastUpdateStatusReasonCode GetLastUpdateStatusReasonCode() const
bool LayersHasBeenSet() const
FunctionConfiguration & WithLoggingConfig(LoggingConfigT &&value)
const AcceleratorConfig & GetAcceleratorConfig() const
const Aws::String & GetVersion() const
const Aws::String & GetKMSKeyArn() const
FunctionConfiguration & WithMasterArn(MasterArnT &&value)
bool RequestIdHasBeenSet() const
FunctionConfiguration & WithAcceleratorConfig(AcceleratorConfigT &&value)
bool SigningProfileVersionArnHasBeenSet() const
bool LastModifiedHasBeenSet() const
void SetFunctionArn(FunctionArnT &&value)
FunctionConfiguration & WithTimeout(int value)
bool FunctionArnHasBeenSet() const
bool KMSKeyArnHasBeenSet() const
FunctionConfiguration & WithSigningJobArn(SigningJobArnT &&value)
void SetKMSKeyArn(KMSKeyArnT &&value)
const SnapStartResponse & GetSnapStart() const
void SetState(State value)
const TenancyConfig & GetTenancyConfig() const
FunctionConfiguration & WithRuntimeVersionConfig(RuntimeVersionConfigT &&value)
FunctionConfiguration & WithArchitectures(ArchitecturesT &&value)
const TracingConfigResponse & GetTracingConfig() const
FunctionConfiguration & WithEnvironment(EnvironmentT &&value)
FunctionConfiguration & WithSigningProfileVersionArn(SigningProfileVersionArnT &&value)
FunctionConfiguration & WithState(State value)
void SetArchitectures(ArchitecturesT &&value)
const LoggingConfig & GetLoggingConfig() const
FunctionConfiguration & WithLastUpdateStatusReason(LastUpdateStatusReasonT &&value)
bool EphemeralStorageHasBeenSet() const
const CapacityProviderConfig & GetCapacityProviderConfig() const
const Aws::String & GetRevisionId() const
const Aws::String & GetRole() const
bool DeadLetterConfigHasBeenSet() const
const Aws::Vector< FileSystemConfig > & GetFileSystemConfigs() const
bool SigningJobArnHasBeenSet() const
const Aws::String & GetMasterArn() const
FunctionConfiguration & WithLastUpdateStatusReasonCode(LastUpdateStatusReasonCode value)
const Aws::String & GetDescription() const
const VpcConfigResponse & GetVpcConfig() const
bool DescriptionHasBeenSet() const
bool CodeSizeHasBeenSet() const
void SetSnapStart(SnapStartT &&value)
FunctionConfiguration & WithPackageType(PackageType value)
const Aws::Vector< Architecture > & GetArchitectures() const
FunctionConfiguration & AddFileSystemConfigs(FileSystemConfigsT &&value)
void SetTenancyConfig(TenancyConfigT &&value)
Runtime GetRuntime() const
FunctionConfiguration & WithDescription(DescriptionT &&value)
void SetDurableConfig(DurableConfigT &&value)
FunctionConfiguration & WithRequestId(RequestIdT &&value)
bool LoggingConfigHasBeenSet() const
bool TracingConfigHasBeenSet() const
void SetRequestId(RequestIdT &&value)
const Aws::Vector< Layer > & GetLayers() const
FunctionConfiguration & WithFunctionName(FunctionNameT &&value)
void SetAcceleratorConfig(AcceleratorConfigT &&value)
void SetRole(RoleT &&value)
FunctionConfiguration & WithFunctionArn(FunctionArnT &&value)
FunctionConfiguration & WithConfigSha256(ConfigSha256T &&value)
bool ImageConfigResponseHasBeenSet() const
bool CodeSha256HasBeenSet() const
const Aws::String & GetSigningJobArn() const
FunctionConfiguration & WithVpcConfig(VpcConfigT &&value)
FunctionConfiguration & WithLastModified(LastModifiedT &&value)
bool MemorySizeHasBeenSet() const
bool VpcConfigHasBeenSet() const
bool ArchitecturesHasBeenSet() const
void SetLoggingConfig(LoggingConfigT &&value)
bool RevisionIdHasBeenSet() const
FunctionConfiguration & WithStateReason(StateReasonT &&value)
FunctionConfiguration & WithRevisionId(RevisionIdT &&value)
void SetPackageType(PackageType value)
const Aws::String & GetHandler() const
bool LastUpdateStatusHasBeenSet() const
void SetStateReasonCode(StateReasonCode value)
const Aws::String & GetFunctionArn() const
AWS_LAMBDA_API FunctionConfiguration & operator=(Aws::Utils::Json::JsonView jsonValue)
FunctionConfiguration & WithSnapStart(SnapStartT &&value)
FunctionConfiguration & AddLayers(LayersT &&value)
void SetRuntimeVersionConfig(RuntimeVersionConfigT &&value)
bool FunctionNameHasBeenSet() const
void SetEnvironment(EnvironmentT &&value)
bool LastUpdateStatusReasonHasBeenSet() const
void SetLastUpdateStatus(LastUpdateStatus value)
FunctionConfiguration & WithVersion(VersionT &&value)
const EphemeralStorage & GetEphemeralStorage() const
void SetRuntime(Runtime 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