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>
67 inline void SetFunctionName(
const char* value) { m_functionNameHasBeenSet =
true; m_functionName.assign(value); }
81 inline void SetFunctionArn(
const char* value) { m_functionArnHasBeenSet =
true; m_functionArn.assign(value); }
105 inline void SetRuntime(
Runtime&& value) { m_runtimeHasBeenSet =
true; m_runtime = std::move(value); }
118 inline void SetRole(
const char* value) { m_roleHasBeenSet =
true; m_role.assign(value); }
132 inline void SetHandler(
const char* value) { m_handlerHasBeenSet =
true; m_handler.assign(value); }
144 inline void SetCodeSize(
long long value) { m_codeSizeHasBeenSet =
true; m_codeSize = value; }
156 inline void SetDescription(
const char* value) { m_descriptionHasBeenSet =
true; m_description.assign(value); }
169 inline void SetTimeout(
int value) { m_timeoutHasBeenSet =
true; m_timeout = value; }
179 inline void SetMemorySize(
int value) { m_memorySizeHasBeenSet =
true; m_memorySize = value; }
193 inline void SetLastModified(
const char* value) { m_lastModifiedHasBeenSet =
true; m_lastModified.assign(value); }
207 inline void SetCodeSha256(
const char* value) { m_codeSha256HasBeenSet =
true; m_codeSha256.assign(value); }
221 inline void SetVersion(
const char* value) { m_versionHasBeenSet =
true; m_version.assign(value); }
279 inline void SetKMSKeyArn(
const char* value) { m_kMSKeyArnHasBeenSet =
true; m_kMSKeyArn.assign(value); }
305 inline void SetMasterArn(
const char* value) { m_masterArnHasBeenSet =
true; m_masterArn.assign(value); }
319 inline void SetRevisionId(
const char* value) { m_revisionIdHasBeenSet =
true; m_revisionId.assign(value); }
347 inline void SetState(
const State& value) { m_stateHasBeenSet =
true; m_state = value; }
348 inline void SetState(
State&& value) { m_stateHasBeenSet =
true; m_state = std::move(value); }
361 inline void SetStateReason(
const char* value) { m_stateReasonHasBeenSet =
true; m_stateReason.assign(value); }
401 inline void SetLastUpdateStatusReason(
const char* value) { m_lastUpdateStatusReasonHasBeenSet =
true; m_lastUpdateStatusReason.assign(value); }
468 inline void SetSigningProfileVersionArn(
const char* value) { m_signingProfileVersionArnHasBeenSet =
true; m_signingProfileVersionArn.assign(value); }
482 inline void SetSigningJobArn(
const char* value) { m_signingJobArnHasBeenSet =
true; m_signingJobArn.assign(value); }
566 inline void SetRequestId(
const char* value) { m_requestIdHasBeenSet =
true; m_requestId.assign(value); }
574 bool m_functionNameHasBeenSet =
false;
577 bool m_functionArnHasBeenSet =
false;
580 bool m_runtimeHasBeenSet =
false;
583 bool m_roleHasBeenSet =
false;
586 bool m_handlerHasBeenSet =
false;
588 long long m_codeSize;
589 bool m_codeSizeHasBeenSet =
false;
592 bool m_descriptionHasBeenSet =
false;
595 bool m_timeoutHasBeenSet =
false;
598 bool m_memorySizeHasBeenSet =
false;
601 bool m_lastModifiedHasBeenSet =
false;
604 bool m_codeSha256HasBeenSet =
false;
607 bool m_versionHasBeenSet =
false;
610 bool m_vpcConfigHasBeenSet =
false;
613 bool m_deadLetterConfigHasBeenSet =
false;
616 bool m_environmentHasBeenSet =
false;
619 bool m_kMSKeyArnHasBeenSet =
false;
622 bool m_tracingConfigHasBeenSet =
false;
625 bool m_masterArnHasBeenSet =
false;
628 bool m_revisionIdHasBeenSet =
false;
631 bool m_layersHasBeenSet =
false;
634 bool m_stateHasBeenSet =
false;
637 bool m_stateReasonHasBeenSet =
false;
640 bool m_stateReasonCodeHasBeenSet =
false;
643 bool m_lastUpdateStatusHasBeenSet =
false;
646 bool m_lastUpdateStatusReasonHasBeenSet =
false;
649 bool m_lastUpdateStatusReasonCodeHasBeenSet =
false;
652 bool m_fileSystemConfigsHasBeenSet =
false;
655 bool m_packageTypeHasBeenSet =
false;
658 bool m_imageConfigResponseHasBeenSet =
false;
661 bool m_signingProfileVersionArnHasBeenSet =
false;
664 bool m_signingJobArnHasBeenSet =
false;
667 bool m_architecturesHasBeenSet =
false;
670 bool m_ephemeralStorageHasBeenSet =
false;
673 bool m_snapStartHasBeenSet =
false;
676 bool m_runtimeVersionConfigHasBeenSet =
false;
679 bool m_loggingConfigHasBeenSet =
false;
682 bool m_requestIdHasBeenSet =
false;
FunctionConfiguration & WithRuntime(const Runtime &value)
FunctionConfiguration & WithSigningJobArn(const char *value)
void SetVersion(const char *value)
void SetCodeSize(long long value)
bool StateReasonCodeHasBeenSet() const
FunctionConfiguration & WithVersion(const Aws::String &value)
FunctionConfiguration & WithFileSystemConfigs(const Aws::Vector< FileSystemConfig > &value)
FunctionConfiguration & WithLastUpdateStatusReason(const char *value)
FunctionConfiguration & WithStateReason(const char *value)
void SetMemorySize(int value)
void SetPackageType(const PackageType &value)
void SetRole(const Aws::String &value)
FunctionConfiguration & WithFunctionName(Aws::String &&value)
FunctionConfiguration & WithFunctionArn(const Aws::String &value)
void SetTracingConfig(TracingConfigResponse &&value)
void SetMasterArn(Aws::String &&value)
void SetSigningJobArn(const Aws::String &value)
FunctionConfiguration & AddArchitectures(Architecture &&value)
FunctionConfiguration & WithMasterArn(const char *value)
FunctionConfiguration & WithSnapStart(SnapStartResponse &&value)
FunctionConfiguration & WithLayers(Aws::Vector< Layer > &&value)
FunctionConfiguration & WithLastUpdateStatusReason(const Aws::String &value)
void SetKMSKeyArn(const Aws::String &value)
FunctionConfiguration & WithKMSKeyArn(const Aws::String &value)
void SetSigningProfileVersionArn(const char *value)
void SetTimeout(int value)
FunctionConfiguration & WithFunctionName(const char *value)
void SetDeadLetterConfig(const DeadLetterConfig &value)
FunctionConfiguration & WithRevisionId(Aws::String &&value)
bool TimeoutHasBeenSet() const
bool StateHasBeenSet() const
void SetLastUpdateStatusReasonCode(LastUpdateStatusReasonCode &&value)
FunctionConfiguration & WithHandler(const char *value)
void SetSnapStart(SnapStartResponse &&value)
const ImageConfigResponse & GetImageConfigResponse() const
const State & GetState() const
void SetFileSystemConfigs(Aws::Vector< FileSystemConfig > &&value)
void SetSigningJobArn(Aws::String &&value)
AWS_LAMBDA_API FunctionConfiguration(Aws::Utils::Json::JsonView jsonValue)
const RuntimeVersionConfig & GetRuntimeVersionConfig() const
FunctionConfiguration & WithEnvironment(EnvironmentResponse &&value)
FunctionConfiguration & WithTracingConfig(const TracingConfigResponse &value)
bool RuntimeHasBeenSet() const
FunctionConfiguration & WithState(State &&value)
void SetEphemeralStorage(const EphemeralStorage &value)
bool MasterArnHasBeenSet() const
FunctionConfiguration & WithDeadLetterConfig(const DeadLetterConfig &value)
void SetFunctionName(const Aws::String &value)
void SetTracingConfig(const TracingConfigResponse &value)
void SetLoggingConfig(const LoggingConfig &value)
void SetStateReasonCode(StateReasonCode &&value)
const LastUpdateStatus & GetLastUpdateStatus() const
void SetHandler(const Aws::String &value)
const EnvironmentResponse & GetEnvironment() const
void SetFunctionArn(const Aws::String &value)
bool HandlerHasBeenSet() const
FunctionConfiguration & WithMemorySize(int value)
void SetCodeSha256(Aws::String &&value)
FunctionConfiguration & WithSigningProfileVersionArn(Aws::String &&value)
FunctionConfiguration & WithStateReason(Aws::String &&value)
void SetStateReason(Aws::String &&value)
const Aws::String & GetStateReason() const
void SetLayers(Aws::Vector< Layer > &&value)
void SetArchitectures(const Aws::Vector< Architecture > &value)
const Aws::String & GetCodeSha256() const
const Aws::String & GetLastModified() const
FunctionConfiguration & WithTracingConfig(TracingConfigResponse &&value)
void SetRevisionId(const char *value)
FunctionConfiguration & WithCodeSha256(const char *value)
void SetSigningJobArn(const char *value)
void SetPackageType(PackageType &&value)
void SetImageConfigResponse(const ImageConfigResponse &value)
bool EnvironmentHasBeenSet() const
bool SnapStartHasBeenSet() const
void SetRole(Aws::String &&value)
FunctionConfiguration & WithPackageType(const PackageType &value)
FunctionConfiguration & WithCodeSha256(const Aws::String &value)
bool RuntimeVersionConfigHasBeenSet() const
bool PackageTypeHasBeenSet() const
FunctionConfiguration & WithCodeSha256(Aws::String &&value)
FunctionConfiguration & WithCodeSize(long long value)
const Aws::String & GetLastUpdateStatusReason() const
FunctionConfiguration & WithPackageType(PackageType &&value)
const Aws::String & GetRequestId() const
void SetSigningProfileVersionArn(Aws::String &&value)
void SetRequestId(const char *value)
FunctionConfiguration & WithRequestId(const char *value)
void SetRuntime(const Runtime &value)
FunctionConfiguration & WithStateReasonCode(const StateReasonCode &value)
void SetVpcConfig(const VpcConfigResponse &value)
bool FileSystemConfigsHasBeenSet() const
int GetMemorySize() const
void SetRequestId(Aws::String &&value)
bool RoleHasBeenSet() const
void SetLayers(const Aws::Vector< Layer > &value)
void SetLastModified(const Aws::String &value)
void SetMasterArn(const char *value)
FunctionConfiguration & WithLastUpdateStatusReason(Aws::String &&value)
bool VersionHasBeenSet() const
FunctionConfiguration & WithArchitectures(Aws::Vector< Architecture > &&value)
void SetVersion(const Aws::String &value)
void SetDescription(const Aws::String &value)
void SetKMSKeyArn(Aws::String &&value)
void SetFunctionArn(const char *value)
bool StateReasonHasBeenSet() const
FunctionConfiguration & WithStateReasonCode(StateReasonCode &&value)
void SetCodeSha256(const char *value)
const Aws::String & GetFunctionName() const
FunctionConfiguration & WithLoggingConfig(const LoggingConfig &value)
const Aws::String & GetSigningProfileVersionArn() const
const DeadLetterConfig & GetDeadLetterConfig() const
FunctionConfiguration & AddArchitectures(const Architecture &value)
FunctionConfiguration & WithFunctionArn(const char *value)
void SetDeadLetterConfig(DeadLetterConfig &&value)
FunctionConfiguration & WithEnvironment(const EnvironmentResponse &value)
bool LastUpdateStatusReasonCodeHasBeenSet() const
FunctionConfiguration & WithArchitectures(const Aws::Vector< Architecture > &value)
FunctionConfiguration & WithRole(const Aws::String &value)
FunctionConfiguration & WithLastUpdateStatusReasonCode(LastUpdateStatusReasonCode &&value)
long long GetCodeSize() const
AWS_LAMBDA_API Aws::Utils::Json::JsonValue Jsonize() const
AWS_LAMBDA_API FunctionConfiguration()
void SetEnvironment(EnvironmentResponse &&value)
FunctionConfiguration & WithLastUpdateStatusReasonCode(const LastUpdateStatusReasonCode &value)
FunctionConfiguration & WithVpcConfig(VpcConfigResponse &&value)
const LastUpdateStatusReasonCode & GetLastUpdateStatusReasonCode() const
FunctionConfiguration & WithHandler(Aws::String &&value)
FunctionConfiguration & WithRuntimeVersionConfig(RuntimeVersionConfig &&value)
FunctionConfiguration & WithFileSystemConfigs(Aws::Vector< FileSystemConfig > &&value)
bool LayersHasBeenSet() const
FunctionConfiguration & WithDeadLetterConfig(DeadLetterConfig &&value)
const Aws::String & GetVersion() const
void SetHandler(const char *value)
void SetVpcConfig(VpcConfigResponse &&value)
FunctionConfiguration & WithLastModified(const Aws::String &value)
FunctionConfiguration & AddFileSystemConfigs(const FileSystemConfig &value)
FunctionConfiguration & WithSigningJobArn(Aws::String &&value)
const Aws::String & GetKMSKeyArn() const
bool RequestIdHasBeenSet() const
FunctionConfiguration & WithSigningJobArn(const Aws::String &value)
void SetLastModified(const char *value)
bool SigningProfileVersionArnHasBeenSet() const
void SetSigningProfileVersionArn(const Aws::String &value)
FunctionConfiguration & WithLastUpdateStatus(const LastUpdateStatus &value)
bool LastModifiedHasBeenSet() const
void SetLastModified(Aws::String &&value)
void SetLastUpdateStatus(const LastUpdateStatus &value)
FunctionConfiguration & WithTimeout(int value)
void SetHandler(Aws::String &&value)
bool FunctionArnHasBeenSet() const
FunctionConfiguration & WithDescription(Aws::String &&value)
FunctionConfiguration & WithVpcConfig(const VpcConfigResponse &value)
void SetVersion(Aws::String &&value)
void SetRevisionId(Aws::String &&value)
bool KMSKeyArnHasBeenSet() const
const Runtime & GetRuntime() const
const SnapStartResponse & GetSnapStart() const
FunctionConfiguration & WithEphemeralStorage(EphemeralStorage &&value)
FunctionConfiguration & WithDescription(const Aws::String &value)
void SetFunctionArn(Aws::String &&value)
const TracingConfigResponse & GetTracingConfig() const
FunctionConfiguration & WithSigningProfileVersionArn(const char *value)
void SetStateReason(const Aws::String &value)
FunctionConfiguration & AddLayers(const Layer &value)
void SetStateReasonCode(const StateReasonCode &value)
void SetRequestId(const Aws::String &value)
void SetState(const State &value)
FunctionConfiguration & WithMasterArn(Aws::String &&value)
void SetLastUpdateStatusReason(Aws::String &&value)
void SetEnvironment(const EnvironmentResponse &value)
FunctionConfiguration & WithHandler(const Aws::String &value)
FunctionConfiguration & WithVersion(const char *value)
FunctionConfiguration & WithLastModified(const char *value)
void SetFunctionName(Aws::String &&value)
void SetState(State &&value)
const LoggingConfig & GetLoggingConfig() const
FunctionConfiguration & WithRevisionId(const char *value)
bool EphemeralStorageHasBeenSet() const
const Aws::String & GetRevisionId() const
void SetArchitectures(Aws::Vector< Architecture > &&value)
FunctionConfiguration & WithSigningProfileVersionArn(const Aws::String &value)
const Aws::String & GetRole() const
bool DeadLetterConfigHasBeenSet() const
const Aws::Vector< FileSystemConfig > & GetFileSystemConfigs() const
bool SigningJobArnHasBeenSet() const
FunctionConfiguration & WithEphemeralStorage(const EphemeralStorage &value)
const StateReasonCode & GetStateReasonCode() const
const Aws::String & GetMasterArn() const
const Aws::String & GetDescription() const
void SetImageConfigResponse(ImageConfigResponse &&value)
const VpcConfigResponse & GetVpcConfig() const
FunctionConfiguration & WithLastModified(Aws::String &&value)
bool DescriptionHasBeenSet() const
bool CodeSizeHasBeenSet() const
void SetLastUpdateStatusReason(const Aws::String &value)
FunctionConfiguration & WithSnapStart(const SnapStartResponse &value)
const Aws::Vector< Architecture > & GetArchitectures() const
FunctionConfiguration & WithKMSKeyArn(const char *value)
void SetLastUpdateStatus(LastUpdateStatus &&value)
FunctionConfiguration & WithVersion(Aws::String &&value)
FunctionConfiguration & WithLayers(const Aws::Vector< Layer > &value)
void SetSnapStart(const SnapStartResponse &value)
const PackageType & GetPackageType() const
void SetMasterArn(const Aws::String &value)
FunctionConfiguration & WithRuntime(Runtime &&value)
bool LoggingConfigHasBeenSet() const
bool TracingConfigHasBeenSet() const
void SetRuntimeVersionConfig(const RuntimeVersionConfig &value)
void SetDescription(const char *value)
FunctionConfiguration & WithRole(const char *value)
FunctionConfiguration & WithLastUpdateStatus(LastUpdateStatus &&value)
FunctionConfiguration & WithRevisionId(const Aws::String &value)
const Aws::Vector< Layer > & GetLayers() const
void SetRevisionId(const Aws::String &value)
FunctionConfiguration & WithRequestId(const Aws::String &value)
void SetEphemeralStorage(EphemeralStorage &&value)
FunctionConfiguration & WithImageConfigResponse(const ImageConfigResponse &value)
FunctionConfiguration & WithImageConfigResponse(ImageConfigResponse &&value)
FunctionConfiguration & AddFileSystemConfigs(FileSystemConfig &&value)
void SetCodeSha256(const Aws::String &value)
bool ImageConfigResponseHasBeenSet() const
bool CodeSha256HasBeenSet() const
const Aws::String & GetSigningJobArn() const
void SetKMSKeyArn(const char *value)
bool MemorySizeHasBeenSet() const
void SetLoggingConfig(LoggingConfig &&value)
bool VpcConfigHasBeenSet() const
bool ArchitecturesHasBeenSet() const
void SetRuntimeVersionConfig(RuntimeVersionConfig &&value)
void SetLastUpdateStatusReason(const char *value)
void SetLastUpdateStatusReasonCode(const LastUpdateStatusReasonCode &value)
FunctionConfiguration & WithFunctionName(const Aws::String &value)
FunctionConfiguration & WithFunctionArn(Aws::String &&value)
bool RevisionIdHasBeenSet() const
const Aws::String & GetHandler() const
FunctionConfiguration & WithState(const State &value)
void SetRuntime(Runtime &&value)
FunctionConfiguration & WithDescription(const char *value)
bool LastUpdateStatusHasBeenSet() const
FunctionConfiguration & WithRuntimeVersionConfig(const RuntimeVersionConfig &value)
FunctionConfiguration & WithKMSKeyArn(Aws::String &&value)
FunctionConfiguration & AddLayers(Layer &&value)
const Aws::String & GetFunctionArn() const
FunctionConfiguration & WithLoggingConfig(LoggingConfig &&value)
void SetStateReason(const char *value)
AWS_LAMBDA_API FunctionConfiguration & operator=(Aws::Utils::Json::JsonView jsonValue)
FunctionConfiguration & WithRequestId(Aws::String &&value)
bool FunctionNameHasBeenSet() const
void SetFileSystemConfigs(const Aws::Vector< FileSystemConfig > &value)
FunctionConfiguration & WithRole(Aws::String &&value)
FunctionConfiguration & WithMasterArn(const Aws::String &value)
bool LastUpdateStatusReasonHasBeenSet() const
void SetFunctionName(const char *value)
void SetDescription(Aws::String &&value)
void SetRole(const char *value)
FunctionConfiguration & WithStateReason(const Aws::String &value)
const EphemeralStorage & GetEphemeralStorage() const
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