7#include <aws/core/utils/memory/stl/AWSString.h>
8#include <aws/core/utils/memory/stl/AWSVector.h>
9#include <aws/lambda/LambdaRequest.h>
10#include <aws/lambda/Lambda_EXPORTS.h>
11#include <aws/lambda/model/AcceleratorConfig.h>
12#include <aws/lambda/model/CapacityProviderConfig.h>
13#include <aws/lambda/model/DeadLetterConfig.h>
14#include <aws/lambda/model/DurableConfig.h>
15#include <aws/lambda/model/Environment.h>
16#include <aws/lambda/model/EphemeralStorage.h>
17#include <aws/lambda/model/FileSystemConfig.h>
18#include <aws/lambda/model/FunctionRuntimeConfig.h>
19#include <aws/lambda/model/ImageConfig.h>
20#include <aws/lambda/model/LoggingConfig.h>
21#include <aws/lambda/model/Runtime.h>
22#include <aws/lambda/model/SnapStart.h>
23#include <aws/lambda/model/TracingConfig.h>
24#include <aws/lambda/model/VpcConfig.h>
59 template <
typename FunctionNameT = Aws::String>
61 m_functionNameHasBeenSet =
true;
62 m_functionName = std::forward<FunctionNameT>(value);
64 template <
typename FunctionNameT = Aws::String>
77 template <
typename RoleT = Aws::String>
79 m_roleHasBeenSet =
true;
80 m_role = std::forward<RoleT>(value);
82 template <
typename RoleT = Aws::String>
84 SetRole(std::forward<RoleT>(value));
100 template <
typename HandlerT = Aws::String>
102 m_handlerHasBeenSet =
true;
103 m_handler = std::forward<HandlerT>(value);
105 template <
typename HandlerT = Aws::String>
118 template <
typename DescriptionT = Aws::String>
120 m_descriptionHasBeenSet =
true;
121 m_description = std::forward<DescriptionT>(value);
123 template <
typename DescriptionT = Aws::String>
144 m_timeoutHasBeenSet =
true;
164 m_memorySizeHasBeenSet =
true;
165 m_memorySize = value;
184 template <
typename VpcConfigT = VpcConfig>
186 m_vpcConfigHasBeenSet =
true;
187 m_vpcConfig = std::forward<VpcConfigT>(value);
189 template <
typename VpcConfigT = VpcConfig>
203 template <
typename EnvironmentT = Environment>
205 m_environmentHasBeenSet =
true;
206 m_environment = std::forward<EnvironmentT>(value);
208 template <
typename EnvironmentT = Environment>
233 m_runtimeHasBeenSet =
true;
252 template <
typename DeadLetterConfigT = DeadLetterConfig>
254 m_deadLetterConfigHasBeenSet =
true;
255 m_deadLetterConfig = std::forward<DeadLetterConfigT>(value);
257 template <
typename DeadLetterConfigT = DeadLetterConfig>
290 template <
typename KMSKeyArnT = Aws::String>
292 m_kMSKeyArnHasBeenSet =
true;
293 m_kMSKeyArn = std::forward<KMSKeyArnT>(value);
295 template <
typename KMSKeyArnT = Aws::String>
310 template <
typename TracingConfigT = TracingConfig>
312 m_tracingConfigHasBeenSet =
true;
313 m_tracingConfig = std::forward<TracingConfigT>(value);
315 template <
typename TracingConfigT = TracingConfig>
330 template <
typename RevisionIdT = Aws::String>
332 m_revisionIdHasBeenSet =
true;
333 m_revisionId = std::forward<RevisionIdT>(value);
335 template <
typename RevisionIdT = Aws::String>
351 template <
typename LayersT = Aws::Vector<Aws::String>>
353 m_layersHasBeenSet =
true;
354 m_layers = std::forward<LayersT>(value);
356 template <
typename LayersT = Aws::Vector<Aws::String>>
361 template <
typename LayersT = Aws::String>
363 m_layersHasBeenSet =
true;
364 m_layers.emplace_back(std::forward<LayersT>(value));
376 template <
typename FileSystemConfigsT = Aws::Vector<FileSystemConfig>>
378 m_fileSystemConfigsHasBeenSet =
true;
379 m_fileSystemConfigs = std::forward<FileSystemConfigsT>(value);
381 template <
typename FileSystemConfigsT = Aws::Vector<FileSystemConfig>>
386 template <
typename FileSystemConfigsT = FileSystemConfig>
388 m_fileSystemConfigsHasBeenSet =
true;
389 m_fileSystemConfigs.emplace_back(std::forward<FileSystemConfigsT>(value));
403 template <
typename ImageConfigT = ImageConfig>
405 m_imageConfigHasBeenSet =
true;
406 m_imageConfig = std::forward<ImageConfigT>(value);
408 template <
typename ImageConfigT = ImageConfig>
426 template <
typename EphemeralStorageT = EphemeralStorage>
428 m_ephemeralStorageHasBeenSet =
true;
429 m_ephemeralStorage = std::forward<EphemeralStorageT>(value);
431 template <
typename EphemeralStorageT = EphemeralStorage>
446 template <
typename SnapStartT = SnapStart>
448 m_snapStartHasBeenSet =
true;
449 m_snapStart = std::forward<SnapStartT>(value);
451 template <
typename SnapStartT = SnapStart>
464 template <
typename LoggingConfigT = LoggingConfig>
466 m_loggingConfigHasBeenSet =
true;
467 m_loggingConfig = std::forward<LoggingConfigT>(value);
469 template <
typename LoggingConfigT = LoggingConfig>
483 template <
typename CapacityProv
iderConfigT = CapacityProv
iderConfig>
485 m_capacityProviderConfigHasBeenSet =
true;
486 m_capacityProviderConfig = std::forward<CapacityProviderConfigT>(value);
488 template <
typename CapacityProv
iderConfigT = CapacityProv
iderConfig>
506 template <
typename DurableConfigT = DurableConfig>
508 m_durableConfigHasBeenSet =
true;
509 m_durableConfig = std::forward<DurableConfigT>(value);
511 template <
typename DurableConfigT = DurableConfig>
525 template <
typename RuntimeConfigT = FunctionRuntimeConfig>
527 m_runtimeConfigHasBeenSet =
true;
528 m_runtimeConfig = std::forward<RuntimeConfigT>(value);
530 template <
typename RuntimeConfigT = FunctionRuntimeConfig>
543 template <
typename AcceleratorConfigT = AcceleratorConfig>
545 m_acceleratorConfigHasBeenSet =
true;
546 m_acceleratorConfig = std::forward<AcceleratorConfigT>(value);
548 template <
typename AcceleratorConfigT = AcceleratorConfig>
567 VpcConfig m_vpcConfig;
569 Environment m_environment;
573 DeadLetterConfig m_deadLetterConfig;
577 TracingConfig m_tracingConfig;
585 ImageConfig m_imageConfig;
587 EphemeralStorage m_ephemeralStorage;
589 SnapStart m_snapStart;
591 LoggingConfig m_loggingConfig;
593 CapacityProviderConfig m_capacityProviderConfig;
595 DurableConfig m_durableConfig;
597 FunctionRuntimeConfig m_runtimeConfig;
599 AcceleratorConfig m_acceleratorConfig;
600 bool m_functionNameHasBeenSet =
false;
601 bool m_roleHasBeenSet =
false;
602 bool m_handlerHasBeenSet =
false;
603 bool m_descriptionHasBeenSet =
false;
604 bool m_timeoutHasBeenSet =
false;
605 bool m_memorySizeHasBeenSet =
false;
606 bool m_vpcConfigHasBeenSet =
false;
607 bool m_environmentHasBeenSet =
false;
608 bool m_runtimeHasBeenSet =
false;
609 bool m_deadLetterConfigHasBeenSet =
false;
610 bool m_kMSKeyArnHasBeenSet =
false;
611 bool m_tracingConfigHasBeenSet =
false;
612 bool m_revisionIdHasBeenSet =
false;
613 bool m_layersHasBeenSet =
false;
614 bool m_fileSystemConfigsHasBeenSet =
false;
615 bool m_imageConfigHasBeenSet =
false;
616 bool m_ephemeralStorageHasBeenSet =
false;
617 bool m_snapStartHasBeenSet =
false;
618 bool m_loggingConfigHasBeenSet =
false;
619 bool m_capacityProviderConfigHasBeenSet =
false;
620 bool m_durableConfigHasBeenSet =
false;
621 bool m_runtimeConfigHasBeenSet =
false;
622 bool m_acceleratorConfigHasBeenSet =
false;
const DeadLetterConfig & GetDeadLetterConfig() const
UpdateFunctionConfigurationRequest & WithEphemeralStorage(EphemeralStorageT &&value)
void SetDescription(DescriptionT &&value)
UpdateFunctionConfigurationRequest & WithAcceleratorConfig(AcceleratorConfigT &&value)
void SetFileSystemConfigs(FileSystemConfigsT &&value)
bool KMSKeyArnHasBeenSet() const
const CapacityProviderConfig & GetCapacityProviderConfig() 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)
void SetDurableConfig(DurableConfigT &&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 SetAcceleratorConfig(AcceleratorConfigT &&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
void SetCapacityProviderConfig(CapacityProviderConfigT &&value)
UpdateFunctionConfigurationRequest & WithFileSystemConfigs(FileSystemConfigsT &&value)
AWS_LAMBDA_API UpdateFunctionConfigurationRequest()=default
bool DeadLetterConfigHasBeenSet() const
void SetRole(RoleT &&value)
UpdateFunctionConfigurationRequest & AddLayers(LayersT &&value)
const LoggingConfig & GetLoggingConfig() const
const AcceleratorConfig & GetAcceleratorConfig() const
UpdateFunctionConfigurationRequest & WithLoggingConfig(LoggingConfigT &&value)
bool ImageConfigHasBeenSet() const
bool EphemeralStorageHasBeenSet() const
const Aws::String & GetDescription() const
bool DescriptionHasBeenSet() const
bool RuntimeConfigHasBeenSet() const
UpdateFunctionConfigurationRequest & WithTracingConfig(TracingConfigT &&value)
UpdateFunctionConfigurationRequest & WithCapacityProviderConfig(CapacityProviderConfigT &&value)
UpdateFunctionConfigurationRequest & WithHandler(HandlerT &&value)
UpdateFunctionConfigurationRequest & WithRevisionId(RevisionIdT &&value)
bool RoleHasBeenSet() const
UpdateFunctionConfigurationRequest & WithMemorySize(int value)
bool DurableConfigHasBeenSet() const
Runtime GetRuntime() const
UpdateFunctionConfigurationRequest & WithRuntime(Runtime value)
virtual const char * GetServiceRequestName() const override
const Aws::String & GetHandler() const
void SetImageConfig(ImageConfigT &&value)
void SetRuntimeConfig(RuntimeConfigT &&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)
bool CapacityProviderConfigHasBeenSet() const
void SetKMSKeyArn(KMSKeyArnT &&value)
UpdateFunctionConfigurationRequest & WithFunctionName(FunctionNameT &&value)
const Aws::Vector< Aws::String > & GetLayers() const
bool HandlerHasBeenSet() const
bool MemorySizeHasBeenSet() const
const FunctionRuntimeConfig & GetRuntimeConfig() 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)
bool AcceleratorConfigHasBeenSet() const
UpdateFunctionConfigurationRequest & WithRuntimeConfig(RuntimeConfigT &&value)
UpdateFunctionConfigurationRequest & WithSnapStart(SnapStartT &&value)
const DurableConfig & GetDurableConfig() const
int GetMemorySize() const
void SetMemorySize(int value)
UpdateFunctionConfigurationRequest & WithDurableConfig(DurableConfigT &&value)
std::basic_string< char, std::char_traits< char >, Aws::Allocator< char > > String
std::vector< T, Aws::Allocator< T > > Vector