AWS SDK for C++

AWS SDK for C++ Version 1.11.695

Loading...
Searching...
No Matches
CreateEventSourceMappingRequest.h
1
6#pragma once
7#include <aws/core/utils/DateTime.h>
8#include <aws/core/utils/memory/stl/AWSMap.h>
9#include <aws/core/utils/memory/stl/AWSString.h>
10#include <aws/core/utils/memory/stl/AWSVector.h>
11#include <aws/lambda/LambdaRequest.h>
12#include <aws/lambda/Lambda_EXPORTS.h>
13#include <aws/lambda/model/AmazonManagedKafkaEventSourceConfig.h>
14#include <aws/lambda/model/DestinationConfig.h>
15#include <aws/lambda/model/DocumentDBEventSourceConfig.h>
16#include <aws/lambda/model/EventSourceMappingMetricsConfig.h>
17#include <aws/lambda/model/EventSourcePosition.h>
18#include <aws/lambda/model/FilterCriteria.h>
19#include <aws/lambda/model/FunctionResponseType.h>
20#include <aws/lambda/model/ProvisionedPollerConfig.h>
21#include <aws/lambda/model/ScalingConfig.h>
22#include <aws/lambda/model/SelfManagedEventSource.h>
23#include <aws/lambda/model/SelfManagedKafkaEventSourceConfig.h>
24#include <aws/lambda/model/SourceAccessConfiguration.h>
25
26#include <utility>
27
28namespace Aws {
29namespace Lambda {
30namespace Model {
31
35 public:
36 AWS_LAMBDA_API CreateEventSourceMappingRequest() = default;
37
38 // Service request name is the Operation name which will send this request out,
39 // each operation should has unique request name, so that we can get operation's name from this request.
40 // Note: this is not true for response, multiple operations may have the same response name,
41 // so we can not get operation's name from response.
42 inline virtual const char* GetServiceRequestName() const override { return "CreateEventSourceMapping"; }
43
44 AWS_LAMBDA_API Aws::String SerializePayload() const override;
45
47
59 inline const Aws::String& GetEventSourceArn() const { return m_eventSourceArn; }
60 inline bool EventSourceArnHasBeenSet() const { return m_eventSourceArnHasBeenSet; }
61 template <typename EventSourceArnT = Aws::String>
62 void SetEventSourceArn(EventSourceArnT&& value) {
63 m_eventSourceArnHasBeenSet = true;
64 m_eventSourceArn = std::forward<EventSourceArnT>(value);
65 }
66 template <typename EventSourceArnT = Aws::String>
68 SetEventSourceArn(std::forward<EventSourceArnT>(value));
69 return *this;
70 }
72
74
86 inline const Aws::String& GetFunctionName() const { return m_functionName; }
87 inline bool FunctionNameHasBeenSet() const { return m_functionNameHasBeenSet; }
88 template <typename FunctionNameT = Aws::String>
89 void SetFunctionName(FunctionNameT&& value) {
90 m_functionNameHasBeenSet = true;
91 m_functionName = std::forward<FunctionNameT>(value);
92 }
93 template <typename FunctionNameT = Aws::String>
95 SetFunctionName(std::forward<FunctionNameT>(value));
96 return *this;
97 }
99
101
105 inline bool GetEnabled() const { return m_enabled; }
106 inline bool EnabledHasBeenSet() const { return m_enabledHasBeenSet; }
107 inline void SetEnabled(bool value) {
108 m_enabledHasBeenSet = true;
109 m_enabled = value;
110 }
112 SetEnabled(value);
113 return *this;
114 }
116
118
132 inline int GetBatchSize() const { return m_batchSize; }
133 inline bool BatchSizeHasBeenSet() const { return m_batchSizeHasBeenSet; }
134 inline void SetBatchSize(int value) {
135 m_batchSizeHasBeenSet = true;
136 m_batchSize = value;
137 }
139 SetBatchSize(value);
140 return *this;
141 }
143
145
151 inline const FilterCriteria& GetFilterCriteria() const { return m_filterCriteria; }
152 inline bool FilterCriteriaHasBeenSet() const { return m_filterCriteriaHasBeenSet; }
153 template <typename FilterCriteriaT = FilterCriteria>
154 void SetFilterCriteria(FilterCriteriaT&& value) {
155 m_filterCriteriaHasBeenSet = true;
156 m_filterCriteria = std::forward<FilterCriteriaT>(value);
157 }
158 template <typename FilterCriteriaT = FilterCriteria>
160 SetFilterCriteria(std::forward<FilterCriteriaT>(value));
161 return *this;
162 }
164
166
181 inline int GetMaximumBatchingWindowInSeconds() const { return m_maximumBatchingWindowInSeconds; }
182 inline bool MaximumBatchingWindowInSecondsHasBeenSet() const { return m_maximumBatchingWindowInSecondsHasBeenSet; }
183 inline void SetMaximumBatchingWindowInSeconds(int value) {
184 m_maximumBatchingWindowInSecondsHasBeenSet = true;
185 m_maximumBatchingWindowInSeconds = value;
186 }
189 return *this;
190 }
192
194
198 inline int GetParallelizationFactor() const { return m_parallelizationFactor; }
199 inline bool ParallelizationFactorHasBeenSet() const { return m_parallelizationFactorHasBeenSet; }
200 inline void SetParallelizationFactor(int value) {
201 m_parallelizationFactorHasBeenSet = true;
202 m_parallelizationFactor = value;
203 }
206 return *this;
207 }
209
211
217 inline EventSourcePosition GetStartingPosition() const { return m_startingPosition; }
218 inline bool StartingPositionHasBeenSet() const { return m_startingPositionHasBeenSet; }
220 m_startingPositionHasBeenSet = true;
221 m_startingPosition = value;
222 }
224 SetStartingPosition(value);
225 return *this;
226 }
228
230
235 inline const Aws::Utils::DateTime& GetStartingPositionTimestamp() const { return m_startingPositionTimestamp; }
236 inline bool StartingPositionTimestampHasBeenSet() const { return m_startingPositionTimestampHasBeenSet; }
237 template <typename StartingPositionTimestampT = Aws::Utils::DateTime>
238 void SetStartingPositionTimestamp(StartingPositionTimestampT&& value) {
239 m_startingPositionTimestampHasBeenSet = true;
240 m_startingPositionTimestamp = std::forward<StartingPositionTimestampT>(value);
241 }
242 template <typename StartingPositionTimestampT = Aws::Utils::DateTime>
244 SetStartingPositionTimestamp(std::forward<StartingPositionTimestampT>(value));
245 return *this;
246 }
248
250
255 inline const DestinationConfig& GetDestinationConfig() const { return m_destinationConfig; }
256 inline bool DestinationConfigHasBeenSet() const { return m_destinationConfigHasBeenSet; }
257 template <typename DestinationConfigT = DestinationConfig>
258 void SetDestinationConfig(DestinationConfigT&& value) {
259 m_destinationConfigHasBeenSet = true;
260 m_destinationConfig = std::forward<DestinationConfigT>(value);
261 }
262 template <typename DestinationConfigT = DestinationConfig>
264 SetDestinationConfig(std::forward<DestinationConfigT>(value));
265 return *this;
266 }
268
270
275 inline int GetMaximumRecordAgeInSeconds() const { return m_maximumRecordAgeInSeconds; }
276 inline bool MaximumRecordAgeInSecondsHasBeenSet() const { return m_maximumRecordAgeInSecondsHasBeenSet; }
277 inline void SetMaximumRecordAgeInSeconds(int value) {
278 m_maximumRecordAgeInSecondsHasBeenSet = true;
279 m_maximumRecordAgeInSeconds = value;
280 }
283 return *this;
284 }
286
288
292 inline bool GetBisectBatchOnFunctionError() const { return m_bisectBatchOnFunctionError; }
293 inline bool BisectBatchOnFunctionErrorHasBeenSet() const { return m_bisectBatchOnFunctionErrorHasBeenSet; }
294 inline void SetBisectBatchOnFunctionError(bool value) {
295 m_bisectBatchOnFunctionErrorHasBeenSet = true;
296 m_bisectBatchOnFunctionError = value;
297 }
300 return *this;
301 }
303
305
311 inline int GetMaximumRetryAttempts() const { return m_maximumRetryAttempts; }
312 inline bool MaximumRetryAttemptsHasBeenSet() const { return m_maximumRetryAttemptsHasBeenSet; }
313 inline void SetMaximumRetryAttempts(int value) {
314 m_maximumRetryAttemptsHasBeenSet = true;
315 m_maximumRetryAttempts = value;
316 }
319 return *this;
320 }
322
324
327 inline const Aws::Map<Aws::String, Aws::String>& GetTags() const { return m_tags; }
328 inline bool TagsHasBeenSet() const { return m_tagsHasBeenSet; }
329 template <typename TagsT = Aws::Map<Aws::String, Aws::String>>
330 void SetTags(TagsT&& value) {
331 m_tagsHasBeenSet = true;
332 m_tags = std::forward<TagsT>(value);
333 }
334 template <typename TagsT = Aws::Map<Aws::String, Aws::String>>
336 SetTags(std::forward<TagsT>(value));
337 return *this;
338 }
339 template <typename TagsKeyT = Aws::String, typename TagsValueT = Aws::String>
340 CreateEventSourceMappingRequest& AddTags(TagsKeyT&& key, TagsValueT&& value) {
341 m_tagsHasBeenSet = true;
342 m_tags.emplace(std::forward<TagsKeyT>(key), std::forward<TagsValueT>(value));
343 return *this;
344 }
346
348
353 inline int GetTumblingWindowInSeconds() const { return m_tumblingWindowInSeconds; }
354 inline bool TumblingWindowInSecondsHasBeenSet() const { return m_tumblingWindowInSecondsHasBeenSet; }
355 inline void SetTumblingWindowInSeconds(int value) {
356 m_tumblingWindowInSecondsHasBeenSet = true;
357 m_tumblingWindowInSeconds = value;
358 }
361 return *this;
362 }
364
366
369 inline const Aws::Vector<Aws::String>& GetTopics() const { return m_topics; }
370 inline bool TopicsHasBeenSet() const { return m_topicsHasBeenSet; }
371 template <typename TopicsT = Aws::Vector<Aws::String>>
372 void SetTopics(TopicsT&& value) {
373 m_topicsHasBeenSet = true;
374 m_topics = std::forward<TopicsT>(value);
375 }
376 template <typename TopicsT = Aws::Vector<Aws::String>>
378 SetTopics(std::forward<TopicsT>(value));
379 return *this;
380 }
381 template <typename TopicsT = Aws::String>
383 m_topicsHasBeenSet = true;
384 m_topics.emplace_back(std::forward<TopicsT>(value));
385 return *this;
386 }
388
390
393 inline const Aws::Vector<Aws::String>& GetQueues() const { return m_queues; }
394 inline bool QueuesHasBeenSet() const { return m_queuesHasBeenSet; }
395 template <typename QueuesT = Aws::Vector<Aws::String>>
396 void SetQueues(QueuesT&& value) {
397 m_queuesHasBeenSet = true;
398 m_queues = std::forward<QueuesT>(value);
399 }
400 template <typename QueuesT = Aws::Vector<Aws::String>>
402 SetQueues(std::forward<QueuesT>(value));
403 return *this;
404 }
405 template <typename QueuesT = Aws::String>
407 m_queuesHasBeenSet = true;
408 m_queues.emplace_back(std::forward<QueuesT>(value));
409 return *this;
410 }
412
414
418 inline const Aws::Vector<SourceAccessConfiguration>& GetSourceAccessConfigurations() const { return m_sourceAccessConfigurations; }
419 inline bool SourceAccessConfigurationsHasBeenSet() const { return m_sourceAccessConfigurationsHasBeenSet; }
420 template <typename SourceAccessConfigurationsT = Aws::Vector<SourceAccessConfiguration>>
421 void SetSourceAccessConfigurations(SourceAccessConfigurationsT&& value) {
422 m_sourceAccessConfigurationsHasBeenSet = true;
423 m_sourceAccessConfigurations = std::forward<SourceAccessConfigurationsT>(value);
424 }
425 template <typename SourceAccessConfigurationsT = Aws::Vector<SourceAccessConfiguration>>
427 SetSourceAccessConfigurations(std::forward<SourceAccessConfigurationsT>(value));
428 return *this;
429 }
430 template <typename SourceAccessConfigurationsT = SourceAccessConfiguration>
432 m_sourceAccessConfigurationsHasBeenSet = true;
433 m_sourceAccessConfigurations.emplace_back(std::forward<SourceAccessConfigurationsT>(value));
434 return *this;
435 }
437
439
442 inline const SelfManagedEventSource& GetSelfManagedEventSource() const { return m_selfManagedEventSource; }
443 inline bool SelfManagedEventSourceHasBeenSet() const { return m_selfManagedEventSourceHasBeenSet; }
444 template <typename SelfManagedEventSourceT = SelfManagedEventSource>
445 void SetSelfManagedEventSource(SelfManagedEventSourceT&& value) {
446 m_selfManagedEventSourceHasBeenSet = true;
447 m_selfManagedEventSource = std::forward<SelfManagedEventSourceT>(value);
448 }
449 template <typename SelfManagedEventSourceT = SelfManagedEventSource>
451 SetSelfManagedEventSource(std::forward<SelfManagedEventSourceT>(value));
452 return *this;
453 }
455
457
462 inline const Aws::Vector<FunctionResponseType>& GetFunctionResponseTypes() const { return m_functionResponseTypes; }
463 inline bool FunctionResponseTypesHasBeenSet() const { return m_functionResponseTypesHasBeenSet; }
464 template <typename FunctionResponseTypesT = Aws::Vector<FunctionResponseType>>
465 void SetFunctionResponseTypes(FunctionResponseTypesT&& value) {
466 m_functionResponseTypesHasBeenSet = true;
467 m_functionResponseTypes = std::forward<FunctionResponseTypesT>(value);
468 }
469 template <typename FunctionResponseTypesT = Aws::Vector<FunctionResponseType>>
471 SetFunctionResponseTypes(std::forward<FunctionResponseTypesT>(value));
472 return *this;
473 }
475 m_functionResponseTypesHasBeenSet = true;
476 m_functionResponseTypes.push_back(value);
477 return *this;
478 }
480
482
487 return m_amazonManagedKafkaEventSourceConfig;
488 }
489 inline bool AmazonManagedKafkaEventSourceConfigHasBeenSet() const { return m_amazonManagedKafkaEventSourceConfigHasBeenSet; }
490 template <typename AmazonManagedKafkaEventSourceConfigT = AmazonManagedKafkaEventSourceConfig>
491 void SetAmazonManagedKafkaEventSourceConfig(AmazonManagedKafkaEventSourceConfigT&& value) {
492 m_amazonManagedKafkaEventSourceConfigHasBeenSet = true;
493 m_amazonManagedKafkaEventSourceConfig = std::forward<AmazonManagedKafkaEventSourceConfigT>(value);
494 }
495 template <typename AmazonManagedKafkaEventSourceConfigT = AmazonManagedKafkaEventSourceConfig>
496 CreateEventSourceMappingRequest& WithAmazonManagedKafkaEventSourceConfig(AmazonManagedKafkaEventSourceConfigT&& value) {
497 SetAmazonManagedKafkaEventSourceConfig(std::forward<AmazonManagedKafkaEventSourceConfigT>(value));
498 return *this;
499 }
501
503
508 return m_selfManagedKafkaEventSourceConfig;
509 }
510 inline bool SelfManagedKafkaEventSourceConfigHasBeenSet() const { return m_selfManagedKafkaEventSourceConfigHasBeenSet; }
511 template <typename SelfManagedKafkaEventSourceConfigT = SelfManagedKafkaEventSourceConfig>
512 void SetSelfManagedKafkaEventSourceConfig(SelfManagedKafkaEventSourceConfigT&& value) {
513 m_selfManagedKafkaEventSourceConfigHasBeenSet = true;
514 m_selfManagedKafkaEventSourceConfig = std::forward<SelfManagedKafkaEventSourceConfigT>(value);
515 }
516 template <typename SelfManagedKafkaEventSourceConfigT = SelfManagedKafkaEventSourceConfig>
517 CreateEventSourceMappingRequest& WithSelfManagedKafkaEventSourceConfig(SelfManagedKafkaEventSourceConfigT&& value) {
518 SetSelfManagedKafkaEventSourceConfig(std::forward<SelfManagedKafkaEventSourceConfigT>(value));
519 return *this;
520 }
522
524
530 inline const ScalingConfig& GetScalingConfig() const { return m_scalingConfig; }
531 inline bool ScalingConfigHasBeenSet() const { return m_scalingConfigHasBeenSet; }
532 template <typename ScalingConfigT = ScalingConfig>
533 void SetScalingConfig(ScalingConfigT&& value) {
534 m_scalingConfigHasBeenSet = true;
535 m_scalingConfig = std::forward<ScalingConfigT>(value);
536 }
537 template <typename ScalingConfigT = ScalingConfig>
539 SetScalingConfig(std::forward<ScalingConfigT>(value));
540 return *this;
541 }
543
545
548 inline const DocumentDBEventSourceConfig& GetDocumentDBEventSourceConfig() const { return m_documentDBEventSourceConfig; }
549 inline bool DocumentDBEventSourceConfigHasBeenSet() const { return m_documentDBEventSourceConfigHasBeenSet; }
550 template <typename DocumentDBEventSourceConfigT = DocumentDBEventSourceConfig>
551 void SetDocumentDBEventSourceConfig(DocumentDBEventSourceConfigT&& value) {
552 m_documentDBEventSourceConfigHasBeenSet = true;
553 m_documentDBEventSourceConfig = std::forward<DocumentDBEventSourceConfigT>(value);
554 }
555 template <typename DocumentDBEventSourceConfigT = DocumentDBEventSourceConfig>
557 SetDocumentDBEventSourceConfig(std::forward<DocumentDBEventSourceConfigT>(value));
558 return *this;
559 }
561
563
570 inline const Aws::String& GetKMSKeyArn() const { return m_kMSKeyArn; }
571 inline bool KMSKeyArnHasBeenSet() const { return m_kMSKeyArnHasBeenSet; }
572 template <typename KMSKeyArnT = Aws::String>
573 void SetKMSKeyArn(KMSKeyArnT&& value) {
574 m_kMSKeyArnHasBeenSet = true;
575 m_kMSKeyArn = std::forward<KMSKeyArnT>(value);
576 }
577 template <typename KMSKeyArnT = Aws::String>
579 SetKMSKeyArn(std::forward<KMSKeyArnT>(value));
580 return *this;
581 }
583
585
590 inline const EventSourceMappingMetricsConfig& GetMetricsConfig() const { return m_metricsConfig; }
591 inline bool MetricsConfigHasBeenSet() const { return m_metricsConfigHasBeenSet; }
592 template <typename MetricsConfigT = EventSourceMappingMetricsConfig>
593 void SetMetricsConfig(MetricsConfigT&& value) {
594 m_metricsConfigHasBeenSet = true;
595 m_metricsConfig = std::forward<MetricsConfigT>(value);
596 }
597 template <typename MetricsConfigT = EventSourceMappingMetricsConfig>
599 SetMetricsConfig(std::forward<MetricsConfigT>(value));
600 return *this;
601 }
603
605
611 inline const ProvisionedPollerConfig& GetProvisionedPollerConfig() const { return m_provisionedPollerConfig; }
612 inline bool ProvisionedPollerConfigHasBeenSet() const { return m_provisionedPollerConfigHasBeenSet; }
613 template <typename ProvisionedPollerConfigT = ProvisionedPollerConfig>
614 void SetProvisionedPollerConfig(ProvisionedPollerConfigT&& value) {
615 m_provisionedPollerConfigHasBeenSet = true;
616 m_provisionedPollerConfig = std::forward<ProvisionedPollerConfigT>(value);
617 }
618 template <typename ProvisionedPollerConfigT = ProvisionedPollerConfig>
620 SetProvisionedPollerConfig(std::forward<ProvisionedPollerConfigT>(value));
621 return *this;
622 }
624 private:
625 Aws::String m_eventSourceArn;
626 bool m_eventSourceArnHasBeenSet = false;
627
628 Aws::String m_functionName;
629 bool m_functionNameHasBeenSet = false;
630
631 bool m_enabled{false};
632 bool m_enabledHasBeenSet = false;
633
634 int m_batchSize{0};
635 bool m_batchSizeHasBeenSet = false;
636
637 FilterCriteria m_filterCriteria;
638 bool m_filterCriteriaHasBeenSet = false;
639
640 int m_maximumBatchingWindowInSeconds{0};
641 bool m_maximumBatchingWindowInSecondsHasBeenSet = false;
642
643 int m_parallelizationFactor{0};
644 bool m_parallelizationFactorHasBeenSet = false;
645
647 bool m_startingPositionHasBeenSet = false;
648
649 Aws::Utils::DateTime m_startingPositionTimestamp{};
650 bool m_startingPositionTimestampHasBeenSet = false;
651
652 DestinationConfig m_destinationConfig;
653 bool m_destinationConfigHasBeenSet = false;
654
655 int m_maximumRecordAgeInSeconds{0};
656 bool m_maximumRecordAgeInSecondsHasBeenSet = false;
657
658 bool m_bisectBatchOnFunctionError{false};
659 bool m_bisectBatchOnFunctionErrorHasBeenSet = false;
660
661 int m_maximumRetryAttempts{0};
662 bool m_maximumRetryAttemptsHasBeenSet = false;
663
665 bool m_tagsHasBeenSet = false;
666
667 int m_tumblingWindowInSeconds{0};
668 bool m_tumblingWindowInSecondsHasBeenSet = false;
669
671 bool m_topicsHasBeenSet = false;
672
674 bool m_queuesHasBeenSet = false;
675
676 Aws::Vector<SourceAccessConfiguration> m_sourceAccessConfigurations;
677 bool m_sourceAccessConfigurationsHasBeenSet = false;
678
679 SelfManagedEventSource m_selfManagedEventSource;
680 bool m_selfManagedEventSourceHasBeenSet = false;
681
682 Aws::Vector<FunctionResponseType> m_functionResponseTypes;
683 bool m_functionResponseTypesHasBeenSet = false;
684
685 AmazonManagedKafkaEventSourceConfig m_amazonManagedKafkaEventSourceConfig;
686 bool m_amazonManagedKafkaEventSourceConfigHasBeenSet = false;
687
688 SelfManagedKafkaEventSourceConfig m_selfManagedKafkaEventSourceConfig;
689 bool m_selfManagedKafkaEventSourceConfigHasBeenSet = false;
690
691 ScalingConfig m_scalingConfig;
692 bool m_scalingConfigHasBeenSet = false;
693
694 DocumentDBEventSourceConfig m_documentDBEventSourceConfig;
695 bool m_documentDBEventSourceConfigHasBeenSet = false;
696
697 Aws::String m_kMSKeyArn;
698 bool m_kMSKeyArnHasBeenSet = false;
699
700 EventSourceMappingMetricsConfig m_metricsConfig;
701 bool m_metricsConfigHasBeenSet = false;
702
703 ProvisionedPollerConfig m_provisionedPollerConfig;
704 bool m_provisionedPollerConfigHasBeenSet = false;
705};
706
707} // namespace Model
708} // namespace Lambda
709} // namespace Aws
CreateEventSourceMappingRequest & WithMetricsConfig(MetricsConfigT &&value)
CreateEventSourceMappingRequest & WithTumblingWindowInSeconds(int value)
CreateEventSourceMappingRequest & WithKMSKeyArn(KMSKeyArnT &&value)
CreateEventSourceMappingRequest & WithBatchSize(int value)
CreateEventSourceMappingRequest & WithEventSourceArn(EventSourceArnT &&value)
CreateEventSourceMappingRequest & AddFunctionResponseTypes(FunctionResponseType value)
CreateEventSourceMappingRequest & WithDestinationConfig(DestinationConfigT &&value)
CreateEventSourceMappingRequest & AddTags(TagsKeyT &&key, TagsValueT &&value)
CreateEventSourceMappingRequest & WithBisectBatchOnFunctionError(bool value)
const SelfManagedKafkaEventSourceConfig & GetSelfManagedKafkaEventSourceConfig() const
CreateEventSourceMappingRequest & WithTags(TagsT &&value)
CreateEventSourceMappingRequest & WithAmazonManagedKafkaEventSourceConfig(AmazonManagedKafkaEventSourceConfigT &&value)
CreateEventSourceMappingRequest & WithFilterCriteria(FilterCriteriaT &&value)
CreateEventSourceMappingRequest & WithQueues(QueuesT &&value)
void SetDocumentDBEventSourceConfig(DocumentDBEventSourceConfigT &&value)
CreateEventSourceMappingRequest & WithMaximumRecordAgeInSeconds(int value)
void SetAmazonManagedKafkaEventSourceConfig(AmazonManagedKafkaEventSourceConfigT &&value)
const AmazonManagedKafkaEventSourceConfig & GetAmazonManagedKafkaEventSourceConfig() const
const Aws::Map< Aws::String, Aws::String > & GetTags() const
AWS_LAMBDA_API CreateEventSourceMappingRequest()=default
CreateEventSourceMappingRequest & WithFunctionName(FunctionNameT &&value)
CreateEventSourceMappingRequest & AddQueues(QueuesT &&value)
const Aws::Vector< FunctionResponseType > & GetFunctionResponseTypes() const
void SetSourceAccessConfigurations(SourceAccessConfigurationsT &&value)
CreateEventSourceMappingRequest & WithMaximumBatchingWindowInSeconds(int value)
CreateEventSourceMappingRequest & WithParallelizationFactor(int value)
CreateEventSourceMappingRequest & WithSelfManagedKafkaEventSourceConfig(SelfManagedKafkaEventSourceConfigT &&value)
CreateEventSourceMappingRequest & WithStartingPosition(EventSourcePosition value)
CreateEventSourceMappingRequest & WithSelfManagedEventSource(SelfManagedEventSourceT &&value)
CreateEventSourceMappingRequest & WithScalingConfig(ScalingConfigT &&value)
CreateEventSourceMappingRequest & AddTopics(TopicsT &&value)
CreateEventSourceMappingRequest & AddSourceAccessConfigurations(SourceAccessConfigurationsT &&value)
AWS_LAMBDA_API Aws::String SerializePayload() const override
CreateEventSourceMappingRequest & WithTopics(TopicsT &&value)
CreateEventSourceMappingRequest & WithDocumentDBEventSourceConfig(DocumentDBEventSourceConfigT &&value)
void SetSelfManagedKafkaEventSourceConfig(SelfManagedKafkaEventSourceConfigT &&value)
const EventSourceMappingMetricsConfig & GetMetricsConfig() const
CreateEventSourceMappingRequest & WithMaximumRetryAttempts(int value)
const DocumentDBEventSourceConfig & GetDocumentDBEventSourceConfig() const
CreateEventSourceMappingRequest & WithStartingPositionTimestamp(StartingPositionTimestampT &&value)
CreateEventSourceMappingRequest & WithFunctionResponseTypes(FunctionResponseTypesT &&value)
const Aws::Vector< SourceAccessConfiguration > & GetSourceAccessConfigurations() const
CreateEventSourceMappingRequest & WithProvisionedPollerConfig(ProvisionedPollerConfigT &&value)
void SetStartingPositionTimestamp(StartingPositionTimestampT &&value)
CreateEventSourceMappingRequest & WithEnabled(bool value)
CreateEventSourceMappingRequest & WithSourceAccessConfigurations(SourceAccessConfigurationsT &&value)
std::map< K, V, std::less< K >, Aws::Allocator< std::pair< const K, V > > > Map
std::basic_string< char, std::char_traits< char >, Aws::Allocator< char > > String
std::vector< T, Aws::Allocator< T > > Vector