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/VpcConfig.h>
11#include <aws/lambda/model/Environment.h>
12#include <aws/lambda/model/Runtime.h>
13#include <aws/lambda/model/DeadLetterConfig.h>
14#include <aws/lambda/model/TracingConfig.h>
15#include <aws/core/utils/memory/stl/AWSVector.h>
16#include <aws/lambda/model/ImageConfig.h>
17#include <aws/lambda/model/EphemeralStorage.h>
18#include <aws/lambda/model/SnapStart.h>
19#include <aws/lambda/model/LoggingConfig.h>
20#include <aws/lambda/model/FileSystemConfig.h>
61 inline void SetFunctionName(
const char* value) { m_functionNameHasBeenSet =
true; m_functionName.assign(value); }
75 inline void SetRole(
const char* value) { m_roleHasBeenSet =
true; m_role.assign(value); }
94 inline void SetHandler(
const char* value) { m_handlerHasBeenSet =
true; m_handler.assign(value); }
108 inline void SetDescription(
const char* value) { m_descriptionHasBeenSet =
true; m_description.assign(value); }
124 inline void SetTimeout(
int value) { m_timeoutHasBeenSet =
true; m_timeout = value; }
138 inline void SetMemorySize(
int value) { m_memorySizeHasBeenSet =
true; m_memorySize = value; }
190 inline void SetRuntime(
Runtime&& value) { m_runtimeHasBeenSet =
true; m_runtime = std::move(value); }
229 inline void SetKMSKeyArn(
const char* value) { m_kMSKeyArnHasBeenSet =
true; m_kMSKeyArn.assign(value); }
259 inline void SetRevisionId(
const char* value) { m_revisionIdHasBeenSet =
true; m_revisionId.assign(value); }
356 bool m_functionNameHasBeenSet =
false;
359 bool m_roleHasBeenSet =
false;
362 bool m_handlerHasBeenSet =
false;
365 bool m_descriptionHasBeenSet =
false;
368 bool m_timeoutHasBeenSet =
false;
371 bool m_memorySizeHasBeenSet =
false;
374 bool m_vpcConfigHasBeenSet =
false;
377 bool m_environmentHasBeenSet =
false;
380 bool m_runtimeHasBeenSet =
false;
383 bool m_deadLetterConfigHasBeenSet =
false;
386 bool m_kMSKeyArnHasBeenSet =
false;
389 bool m_tracingConfigHasBeenSet =
false;
392 bool m_revisionIdHasBeenSet =
false;
395 bool m_layersHasBeenSet =
false;
398 bool m_fileSystemConfigsHasBeenSet =
false;
401 bool m_imageConfigHasBeenSet =
false;
404 bool m_ephemeralStorageHasBeenSet =
false;
407 bool m_snapStartHasBeenSet =
false;
410 bool m_loggingConfigHasBeenSet =
false;
const DeadLetterConfig & GetDeadLetterConfig() const
void SetRevisionId(const Aws::String &value)
void SetFunctionName(const Aws::String &value)
void SetVpcConfig(VpcConfig &&value)
bool KMSKeyArnHasBeenSet() const
void SetKMSKeyArn(const char *value)
void SetDescription(const Aws::String &value)
void SetImageConfig(const ImageConfig &value)
UpdateFunctionConfigurationRequest & WithRole(Aws::String &&value)
AWS_LAMBDA_API Aws::String SerializePayload() const override
UpdateFunctionConfigurationRequest & AddLayers(const Aws::String &value)
UpdateFunctionConfigurationRequest & WithImageConfig(ImageConfig &&value)
void SetDeadLetterConfig(DeadLetterConfig &&value)
const Environment & GetEnvironment() const
const TracingConfig & GetTracingConfig() const
UpdateFunctionConfigurationRequest & WithDescription(const char *value)
UpdateFunctionConfigurationRequest & WithDescription(Aws::String &&value)
UpdateFunctionConfigurationRequest & WithVpcConfig(VpcConfig &&value)
void SetKMSKeyArn(const Aws::String &value)
bool TimeoutHasBeenSet() const
const VpcConfig & GetVpcConfig() const
void SetTimeout(int value)
void SetHandler(Aws::String &&value)
UpdateFunctionConfigurationRequest & WithRevisionId(Aws::String &&value)
UpdateFunctionConfigurationRequest & WithFunctionName(Aws::String &&value)
UpdateFunctionConfigurationRequest & WithKMSKeyArn(const char *value)
UpdateFunctionConfigurationRequest & WithHandler(const char *value)
bool FunctionNameHasBeenSet() const
void SetRuntime(Runtime &&value)
void SetVpcConfig(const VpcConfig &value)
void SetHandler(const Aws::String &value)
const ImageConfig & GetImageConfig() const
UpdateFunctionConfigurationRequest & AddLayers(Aws::String &&value)
UpdateFunctionConfigurationRequest & WithTimeout(int value)
UpdateFunctionConfigurationRequest & WithRevisionId(const char *value)
void SetHandler(const char *value)
UpdateFunctionConfigurationRequest & WithHandler(Aws::String &&value)
UpdateFunctionConfigurationRequest & WithDeadLetterConfig(const DeadLetterConfig &value)
UpdateFunctionConfigurationRequest & AddFileSystemConfigs(FileSystemConfig &&value)
UpdateFunctionConfigurationRequest & WithDeadLetterConfig(DeadLetterConfig &&value)
const Aws::String & GetRole() const
UpdateFunctionConfigurationRequest & WithDescription(const Aws::String &value)
bool RuntimeHasBeenSet() const
bool SnapStartHasBeenSet() const
UpdateFunctionConfigurationRequest & WithFunctionName(const char *value)
bool RevisionIdHasBeenSet() const
void SetKMSKeyArn(Aws::String &&value)
UpdateFunctionConfigurationRequest & WithLayers(Aws::Vector< Aws::String > &&value)
UpdateFunctionConfigurationRequest & WithImageConfig(const ImageConfig &value)
const Aws::Vector< FileSystemConfig > & GetFileSystemConfigs() const
bool VpcConfigHasBeenSet() const
void SetTracingConfig(TracingConfig &&value)
bool DeadLetterConfigHasBeenSet() const
UpdateFunctionConfigurationRequest & WithLayers(const Aws::Vector< Aws::String > &value)
UpdateFunctionConfigurationRequest & WithFileSystemConfigs(const Aws::Vector< FileSystemConfig > &value)
void SetEnvironment(Environment &&value)
UpdateFunctionConfigurationRequest & AddLayers(const char *value)
UpdateFunctionConfigurationRequest & WithTracingConfig(const TracingConfig &value)
void SetLayers(Aws::Vector< Aws::String > &&value)
const LoggingConfig & GetLoggingConfig() const
void SetRole(Aws::String &&value)
bool ImageConfigHasBeenSet() const
void SetLoggingConfig(const LoggingConfig &value)
bool EphemeralStorageHasBeenSet() const
const Aws::String & GetDescription() const
bool DescriptionHasBeenSet() const
void SetDeadLetterConfig(const DeadLetterConfig &value)
void SetFileSystemConfigs(const Aws::Vector< FileSystemConfig > &value)
void SetRole(const char *value)
void SetTracingConfig(const TracingConfig &value)
UpdateFunctionConfigurationRequest & WithEnvironment(Environment &&value)
void SetImageConfig(ImageConfig &&value)
UpdateFunctionConfigurationRequest & WithTracingConfig(TracingConfig &&value)
UpdateFunctionConfigurationRequest & WithFileSystemConfigs(Aws::Vector< FileSystemConfig > &&value)
bool RoleHasBeenSet() const
UpdateFunctionConfigurationRequest & WithRuntime(const Runtime &value)
void SetDescription(const char *value)
void SetRuntime(const Runtime &value)
void SetRevisionId(Aws::String &&value)
UpdateFunctionConfigurationRequest & WithMemorySize(int value)
virtual const char * GetServiceRequestName() const override
const Aws::String & GetHandler() const
void SetRole(const Aws::String &value)
UpdateFunctionConfigurationRequest & WithRevisionId(const Aws::String &value)
void SetDescription(Aws::String &&value)
UpdateFunctionConfigurationRequest & WithRuntime(Runtime &&value)
const Aws::String & GetKMSKeyArn() const
bool LoggingConfigHasBeenSet() const
UpdateFunctionConfigurationRequest & WithLoggingConfig(const LoggingConfig &value)
UpdateFunctionConfigurationRequest & WithSnapStart(SnapStart &&value)
UpdateFunctionConfigurationRequest & WithEphemeralStorage(EphemeralStorage &&value)
void SetFileSystemConfigs(Aws::Vector< FileSystemConfig > &&value)
void SetSnapStart(const SnapStart &value)
const Aws::String & GetRevisionId() const
void SetEnvironment(const Environment &value)
UpdateFunctionConfigurationRequest & WithKMSKeyArn(Aws::String &&value)
bool FileSystemConfigsHasBeenSet() const
UpdateFunctionConfigurationRequest & WithVpcConfig(const VpcConfig &value)
bool EnvironmentHasBeenSet() const
UpdateFunctionConfigurationRequest & WithEnvironment(const Environment &value)
void SetEphemeralStorage(const EphemeralStorage &value)
UpdateFunctionConfigurationRequest & WithKMSKeyArn(const Aws::String &value)
UpdateFunctionConfigurationRequest & WithRole(const char *value)
const Aws::String & GetFunctionName() const
UpdateFunctionConfigurationRequest & AddFileSystemConfigs(const FileSystemConfig &value)
const Aws::Vector< Aws::String > & GetLayers() const
bool HandlerHasBeenSet() const
const Runtime & GetRuntime() const
bool MemorySizeHasBeenSet() const
const EphemeralStorage & GetEphemeralStorage() const
bool LayersHasBeenSet() const
void SetEphemeralStorage(EphemeralStorage &&value)
bool TracingConfigHasBeenSet() const
UpdateFunctionConfigurationRequest & WithSnapStart(const SnapStart &value)
void SetSnapStart(SnapStart &&value)
const SnapStart & GetSnapStart() const
void SetRevisionId(const char *value)
UpdateFunctionConfigurationRequest & WithEphemeralStorage(const EphemeralStorage &value)
UpdateFunctionConfigurationRequest & WithLoggingConfig(LoggingConfig &&value)
void SetFunctionName(Aws::String &&value)
UpdateFunctionConfigurationRequest & WithFunctionName(const Aws::String &value)
void SetFunctionName(const char *value)
UpdateFunctionConfigurationRequest & WithRole(const Aws::String &value)
void SetLoggingConfig(LoggingConfig &&value)
AWS_LAMBDA_API UpdateFunctionConfigurationRequest()
int GetMemorySize() const
void SetLayers(const Aws::Vector< Aws::String > &value)
UpdateFunctionConfigurationRequest & WithHandler(const Aws::String &value)
void SetMemorySize(int value)
std::basic_string< char, std::char_traits< char >, Aws::Allocator< char > > String
std::vector< T, Aws::Allocator< T > > Vector