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>
62 template <
typename FunctionNameT = Aws::String>
64 m_functionNameHasBeenSet =
true;
65 m_functionName = std::forward<FunctionNameT>(value);
67 template <
typename FunctionNameT = Aws::String>
80 template <
typename FunctionArnT = Aws::String>
82 m_functionArnHasBeenSet =
true;
83 m_functionArn = std::forward<FunctionArnT>(value);
85 template <
typename FunctionArnT = Aws::String>
110 m_runtimeHasBeenSet =
true;
125 template <
typename RoleT = Aws::String>
127 m_roleHasBeenSet =
true;
128 m_role = std::forward<RoleT>(value);
130 template <
typename RoleT = Aws::String>
132 SetRole(std::forward<RoleT>(value));
143 template <
typename HandlerT = Aws::String>
145 m_handlerHasBeenSet =
true;
146 m_handler = std::forward<HandlerT>(value);
148 template <
typename HandlerT = Aws::String>
162 m_codeSizeHasBeenSet =
true;
177 template <
typename DescriptionT = Aws::String>
179 m_descriptionHasBeenSet =
true;
180 m_description = std::forward<DescriptionT>(value);
182 template <
typename DescriptionT = Aws::String>
197 m_timeoutHasBeenSet =
true;
213 m_memorySizeHasBeenSet =
true;
214 m_memorySize = value;
230 template <
typename LastModifiedT = Aws::String>
232 m_lastModifiedHasBeenSet =
true;
233 m_lastModified = std::forward<LastModifiedT>(value);
235 template <
typename LastModifiedT = Aws::String>
248 template <
typename CodeSha256T = Aws::String>
250 m_codeSha256HasBeenSet =
true;
251 m_codeSha256 = std::forward<CodeSha256T>(value);
253 template <
typename CodeSha256T = Aws::String>
266 template <
typename VersionT = Aws::String>
268 m_versionHasBeenSet =
true;
269 m_version = std::forward<VersionT>(value);
271 template <
typename VersionT = Aws::String>
284 template <
typename VpcConfigT = VpcConfigResponse>
286 m_vpcConfigHasBeenSet =
true;
287 m_vpcConfig = std::forward<VpcConfigT>(value);
289 template <
typename VpcConfigT = VpcConfigResponse>
302 template <
typename DeadLetterConfigT = DeadLetterConfig>
304 m_deadLetterConfigHasBeenSet =
true;
305 m_deadLetterConfig = std::forward<DeadLetterConfigT>(value);
307 template <
typename DeadLetterConfigT = DeadLetterConfig>
322 template <
typename EnvironmentT = EnvironmentResponse>
324 m_environmentHasBeenSet =
true;
325 m_environment = std::forward<EnvironmentT>(value);
327 template <
typename EnvironmentT = EnvironmentResponse>
360 template <
typename KMSKeyArnT = Aws::String>
362 m_kMSKeyArnHasBeenSet =
true;
363 m_kMSKeyArn = std::forward<KMSKeyArnT>(value);
365 template <
typename KMSKeyArnT = Aws::String>
378 template <
typename TracingConfigT = TracingConfigResponse>
380 m_tracingConfigHasBeenSet =
true;
381 m_tracingConfig = std::forward<TracingConfigT>(value);
383 template <
typename TracingConfigT = TracingConfigResponse>
396 template <
typename MasterArnT = Aws::String>
398 m_masterArnHasBeenSet =
true;
399 m_masterArn = std::forward<MasterArnT>(value);
401 template <
typename MasterArnT = Aws::String>
414 template <
typename RevisionIdT = Aws::String>
416 m_revisionIdHasBeenSet =
true;
417 m_revisionId = std::forward<RevisionIdT>(value);
419 template <
typename RevisionIdT = Aws::String>
433 template <
typename LayersT = Aws::Vector<Layer>>
435 m_layersHasBeenSet =
true;
436 m_layers = std::forward<LayersT>(value);
438 template <
typename LayersT = Aws::Vector<Layer>>
443 template <
typename LayersT = Layer>
445 m_layersHasBeenSet =
true;
446 m_layers.emplace_back(std::forward<LayersT>(value));
459 m_stateHasBeenSet =
true;
474 template <
typename StateReasonT = Aws::String>
476 m_stateReasonHasBeenSet =
true;
477 m_stateReason = std::forward<StateReasonT>(value);
479 template <
typename StateReasonT = Aws::String>
494 m_stateReasonCodeHasBeenSet =
true;
495 m_stateReasonCode = value;
511 m_lastUpdateStatusHasBeenSet =
true;
512 m_lastUpdateStatus = value;
526 template <
typename LastUpdateStatusReasonT = Aws::String>
528 m_lastUpdateStatusReasonHasBeenSet =
true;
529 m_lastUpdateStatusReason = std::forward<LastUpdateStatusReasonT>(value);
531 template <
typename LastUpdateStatusReasonT = Aws::String>
545 m_lastUpdateStatusReasonCodeHasBeenSet =
true;
546 m_lastUpdateStatusReasonCode = value;
562 template <
typename FileSystemConfigsT = Aws::Vector<FileSystemConfig>>
564 m_fileSystemConfigsHasBeenSet =
true;
565 m_fileSystemConfigs = std::forward<FileSystemConfigsT>(value);
567 template <
typename FileSystemConfigsT = Aws::Vector<FileSystemConfig>>
572 template <
typename FileSystemConfigsT = FileSystemConfig>
574 m_fileSystemConfigsHasBeenSet =
true;
575 m_fileSystemConfigs.emplace_back(std::forward<FileSystemConfigsT>(value));
588 m_packageTypeHasBeenSet =
true;
589 m_packageType = value;
603 template <
typename ImageConfigResponseT = ImageConfigResponse>
605 m_imageConfigResponseHasBeenSet =
true;
606 m_imageConfigResponse = std::forward<ImageConfigResponseT>(value);
608 template <
typename ImageConfigResponseT = ImageConfigResponse>
621 template <
typename SigningProfileVersionArnT = Aws::String>
623 m_signingProfileVersionArnHasBeenSet =
true;
624 m_signingProfileVersionArn = std::forward<SigningProfileVersionArnT>(value);
626 template <
typename SigningProfileVersionArnT = Aws::String>
639 template <
typename SigningJobArnT = Aws::String>
641 m_signingJobArnHasBeenSet =
true;
642 m_signingJobArn = std::forward<SigningJobArnT>(value);
644 template <
typename SigningJobArnT = Aws::String>
659 template <
typename ArchitecturesT = Aws::Vector<Architecture>>
661 m_architecturesHasBeenSet =
true;
662 m_architectures = std::forward<ArchitecturesT>(value);
664 template <
typename ArchitecturesT = Aws::Vector<Architecture>>
670 m_architecturesHasBeenSet =
true;
671 m_architectures.push_back(value);
686 template <
typename EphemeralStorageT = EphemeralStorage>
688 m_ephemeralStorageHasBeenSet =
true;
689 m_ephemeralStorage = std::forward<EphemeralStorageT>(value);
691 template <
typename EphemeralStorageT = EphemeralStorage>
708 template <
typename SnapStartT = SnapStartResponse>
710 m_snapStartHasBeenSet =
true;
711 m_snapStart = std::forward<SnapStartT>(value);
713 template <
typename SnapStartT = SnapStartResponse>
726 template <
typename RuntimeVersionConfigT = RuntimeVersionConfig>
728 m_runtimeVersionConfigHasBeenSet =
true;
729 m_runtimeVersionConfig = std::forward<RuntimeVersionConfigT>(value);
731 template <
typename RuntimeVersionConfigT = RuntimeVersionConfig>
744 template <
typename LoggingConfigT = LoggingConfig>
746 m_loggingConfigHasBeenSet =
true;
747 m_loggingConfig = std::forward<LoggingConfigT>(value);
749 template <
typename LoggingConfigT = LoggingConfig>
763 template <
typename CapacityProv
iderConfigT = CapacityProv
iderConfig>
765 m_capacityProviderConfigHasBeenSet =
true;
766 m_capacityProviderConfig = std::forward<CapacityProviderConfigT>(value);
768 template <
typename CapacityProv
iderConfigT = CapacityProv
iderConfig>
781 template <
typename ConfigSha256T = Aws::String>
783 m_configSha256HasBeenSet =
true;
784 m_configSha256 = std::forward<ConfigSha256T>(value);
786 template <
typename ConfigSha256T = Aws::String>
800 template <
typename DurableConfigT = DurableConfig>
802 m_durableConfigHasBeenSet =
true;
803 m_durableConfig = std::forward<DurableConfigT>(value);
805 template <
typename DurableConfigT = DurableConfig>
820 template <
typename TenancyConfigT = TenancyConfig>
822 m_tenancyConfigHasBeenSet =
true;
823 m_tenancyConfig = std::forward<TenancyConfigT>(value);
825 template <
typename TenancyConfigT = TenancyConfig>
836 template <
typename RequestIdT = Aws::String>
838 m_requestIdHasBeenSet =
true;
839 m_requestId = std::forward<RequestIdT>(value);
841 template <
typename RequestIdT = Aws::String>
858 long long m_codeSize{0};
872 VpcConfigResponse m_vpcConfig;
874 DeadLetterConfig m_deadLetterConfig;
876 EnvironmentResponse m_environment;
880 TracingConfigResponse m_tracingConfig;
904 ImageConfigResponse m_imageConfigResponse;
912 EphemeralStorage m_ephemeralStorage;
914 SnapStartResponse m_snapStart;
916 RuntimeVersionConfig m_runtimeVersionConfig;
918 LoggingConfig m_loggingConfig;
920 CapacityProviderConfig m_capacityProviderConfig;
924 DurableConfig m_durableConfig;
926 TenancyConfig m_tenancyConfig;
929 bool m_functionNameHasBeenSet =
false;
930 bool m_functionArnHasBeenSet =
false;
931 bool m_runtimeHasBeenSet =
false;
932 bool m_roleHasBeenSet =
false;
933 bool m_handlerHasBeenSet =
false;
934 bool m_codeSizeHasBeenSet =
false;
935 bool m_descriptionHasBeenSet =
false;
936 bool m_timeoutHasBeenSet =
false;
937 bool m_memorySizeHasBeenSet =
false;
938 bool m_lastModifiedHasBeenSet =
false;
939 bool m_codeSha256HasBeenSet =
false;
940 bool m_versionHasBeenSet =
false;
941 bool m_vpcConfigHasBeenSet =
false;
942 bool m_deadLetterConfigHasBeenSet =
false;
943 bool m_environmentHasBeenSet =
false;
944 bool m_kMSKeyArnHasBeenSet =
false;
945 bool m_tracingConfigHasBeenSet =
false;
946 bool m_masterArnHasBeenSet =
false;
947 bool m_revisionIdHasBeenSet =
false;
948 bool m_layersHasBeenSet =
false;
949 bool m_stateHasBeenSet =
false;
950 bool m_stateReasonHasBeenSet =
false;
951 bool m_stateReasonCodeHasBeenSet =
false;
952 bool m_lastUpdateStatusHasBeenSet =
false;
953 bool m_lastUpdateStatusReasonHasBeenSet =
false;
954 bool m_lastUpdateStatusReasonCodeHasBeenSet =
false;
955 bool m_fileSystemConfigsHasBeenSet =
false;
956 bool m_packageTypeHasBeenSet =
false;
957 bool m_imageConfigResponseHasBeenSet =
false;
958 bool m_signingProfileVersionArnHasBeenSet =
false;
959 bool m_signingJobArnHasBeenSet =
false;
960 bool m_architecturesHasBeenSet =
false;
961 bool m_ephemeralStorageHasBeenSet =
false;
962 bool m_snapStartHasBeenSet =
false;
963 bool m_runtimeVersionConfigHasBeenSet =
false;
964 bool m_loggingConfigHasBeenSet =
false;
965 bool m_capacityProviderConfigHasBeenSet =
false;
966 bool m_configSha256HasBeenSet =
false;
967 bool m_durableConfigHasBeenSet =
false;
968 bool m_tenancyConfigHasBeenSet =
false;
969 bool m_requestIdHasBeenSet =
false;
FunctionConfiguration & WithStateReasonCode(StateReasonCode value)
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
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 & 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)
FunctionConfiguration & WithCodeSha256(CodeSha256T &&value)
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 Aws::String & GetVersion() const
const Aws::String & GetKMSKeyArn() const
FunctionConfiguration & WithMasterArn(MasterArnT &&value)
bool RequestIdHasBeenSet() const
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 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