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/AmazonManagedKafkaEventSourceConfig.h>
12#include <aws/lambda/model/DestinationConfig.h>
13#include <aws/lambda/model/DocumentDBEventSourceConfig.h>
14#include <aws/lambda/model/EventSourceMappingMetricsConfig.h>
15#include <aws/lambda/model/FilterCriteria.h>
16#include <aws/lambda/model/FunctionResponseType.h>
17#include <aws/lambda/model/ProvisionedPollerConfig.h>
18#include <aws/lambda/model/ScalingConfig.h>
19#include <aws/lambda/model/SelfManagedKafkaEventSourceConfig.h>
20#include <aws/lambda/model/SourceAccessConfiguration.h>
48 template <
typename UUIDT = Aws::String>
50 m_uUIDHasBeenSet =
true;
51 m_uUID = std::forward<UUIDT>(value);
53 template <
typename UUIDT = Aws::String>
55 SetUUID(std::forward<UUIDT>(value));
75 template <
typename FunctionNameT = Aws::String>
77 m_functionNameHasBeenSet =
true;
78 m_functionName = std::forward<FunctionNameT>(value);
80 template <
typename FunctionNameT = Aws::String>
95 m_enabledHasBeenSet =
true;
122 m_batchSizeHasBeenSet =
true;
140 template <
typename FilterCriteriaT = FilterCriteria>
142 m_filterCriteriaHasBeenSet =
true;
143 m_filterCriteria = std::forward<FilterCriteriaT>(value);
145 template <
typename FilterCriteriaT = FilterCriteria>
171 m_maximumBatchingWindowInSecondsHasBeenSet =
true;
172 m_maximumBatchingWindowInSeconds = value;
188 template <
typename DestinationConfigT = DestinationConfig>
190 m_destinationConfigHasBeenSet =
true;
191 m_destinationConfig = std::forward<DestinationConfigT>(value);
193 template <
typename DestinationConfigT = DestinationConfig>
209 m_maximumRecordAgeInSecondsHasBeenSet =
true;
210 m_maximumRecordAgeInSeconds = value;
226 m_bisectBatchOnFunctionErrorHasBeenSet =
true;
227 m_bisectBatchOnFunctionError = value;
245 m_maximumRetryAttemptsHasBeenSet =
true;
246 m_maximumRetryAttempts = value;
262 m_parallelizationFactorHasBeenSet =
true;
263 m_parallelizationFactor = value;
278 template <
typename SourceAccessConfigurationsT = Aws::Vector<SourceAccessConfiguration>>
280 m_sourceAccessConfigurationsHasBeenSet =
true;
281 m_sourceAccessConfigurations = std::forward<SourceAccessConfigurationsT>(value);
283 template <
typename SourceAccessConfigurationsT = Aws::Vector<SourceAccessConfiguration>>
288 template <
typename SourceAccessConfigurationsT = SourceAccessConfiguration>
290 m_sourceAccessConfigurationsHasBeenSet =
true;
291 m_sourceAccessConfigurations.emplace_back(std::forward<SourceAccessConfigurationsT>(value));
305 m_tumblingWindowInSecondsHasBeenSet =
true;
306 m_tumblingWindowInSeconds = value;
322 template <
typename FunctionResponseTypesT = Aws::Vector<FunctionResponseType>>
324 m_functionResponseTypesHasBeenSet =
true;
325 m_functionResponseTypes = std::forward<FunctionResponseTypesT>(value);
327 template <
typename FunctionResponseTypesT = Aws::Vector<FunctionResponseType>>
333 m_functionResponseTypesHasBeenSet =
true;
334 m_functionResponseTypes.push_back(value);
348 template <
typename ScalingConfigT = ScalingConfig>
350 m_scalingConfigHasBeenSet =
true;
351 m_scalingConfig = std::forward<ScalingConfigT>(value);
353 template <
typename ScalingConfigT = ScalingConfig>
363 return m_amazonManagedKafkaEventSourceConfig;
366 template <
typename AmazonManagedKafkaEventSourceConfigT = AmazonManagedKafkaEventSourceConfig>
368 m_amazonManagedKafkaEventSourceConfigHasBeenSet =
true;
369 m_amazonManagedKafkaEventSourceConfig = std::forward<AmazonManagedKafkaEventSourceConfigT>(value);
371 template <
typename AmazonManagedKafkaEventSourceConfigT = AmazonManagedKafkaEventSourceConfig>
381 return m_selfManagedKafkaEventSourceConfig;
384 template <
typename SelfManagedKafkaEventSourceConfigT = SelfManagedKafkaEventSourceConfig>
386 m_selfManagedKafkaEventSourceConfigHasBeenSet =
true;
387 m_selfManagedKafkaEventSourceConfig = std::forward<SelfManagedKafkaEventSourceConfigT>(value);
389 template <
typename SelfManagedKafkaEventSourceConfigT = SelfManagedKafkaEventSourceConfig>
402 template <
typename DocumentDBEventSourceConfigT = DocumentDBEventSourceConfig>
404 m_documentDBEventSourceConfigHasBeenSet =
true;
405 m_documentDBEventSourceConfig = std::forward<DocumentDBEventSourceConfigT>(value);
407 template <
typename DocumentDBEventSourceConfigT = DocumentDBEventSourceConfig>
424 template <
typename KMSKeyArnT = Aws::String>
426 m_kMSKeyArnHasBeenSet =
true;
427 m_kMSKeyArn = std::forward<KMSKeyArnT>(value);
429 template <
typename KMSKeyArnT = Aws::String>
444 template <
typename MetricsConfigT = EventSourceMappingMetricsConfig>
446 m_metricsConfigHasBeenSet =
true;
447 m_metricsConfig = std::forward<MetricsConfigT>(value);
449 template <
typename MetricsConfigT = EventSourceMappingMetricsConfig>
465 template <
typename ProvisionedPollerConfigT = ProvisionedPollerConfig>
467 m_provisionedPollerConfigHasBeenSet =
true;
468 m_provisionedPollerConfig = std::forward<ProvisionedPollerConfigT>(value);
470 template <
typename ProvisionedPollerConfigT = ProvisionedPollerConfig>
478 bool m_uUIDHasBeenSet =
false;
481 bool m_functionNameHasBeenSet =
false;
483 bool m_enabled{
false};
484 bool m_enabledHasBeenSet =
false;
487 bool m_batchSizeHasBeenSet =
false;
489 FilterCriteria m_filterCriteria;
490 bool m_filterCriteriaHasBeenSet =
false;
492 int m_maximumBatchingWindowInSeconds{0};
493 bool m_maximumBatchingWindowInSecondsHasBeenSet =
false;
495 DestinationConfig m_destinationConfig;
496 bool m_destinationConfigHasBeenSet =
false;
498 int m_maximumRecordAgeInSeconds{0};
499 bool m_maximumRecordAgeInSecondsHasBeenSet =
false;
501 bool m_bisectBatchOnFunctionError{
false};
502 bool m_bisectBatchOnFunctionErrorHasBeenSet =
false;
504 int m_maximumRetryAttempts{0};
505 bool m_maximumRetryAttemptsHasBeenSet =
false;
507 int m_parallelizationFactor{0};
508 bool m_parallelizationFactorHasBeenSet =
false;
511 bool m_sourceAccessConfigurationsHasBeenSet =
false;
513 int m_tumblingWindowInSeconds{0};
514 bool m_tumblingWindowInSecondsHasBeenSet =
false;
517 bool m_functionResponseTypesHasBeenSet =
false;
519 ScalingConfig m_scalingConfig;
520 bool m_scalingConfigHasBeenSet =
false;
522 AmazonManagedKafkaEventSourceConfig m_amazonManagedKafkaEventSourceConfig;
523 bool m_amazonManagedKafkaEventSourceConfigHasBeenSet =
false;
525 SelfManagedKafkaEventSourceConfig m_selfManagedKafkaEventSourceConfig;
526 bool m_selfManagedKafkaEventSourceConfigHasBeenSet =
false;
528 DocumentDBEventSourceConfig m_documentDBEventSourceConfig;
529 bool m_documentDBEventSourceConfigHasBeenSet =
false;
532 bool m_kMSKeyArnHasBeenSet =
false;
534 EventSourceMappingMetricsConfig m_metricsConfig;
535 bool m_metricsConfigHasBeenSet =
false;
537 ProvisionedPollerConfig m_provisionedPollerConfig;
538 bool m_provisionedPollerConfigHasBeenSet =
false;
void SetProvisionedPollerConfig(ProvisionedPollerConfigT &&value)
const SelfManagedKafkaEventSourceConfig & GetSelfManagedKafkaEventSourceConfig() const
void SetMaximumRecordAgeInSeconds(int value)
bool BatchSizeHasBeenSet() const
bool SourceAccessConfigurationsHasBeenSet() const
int GetTumblingWindowInSeconds() const
int GetMaximumRecordAgeInSeconds() const
void SetMaximumBatchingWindowInSeconds(int value)
UpdateEventSourceMappingRequest & WithSourceAccessConfigurations(SourceAccessConfigurationsT &&value)
void SetUUID(UUIDT &&value)
bool ParallelizationFactorHasBeenSet() const
bool EnabledHasBeenSet() const
UpdateEventSourceMappingRequest & WithSelfManagedKafkaEventSourceConfig(SelfManagedKafkaEventSourceConfigT &&value)
int GetMaximumBatchingWindowInSeconds() const
bool MetricsConfigHasBeenSet() const
bool SelfManagedKafkaEventSourceConfigHasBeenSet() const
UpdateEventSourceMappingRequest & WithProvisionedPollerConfig(ProvisionedPollerConfigT &&value)
const DocumentDBEventSourceConfig & GetDocumentDBEventSourceConfig() const
void SetEnabled(bool value)
UpdateEventSourceMappingRequest & WithBisectBatchOnFunctionError(bool value)
void SetTumblingWindowInSeconds(int value)
void SetFilterCriteria(FilterCriteriaT &&value)
bool BisectBatchOnFunctionErrorHasBeenSet() const
UpdateEventSourceMappingRequest & WithFunctionName(FunctionNameT &&value)
void SetKMSKeyArn(KMSKeyArnT &&value)
bool FunctionNameHasBeenSet() const
bool FunctionResponseTypesHasBeenSet() const
bool MaximumRecordAgeInSecondsHasBeenSet() const
UpdateEventSourceMappingRequest & WithFunctionResponseTypes(FunctionResponseTypesT &&value)
bool GetBisectBatchOnFunctionError() const
const Aws::String & GetKMSKeyArn() const
UpdateEventSourceMappingRequest & WithMaximumBatchingWindowInSeconds(int value)
AWS_LAMBDA_API UpdateEventSourceMappingRequest()=default
void SetFunctionResponseTypes(FunctionResponseTypesT &&value)
UpdateEventSourceMappingRequest & WithTumblingWindowInSeconds(int value)
bool KMSKeyArnHasBeenSet() const
const Aws::Vector< FunctionResponseType > & GetFunctionResponseTypes() const
const Aws::String & GetFunctionName() const
bool DestinationConfigHasBeenSet() const
UpdateEventSourceMappingRequest & WithDestinationConfig(DestinationConfigT &&value)
void SetDocumentDBEventSourceConfig(DocumentDBEventSourceConfigT &&value)
const Aws::String & GetUUID() const
bool DocumentDBEventSourceConfigHasBeenSet() const
bool UUIDHasBeenSet() const
bool ProvisionedPollerConfigHasBeenSet() const
const FilterCriteria & GetFilterCriteria() const
bool ScalingConfigHasBeenSet() const
void SetBatchSize(int value)
void SetSourceAccessConfigurations(SourceAccessConfigurationsT &&value)
UpdateEventSourceMappingRequest & WithFilterCriteria(FilterCriteriaT &&value)
void SetBisectBatchOnFunctionError(bool value)
const ScalingConfig & GetScalingConfig() const
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 SetFunctionName(FunctionNameT &&value)
UpdateEventSourceMappingRequest & WithEnabled(bool value)
UpdateEventSourceMappingRequest & WithMaximumRetryAttempts(int value)
UpdateEventSourceMappingRequest & AddSourceAccessConfigurations(SourceAccessConfigurationsT &&value)
const ProvisionedPollerConfig & GetProvisionedPollerConfig() const
bool FilterCriteriaHasBeenSet() const
void SetDestinationConfig(DestinationConfigT &&value)
bool MaximumBatchingWindowInSecondsHasBeenSet() const
UpdateEventSourceMappingRequest & WithUUID(UUIDT &&value)
void SetParallelizationFactor(int value)
void SetAmazonManagedKafkaEventSourceConfig(AmazonManagedKafkaEventSourceConfigT &&value)
void SetSelfManagedKafkaEventSourceConfig(SelfManagedKafkaEventSourceConfigT &&value)
UpdateEventSourceMappingRequest & WithParallelizationFactor(int value)
void SetMetricsConfig(MetricsConfigT &&value)
UpdateEventSourceMappingRequest & WithScalingConfig(ScalingConfigT &&value)
void SetScalingConfig(ScalingConfigT &&value)
int GetParallelizationFactor() const
bool AmazonManagedKafkaEventSourceConfigHasBeenSet() const
UpdateEventSourceMappingRequest & WithDocumentDBEventSourceConfig(DocumentDBEventSourceConfigT &&value)
UpdateEventSourceMappingRequest & WithMetricsConfig(MetricsConfigT &&value)
UpdateEventSourceMappingRequest & WithKMSKeyArn(KMSKeyArnT &&value)
bool TumblingWindowInSecondsHasBeenSet() const
UpdateEventSourceMappingRequest & AddFunctionResponseTypes(FunctionResponseType value)
const DestinationConfig & GetDestinationConfig() const
UpdateEventSourceMappingRequest & WithAmazonManagedKafkaEventSourceConfig(AmazonManagedKafkaEventSourceConfigT &&value)
const Aws::Vector< SourceAccessConfiguration > & GetSourceAccessConfigurations() const
UpdateEventSourceMappingRequest & WithBatchSize(int value)
const EventSourceMappingMetricsConfig & GetMetricsConfig() const
const AmazonManagedKafkaEventSourceConfig & GetAmazonManagedKafkaEventSourceConfig() const
void SetMaximumRetryAttempts(int value)
std::basic_string< char, std::char_traits< char >, Aws::Allocator< char > > String
std::vector< T, Aws::Allocator< T > > Vector