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>
59 template<
typename FunctionNameT = Aws::String>
60 void SetFunctionName(FunctionNameT&& value) { m_functionNameHasBeenSet =
true; m_functionName = std::forward<FunctionNameT>(value); }
61 template<
typename FunctionNameT = Aws::String>
71 template<
typename RoleT = Aws::String>
72 void SetRole(RoleT&& value) { m_roleHasBeenSet =
true; m_role = std::forward<RoleT>(value); }
73 template<
typename RoleT = Aws::String>
88 template<
typename HandlerT = Aws::String>
89 void SetHandler(HandlerT&& value) { m_handlerHasBeenSet =
true; m_handler = std::forward<HandlerT>(value); }
90 template<
typename HandlerT = Aws::String>
100 template<
typename DescriptionT = Aws::String>
101 void SetDescription(DescriptionT&& value) { m_descriptionHasBeenSet =
true; m_description = std::forward<DescriptionT>(value); }
102 template<
typename DescriptionT = Aws::String>
116 inline void SetTimeout(
int value) { m_timeoutHasBeenSet =
true; m_timeout = value; }
130 inline void SetMemorySize(
int value) { m_memorySizeHasBeenSet =
true; m_memorySize = value; }
145 template<
typename VpcConfigT = VpcConfig>
146 void SetVpcConfig(VpcConfigT&& value) { m_vpcConfigHasBeenSet =
true; m_vpcConfig = std::forward<VpcConfigT>(value); }
147 template<
typename VpcConfigT = VpcConfig>
158 template<
typename EnvironmentT = Environment>
159 void SetEnvironment(EnvironmentT&& value) { m_environmentHasBeenSet =
true; m_environment = std::forward<EnvironmentT>(value); }
160 template<
typename EnvironmentT = Environment>
195 template<
typename DeadLetterConfigT = DeadLetterConfig>
196 void SetDeadLetterConfig(DeadLetterConfigT&& value) { m_deadLetterConfigHasBeenSet =
true; m_deadLetterConfig = std::forward<DeadLetterConfigT>(value); }
197 template<
typename DeadLetterConfigT = DeadLetterConfig>
227 template<
typename KMSKeyArnT = Aws::String>
228 void SetKMSKeyArn(KMSKeyArnT&& value) { m_kMSKeyArnHasBeenSet =
true; m_kMSKeyArn = std::forward<KMSKeyArnT>(value); }
229 template<
typename KMSKeyArnT = Aws::String>
241 template<
typename TracingConfigT = TracingConfig>
242 void SetTracingConfig(TracingConfigT&& value) { m_tracingConfigHasBeenSet =
true; m_tracingConfig = std::forward<TracingConfigT>(value); }
243 template<
typename TracingConfigT = TracingConfig>
255 template<
typename RevisionIdT = Aws::String>
256 void SetRevisionId(RevisionIdT&& value) { m_revisionIdHasBeenSet =
true; m_revisionId = std::forward<RevisionIdT>(value); }
257 template<
typename RevisionIdT = Aws::String>
270 template<
typename LayersT = Aws::Vector<Aws::String>>
271 void SetLayers(LayersT&& value) { m_layersHasBeenSet =
true; m_layers = std::forward<LayersT>(value); }
272 template<
typename LayersT = Aws::Vector<Aws::String>>
274 template<
typename LayersT = Aws::String>
284 template<
typename FileSystemConfigsT = Aws::Vector<FileSystemConfig>>
285 void SetFileSystemConfigs(FileSystemConfigsT&& value) { m_fileSystemConfigsHasBeenSet =
true; m_fileSystemConfigs = std::forward<FileSystemConfigsT>(value); }
286 template<
typename FileSystemConfigsT = Aws::Vector<FileSystemConfig>>
288 template<
typename FileSystemConfigsT = FileSystemConfig>
301 template<
typename ImageConfigT = ImageConfig>
302 void SetImageConfig(ImageConfigT&& value) { m_imageConfigHasBeenSet =
true; m_imageConfig = std::forward<ImageConfigT>(value); }
303 template<
typename ImageConfigT = ImageConfig>
317 template<
typename EphemeralStorageT = EphemeralStorage>
318 void SetEphemeralStorage(EphemeralStorageT&& value) { m_ephemeralStorageHasBeenSet =
true; m_ephemeralStorage = std::forward<EphemeralStorageT>(value); }
319 template<
typename EphemeralStorageT = EphemeralStorage>
331 template<
typename SnapStartT = SnapStart>
332 void SetSnapStart(SnapStartT&& value) { m_snapStartHasBeenSet =
true; m_snapStart = std::forward<SnapStartT>(value); }
333 template<
typename SnapStartT = SnapStart>
343 template<
typename LoggingConfigT = LoggingConfig>
344 void SetLoggingConfig(LoggingConfigT&& value) { m_loggingConfigHasBeenSet =
true; m_loggingConfig = std::forward<LoggingConfigT>(value); }
345 template<
typename LoggingConfigT = LoggingConfig>
351 bool m_functionNameHasBeenSet =
false;
354 bool m_roleHasBeenSet =
false;
357 bool m_handlerHasBeenSet =
false;
360 bool m_descriptionHasBeenSet =
false;
363 bool m_timeoutHasBeenSet =
false;
366 bool m_memorySizeHasBeenSet =
false;
368 VpcConfig m_vpcConfig;
369 bool m_vpcConfigHasBeenSet =
false;
371 Environment m_environment;
372 bool m_environmentHasBeenSet =
false;
375 bool m_runtimeHasBeenSet =
false;
377 DeadLetterConfig m_deadLetterConfig;
378 bool m_deadLetterConfigHasBeenSet =
false;
381 bool m_kMSKeyArnHasBeenSet =
false;
383 TracingConfig m_tracingConfig;
384 bool m_tracingConfigHasBeenSet =
false;
387 bool m_revisionIdHasBeenSet =
false;
390 bool m_layersHasBeenSet =
false;
393 bool m_fileSystemConfigsHasBeenSet =
false;
395 ImageConfig m_imageConfig;
396 bool m_imageConfigHasBeenSet =
false;
398 EphemeralStorage m_ephemeralStorage;
399 bool m_ephemeralStorageHasBeenSet =
false;
401 SnapStart m_snapStart;
402 bool m_snapStartHasBeenSet =
false;
404 LoggingConfig m_loggingConfig;
405 bool m_loggingConfigHasBeenSet =
false;
const DeadLetterConfig & GetDeadLetterConfig() const
UpdateFunctionConfigurationRequest & WithEphemeralStorage(EphemeralStorageT &&value)
void SetDescription(DescriptionT &&value)
void SetFileSystemConfigs(FileSystemConfigsT &&value)
bool KMSKeyArnHasBeenSet() const
void SetEnvironment(EnvironmentT &&value)
AWS_LAMBDA_API Aws::String SerializePayload() const override
UpdateFunctionConfigurationRequest & AddFileSystemConfigs(FileSystemConfigsT &&value)
void SetSnapStart(SnapStartT &&value)
const Environment & GetEnvironment() const
const TracingConfig & GetTracingConfig() const
UpdateFunctionConfigurationRequest & WithLayers(LayersT &&value)
bool TimeoutHasBeenSet() const
const VpcConfig & GetVpcConfig() const
void SetTimeout(int value)
UpdateFunctionConfigurationRequest & WithRole(RoleT &&value)
UpdateFunctionConfigurationRequest & WithDeadLetterConfig(DeadLetterConfigT &&value)
bool FunctionNameHasBeenSet() const
const ImageConfig & GetImageConfig() const
UpdateFunctionConfigurationRequest & WithImageConfig(ImageConfigT &&value)
UpdateFunctionConfigurationRequest & WithTimeout(int value)
void SetDeadLetterConfig(DeadLetterConfigT &&value)
UpdateFunctionConfigurationRequest & WithDescription(DescriptionT &&value)
void SetHandler(HandlerT &&value)
void SetEphemeralStorage(EphemeralStorageT &&value)
void SetRevisionId(RevisionIdT &&value)
void SetFunctionName(FunctionNameT &&value)
const Aws::String & GetRole() const
bool RuntimeHasBeenSet() const
bool SnapStartHasBeenSet() const
void SetTracingConfig(TracingConfigT &&value)
bool RevisionIdHasBeenSet() const
const Aws::Vector< FileSystemConfig > & GetFileSystemConfigs() const
bool VpcConfigHasBeenSet() const
UpdateFunctionConfigurationRequest & WithFileSystemConfigs(FileSystemConfigsT &&value)
AWS_LAMBDA_API UpdateFunctionConfigurationRequest()=default
bool DeadLetterConfigHasBeenSet() const
void SetRole(RoleT &&value)
UpdateFunctionConfigurationRequest & AddLayers(LayersT &&value)
const LoggingConfig & GetLoggingConfig() const
UpdateFunctionConfigurationRequest & WithLoggingConfig(LoggingConfigT &&value)
bool ImageConfigHasBeenSet() const
bool EphemeralStorageHasBeenSet() const
const Aws::String & GetDescription() const
bool DescriptionHasBeenSet() const
UpdateFunctionConfigurationRequest & WithTracingConfig(TracingConfigT &&value)
UpdateFunctionConfigurationRequest & WithHandler(HandlerT &&value)
UpdateFunctionConfigurationRequest & WithRevisionId(RevisionIdT &&value)
bool RoleHasBeenSet() const
UpdateFunctionConfigurationRequest & WithMemorySize(int value)
Runtime GetRuntime() const
UpdateFunctionConfigurationRequest & WithRuntime(Runtime value)
virtual const char * GetServiceRequestName() const override
const Aws::String & GetHandler() const
void SetImageConfig(ImageConfigT &&value)
const Aws::String & GetKMSKeyArn() const
bool LoggingConfigHasBeenSet() const
const Aws::String & GetRevisionId() const
bool FileSystemConfigsHasBeenSet() const
UpdateFunctionConfigurationRequest & WithKMSKeyArn(KMSKeyArnT &&value)
void SetLayers(LayersT &&value)
bool EnvironmentHasBeenSet() const
const Aws::String & GetFunctionName() const
UpdateFunctionConfigurationRequest & WithVpcConfig(VpcConfigT &&value)
void SetKMSKeyArn(KMSKeyArnT &&value)
UpdateFunctionConfigurationRequest & WithFunctionName(FunctionNameT &&value)
const Aws::Vector< Aws::String > & GetLayers() const
bool HandlerHasBeenSet() const
bool MemorySizeHasBeenSet() const
const EphemeralStorage & GetEphemeralStorage() const
UpdateFunctionConfigurationRequest & WithEnvironment(EnvironmentT &&value)
void SetRuntime(Runtime value)
bool LayersHasBeenSet() const
bool TracingConfigHasBeenSet() const
const SnapStart & GetSnapStart() const
void SetLoggingConfig(LoggingConfigT &&value)
void SetVpcConfig(VpcConfigT &&value)
UpdateFunctionConfigurationRequest & WithSnapStart(SnapStartT &&value)
int GetMemorySize() const
void SetMemorySize(int value)
std::basic_string< char, std::char_traits< char >, Aws::Allocator< char > > String
std::vector< T, Aws::Allocator< T > > Vector