7#include <aws/lambda/Lambda_EXPORTS.h>
8#include <aws/core/utils/memory/stl/AWSString.h>
9#include <aws/lambda/model/Runtime.h>
10#include <aws/lambda/model/VpcConfigResponse.h>
11#include <aws/lambda/model/DeadLetterConfig.h>
12#include <aws/lambda/model/EnvironmentResponse.h>
13#include <aws/lambda/model/TracingConfigResponse.h>
14#include <aws/core/utils/memory/stl/AWSVector.h>
15#include <aws/lambda/model/State.h>
16#include <aws/lambda/model/StateReasonCode.h>
17#include <aws/lambda/model/LastUpdateStatus.h>
18#include <aws/lambda/model/LastUpdateStatusReasonCode.h>
19#include <aws/lambda/model/PackageType.h>
20#include <aws/lambda/model/ImageConfigResponse.h>
21#include <aws/lambda/model/EphemeralStorage.h>
22#include <aws/lambda/model/SnapStartResponse.h>
23#include <aws/lambda/model/RuntimeVersionConfig.h>
24#include <aws/lambda/model/LoggingConfig.h>
25#include <aws/lambda/model/Layer.h>
26#include <aws/lambda/model/FileSystemConfig.h>
27#include <aws/lambda/model/Architecture.h>
65 template<
typename FunctionNameT = Aws::String>
66 void SetFunctionName(FunctionNameT&& value) { m_functionNameHasBeenSet =
true; m_functionName = std::forward<FunctionNameT>(value); }
67 template<
typename FunctionNameT = Aws::String>
77 template<
typename FunctionArnT = Aws::String>
78 void SetFunctionArn(FunctionArnT&& value) { m_functionArnHasBeenSet =
true; m_functionArn = std::forward<FunctionArnT>(value); }
79 template<
typename FunctionArnT = Aws::String>
110 template<
typename RoleT = Aws::String>
111 void SetRole(RoleT&& value) { m_roleHasBeenSet =
true; m_role = std::forward<RoleT>(value); }
112 template<
typename RoleT = Aws::String>
122 template<
typename HandlerT = Aws::String>
123 void SetHandler(HandlerT&& value) { m_handlerHasBeenSet =
true; m_handler = std::forward<HandlerT>(value); }
124 template<
typename HandlerT = Aws::String>
134 inline void SetCodeSize(
long long value) { m_codeSizeHasBeenSet =
true; m_codeSize = value; }
144 template<
typename DescriptionT = Aws::String>
145 void SetDescription(DescriptionT&& value) { m_descriptionHasBeenSet =
true; m_description = std::forward<DescriptionT>(value); }
146 template<
typename DescriptionT = Aws::String>
157 inline void SetTimeout(
int value) { m_timeoutHasBeenSet =
true; m_timeout = value; }
167 inline void SetMemorySize(
int value) { m_memorySizeHasBeenSet =
true; m_memorySize = value; }
179 template<
typename LastModifiedT = Aws::String>
180 void SetLastModified(LastModifiedT&& value) { m_lastModifiedHasBeenSet =
true; m_lastModified = std::forward<LastModifiedT>(value); }
181 template<
typename LastModifiedT = Aws::String>
191 template<
typename CodeSha256T = Aws::String>
192 void SetCodeSha256(CodeSha256T&& value) { m_codeSha256HasBeenSet =
true; m_codeSha256 = std::forward<CodeSha256T>(value); }
193 template<
typename CodeSha256T = Aws::String>
203 template<
typename VersionT = Aws::String>
204 void SetVersion(VersionT&& value) { m_versionHasBeenSet =
true; m_version = std::forward<VersionT>(value); }
205 template<
typename VersionT = Aws::String>
215 template<
typename VpcConfigT = VpcConfigResponse>
216 void SetVpcConfig(VpcConfigT&& value) { m_vpcConfigHasBeenSet =
true; m_vpcConfig = std::forward<VpcConfigT>(value); }
217 template<
typename VpcConfigT = VpcConfigResponse>
227 template<
typename DeadLetterConfigT = DeadLetterConfig>
228 void SetDeadLetterConfig(DeadLetterConfigT&& value) { m_deadLetterConfigHasBeenSet =
true; m_deadLetterConfig = std::forward<DeadLetterConfigT>(value); }
229 template<
typename DeadLetterConfigT = DeadLetterConfig>
241 template<
typename EnvironmentT = EnvironmentResponse>
242 void SetEnvironment(EnvironmentT&& value) { m_environmentHasBeenSet =
true; m_environment = std::forward<EnvironmentT>(value); }
243 template<
typename EnvironmentT = EnvironmentResponse>
273 template<
typename KMSKeyArnT = Aws::String>
274 void SetKMSKeyArn(KMSKeyArnT&& value) { m_kMSKeyArnHasBeenSet =
true; m_kMSKeyArn = std::forward<KMSKeyArnT>(value); }
275 template<
typename KMSKeyArnT = Aws::String>
285 template<
typename TracingConfigT = TracingConfigResponse>
286 void SetTracingConfig(TracingConfigT&& value) { m_tracingConfigHasBeenSet =
true; m_tracingConfig = std::forward<TracingConfigT>(value); }
287 template<
typename TracingConfigT = TracingConfigResponse>
297 template<
typename MasterArnT = Aws::String>
298 void SetMasterArn(MasterArnT&& value) { m_masterArnHasBeenSet =
true; m_masterArn = std::forward<MasterArnT>(value); }
299 template<
typename MasterArnT = Aws::String>
309 template<
typename RevisionIdT = Aws::String>
310 void SetRevisionId(RevisionIdT&& value) { m_revisionIdHasBeenSet =
true; m_revisionId = std::forward<RevisionIdT>(value); }
311 template<
typename RevisionIdT = Aws::String>
322 template<
typename LayersT = Aws::Vector<Layer>>
323 void SetLayers(LayersT&& value) { m_layersHasBeenSet =
true; m_layers = std::forward<LayersT>(value); }
324 template<
typename LayersT = Aws::Vector<Layer>>
326 template<
typename LayersT = Layer>
337 inline void SetState(
State value) { m_stateHasBeenSet =
true; m_state = value; }
347 template<
typename StateReasonT = Aws::String>
348 void SetStateReason(StateReasonT&& value) { m_stateReasonHasBeenSet =
true; m_stateReason = std::forward<StateReasonT>(value); }
349 template<
typename StateReasonT = Aws::String>
381 template<
typename LastUpdateStatusReasonT = Aws::String>
382 void SetLastUpdateStatusReason(LastUpdateStatusReasonT&& value) { m_lastUpdateStatusReasonHasBeenSet =
true; m_lastUpdateStatusReason = std::forward<LastUpdateStatusReasonT>(value); }
383 template<
typename LastUpdateStatusReasonT = Aws::String>
405 template<
typename FileSystemConfigsT = Aws::Vector<FileSystemConfig>>
406 void SetFileSystemConfigs(FileSystemConfigsT&& value) { m_fileSystemConfigsHasBeenSet =
true; m_fileSystemConfigs = std::forward<FileSystemConfigsT>(value); }
407 template<
typename FileSystemConfigsT = Aws::Vector<FileSystemConfig>>
409 template<
typename FileSystemConfigsT = FileSystemConfig>
430 template<
typename ImageConfigResponseT = ImageConfigResponse>
431 void SetImageConfigResponse(ImageConfigResponseT&& value) { m_imageConfigResponseHasBeenSet =
true; m_imageConfigResponse = std::forward<ImageConfigResponseT>(value); }
432 template<
typename ImageConfigResponseT = ImageConfigResponse>
442 template<
typename SigningProfileVersionArnT = Aws::String>
443 void SetSigningProfileVersionArn(SigningProfileVersionArnT&& value) { m_signingProfileVersionArnHasBeenSet =
true; m_signingProfileVersionArn = std::forward<SigningProfileVersionArnT>(value); }
444 template<
typename SigningProfileVersionArnT = Aws::String>
454 template<
typename SigningJobArnT = Aws::String>
455 void SetSigningJobArn(SigningJobArnT&& value) { m_signingJobArnHasBeenSet =
true; m_signingJobArn = std::forward<SigningJobArnT>(value); }
456 template<
typename SigningJobArnT = Aws::String>
468 template<
typename ArchitecturesT = Aws::Vector<Architecture>>
469 void SetArchitectures(ArchitecturesT&& value) { m_architecturesHasBeenSet =
true; m_architectures = std::forward<ArchitecturesT>(value); }
470 template<
typename ArchitecturesT = Aws::Vector<Architecture>>
485 template<
typename EphemeralStorageT = EphemeralStorage>
486 void SetEphemeralStorage(EphemeralStorageT&& value) { m_ephemeralStorageHasBeenSet =
true; m_ephemeralStorage = std::forward<EphemeralStorageT>(value); }
487 template<
typename EphemeralStorageT = EphemeralStorage>
501 template<
typename SnapStartT = SnapStartResponse>
502 void SetSnapStart(SnapStartT&& value) { m_snapStartHasBeenSet =
true; m_snapStart = std::forward<SnapStartT>(value); }
503 template<
typename SnapStartT = SnapStartResponse>
513 template<
typename RuntimeVersionConfigT = RuntimeVersionConfig>
514 void SetRuntimeVersionConfig(RuntimeVersionConfigT&& value) { m_runtimeVersionConfigHasBeenSet =
true; m_runtimeVersionConfig = std::forward<RuntimeVersionConfigT>(value); }
515 template<
typename RuntimeVersionConfigT = RuntimeVersionConfig>
525 template<
typename LoggingConfigT = LoggingConfig>
526 void SetLoggingConfig(LoggingConfigT&& value) { m_loggingConfigHasBeenSet =
true; m_loggingConfig = std::forward<LoggingConfigT>(value); }
527 template<
typename LoggingConfigT = LoggingConfig>
535 template<
typename RequestIdT = Aws::String>
536 void SetRequestId(RequestIdT&& value) { m_requestIdHasBeenSet =
true; m_requestId = std::forward<RequestIdT>(value); }
537 template<
typename RequestIdT = Aws::String>
543 bool m_functionNameHasBeenSet =
false;
546 bool m_functionArnHasBeenSet =
false;
549 bool m_runtimeHasBeenSet =
false;
552 bool m_roleHasBeenSet =
false;
555 bool m_handlerHasBeenSet =
false;
557 long long m_codeSize{0};
558 bool m_codeSizeHasBeenSet =
false;
561 bool m_descriptionHasBeenSet =
false;
564 bool m_timeoutHasBeenSet =
false;
567 bool m_memorySizeHasBeenSet =
false;
570 bool m_lastModifiedHasBeenSet =
false;
573 bool m_codeSha256HasBeenSet =
false;
576 bool m_versionHasBeenSet =
false;
578 VpcConfigResponse m_vpcConfig;
579 bool m_vpcConfigHasBeenSet =
false;
581 DeadLetterConfig m_deadLetterConfig;
582 bool m_deadLetterConfigHasBeenSet =
false;
584 EnvironmentResponse m_environment;
585 bool m_environmentHasBeenSet =
false;
588 bool m_kMSKeyArnHasBeenSet =
false;
590 TracingConfigResponse m_tracingConfig;
591 bool m_tracingConfigHasBeenSet =
false;
594 bool m_masterArnHasBeenSet =
false;
597 bool m_revisionIdHasBeenSet =
false;
600 bool m_layersHasBeenSet =
false;
603 bool m_stateHasBeenSet =
false;
606 bool m_stateReasonHasBeenSet =
false;
609 bool m_stateReasonCodeHasBeenSet =
false;
612 bool m_lastUpdateStatusHasBeenSet =
false;
615 bool m_lastUpdateStatusReasonHasBeenSet =
false;
618 bool m_lastUpdateStatusReasonCodeHasBeenSet =
false;
621 bool m_fileSystemConfigsHasBeenSet =
false;
624 bool m_packageTypeHasBeenSet =
false;
626 ImageConfigResponse m_imageConfigResponse;
627 bool m_imageConfigResponseHasBeenSet =
false;
630 bool m_signingProfileVersionArnHasBeenSet =
false;
633 bool m_signingJobArnHasBeenSet =
false;
636 bool m_architecturesHasBeenSet =
false;
638 EphemeralStorage m_ephemeralStorage;
639 bool m_ephemeralStorageHasBeenSet =
false;
641 SnapStartResponse m_snapStart;
642 bool m_snapStartHasBeenSet =
false;
644 RuntimeVersionConfig m_runtimeVersionConfig;
645 bool m_runtimeVersionConfigHasBeenSet =
false;
647 LoggingConfig m_loggingConfig;
648 bool m_loggingConfigHasBeenSet =
false;
651 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)
FunctionConfiguration & WithHandler(HandlerT &&value)
StateReasonCode GetStateReasonCode() const
FunctionConfiguration & WithDeadLetterConfig(DeadLetterConfigT &&value)
FunctionConfiguration & WithLayers(LayersT &&value)
void SetTimeout(int value)
FunctionConfiguration & WithEphemeralStorage(EphemeralStorageT &&value)
void SetFunctionName(FunctionNameT &&value)
bool TimeoutHasBeenSet() const
bool StateHasBeenSet() const
const ImageConfigResponse & GetImageConfigResponse() const
FunctionConfiguration & AddArchitectures(Architecture value)
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
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 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 StateReasonHasBeenSet() const
void SetDeadLetterConfig(DeadLetterConfigT &&value)
const Aws::String & GetFunctionName() const
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)
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 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)
Runtime GetRuntime() const
FunctionConfiguration & WithDescription(DescriptionT &&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)
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