AWS SDK for C++

AWS SDK for C++ Version 1.11.841

Loading...
Searching...
No Matches
EventSourceMappingConfiguration.h
1
6#pragma once
7#include <aws/core/utils/DateTime.h>
8#include <aws/core/utils/memory/stl/AWSString.h>
9#include <aws/core/utils/memory/stl/AWSVector.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/EventSourceMappingLoggingConfig.h>
15#include <aws/lambda/model/EventSourceMappingMetricsConfig.h>
16#include <aws/lambda/model/EventSourcePosition.h>
17#include <aws/lambda/model/FilterCriteria.h>
18#include <aws/lambda/model/FilterCriteriaError.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 Utils {
30namespace Json {
31class JsonValue;
32class JsonView;
33} // namespace Json
34} // namespace Utils
35namespace Lambda {
36namespace Model {
37
45 public:
46 AWS_LAMBDA_API EventSourceMappingConfiguration() = default;
49 AWS_LAMBDA_API Aws::Utils::Json::JsonValue Jsonize() const;
50
52
55 inline const Aws::String& GetUUID() const { return m_uUID; }
56 inline bool UUIDHasBeenSet() const { return m_uUIDHasBeenSet; }
57 template <typename UUIDT = Aws::String>
58 void SetUUID(UUIDT&& value) {
59 m_uUIDHasBeenSet = true;
60 m_uUID = std::forward<UUIDT>(value);
61 }
62 template <typename UUIDT = Aws::String>
64 SetUUID(std::forward<UUIDT>(value));
65 return *this;
66 }
68
70
76 inline EventSourcePosition GetStartingPosition() const { return m_startingPosition; }
77 inline bool StartingPositionHasBeenSet() const { return m_startingPositionHasBeenSet; }
79 m_startingPositionHasBeenSet = true;
80 m_startingPosition = value;
81 }
84 return *this;
85 }
87
89
94 inline const Aws::Utils::DateTime& GetStartingPositionTimestamp() const { return m_startingPositionTimestamp; }
95 inline bool StartingPositionTimestampHasBeenSet() const { return m_startingPositionTimestampHasBeenSet; }
96 template <typename StartingPositionTimestampT = Aws::Utils::DateTime>
97 void SetStartingPositionTimestamp(StartingPositionTimestampT&& value) {
98 m_startingPositionTimestampHasBeenSet = true;
99 m_startingPositionTimestamp = std::forward<StartingPositionTimestampT>(value);
100 }
101 template <typename StartingPositionTimestampT = Aws::Utils::DateTime>
103 SetStartingPositionTimestamp(std::forward<StartingPositionTimestampT>(value));
104 return *this;
105 }
107
109
118 inline int GetBatchSize() const { return m_batchSize; }
119 inline bool BatchSizeHasBeenSet() const { return m_batchSizeHasBeenSet; }
120 inline void SetBatchSize(int value) {
121 m_batchSizeHasBeenSet = true;
122 m_batchSize = value;
123 }
125 SetBatchSize(value);
126 return *this;
127 }
129
131
146 inline int GetMaximumBatchingWindowInSeconds() const { return m_maximumBatchingWindowInSeconds; }
147 inline bool MaximumBatchingWindowInSecondsHasBeenSet() const { return m_maximumBatchingWindowInSecondsHasBeenSet; }
148 inline void SetMaximumBatchingWindowInSeconds(int value) {
149 m_maximumBatchingWindowInSecondsHasBeenSet = true;
150 m_maximumBatchingWindowInSeconds = value;
151 }
154 return *this;
155 }
157
159
163 inline int GetParallelizationFactor() const { return m_parallelizationFactor; }
164 inline bool ParallelizationFactorHasBeenSet() const { return m_parallelizationFactorHasBeenSet; }
165 inline void SetParallelizationFactor(int value) {
166 m_parallelizationFactorHasBeenSet = true;
167 m_parallelizationFactor = value;
168 }
171 return *this;
172 }
174
176
179 inline const Aws::String& GetEventSourceArn() const { return m_eventSourceArn; }
180 inline bool EventSourceArnHasBeenSet() const { return m_eventSourceArnHasBeenSet; }
181 template <typename EventSourceArnT = Aws::String>
182 void SetEventSourceArn(EventSourceArnT&& value) {
183 m_eventSourceArnHasBeenSet = true;
184 m_eventSourceArn = std::forward<EventSourceArnT>(value);
185 }
186 template <typename EventSourceArnT = Aws::String>
188 SetEventSourceArn(std::forward<EventSourceArnT>(value));
189 return *this;
190 }
192
194
204 inline const FilterCriteria& GetFilterCriteria() const { return m_filterCriteria; }
205 inline bool FilterCriteriaHasBeenSet() const { return m_filterCriteriaHasBeenSet; }
206 template <typename FilterCriteriaT = FilterCriteria>
207 void SetFilterCriteria(FilterCriteriaT&& value) {
208 m_filterCriteriaHasBeenSet = true;
209 m_filterCriteria = std::forward<FilterCriteriaT>(value);
210 }
211 template <typename FilterCriteriaT = FilterCriteria>
213 SetFilterCriteria(std::forward<FilterCriteriaT>(value));
214 return *this;
215 }
217
219
223 inline const FilterCriteriaError& GetFilterCriteriaError() const { return m_filterCriteriaError; }
224 inline bool FilterCriteriaErrorHasBeenSet() const { return m_filterCriteriaErrorHasBeenSet; }
225 template <typename FilterCriteriaErrorT = FilterCriteriaError>
226 void SetFilterCriteriaError(FilterCriteriaErrorT&& value) {
227 m_filterCriteriaErrorHasBeenSet = true;
228 m_filterCriteriaError = std::forward<FilterCriteriaErrorT>(value);
229 }
230 template <typename FilterCriteriaErrorT = FilterCriteriaError>
232 SetFilterCriteriaError(std::forward<FilterCriteriaErrorT>(value));
233 return *this;
234 }
236
238
244 inline const Aws::String& GetKMSKeyArn() const { return m_kMSKeyArn; }
245 inline bool KMSKeyArnHasBeenSet() const { return m_kMSKeyArnHasBeenSet; }
246 template <typename KMSKeyArnT = Aws::String>
247 void SetKMSKeyArn(KMSKeyArnT&& value) {
248 m_kMSKeyArnHasBeenSet = true;
249 m_kMSKeyArn = std::forward<KMSKeyArnT>(value);
250 }
251 template <typename KMSKeyArnT = Aws::String>
253 SetKMSKeyArn(std::forward<KMSKeyArnT>(value));
254 return *this;
255 }
257
259
264 inline const EventSourceMappingMetricsConfig& GetMetricsConfig() const { return m_metricsConfig; }
265 inline bool MetricsConfigHasBeenSet() const { return m_metricsConfigHasBeenSet; }
266 template <typename MetricsConfigT = EventSourceMappingMetricsConfig>
267 void SetMetricsConfig(MetricsConfigT&& value) {
268 m_metricsConfigHasBeenSet = true;
269 m_metricsConfig = std::forward<MetricsConfigT>(value);
270 }
271 template <typename MetricsConfigT = EventSourceMappingMetricsConfig>
273 SetMetricsConfig(std::forward<MetricsConfigT>(value));
274 return *this;
275 }
277
279
285 inline const EventSourceMappingLoggingConfig& GetLoggingConfig() const { return m_loggingConfig; }
286 inline bool LoggingConfigHasBeenSet() const { return m_loggingConfigHasBeenSet; }
287 template <typename LoggingConfigT = EventSourceMappingLoggingConfig>
288 void SetLoggingConfig(LoggingConfigT&& value) {
289 m_loggingConfigHasBeenSet = true;
290 m_loggingConfig = std::forward<LoggingConfigT>(value);
291 }
292 template <typename LoggingConfigT = EventSourceMappingLoggingConfig>
294 SetLoggingConfig(std::forward<LoggingConfigT>(value));
295 return *this;
296 }
298
300
306 inline const ScalingConfig& GetScalingConfig() const { return m_scalingConfig; }
307 inline bool ScalingConfigHasBeenSet() const { return m_scalingConfigHasBeenSet; }
308 template <typename ScalingConfigT = ScalingConfig>
309 void SetScalingConfig(ScalingConfigT&& value) {
310 m_scalingConfigHasBeenSet = true;
311 m_scalingConfig = std::forward<ScalingConfigT>(value);
312 }
313 template <typename ScalingConfigT = ScalingConfig>
315 SetScalingConfig(std::forward<ScalingConfigT>(value));
316 return *this;
317 }
319
321
324 inline const Aws::String& GetFunctionArn() const { return m_functionArn; }
325 inline bool FunctionArnHasBeenSet() const { return m_functionArnHasBeenSet; }
326 template <typename FunctionArnT = Aws::String>
327 void SetFunctionArn(FunctionArnT&& value) {
328 m_functionArnHasBeenSet = true;
329 m_functionArn = std::forward<FunctionArnT>(value);
330 }
331 template <typename FunctionArnT = Aws::String>
333 SetFunctionArn(std::forward<FunctionArnT>(value));
334 return *this;
335 }
337
339
343 inline const Aws::Utils::DateTime& GetLastModified() const { return m_lastModified; }
344 inline bool LastModifiedHasBeenSet() const { return m_lastModifiedHasBeenSet; }
345 template <typename LastModifiedT = Aws::Utils::DateTime>
346 void SetLastModified(LastModifiedT&& value) {
347 m_lastModifiedHasBeenSet = true;
348 m_lastModified = std::forward<LastModifiedT>(value);
349 }
350 template <typename LastModifiedT = Aws::Utils::DateTime>
352 SetLastModified(std::forward<LastModifiedT>(value));
353 return *this;
354 }
356
358
361 inline const Aws::String& GetLastProcessingResult() const { return m_lastProcessingResult; }
362 inline bool LastProcessingResultHasBeenSet() const { return m_lastProcessingResultHasBeenSet; }
363 template <typename LastProcessingResultT = Aws::String>
364 void SetLastProcessingResult(LastProcessingResultT&& value) {
365 m_lastProcessingResultHasBeenSet = true;
366 m_lastProcessingResult = std::forward<LastProcessingResultT>(value);
367 }
368 template <typename LastProcessingResultT = Aws::String>
370 SetLastProcessingResult(std::forward<LastProcessingResultT>(value));
371 return *this;
372 }
374
376
382 inline const Aws::String& GetState() const { return m_state; }
383 inline bool StateHasBeenSet() const { return m_stateHasBeenSet; }
384 template <typename StateT = Aws::String>
385 void SetState(StateT&& value) {
386 m_stateHasBeenSet = true;
387 m_state = std::forward<StateT>(value);
388 }
389 template <typename StateT = Aws::String>
391 SetState(std::forward<StateT>(value));
392 return *this;
393 }
395
397
401 inline const Aws::String& GetStateTransitionReason() const { return m_stateTransitionReason; }
402 inline bool StateTransitionReasonHasBeenSet() const { return m_stateTransitionReasonHasBeenSet; }
403 template <typename StateTransitionReasonT = Aws::String>
404 void SetStateTransitionReason(StateTransitionReasonT&& value) {
405 m_stateTransitionReasonHasBeenSet = true;
406 m_stateTransitionReason = std::forward<StateTransitionReasonT>(value);
407 }
408 template <typename StateTransitionReasonT = Aws::String>
410 SetStateTransitionReason(std::forward<StateTransitionReasonT>(value));
411 return *this;
412 }
414
416
421 inline const DestinationConfig& GetDestinationConfig() const { return m_destinationConfig; }
422 inline bool DestinationConfigHasBeenSet() const { return m_destinationConfigHasBeenSet; }
423 template <typename DestinationConfigT = DestinationConfig>
424 void SetDestinationConfig(DestinationConfigT&& value) {
425 m_destinationConfigHasBeenSet = true;
426 m_destinationConfig = std::forward<DestinationConfigT>(value);
427 }
428 template <typename DestinationConfigT = DestinationConfig>
430 SetDestinationConfig(std::forward<DestinationConfigT>(value));
431 return *this;
432 }
434
436
439 inline const Aws::Vector<Aws::String>& GetTopics() const { return m_topics; }
440 inline bool TopicsHasBeenSet() const { return m_topicsHasBeenSet; }
441 template <typename TopicsT = Aws::Vector<Aws::String>>
442 void SetTopics(TopicsT&& value) {
443 m_topicsHasBeenSet = true;
444 m_topics = std::forward<TopicsT>(value);
445 }
446 template <typename TopicsT = Aws::Vector<Aws::String>>
448 SetTopics(std::forward<TopicsT>(value));
449 return *this;
450 }
451 template <typename TopicsT = Aws::String>
453 m_topicsHasBeenSet = true;
454 m_topics.emplace_back(std::forward<TopicsT>(value));
455 return *this;
456 }
458
460
464 inline const Aws::Vector<Aws::String>& GetQueues() const { return m_queues; }
465 inline bool QueuesHasBeenSet() const { return m_queuesHasBeenSet; }
466 template <typename QueuesT = Aws::Vector<Aws::String>>
467 void SetQueues(QueuesT&& value) {
468 m_queuesHasBeenSet = true;
469 m_queues = std::forward<QueuesT>(value);
470 }
471 template <typename QueuesT = Aws::Vector<Aws::String>>
473 SetQueues(std::forward<QueuesT>(value));
474 return *this;
475 }
476 template <typename QueuesT = Aws::String>
478 m_queuesHasBeenSet = true;
479 m_queues.emplace_back(std::forward<QueuesT>(value));
480 return *this;
481 }
483
485
489 inline const Aws::Vector<SourceAccessConfiguration>& GetSourceAccessConfigurations() const { return m_sourceAccessConfigurations; }
490 inline bool SourceAccessConfigurationsHasBeenSet() const { return m_sourceAccessConfigurationsHasBeenSet; }
491 template <typename SourceAccessConfigurationsT = Aws::Vector<SourceAccessConfiguration>>
492 void SetSourceAccessConfigurations(SourceAccessConfigurationsT&& value) {
493 m_sourceAccessConfigurationsHasBeenSet = true;
494 m_sourceAccessConfigurations = std::forward<SourceAccessConfigurationsT>(value);
495 }
496 template <typename SourceAccessConfigurationsT = Aws::Vector<SourceAccessConfiguration>>
498 SetSourceAccessConfigurations(std::forward<SourceAccessConfigurationsT>(value));
499 return *this;
500 }
501 template <typename SourceAccessConfigurationsT = SourceAccessConfiguration>
503 m_sourceAccessConfigurationsHasBeenSet = true;
504 m_sourceAccessConfigurations.emplace_back(std::forward<SourceAccessConfigurationsT>(value));
505 return *this;
506 }
508
510
513 inline const SelfManagedEventSource& GetSelfManagedEventSource() const { return m_selfManagedEventSource; }
514 inline bool SelfManagedEventSourceHasBeenSet() const { return m_selfManagedEventSourceHasBeenSet; }
515 template <typename SelfManagedEventSourceT = SelfManagedEventSource>
516 void SetSelfManagedEventSource(SelfManagedEventSourceT&& value) {
517 m_selfManagedEventSourceHasBeenSet = true;
518 m_selfManagedEventSource = std::forward<SelfManagedEventSourceT>(value);
519 }
520 template <typename SelfManagedEventSourceT = SelfManagedEventSource>
522 SetSelfManagedEventSource(std::forward<SelfManagedEventSourceT>(value));
523 return *this;
524 }
526
528
536 inline int GetMaximumRecordAgeInSeconds() const { return m_maximumRecordAgeInSeconds; }
537 inline bool MaximumRecordAgeInSecondsHasBeenSet() const { return m_maximumRecordAgeInSecondsHasBeenSet; }
538 inline void SetMaximumRecordAgeInSeconds(int value) {
539 m_maximumRecordAgeInSecondsHasBeenSet = true;
540 m_maximumRecordAgeInSeconds = value;
541 }
544 return *this;
545 }
547
549
554 inline bool GetBisectBatchOnFunctionError() const { return m_bisectBatchOnFunctionError; }
555 inline bool BisectBatchOnFunctionErrorHasBeenSet() const { return m_bisectBatchOnFunctionErrorHasBeenSet; }
556 inline void SetBisectBatchOnFunctionError(bool value) {
557 m_bisectBatchOnFunctionErrorHasBeenSet = true;
558 m_bisectBatchOnFunctionError = value;
559 }
562 return *this;
563 }
565
567
574 inline int GetMaximumRetryAttempts() const { return m_maximumRetryAttempts; }
575 inline bool MaximumRetryAttemptsHasBeenSet() const { return m_maximumRetryAttemptsHasBeenSet; }
576 inline void SetMaximumRetryAttempts(int value) {
577 m_maximumRetryAttemptsHasBeenSet = true;
578 m_maximumRetryAttempts = value;
579 }
582 return *this;
583 }
585
587
592 inline int GetTumblingWindowInSeconds() const { return m_tumblingWindowInSeconds; }
593 inline bool TumblingWindowInSecondsHasBeenSet() const { return m_tumblingWindowInSecondsHasBeenSet; }
594 inline void SetTumblingWindowInSeconds(int value) {
595 m_tumblingWindowInSecondsHasBeenSet = true;
596 m_tumblingWindowInSeconds = value;
597 }
600 return *this;
601 }
603
605
610 inline const Aws::Vector<FunctionResponseType>& GetFunctionResponseTypes() const { return m_functionResponseTypes; }
611 inline bool FunctionResponseTypesHasBeenSet() const { return m_functionResponseTypesHasBeenSet; }
612 template <typename FunctionResponseTypesT = Aws::Vector<FunctionResponseType>>
613 void SetFunctionResponseTypes(FunctionResponseTypesT&& value) {
614 m_functionResponseTypesHasBeenSet = true;
615 m_functionResponseTypes = std::forward<FunctionResponseTypesT>(value);
616 }
617 template <typename FunctionResponseTypesT = Aws::Vector<FunctionResponseType>>
619 SetFunctionResponseTypes(std::forward<FunctionResponseTypesT>(value));
620 return *this;
621 }
623 m_functionResponseTypesHasBeenSet = true;
624 m_functionResponseTypes.push_back(value);
625 return *this;
626 }
628
630
635 return m_amazonManagedKafkaEventSourceConfig;
636 }
637 inline bool AmazonManagedKafkaEventSourceConfigHasBeenSet() const { return m_amazonManagedKafkaEventSourceConfigHasBeenSet; }
638 template <typename AmazonManagedKafkaEventSourceConfigT = AmazonManagedKafkaEventSourceConfig>
639 void SetAmazonManagedKafkaEventSourceConfig(AmazonManagedKafkaEventSourceConfigT&& value) {
640 m_amazonManagedKafkaEventSourceConfigHasBeenSet = true;
641 m_amazonManagedKafkaEventSourceConfig = std::forward<AmazonManagedKafkaEventSourceConfigT>(value);
642 }
643 template <typename AmazonManagedKafkaEventSourceConfigT = AmazonManagedKafkaEventSourceConfig>
644 EventSourceMappingConfiguration& WithAmazonManagedKafkaEventSourceConfig(AmazonManagedKafkaEventSourceConfigT&& value) {
645 SetAmazonManagedKafkaEventSourceConfig(std::forward<AmazonManagedKafkaEventSourceConfigT>(value));
646 return *this;
647 }
649
651
656 return m_selfManagedKafkaEventSourceConfig;
657 }
658 inline bool SelfManagedKafkaEventSourceConfigHasBeenSet() const { return m_selfManagedKafkaEventSourceConfigHasBeenSet; }
659 template <typename SelfManagedKafkaEventSourceConfigT = SelfManagedKafkaEventSourceConfig>
660 void SetSelfManagedKafkaEventSourceConfig(SelfManagedKafkaEventSourceConfigT&& value) {
661 m_selfManagedKafkaEventSourceConfigHasBeenSet = true;
662 m_selfManagedKafkaEventSourceConfig = std::forward<SelfManagedKafkaEventSourceConfigT>(value);
663 }
664 template <typename SelfManagedKafkaEventSourceConfigT = SelfManagedKafkaEventSourceConfig>
665 EventSourceMappingConfiguration& WithSelfManagedKafkaEventSourceConfig(SelfManagedKafkaEventSourceConfigT&& value) {
666 SetSelfManagedKafkaEventSourceConfig(std::forward<SelfManagedKafkaEventSourceConfigT>(value));
667 return *this;
668 }
670
672
675 inline const DocumentDBEventSourceConfig& GetDocumentDBEventSourceConfig() const { return m_documentDBEventSourceConfig; }
676 inline bool DocumentDBEventSourceConfigHasBeenSet() const { return m_documentDBEventSourceConfigHasBeenSet; }
677 template <typename DocumentDBEventSourceConfigT = DocumentDBEventSourceConfig>
678 void SetDocumentDBEventSourceConfig(DocumentDBEventSourceConfigT&& value) {
679 m_documentDBEventSourceConfigHasBeenSet = true;
680 m_documentDBEventSourceConfig = std::forward<DocumentDBEventSourceConfigT>(value);
681 }
682 template <typename DocumentDBEventSourceConfigT = DocumentDBEventSourceConfig>
684 SetDocumentDBEventSourceConfig(std::forward<DocumentDBEventSourceConfigT>(value));
685 return *this;
686 }
688
690
693 inline const Aws::String& GetEventSourceMappingArn() const { return m_eventSourceMappingArn; }
694 inline bool EventSourceMappingArnHasBeenSet() const { return m_eventSourceMappingArnHasBeenSet; }
695 template <typename EventSourceMappingArnT = Aws::String>
696 void SetEventSourceMappingArn(EventSourceMappingArnT&& value) {
697 m_eventSourceMappingArnHasBeenSet = true;
698 m_eventSourceMappingArn = std::forward<EventSourceMappingArnT>(value);
699 }
700 template <typename EventSourceMappingArnT = Aws::String>
702 SetEventSourceMappingArn(std::forward<EventSourceMappingArnT>(value));
703 return *this;
704 }
706
708
714 inline const ProvisionedPollerConfig& GetProvisionedPollerConfig() const { return m_provisionedPollerConfig; }
715 inline bool ProvisionedPollerConfigHasBeenSet() const { return m_provisionedPollerConfigHasBeenSet; }
716 template <typename ProvisionedPollerConfigT = ProvisionedPollerConfig>
717 void SetProvisionedPollerConfig(ProvisionedPollerConfigT&& value) {
718 m_provisionedPollerConfigHasBeenSet = true;
719 m_provisionedPollerConfig = std::forward<ProvisionedPollerConfigT>(value);
720 }
721 template <typename ProvisionedPollerConfigT = ProvisionedPollerConfig>
723 SetProvisionedPollerConfig(std::forward<ProvisionedPollerConfigT>(value));
724 return *this;
725 }
727
729
730 inline const Aws::String& GetRequestId() const { return m_requestId; }
731 inline bool RequestIdHasBeenSet() const { return m_requestIdHasBeenSet; }
732 template <typename RequestIdT = Aws::String>
733 void SetRequestId(RequestIdT&& value) {
734 m_requestIdHasBeenSet = true;
735 m_requestId = std::forward<RequestIdT>(value);
736 }
737 template <typename RequestIdT = Aws::String>
739 SetRequestId(std::forward<RequestIdT>(value));
740 return *this;
741 }
743 private:
744 Aws::String m_uUID;
745
747
748 Aws::Utils::DateTime m_startingPositionTimestamp{};
749
750 int m_batchSize{0};
751
752 int m_maximumBatchingWindowInSeconds{0};
753
754 int m_parallelizationFactor{0};
755
756 Aws::String m_eventSourceArn;
757
758 FilterCriteria m_filterCriteria;
759
760 FilterCriteriaError m_filterCriteriaError;
761
762 Aws::String m_kMSKeyArn;
763
764 EventSourceMappingMetricsConfig m_metricsConfig;
765
766 EventSourceMappingLoggingConfig m_loggingConfig;
767
768 ScalingConfig m_scalingConfig;
769
770 Aws::String m_functionArn;
771
772 Aws::Utils::DateTime m_lastModified{};
773
774 Aws::String m_lastProcessingResult;
775
776 Aws::String m_state;
777
778 Aws::String m_stateTransitionReason;
779
780 DestinationConfig m_destinationConfig;
781
783
785
786 Aws::Vector<SourceAccessConfiguration> m_sourceAccessConfigurations;
787
788 SelfManagedEventSource m_selfManagedEventSource;
789
790 int m_maximumRecordAgeInSeconds{0};
791
792 bool m_bisectBatchOnFunctionError{false};
793
794 int m_maximumRetryAttempts{0};
795
796 int m_tumblingWindowInSeconds{0};
797
798 Aws::Vector<FunctionResponseType> m_functionResponseTypes;
799
800 AmazonManagedKafkaEventSourceConfig m_amazonManagedKafkaEventSourceConfig;
801
802 SelfManagedKafkaEventSourceConfig m_selfManagedKafkaEventSourceConfig;
803
804 DocumentDBEventSourceConfig m_documentDBEventSourceConfig;
805
806 Aws::String m_eventSourceMappingArn;
807
808 ProvisionedPollerConfig m_provisionedPollerConfig;
809
810 Aws::String m_requestId;
811 bool m_uUIDHasBeenSet = false;
812 bool m_startingPositionHasBeenSet = false;
813 bool m_startingPositionTimestampHasBeenSet = false;
814 bool m_batchSizeHasBeenSet = false;
815 bool m_maximumBatchingWindowInSecondsHasBeenSet = false;
816 bool m_parallelizationFactorHasBeenSet = false;
817 bool m_eventSourceArnHasBeenSet = false;
818 bool m_filterCriteriaHasBeenSet = false;
819 bool m_filterCriteriaErrorHasBeenSet = false;
820 bool m_kMSKeyArnHasBeenSet = false;
821 bool m_metricsConfigHasBeenSet = false;
822 bool m_loggingConfigHasBeenSet = false;
823 bool m_scalingConfigHasBeenSet = false;
824 bool m_functionArnHasBeenSet = false;
825 bool m_lastModifiedHasBeenSet = false;
826 bool m_lastProcessingResultHasBeenSet = false;
827 bool m_stateHasBeenSet = false;
828 bool m_stateTransitionReasonHasBeenSet = false;
829 bool m_destinationConfigHasBeenSet = false;
830 bool m_topicsHasBeenSet = false;
831 bool m_queuesHasBeenSet = false;
832 bool m_sourceAccessConfigurationsHasBeenSet = false;
833 bool m_selfManagedEventSourceHasBeenSet = false;
834 bool m_maximumRecordAgeInSecondsHasBeenSet = false;
835 bool m_bisectBatchOnFunctionErrorHasBeenSet = false;
836 bool m_maximumRetryAttemptsHasBeenSet = false;
837 bool m_tumblingWindowInSecondsHasBeenSet = false;
838 bool m_functionResponseTypesHasBeenSet = false;
839 bool m_amazonManagedKafkaEventSourceConfigHasBeenSet = false;
840 bool m_selfManagedKafkaEventSourceConfigHasBeenSet = false;
841 bool m_documentDBEventSourceConfigHasBeenSet = false;
842 bool m_eventSourceMappingArnHasBeenSet = false;
843 bool m_provisionedPollerConfigHasBeenSet = false;
844 bool m_requestIdHasBeenSet = false;
845};
846
847} // namespace Model
848} // namespace Lambda
849} // namespace Aws
EventSourceMappingConfiguration & WithDestinationConfig(DestinationConfigT &&value)
const DocumentDBEventSourceConfig & GetDocumentDBEventSourceConfig() const
AWS_LAMBDA_API Aws::Utils::Json::JsonValue Jsonize() const
EventSourceMappingConfiguration & WithState(StateT &&value)
EventSourceMappingConfiguration & WithDocumentDBEventSourceConfig(DocumentDBEventSourceConfigT &&value)
const Aws::Vector< FunctionResponseType > & GetFunctionResponseTypes() const
EventSourceMappingConfiguration & WithQueues(QueuesT &&value)
EventSourceMappingConfiguration & WithFunctionArn(FunctionArnT &&value)
const SelfManagedKafkaEventSourceConfig & GetSelfManagedKafkaEventSourceConfig() const
const AmazonManagedKafkaEventSourceConfig & GetAmazonManagedKafkaEventSourceConfig() const
EventSourceMappingConfiguration & AddSourceAccessConfigurations(SourceAccessConfigurationsT &&value)
EventSourceMappingConfiguration & WithSourceAccessConfigurations(SourceAccessConfigurationsT &&value)
EventSourceMappingConfiguration & WithMetricsConfig(MetricsConfigT &&value)
EventSourceMappingConfiguration & WithFilterCriteriaError(FilterCriteriaErrorT &&value)
const EventSourceMappingLoggingConfig & GetLoggingConfig() const
EventSourceMappingConfiguration & AddFunctionResponseTypes(FunctionResponseType value)
EventSourceMappingConfiguration & WithMaximumBatchingWindowInSeconds(int value)
void SetStartingPositionTimestamp(StartingPositionTimestampT &&value)
EventSourceMappingConfiguration & WithFilterCriteria(FilterCriteriaT &&value)
EventSourceMappingConfiguration & WithBatchSize(int value)
EventSourceMappingConfiguration & WithParallelizationFactor(int value)
EventSourceMappingConfiguration & WithKMSKeyArn(KMSKeyArnT &&value)
const Aws::Vector< SourceAccessConfiguration > & GetSourceAccessConfigurations() const
EventSourceMappingConfiguration & WithTopics(TopicsT &&value)
EventSourceMappingConfiguration & WithMaximumRecordAgeInSeconds(int value)
EventSourceMappingConfiguration & WithAmazonManagedKafkaEventSourceConfig(AmazonManagedKafkaEventSourceConfigT &&value)
EventSourceMappingConfiguration & AddQueues(QueuesT &&value)
EventSourceMappingConfiguration & WithSelfManagedKafkaEventSourceConfig(SelfManagedKafkaEventSourceConfigT &&value)
EventSourceMappingConfiguration & WithStateTransitionReason(StateTransitionReasonT &&value)
EventSourceMappingConfiguration & WithSelfManagedEventSource(SelfManagedEventSourceT &&value)
EventSourceMappingConfiguration & WithStartingPositionTimestamp(StartingPositionTimestampT &&value)
AWS_LAMBDA_API EventSourceMappingConfiguration & operator=(Aws::Utils::Json::JsonView jsonValue)
AWS_LAMBDA_API EventSourceMappingConfiguration(Aws::Utils::Json::JsonView jsonValue)
EventSourceMappingConfiguration & WithProvisionedPollerConfig(ProvisionedPollerConfigT &&value)
void SetAmazonManagedKafkaEventSourceConfig(AmazonManagedKafkaEventSourceConfigT &&value)
EventSourceMappingConfiguration & WithFunctionResponseTypes(FunctionResponseTypesT &&value)
EventSourceMappingConfiguration & WithEventSourceMappingArn(EventSourceMappingArnT &&value)
EventSourceMappingConfiguration & AddTopics(TopicsT &&value)
void SetSourceAccessConfigurations(SourceAccessConfigurationsT &&value)
EventSourceMappingConfiguration & WithEventSourceArn(EventSourceArnT &&value)
const EventSourceMappingMetricsConfig & GetMetricsConfig() const
EventSourceMappingConfiguration & WithUUID(UUIDT &&value)
EventSourceMappingConfiguration & WithLastProcessingResult(LastProcessingResultT &&value)
AWS_LAMBDA_API EventSourceMappingConfiguration()=default
EventSourceMappingConfiguration & WithRequestId(RequestIdT &&value)
EventSourceMappingConfiguration & WithLoggingConfig(LoggingConfigT &&value)
EventSourceMappingConfiguration & WithTumblingWindowInSeconds(int value)
EventSourceMappingConfiguration & WithLastModified(LastModifiedT &&value)
EventSourceMappingConfiguration & WithMaximumRetryAttempts(int value)
void SetSelfManagedKafkaEventSourceConfig(SelfManagedKafkaEventSourceConfigT &&value)
void SetDocumentDBEventSourceConfig(DocumentDBEventSourceConfigT &&value)
EventSourceMappingConfiguration & WithStartingPosition(EventSourcePosition value)
EventSourceMappingConfiguration & WithScalingConfig(ScalingConfigT &&value)
EventSourceMappingConfiguration & WithBisectBatchOnFunctionError(bool value)
std::basic_string< char, std::char_traits< char >, Aws::Allocator< char > > String
std::vector< T, Aws::Allocator< T > > Vector
Aws::Utils::Json::JsonValue JsonValue