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>
32template<
typename RESULT_TYPE>
33class AmazonWebServiceResult;
64 template<
typename FunctionNameT = Aws::String>
65 void SetFunctionName(FunctionNameT&& value) { m_functionNameHasBeenSet =
true; m_functionName = std::forward<FunctionNameT>(value); }
66 template<
typename FunctionNameT = Aws::String>
75 template<
typename FunctionArnT = Aws::String>
76 void SetFunctionArn(FunctionArnT&& value) { m_functionArnHasBeenSet =
true; m_functionArn = std::forward<FunctionArnT>(value); }
77 template<
typename FunctionArnT = Aws::String>
106 template<
typename RoleT = Aws::String>
107 void SetRole(RoleT&& value) { m_roleHasBeenSet =
true; m_role = std::forward<RoleT>(value); }
108 template<
typename RoleT = Aws::String>
117 template<
typename HandlerT = Aws::String>
118 void SetHandler(HandlerT&& value) { m_handlerHasBeenSet =
true; m_handler = std::forward<HandlerT>(value); }
119 template<
typename HandlerT = Aws::String>
128 inline void SetCodeSize(
long long value) { m_codeSizeHasBeenSet =
true; m_codeSize = value; }
137 template<
typename DescriptionT = Aws::String>
138 void SetDescription(DescriptionT&& value) { m_descriptionHasBeenSet =
true; m_description = std::forward<DescriptionT>(value); }
139 template<
typename DescriptionT = Aws::String>
149 inline void SetTimeout(
int value) { m_timeoutHasBeenSet =
true; m_timeout = value; }
158 inline void SetMemorySize(
int value) { m_memorySizeHasBeenSet =
true; m_memorySize = value; }
169 template<
typename LastModifiedT = Aws::String>
170 void SetLastModified(LastModifiedT&& value) { m_lastModifiedHasBeenSet =
true; m_lastModified = std::forward<LastModifiedT>(value); }
171 template<
typename LastModifiedT = Aws::String>
180 template<
typename CodeSha256T = Aws::String>
181 void SetCodeSha256(CodeSha256T&& value) { m_codeSha256HasBeenSet =
true; m_codeSha256 = std::forward<CodeSha256T>(value); }
182 template<
typename CodeSha256T = Aws::String>
191 template<
typename VersionT = Aws::String>
192 void SetVersion(VersionT&& value) { m_versionHasBeenSet =
true; m_version = std::forward<VersionT>(value); }
193 template<
typename VersionT = Aws::String>
202 template<
typename VpcConfigT = VpcConfigResponse>
203 void SetVpcConfig(VpcConfigT&& value) { m_vpcConfigHasBeenSet =
true; m_vpcConfig = std::forward<VpcConfigT>(value); }
204 template<
typename VpcConfigT = VpcConfigResponse>
213 template<
typename DeadLetterConfigT = DeadLetterConfig>
214 void SetDeadLetterConfig(DeadLetterConfigT&& value) { m_deadLetterConfigHasBeenSet =
true; m_deadLetterConfig = std::forward<DeadLetterConfigT>(value); }
215 template<
typename DeadLetterConfigT = DeadLetterConfig>
226 template<
typename EnvironmentT = EnvironmentResponse>
227 void SetEnvironment(EnvironmentT&& value) { m_environmentHasBeenSet =
true; m_environment = std::forward<EnvironmentT>(value); }
228 template<
typename EnvironmentT = EnvironmentResponse>
257 template<
typename KMSKeyArnT = Aws::String>
258 void SetKMSKeyArn(KMSKeyArnT&& value) { m_kMSKeyArnHasBeenSet =
true; m_kMSKeyArn = std::forward<KMSKeyArnT>(value); }
259 template<
typename KMSKeyArnT = Aws::String>
268 template<
typename TracingConfigT = TracingConfigResponse>
269 void SetTracingConfig(TracingConfigT&& value) { m_tracingConfigHasBeenSet =
true; m_tracingConfig = std::forward<TracingConfigT>(value); }
270 template<
typename TracingConfigT = TracingConfigResponse>
279 template<
typename MasterArnT = Aws::String>
280 void SetMasterArn(MasterArnT&& value) { m_masterArnHasBeenSet =
true; m_masterArn = std::forward<MasterArnT>(value); }
281 template<
typename MasterArnT = Aws::String>
290 template<
typename RevisionIdT = Aws::String>
291 void SetRevisionId(RevisionIdT&& value) { m_revisionIdHasBeenSet =
true; m_revisionId = std::forward<RevisionIdT>(value); }
292 template<
typename RevisionIdT = Aws::String>
302 template<
typename LayersT = Aws::Vector<Layer>>
303 void SetLayers(LayersT&& value) { m_layersHasBeenSet =
true; m_layers = std::forward<LayersT>(value); }
304 template<
typename LayersT = Aws::Vector<Layer>>
306 template<
typename LayersT = Layer>
316 inline void SetState(
State value) { m_stateHasBeenSet =
true; m_state = value; }
325 template<
typename StateReasonT = Aws::String>
326 void SetStateReason(StateReasonT&& value) { m_stateReasonHasBeenSet =
true; m_stateReason = std::forward<StateReasonT>(value); }
327 template<
typename StateReasonT = Aws::String>
356 template<
typename LastUpdateStatusReasonT = Aws::String>
357 void SetLastUpdateStatusReason(LastUpdateStatusReasonT&& value) { m_lastUpdateStatusReasonHasBeenSet =
true; m_lastUpdateStatusReason = std::forward<LastUpdateStatusReasonT>(value); }
358 template<
typename LastUpdateStatusReasonT = Aws::String>
378 template<
typename FileSystemConfigsT = Aws::Vector<FileSystemConfig>>
379 void SetFileSystemConfigs(FileSystemConfigsT&& value) { m_fileSystemConfigsHasBeenSet =
true; m_fileSystemConfigs = std::forward<FileSystemConfigsT>(value); }
380 template<
typename FileSystemConfigsT = Aws::Vector<FileSystemConfig>>
382 template<
typename FileSystemConfigsT = FileSystemConfig>
401 template<
typename ImageConfigResponseT = ImageConfigResponse>
402 void SetImageConfigResponse(ImageConfigResponseT&& value) { m_imageConfigResponseHasBeenSet =
true; m_imageConfigResponse = std::forward<ImageConfigResponseT>(value); }
403 template<
typename ImageConfigResponseT = ImageConfigResponse>
412 template<
typename SigningProfileVersionArnT = Aws::String>
413 void SetSigningProfileVersionArn(SigningProfileVersionArnT&& value) { m_signingProfileVersionArnHasBeenSet =
true; m_signingProfileVersionArn = std::forward<SigningProfileVersionArnT>(value); }
414 template<
typename SigningProfileVersionArnT = Aws::String>
423 template<
typename SigningJobArnT = Aws::String>
424 void SetSigningJobArn(SigningJobArnT&& value) { m_signingJobArnHasBeenSet =
true; m_signingJobArn = std::forward<SigningJobArnT>(value); }
425 template<
typename SigningJobArnT = Aws::String>
436 template<
typename ArchitecturesT = Aws::Vector<Architecture>>
437 void SetArchitectures(ArchitecturesT&& value) { m_architecturesHasBeenSet =
true; m_architectures = std::forward<ArchitecturesT>(value); }
438 template<
typename ArchitecturesT = Aws::Vector<Architecture>>
452 template<
typename EphemeralStorageT = EphemeralStorage>
453 void SetEphemeralStorage(EphemeralStorageT&& value) { m_ephemeralStorageHasBeenSet =
true; m_ephemeralStorage = std::forward<EphemeralStorageT>(value); }
454 template<
typename EphemeralStorageT = EphemeralStorage>
467 template<
typename SnapStartT = SnapStartResponse>
468 void SetSnapStart(SnapStartT&& value) { m_snapStartHasBeenSet =
true; m_snapStart = std::forward<SnapStartT>(value); }
469 template<
typename SnapStartT = SnapStartResponse>
478 template<
typename RuntimeVersionConfigT = RuntimeVersionConfig>
479 void SetRuntimeVersionConfig(RuntimeVersionConfigT&& value) { m_runtimeVersionConfigHasBeenSet =
true; m_runtimeVersionConfig = std::forward<RuntimeVersionConfigT>(value); }
480 template<
typename RuntimeVersionConfigT = RuntimeVersionConfig>
489 template<
typename LoggingConfigT = LoggingConfig>
490 void SetLoggingConfig(LoggingConfigT&& value) { m_loggingConfigHasBeenSet =
true; m_loggingConfig = std::forward<LoggingConfigT>(value); }
491 template<
typename LoggingConfigT = LoggingConfig>
498 template<
typename RequestIdT = Aws::String>
499 void SetRequestId(RequestIdT&& value) { m_requestIdHasBeenSet =
true; m_requestId = std::forward<RequestIdT>(value); }
500 template<
typename RequestIdT = Aws::String>
506 bool m_functionNameHasBeenSet =
false;
509 bool m_functionArnHasBeenSet =
false;
512 bool m_runtimeHasBeenSet =
false;
515 bool m_roleHasBeenSet =
false;
518 bool m_handlerHasBeenSet =
false;
520 long long m_codeSize{0};
521 bool m_codeSizeHasBeenSet =
false;
524 bool m_descriptionHasBeenSet =
false;
527 bool m_timeoutHasBeenSet =
false;
530 bool m_memorySizeHasBeenSet =
false;
533 bool m_lastModifiedHasBeenSet =
false;
536 bool m_codeSha256HasBeenSet =
false;
539 bool m_versionHasBeenSet =
false;
541 VpcConfigResponse m_vpcConfig;
542 bool m_vpcConfigHasBeenSet =
false;
544 DeadLetterConfig m_deadLetterConfig;
545 bool m_deadLetterConfigHasBeenSet =
false;
547 EnvironmentResponse m_environment;
548 bool m_environmentHasBeenSet =
false;
551 bool m_kMSKeyArnHasBeenSet =
false;
553 TracingConfigResponse m_tracingConfig;
554 bool m_tracingConfigHasBeenSet =
false;
557 bool m_masterArnHasBeenSet =
false;
560 bool m_revisionIdHasBeenSet =
false;
563 bool m_layersHasBeenSet =
false;
566 bool m_stateHasBeenSet =
false;
569 bool m_stateReasonHasBeenSet =
false;
572 bool m_stateReasonCodeHasBeenSet =
false;
575 bool m_lastUpdateStatusHasBeenSet =
false;
578 bool m_lastUpdateStatusReasonHasBeenSet =
false;
581 bool m_lastUpdateStatusReasonCodeHasBeenSet =
false;
584 bool m_fileSystemConfigsHasBeenSet =
false;
587 bool m_packageTypeHasBeenSet =
false;
589 ImageConfigResponse m_imageConfigResponse;
590 bool m_imageConfigResponseHasBeenSet =
false;
593 bool m_signingProfileVersionArnHasBeenSet =
false;
596 bool m_signingJobArnHasBeenSet =
false;
599 bool m_architecturesHasBeenSet =
false;
601 EphemeralStorage m_ephemeralStorage;
602 bool m_ephemeralStorageHasBeenSet =
false;
604 SnapStartResponse m_snapStart;
605 bool m_snapStartHasBeenSet =
false;
607 RuntimeVersionConfig m_runtimeVersionConfig;
608 bool m_runtimeVersionConfigHasBeenSet =
false;
610 LoggingConfig m_loggingConfig;
611 bool m_loggingConfigHasBeenSet =
false;
614 bool m_requestIdHasBeenSet =
false;
void SetTimeout(int value)
const RuntimeVersionConfig & GetRuntimeVersionConfig() const
Runtime GetRuntime() const
LastUpdateStatusReasonCode GetLastUpdateStatusReasonCode() const
const Aws::String & GetFunctionArn() const
PublishVersionResult & WithMemorySize(int value)
void SetRuntimeVersionConfig(RuntimeVersionConfigT &&value)
const Aws::String & GetLastModified() const
void SetArchitectures(ArchitecturesT &&value)
void SetLayers(LayersT &&value)
void SetFunctionName(FunctionNameT &&value)
PublishVersionResult & WithDescription(DescriptionT &&value)
const ImageConfigResponse & GetImageConfigResponse() const
void SetRuntime(Runtime value)
void SetState(State value)
const VpcConfigResponse & GetVpcConfig() const
void SetStateReasonCode(StateReasonCode value)
const Aws::String & GetSigningJobArn() const
void SetPackageType(PackageType value)
void SetDeadLetterConfig(DeadLetterConfigT &&value)
const Aws::String & GetDescription() const
PublishVersionResult & WithFunctionName(FunctionNameT &&value)
const Aws::String & GetRevisionId() const
void SetCodeSha256(CodeSha256T &&value)
void SetRequestId(RequestIdT &&value)
const Aws::String & GetFunctionName() const
void SetVpcConfig(VpcConfigT &&value)
PublishVersionResult & WithCodeSize(long long value)
void SetMemorySize(int value)
PublishVersionResult & WithFileSystemConfigs(FileSystemConfigsT &&value)
PackageType GetPackageType() const
void SetKMSKeyArn(KMSKeyArnT &&value)
const Aws::String & GetVersion() const
void SetRevisionId(RevisionIdT &&value)
PublishVersionResult & WithPackageType(PackageType value)
PublishVersionResult & WithRequestId(RequestIdT &&value)
const Aws::Vector< Architecture > & GetArchitectures() const
void SetLastUpdateStatus(LastUpdateStatus value)
const Aws::String & GetCodeSha256() const
void SetFileSystemConfigs(FileSystemConfigsT &&value)
PublishVersionResult & WithRevisionId(RevisionIdT &&value)
AWS_LAMBDA_API PublishVersionResult(const Aws::AmazonWebServiceResult< Aws::Utils::Json::JsonValue > &result)
PublishVersionResult & WithMasterArn(MasterArnT &&value)
PublishVersionResult & WithLoggingConfig(LoggingConfigT &&value)
PublishVersionResult & WithDeadLetterConfig(DeadLetterConfigT &&value)
void SetDescription(DescriptionT &&value)
const Aws::String & GetRole() const
PublishVersionResult & WithEnvironment(EnvironmentT &&value)
const Aws::String & GetRequestId() const
const TracingConfigResponse & GetTracingConfig() const
AWS_LAMBDA_API PublishVersionResult()=default
PublishVersionResult & WithArchitectures(ArchitecturesT &&value)
LastUpdateStatus GetLastUpdateStatus() const
const DeadLetterConfig & GetDeadLetterConfig() const
const EphemeralStorage & GetEphemeralStorage() const
PublishVersionResult & WithRuntimeVersionConfig(RuntimeVersionConfigT &&value)
const Aws::String & GetKMSKeyArn() const
PublishVersionResult & AddArchitectures(Architecture value)
void SetLastUpdateStatusReason(LastUpdateStatusReasonT &&value)
const EnvironmentResponse & GetEnvironment() const
PublishVersionResult & WithImageConfigResponse(ImageConfigResponseT &&value)
void SetLastModified(LastModifiedT &&value)
void SetSnapStart(SnapStartT &&value)
void SetMasterArn(MasterArnT &&value)
PublishVersionResult & WithTracingConfig(TracingConfigT &&value)
void SetCodeSize(long long value)
void SetEphemeralStorage(EphemeralStorageT &&value)
PublishVersionResult & WithTimeout(int value)
void SetTracingConfig(TracingConfigT &&value)
void SetImageConfigResponse(ImageConfigResponseT &&value)
const Aws::String & GetSigningProfileVersionArn() const
PublishVersionResult & WithLastUpdateStatus(LastUpdateStatus value)
PublishVersionResult & WithFunctionArn(FunctionArnT &&value)
PublishVersionResult & WithLayers(LayersT &&value)
PublishVersionResult & WithSigningProfileVersionArn(SigningProfileVersionArnT &&value)
const Aws::Vector< Layer > & GetLayers() const
void SetStateReason(StateReasonT &&value)
PublishVersionResult & AddFileSystemConfigs(FileSystemConfigsT &&value)
void SetLastUpdateStatusReasonCode(LastUpdateStatusReasonCode value)
StateReasonCode GetStateReasonCode() const
void SetRole(RoleT &&value)
void SetHandler(HandlerT &&value)
const LoggingConfig & GetLoggingConfig() const
void SetVersion(VersionT &&value)
PublishVersionResult & WithVersion(VersionT &&value)
PublishVersionResult & WithVpcConfig(VpcConfigT &&value)
PublishVersionResult & WithLastModified(LastModifiedT &&value)
const Aws::String & GetHandler() const
PublishVersionResult & WithHandler(HandlerT &&value)
PublishVersionResult & WithStateReasonCode(StateReasonCode value)
const SnapStartResponse & GetSnapStart() const
long long GetCodeSize() const
PublishVersionResult & WithState(State value)
void SetSigningProfileVersionArn(SigningProfileVersionArnT &&value)
AWS_LAMBDA_API PublishVersionResult & operator=(const Aws::AmazonWebServiceResult< Aws::Utils::Json::JsonValue > &result)
PublishVersionResult & WithStateReason(StateReasonT &&value)
const Aws::String & GetMasterArn() const
PublishVersionResult & WithEphemeralStorage(EphemeralStorageT &&value)
PublishVersionResult & WithKMSKeyArn(KMSKeyArnT &&value)
PublishVersionResult & WithCodeSha256(CodeSha256T &&value)
const Aws::String & GetStateReason() const
void SetLoggingConfig(LoggingConfigT &&value)
const Aws::String & GetLastUpdateStatusReason() const
PublishVersionResult & WithLastUpdateStatusReasonCode(LastUpdateStatusReasonCode value)
PublishVersionResult & AddLayers(LayersT &&value)
PublishVersionResult & WithRuntime(Runtime value)
PublishVersionResult & WithRole(RoleT &&value)
PublishVersionResult & WithLastUpdateStatusReason(LastUpdateStatusReasonT &&value)
void SetSigningJobArn(SigningJobArnT &&value)
PublishVersionResult & WithSnapStart(SnapStartT &&value)
void SetFunctionArn(FunctionArnT &&value)
int GetMemorySize() const
const Aws::Vector< FileSystemConfig > & GetFileSystemConfigs() const
void SetEnvironment(EnvironmentT &&value)
PublishVersionResult & WithSigningJobArn(SigningJobArnT &&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