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/CapacityProviderConfig.h>
12#include <aws/lambda/model/DeadLetterConfig.h>
13#include <aws/lambda/model/DurableConfig.h>
14#include <aws/lambda/model/Environment.h>
15#include <aws/lambda/model/EphemeralStorage.h>
16#include <aws/lambda/model/FileSystemConfig.h>
17#include <aws/lambda/model/ImageConfig.h>
18#include <aws/lambda/model/LoggingConfig.h>
19#include <aws/lambda/model/Runtime.h>
20#include <aws/lambda/model/SnapStart.h>
21#include <aws/lambda/model/TracingConfig.h>
22#include <aws/lambda/model/VpcConfig.h>
57 template <
typename FunctionNameT = Aws::String>
59 m_functionNameHasBeenSet =
true;
60 m_functionName = std::forward<FunctionNameT>(value);
62 template <
typename FunctionNameT = Aws::String>
75 template <
typename RoleT = Aws::String>
77 m_roleHasBeenSet =
true;
78 m_role = std::forward<RoleT>(value);
80 template <
typename RoleT = Aws::String>
82 SetRole(std::forward<RoleT>(value));
98 template <
typename HandlerT = Aws::String>
100 m_handlerHasBeenSet =
true;
101 m_handler = std::forward<HandlerT>(value);
103 template <
typename HandlerT = Aws::String>
116 template <
typename DescriptionT = Aws::String>
118 m_descriptionHasBeenSet =
true;
119 m_description = std::forward<DescriptionT>(value);
121 template <
typename DescriptionT = Aws::String>
139 m_timeoutHasBeenSet =
true;
159 m_memorySizeHasBeenSet =
true;
160 m_memorySize = value;
179 template <
typename VpcConfigT = VpcConfig>
181 m_vpcConfigHasBeenSet =
true;
182 m_vpcConfig = std::forward<VpcConfigT>(value);
184 template <
typename VpcConfigT = VpcConfig>
198 template <
typename EnvironmentT = Environment>
200 m_environmentHasBeenSet =
true;
201 m_environment = std::forward<EnvironmentT>(value);
203 template <
typename EnvironmentT = Environment>
228 m_runtimeHasBeenSet =
true;
247 template <
typename DeadLetterConfigT = DeadLetterConfig>
249 m_deadLetterConfigHasBeenSet =
true;
250 m_deadLetterConfig = std::forward<DeadLetterConfigT>(value);
252 template <
typename DeadLetterConfigT = DeadLetterConfig>
285 template <
typename KMSKeyArnT = Aws::String>
287 m_kMSKeyArnHasBeenSet =
true;
288 m_kMSKeyArn = std::forward<KMSKeyArnT>(value);
290 template <
typename KMSKeyArnT = Aws::String>
305 template <
typename TracingConfigT = TracingConfig>
307 m_tracingConfigHasBeenSet =
true;
308 m_tracingConfig = std::forward<TracingConfigT>(value);
310 template <
typename TracingConfigT = TracingConfig>
325 template <
typename RevisionIdT = Aws::String>
327 m_revisionIdHasBeenSet =
true;
328 m_revisionId = std::forward<RevisionIdT>(value);
330 template <
typename RevisionIdT = Aws::String>
346 template <
typename LayersT = Aws::Vector<Aws::String>>
348 m_layersHasBeenSet =
true;
349 m_layers = std::forward<LayersT>(value);
351 template <
typename LayersT = Aws::Vector<Aws::String>>
356 template <
typename LayersT = Aws::String>
358 m_layersHasBeenSet =
true;
359 m_layers.emplace_back(std::forward<LayersT>(value));
370 template <
typename FileSystemConfigsT = Aws::Vector<FileSystemConfig>>
372 m_fileSystemConfigsHasBeenSet =
true;
373 m_fileSystemConfigs = std::forward<FileSystemConfigsT>(value);
375 template <
typename FileSystemConfigsT = Aws::Vector<FileSystemConfig>>
380 template <
typename FileSystemConfigsT = FileSystemConfig>
382 m_fileSystemConfigsHasBeenSet =
true;
383 m_fileSystemConfigs.emplace_back(std::forward<FileSystemConfigsT>(value));
397 template <
typename ImageConfigT = ImageConfig>
399 m_imageConfigHasBeenSet =
true;
400 m_imageConfig = std::forward<ImageConfigT>(value);
402 template <
typename ImageConfigT = ImageConfig>
419 template <
typename EphemeralStorageT = EphemeralStorage>
421 m_ephemeralStorageHasBeenSet =
true;
422 m_ephemeralStorage = std::forward<EphemeralStorageT>(value);
424 template <
typename EphemeralStorageT = EphemeralStorage>
439 template <
typename SnapStartT = SnapStart>
441 m_snapStartHasBeenSet =
true;
442 m_snapStart = std::forward<SnapStartT>(value);
444 template <
typename SnapStartT = SnapStart>
457 template <
typename LoggingConfigT = LoggingConfig>
459 m_loggingConfigHasBeenSet =
true;
460 m_loggingConfig = std::forward<LoggingConfigT>(value);
462 template <
typename LoggingConfigT = LoggingConfig>
476 template <
typename CapacityProv
iderConfigT = CapacityProv
iderConfig>
478 m_capacityProviderConfigHasBeenSet =
true;
479 m_capacityProviderConfig = std::forward<CapacityProviderConfigT>(value);
481 template <
typename CapacityProv
iderConfigT = CapacityProv
iderConfig>
495 template <
typename DurableConfigT = DurableConfig>
497 m_durableConfigHasBeenSet =
true;
498 m_durableConfig = std::forward<DurableConfigT>(value);
500 template <
typename DurableConfigT = DurableConfig>
519 VpcConfig m_vpcConfig;
521 Environment m_environment;
525 DeadLetterConfig m_deadLetterConfig;
529 TracingConfig m_tracingConfig;
537 ImageConfig m_imageConfig;
539 EphemeralStorage m_ephemeralStorage;
541 SnapStart m_snapStart;
543 LoggingConfig m_loggingConfig;
545 CapacityProviderConfig m_capacityProviderConfig;
547 DurableConfig m_durableConfig;
548 bool m_functionNameHasBeenSet =
false;
549 bool m_roleHasBeenSet =
false;
550 bool m_handlerHasBeenSet =
false;
551 bool m_descriptionHasBeenSet =
false;
552 bool m_timeoutHasBeenSet =
false;
553 bool m_memorySizeHasBeenSet =
false;
554 bool m_vpcConfigHasBeenSet =
false;
555 bool m_environmentHasBeenSet =
false;
556 bool m_runtimeHasBeenSet =
false;
557 bool m_deadLetterConfigHasBeenSet =
false;
558 bool m_kMSKeyArnHasBeenSet =
false;
559 bool m_tracingConfigHasBeenSet =
false;
560 bool m_revisionIdHasBeenSet =
false;
561 bool m_layersHasBeenSet =
false;
562 bool m_fileSystemConfigsHasBeenSet =
false;
563 bool m_imageConfigHasBeenSet =
false;
564 bool m_ephemeralStorageHasBeenSet =
false;
565 bool m_snapStartHasBeenSet =
false;
566 bool m_loggingConfigHasBeenSet =
false;
567 bool m_capacityProviderConfigHasBeenSet =
false;
568 bool m_durableConfigHasBeenSet =
false;
const DeadLetterConfig & GetDeadLetterConfig() const
UpdateFunctionConfigurationRequest & WithEphemeralStorage(EphemeralStorageT &&value)
void SetDescription(DescriptionT &&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 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
UpdateFunctionConfigurationRequest & WithLoggingConfig(LoggingConfigT &&value)
bool ImageConfigHasBeenSet() const
bool EphemeralStorageHasBeenSet() const
const Aws::String & GetDescription() const
bool DescriptionHasBeenSet() 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)
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 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)
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