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/FilterCriteria.h>
11#include <aws/lambda/model/DestinationConfig.h>
12#include <aws/core/utils/memory/stl/AWSVector.h>
13#include <aws/lambda/model/ScalingConfig.h>
14#include <aws/lambda/model/DocumentDBEventSourceConfig.h>
15#include <aws/lambda/model/SourceAccessConfiguration.h>
16#include <aws/lambda/model/FunctionResponseType.h>
50 inline void SetUUID(
const char* value) { m_uUIDHasBeenSet =
true; m_uUID.assign(value); }
73 inline void SetFunctionName(
const char* value) { m_functionNameHasBeenSet =
true; m_functionName.assign(value); }
86 inline void SetEnabled(
bool value) { m_enabledHasBeenSet =
true; m_enabled = value; }
107 inline void SetBatchSize(
int value) { m_batchSizeHasBeenSet =
true; m_batchSize = value; }
288 inline void SetKMSKeyArn(
const char* value) { m_kMSKeyArnHasBeenSet =
true; m_kMSKeyArn.assign(value); }
296 bool m_uUIDHasBeenSet =
false;
299 bool m_functionNameHasBeenSet =
false;
302 bool m_enabledHasBeenSet =
false;
305 bool m_batchSizeHasBeenSet =
false;
308 bool m_filterCriteriaHasBeenSet =
false;
310 int m_maximumBatchingWindowInSeconds;
311 bool m_maximumBatchingWindowInSecondsHasBeenSet =
false;
314 bool m_destinationConfigHasBeenSet =
false;
316 int m_maximumRecordAgeInSeconds;
317 bool m_maximumRecordAgeInSecondsHasBeenSet =
false;
319 bool m_bisectBatchOnFunctionError;
320 bool m_bisectBatchOnFunctionErrorHasBeenSet =
false;
322 int m_maximumRetryAttempts;
323 bool m_maximumRetryAttemptsHasBeenSet =
false;
325 int m_parallelizationFactor;
326 bool m_parallelizationFactorHasBeenSet =
false;
329 bool m_sourceAccessConfigurationsHasBeenSet =
false;
331 int m_tumblingWindowInSeconds;
332 bool m_tumblingWindowInSecondsHasBeenSet =
false;
335 bool m_functionResponseTypesHasBeenSet =
false;
338 bool m_scalingConfigHasBeenSet =
false;
341 bool m_documentDBEventSourceConfigHasBeenSet =
false;
344 bool m_kMSKeyArnHasBeenSet =
false;
void SetMaximumRecordAgeInSeconds(int value)
bool BatchSizeHasBeenSet() const
bool SourceAccessConfigurationsHasBeenSet() const
int GetTumblingWindowInSeconds() const
int GetMaximumRecordAgeInSeconds() const
void SetFunctionName(const Aws::String &value)
UpdateEventSourceMappingRequest & WithScalingConfig(const ScalingConfig &value)
UpdateEventSourceMappingRequest & WithFunctionResponseTypes(const Aws::Vector< FunctionResponseType > &value)
void SetMaximumBatchingWindowInSeconds(int value)
UpdateEventSourceMappingRequest & WithSourceAccessConfigurations(const Aws::Vector< SourceAccessConfiguration > &value)
UpdateEventSourceMappingRequest & WithKMSKeyArn(const char *value)
UpdateEventSourceMappingRequest & AddSourceAccessConfigurations(SourceAccessConfiguration &&value)
bool ParallelizationFactorHasBeenSet() const
UpdateEventSourceMappingRequest & WithFunctionName(const Aws::String &value)
bool EnabledHasBeenSet() const
int GetMaximumBatchingWindowInSeconds() const
void SetUUID(Aws::String &&value)
void SetSourceAccessConfigurations(Aws::Vector< SourceAccessConfiguration > &&value)
void SetDestinationConfig(DestinationConfig &&value)
void SetFunctionResponseTypes(Aws::Vector< FunctionResponseType > &&value)
const DocumentDBEventSourceConfig & GetDocumentDBEventSourceConfig() const
void SetEnabled(bool value)
UpdateEventSourceMappingRequest & AddFunctionResponseTypes(const FunctionResponseType &value)
UpdateEventSourceMappingRequest & WithBisectBatchOnFunctionError(bool value)
void SetTumblingWindowInSeconds(int value)
bool BisectBatchOnFunctionErrorHasBeenSet() const
bool FunctionNameHasBeenSet() const
void SetDocumentDBEventSourceConfig(DocumentDBEventSourceConfig &&value)
bool FunctionResponseTypesHasBeenSet() const
UpdateEventSourceMappingRequest & WithFilterCriteria(const FilterCriteria &value)
UpdateEventSourceMappingRequest & WithSourceAccessConfigurations(Aws::Vector< SourceAccessConfiguration > &&value)
bool MaximumRecordAgeInSecondsHasBeenSet() const
bool GetBisectBatchOnFunctionError() const
const Aws::String & GetKMSKeyArn() const
UpdateEventSourceMappingRequest & WithMaximumBatchingWindowInSeconds(int value)
UpdateEventSourceMappingRequest & WithDestinationConfig(DestinationConfig &&value)
UpdateEventSourceMappingRequest & WithFilterCriteria(FilterCriteria &&value)
UpdateEventSourceMappingRequest & WithTumblingWindowInSeconds(int value)
AWS_LAMBDA_API UpdateEventSourceMappingRequest()
void SetKMSKeyArn(const char *value)
UpdateEventSourceMappingRequest & WithFunctionResponseTypes(Aws::Vector< FunctionResponseType > &&value)
bool KMSKeyArnHasBeenSet() const
void SetSourceAccessConfigurations(const Aws::Vector< SourceAccessConfiguration > &value)
UpdateEventSourceMappingRequest & WithDestinationConfig(const DestinationConfig &value)
void SetFilterCriteria(FilterCriteria &&value)
UpdateEventSourceMappingRequest & WithFunctionName(const char *value)
void SetDestinationConfig(const DestinationConfig &value)
const Aws::Vector< FunctionResponseType > & GetFunctionResponseTypes() const
const Aws::String & GetFunctionName() const
bool DestinationConfigHasBeenSet() const
void SetScalingConfig(ScalingConfig &&value)
const Aws::String & GetUUID() const
bool DocumentDBEventSourceConfigHasBeenSet() const
bool UUIDHasBeenSet() const
const FilterCriteria & GetFilterCriteria() const
bool ScalingConfigHasBeenSet() const
void SetBatchSize(int value)
void SetFunctionName(Aws::String &&value)
UpdateEventSourceMappingRequest & WithUUID(Aws::String &&value)
void SetUUID(const Aws::String &value)
UpdateEventSourceMappingRequest & WithKMSKeyArn(const Aws::String &value)
UpdateEventSourceMappingRequest & WithUUID(const char *value)
void SetBisectBatchOnFunctionError(bool value)
const ScalingConfig & GetScalingConfig() const
void SetUUID(const char *value)
void SetKMSKeyArn(Aws::String &&value)
UpdateEventSourceMappingRequest & WithKMSKeyArn(Aws::String &&value)
UpdateEventSourceMappingRequest & WithMaximumRecordAgeInSeconds(int value)
bool MaximumRetryAttemptsHasBeenSet() const
int GetMaximumRetryAttempts() const
AWS_LAMBDA_API Aws::String SerializePayload() const override
virtual const char * GetServiceRequestName() const override
void SetDocumentDBEventSourceConfig(const DocumentDBEventSourceConfig &value)
UpdateEventSourceMappingRequest & WithEnabled(bool value)
UpdateEventSourceMappingRequest & WithDocumentDBEventSourceConfig(DocumentDBEventSourceConfig &&value)
UpdateEventSourceMappingRequest & WithMaximumRetryAttempts(int value)
void SetFunctionName(const char *value)
UpdateEventSourceMappingRequest & AddSourceAccessConfigurations(const SourceAccessConfiguration &value)
UpdateEventSourceMappingRequest & WithScalingConfig(ScalingConfig &&value)
bool FilterCriteriaHasBeenSet() const
bool MaximumBatchingWindowInSecondsHasBeenSet() const
void SetParallelizationFactor(int value)
UpdateEventSourceMappingRequest & WithFunctionName(Aws::String &&value)
void SetKMSKeyArn(const Aws::String &value)
UpdateEventSourceMappingRequest & WithParallelizationFactor(int value)
int GetParallelizationFactor() const
UpdateEventSourceMappingRequest & AddFunctionResponseTypes(FunctionResponseType &&value)
UpdateEventSourceMappingRequest & WithUUID(const Aws::String &value)
UpdateEventSourceMappingRequest & WithDocumentDBEventSourceConfig(const DocumentDBEventSourceConfig &value)
bool TumblingWindowInSecondsHasBeenSet() const
void SetFunctionResponseTypes(const Aws::Vector< FunctionResponseType > &value)
const DestinationConfig & GetDestinationConfig() const
void SetFilterCriteria(const FilterCriteria &value)
void SetScalingConfig(const ScalingConfig &value)
const Aws::Vector< SourceAccessConfiguration > & GetSourceAccessConfigurations() const
UpdateEventSourceMappingRequest & WithBatchSize(int value)
void SetMaximumRetryAttempts(int value)
std::basic_string< char, std::char_traits< char >, Aws::Allocator< char > > String
std::vector< T, Aws::Allocator< T > > Vector