7#include <aws/lambda/Lambda_EXPORTS.h>
8#include <aws/lambda/LambdaRequest.h>
9#include <aws/core/utils/memory/stl/AWSString.h>
10#include <aws/lambda/model/Runtime.h>
11#include <aws/lambda/model/FunctionCode.h>
12#include <aws/lambda/model/VpcConfig.h>
13#include <aws/lambda/model/PackageType.h>
14#include <aws/lambda/model/DeadLetterConfig.h>
15#include <aws/lambda/model/Environment.h>
16#include <aws/lambda/model/TracingConfig.h>
17#include <aws/core/utils/memory/stl/AWSMap.h>
18#include <aws/core/utils/memory/stl/AWSVector.h>
19#include <aws/lambda/model/ImageConfig.h>
20#include <aws/lambda/model/EphemeralStorage.h>
21#include <aws/lambda/model/SnapStart.h>
22#include <aws/lambda/model/LoggingConfig.h>
23#include <aws/lambda/model/FileSystemConfig.h>
24#include <aws/lambda/model/Architecture.h>
65 inline void SetFunctionName(
const char* value) { m_functionNameHasBeenSet =
true; m_functionName.assign(value); }
88 inline void SetRuntime(
const Runtime& value) { m_runtimeHasBeenSet =
true; m_runtime = value; }
89 inline void SetRuntime(
Runtime&& value) { m_runtimeHasBeenSet =
true; m_runtime = std::move(value); }
102 inline void SetRole(
const char* value) { m_roleHasBeenSet =
true; m_role.assign(value); }
121 inline void SetHandler(
const char* value) { m_handlerHasBeenSet =
true; m_handler.assign(value); }
147 inline void SetDescription(
const char* value) { m_descriptionHasBeenSet =
true; m_description.assign(value); }
163 inline void SetTimeout(
int value) { m_timeoutHasBeenSet =
true; m_timeout = value; }
177 inline void SetMemorySize(
int value) { m_memorySizeHasBeenSet =
true; m_memorySize = value; }
187 inline void SetPublish(
bool value) { m_publishHasBeenSet =
true; m_publish = value; }
268 inline void SetKMSKeyArn(
const char* value) { m_kMSKeyArnHasBeenSet =
true; m_kMSKeyArn.assign(value); }
365 inline void SetCodeSigningConfigArn(
const char* value) { m_codeSigningConfigArnHasBeenSet =
true; m_codeSigningConfigArn.assign(value); }
431 bool m_functionNameHasBeenSet =
false;
434 bool m_runtimeHasBeenSet =
false;
437 bool m_roleHasBeenSet =
false;
440 bool m_handlerHasBeenSet =
false;
443 bool m_codeHasBeenSet =
false;
446 bool m_descriptionHasBeenSet =
false;
449 bool m_timeoutHasBeenSet =
false;
452 bool m_memorySizeHasBeenSet =
false;
455 bool m_publishHasBeenSet =
false;
458 bool m_vpcConfigHasBeenSet =
false;
461 bool m_packageTypeHasBeenSet =
false;
464 bool m_deadLetterConfigHasBeenSet =
false;
467 bool m_environmentHasBeenSet =
false;
470 bool m_kMSKeyArnHasBeenSet =
false;
473 bool m_tracingConfigHasBeenSet =
false;
476 bool m_tagsHasBeenSet =
false;
479 bool m_layersHasBeenSet =
false;
482 bool m_fileSystemConfigsHasBeenSet =
false;
485 bool m_imageConfigHasBeenSet =
false;
488 bool m_codeSigningConfigArnHasBeenSet =
false;
491 bool m_architecturesHasBeenSet =
false;
494 bool m_ephemeralStorageHasBeenSet =
false;
497 bool m_snapStartHasBeenSet =
false;
500 bool m_loggingConfigHasBeenSet =
false;
const PackageType & GetPackageType() const
CreateFunctionRequest & WithCode(const FunctionCode &value)
bool RoleHasBeenSet() const
void SetFileSystemConfigs(Aws::Vector< FileSystemConfig > &&value)
void SetTags(Aws::Map< Aws::String, Aws::String > &&value)
void SetCodeSigningConfigArn(Aws::String &&value)
bool HandlerHasBeenSet() const
bool CodeSigningConfigArnHasBeenSet() const
CreateFunctionRequest & WithTracingConfig(TracingConfig &&value)
void SetSnapStart(const SnapStart &value)
void SetRole(const char *value)
const TracingConfig & GetTracingConfig() const
CreateFunctionRequest & WithPackageType(const PackageType &value)
void SetKMSKeyArn(Aws::String &&value)
CreateFunctionRequest & WithVpcConfig(const VpcConfig &value)
void SetPublish(bool value)
CreateFunctionRequest & WithDescription(const char *value)
CreateFunctionRequest & WithVpcConfig(VpcConfig &&value)
const Aws::String & GetKMSKeyArn() const
void SetCodeSigningConfigArn(const Aws::String &value)
bool EphemeralStorageHasBeenSet() const
const Aws::Vector< Architecture > & GetArchitectures() const
void SetTimeout(int value)
CreateFunctionRequest & WithTags(Aws::Map< Aws::String, Aws::String > &&value)
CreateFunctionRequest & AddTags(Aws::String &&key, const Aws::String &value)
void SetEphemeralStorage(const EphemeralStorage &value)
void SetTags(const Aws::Map< Aws::String, Aws::String > &value)
CreateFunctionRequest & WithEphemeralStorage(const EphemeralStorage &value)
CreateFunctionRequest & WithKMSKeyArn(const char *value)
void SetCode(FunctionCode &&value)
CreateFunctionRequest & WithKMSKeyArn(Aws::String &&value)
CreateFunctionRequest & AddTags(Aws::String &&key, const char *value)
bool DescriptionHasBeenSet() const
bool RuntimeHasBeenSet() const
CreateFunctionRequest & WithDeadLetterConfig(DeadLetterConfig &&value)
CreateFunctionRequest & WithTimeout(int value)
CreateFunctionRequest & WithPublish(bool value)
const ImageConfig & GetImageConfig() const
CreateFunctionRequest & WithLoggingConfig(const LoggingConfig &value)
void SetEnvironment(const Environment &value)
const Runtime & GetRuntime() const
CreateFunctionRequest & AddLayers(Aws::String &&value)
void SetVpcConfig(const VpcConfig &value)
void SetFunctionName(const Aws::String &value)
CreateFunctionRequest & WithCodeSigningConfigArn(const Aws::String &value)
void SetTracingConfig(const TracingConfig &value)
void SetArchitectures(const Aws::Vector< Architecture > &value)
CreateFunctionRequest & WithArchitectures(const Aws::Vector< Architecture > &value)
void SetDeadLetterConfig(const DeadLetterConfig &value)
CreateFunctionRequest & WithDescription(const Aws::String &value)
void SetImageConfig(ImageConfig &&value)
void SetRole(Aws::String &&value)
void SetHandler(const char *value)
void SetKMSKeyArn(const char *value)
void SetDescription(const char *value)
const Aws::String & GetRole() const
bool SnapStartHasBeenSet() const
CreateFunctionRequest & WithHandler(const char *value)
CreateFunctionRequest & WithLayers(const Aws::Vector< Aws::String > &value)
CreateFunctionRequest & AddTags(Aws::String &&key, Aws::String &&value)
const Aws::Vector< FileSystemConfig > & GetFileSystemConfigs() const
CreateFunctionRequest & WithMemorySize(int value)
void SetTracingConfig(TracingConfig &&value)
const Aws::String & GetDescription() const
void SetLoggingConfig(LoggingConfig &&value)
const EphemeralStorage & GetEphemeralStorage() const
CreateFunctionRequest & WithFileSystemConfigs(Aws::Vector< FileSystemConfig > &&value)
CreateFunctionRequest & WithTracingConfig(const TracingConfig &value)
void SetDescription(const Aws::String &value)
CreateFunctionRequest & WithPackageType(PackageType &&value)
CreateFunctionRequest & WithDescription(Aws::String &&value)
bool MemorySizeHasBeenSet() const
CreateFunctionRequest & WithEnvironment(Environment &&value)
void SetCodeSigningConfigArn(const char *value)
CreateFunctionRequest & WithRuntime(Runtime &&value)
bool CodeHasBeenSet() const
CreateFunctionRequest & WithCodeSigningConfigArn(const char *value)
CreateFunctionRequest & WithKMSKeyArn(const Aws::String &value)
AWS_LAMBDA_API CreateFunctionRequest()
void SetArchitectures(Aws::Vector< Architecture > &&value)
void SetCode(const FunctionCode &value)
void SetEnvironment(Environment &&value)
bool VpcConfigHasBeenSet() const
CreateFunctionRequest & WithHandler(Aws::String &&value)
bool TimeoutHasBeenSet() const
CreateFunctionRequest & WithSnapStart(const SnapStart &value)
CreateFunctionRequest & WithRole(Aws::String &&value)
CreateFunctionRequest & WithFileSystemConfigs(const Aws::Vector< FileSystemConfig > &value)
CreateFunctionRequest & WithEnvironment(const Environment &value)
AWS_LAMBDA_API Aws::String SerializePayload() const override
void SetPackageType(const PackageType &value)
CreateFunctionRequest & AddTags(const Aws::String &key, const Aws::String &value)
CreateFunctionRequest & WithSnapStart(SnapStart &&value)
const Aws::String & GetHandler() const
const Aws::Map< Aws::String, Aws::String > & GetTags() const
bool FunctionNameHasBeenSet() const
CreateFunctionRequest & AddTags(const char *key, const char *value)
void SetLayers(const Aws::Vector< Aws::String > &value)
void SetEphemeralStorage(EphemeralStorage &&value)
void SetLoggingConfig(const LoggingConfig &value)
CreateFunctionRequest & WithTags(const Aws::Map< Aws::String, Aws::String > &value)
bool ImageConfigHasBeenSet() const
const VpcConfig & GetVpcConfig() const
const FunctionCode & GetCode() const
const Environment & GetEnvironment() const
const LoggingConfig & GetLoggingConfig() const
CreateFunctionRequest & WithRole(const char *value)
void SetFileSystemConfigs(const Aws::Vector< FileSystemConfig > &value)
void SetFunctionName(Aws::String &&value)
bool FileSystemConfigsHasBeenSet() const
const Aws::Vector< Aws::String > & GetLayers() const
void SetFunctionName(const char *value)
CreateFunctionRequest & WithFunctionName(const Aws::String &value)
bool DeadLetterConfigHasBeenSet() const
bool PublishHasBeenSet() const
CreateFunctionRequest & WithCodeSigningConfigArn(Aws::String &&value)
CreateFunctionRequest & AddFileSystemConfigs(FileSystemConfig &&value)
CreateFunctionRequest & WithImageConfig(ImageConfig &&value)
bool LayersHasBeenSet() const
const Aws::String & GetFunctionName() const
const Aws::String & GetCodeSigningConfigArn() const
CreateFunctionRequest & WithRuntime(const Runtime &value)
CreateFunctionRequest & AddArchitectures(Architecture &&value)
void SetDeadLetterConfig(DeadLetterConfig &&value)
void SetMemorySize(int value)
bool TracingConfigHasBeenSet() const
void SetHandler(Aws::String &&value)
CreateFunctionRequest & WithHandler(const Aws::String &value)
void SetRuntime(const Runtime &value)
void SetVpcConfig(VpcConfig &&value)
CreateFunctionRequest & AddFileSystemConfigs(const FileSystemConfig &value)
void SetSnapStart(SnapStart &&value)
void SetRole(const Aws::String &value)
void SetHandler(const Aws::String &value)
CreateFunctionRequest & WithDeadLetterConfig(const DeadLetterConfig &value)
void SetKMSKeyArn(const Aws::String &value)
const SnapStart & GetSnapStart() const
CreateFunctionRequest & WithFunctionName(const char *value)
void SetImageConfig(const ImageConfig &value)
CreateFunctionRequest & WithCode(FunctionCode &&value)
CreateFunctionRequest & AddTags(const char *key, Aws::String &&value)
CreateFunctionRequest & AddArchitectures(const Architecture &value)
int GetMemorySize() const
CreateFunctionRequest & WithRole(const Aws::String &value)
void SetRuntime(Runtime &&value)
CreateFunctionRequest & WithLayers(Aws::Vector< Aws::String > &&value)
CreateFunctionRequest & AddLayers(const char *value)
void SetPackageType(PackageType &&value)
CreateFunctionRequest & WithEphemeralStorage(EphemeralStorage &&value)
virtual const char * GetServiceRequestName() const override
void SetLayers(Aws::Vector< Aws::String > &&value)
CreateFunctionRequest & AddTags(const Aws::String &key, Aws::String &&value)
bool ArchitecturesHasBeenSet() const
bool KMSKeyArnHasBeenSet() const
CreateFunctionRequest & AddLayers(const Aws::String &value)
CreateFunctionRequest & WithArchitectures(Aws::Vector< Architecture > &&value)
CreateFunctionRequest & WithImageConfig(const ImageConfig &value)
CreateFunctionRequest & WithLoggingConfig(LoggingConfig &&value)
const DeadLetterConfig & GetDeadLetterConfig() const
CreateFunctionRequest & WithFunctionName(Aws::String &&value)
bool EnvironmentHasBeenSet() const
bool PackageTypeHasBeenSet() const
bool TagsHasBeenSet() const
bool LoggingConfigHasBeenSet() const
void SetDescription(Aws::String &&value)
std::map< K, V, std::less< K >, Aws::Allocator< std::pair< const K, V > > > Map
std::basic_string< char, std::char_traits< char >, Aws::Allocator< char > > String
std::vector< T, Aws::Allocator< T > > Vector