AWS SDK for C++

AWS SDK for C++ Version 1.11.743

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
222 inline const Aws::String& GetFunctionArn() const { return m_functionArn; }
223 inline bool FunctionArnHasBeenSet() const { return m_functionArnHasBeenSet; }
224 template <typename FunctionArnT = Aws::String>
225 void SetFunctionArn(FunctionArnT&& value) {
226 m_functionArnHasBeenSet = true;
227 m_functionArn = std::forward<FunctionArnT>(value);
228 }
229 template <typename FunctionArnT = Aws::String>
231 SetFunctionArn(std::forward<FunctionArnT>(value));
232 return *this;
233 }
235
237
241 inline const Aws::Utils::DateTime& GetLastModified() const { return m_lastModified; }
242 inline bool LastModifiedHasBeenSet() const { return m_lastModifiedHasBeenSet; }
243 template <typename LastModifiedT = Aws::Utils::DateTime>
244 void SetLastModified(LastModifiedT&& value) {
245 m_lastModifiedHasBeenSet = true;
246 m_lastModified = std::forward<LastModifiedT>(value);
247 }
248 template <typename LastModifiedT = Aws::Utils::DateTime>
250 SetLastModified(std::forward<LastModifiedT>(value));
251 return *this;
252 }
254
256
259 inline const Aws::String& GetLastProcessingResult() const { return m_lastProcessingResult; }
260 inline bool LastProcessingResultHasBeenSet() const { return m_lastProcessingResultHasBeenSet; }
261 template <typename LastProcessingResultT = Aws::String>
262 void SetLastProcessingResult(LastProcessingResultT&& value) {
263 m_lastProcessingResultHasBeenSet = true;
264 m_lastProcessingResult = std::forward<LastProcessingResultT>(value);
265 }
266 template <typename LastProcessingResultT = Aws::String>
268 SetLastProcessingResult(std::forward<LastProcessingResultT>(value));
269 return *this;
270 }
272
274
280 inline const Aws::String& GetState() const { return m_state; }
281 inline bool StateHasBeenSet() const { return m_stateHasBeenSet; }
282 template <typename StateT = Aws::String>
283 void SetState(StateT&& value) {
284 m_stateHasBeenSet = true;
285 m_state = std::forward<StateT>(value);
286 }
287 template <typename StateT = Aws::String>
289 SetState(std::forward<StateT>(value));
290 return *this;
291 }
293
295
299 inline const Aws::String& GetStateTransitionReason() const { return m_stateTransitionReason; }
300 inline bool StateTransitionReasonHasBeenSet() const { return m_stateTransitionReasonHasBeenSet; }
301 template <typename StateTransitionReasonT = Aws::String>
302 void SetStateTransitionReason(StateTransitionReasonT&& value) {
303 m_stateTransitionReasonHasBeenSet = true;
304 m_stateTransitionReason = std::forward<StateTransitionReasonT>(value);
305 }
306 template <typename StateTransitionReasonT = Aws::String>
308 SetStateTransitionReason(std::forward<StateTransitionReasonT>(value));
309 return *this;
310 }
312
314
319 inline const DestinationConfig& GetDestinationConfig() const { return m_destinationConfig; }
320 inline bool DestinationConfigHasBeenSet() const { return m_destinationConfigHasBeenSet; }
321 template <typename DestinationConfigT = DestinationConfig>
322 void SetDestinationConfig(DestinationConfigT&& value) {
323 m_destinationConfigHasBeenSet = true;
324 m_destinationConfig = std::forward<DestinationConfigT>(value);
325 }
326 template <typename DestinationConfigT = DestinationConfig>
328 SetDestinationConfig(std::forward<DestinationConfigT>(value));
329 return *this;
330 }
332
334
337 inline const Aws::Vector<Aws::String>& GetTopics() const { return m_topics; }
338 inline bool TopicsHasBeenSet() const { return m_topicsHasBeenSet; }
339 template <typename TopicsT = Aws::Vector<Aws::String>>
340 void SetTopics(TopicsT&& value) {
341 m_topicsHasBeenSet = true;
342 m_topics = std::forward<TopicsT>(value);
343 }
344 template <typename TopicsT = Aws::Vector<Aws::String>>
346 SetTopics(std::forward<TopicsT>(value));
347 return *this;
348 }
349 template <typename TopicsT = Aws::String>
351 m_topicsHasBeenSet = true;
352 m_topics.emplace_back(std::forward<TopicsT>(value));
353 return *this;
354 }
356
358
362 inline const Aws::Vector<Aws::String>& GetQueues() const { return m_queues; }
363 inline bool QueuesHasBeenSet() const { return m_queuesHasBeenSet; }
364 template <typename QueuesT = Aws::Vector<Aws::String>>
365 void SetQueues(QueuesT&& value) {
366 m_queuesHasBeenSet = true;
367 m_queues = std::forward<QueuesT>(value);
368 }
369 template <typename QueuesT = Aws::Vector<Aws::String>>
371 SetQueues(std::forward<QueuesT>(value));
372 return *this;
373 }
374 template <typename QueuesT = Aws::String>
376 m_queuesHasBeenSet = true;
377 m_queues.emplace_back(std::forward<QueuesT>(value));
378 return *this;
379 }
381
383
387 inline const Aws::Vector<SourceAccessConfiguration>& GetSourceAccessConfigurations() const { return m_sourceAccessConfigurations; }
388 inline bool SourceAccessConfigurationsHasBeenSet() const { return m_sourceAccessConfigurationsHasBeenSet; }
389 template <typename SourceAccessConfigurationsT = Aws::Vector<SourceAccessConfiguration>>
390 void SetSourceAccessConfigurations(SourceAccessConfigurationsT&& value) {
391 m_sourceAccessConfigurationsHasBeenSet = true;
392 m_sourceAccessConfigurations = std::forward<SourceAccessConfigurationsT>(value);
393 }
394 template <typename SourceAccessConfigurationsT = Aws::Vector<SourceAccessConfiguration>>
396 SetSourceAccessConfigurations(std::forward<SourceAccessConfigurationsT>(value));
397 return *this;
398 }
399 template <typename SourceAccessConfigurationsT = SourceAccessConfiguration>
401 m_sourceAccessConfigurationsHasBeenSet = true;
402 m_sourceAccessConfigurations.emplace_back(std::forward<SourceAccessConfigurationsT>(value));
403 return *this;
404 }
406
408
411 inline const SelfManagedEventSource& GetSelfManagedEventSource() const { return m_selfManagedEventSource; }
412 inline bool SelfManagedEventSourceHasBeenSet() const { return m_selfManagedEventSourceHasBeenSet; }
413 template <typename SelfManagedEventSourceT = SelfManagedEventSource>
414 void SetSelfManagedEventSource(SelfManagedEventSourceT&& value) {
415 m_selfManagedEventSourceHasBeenSet = true;
416 m_selfManagedEventSource = std::forward<SelfManagedEventSourceT>(value);
417 }
418 template <typename SelfManagedEventSourceT = SelfManagedEventSource>
420 SetSelfManagedEventSource(std::forward<SelfManagedEventSourceT>(value));
421 return *this;
422 }
424
426
434 inline int GetMaximumRecordAgeInSeconds() const { return m_maximumRecordAgeInSeconds; }
435 inline bool MaximumRecordAgeInSecondsHasBeenSet() const { return m_maximumRecordAgeInSecondsHasBeenSet; }
436 inline void SetMaximumRecordAgeInSeconds(int value) {
437 m_maximumRecordAgeInSecondsHasBeenSet = true;
438 m_maximumRecordAgeInSeconds = value;
439 }
442 return *this;
443 }
445
447
452 inline bool GetBisectBatchOnFunctionError() const { return m_bisectBatchOnFunctionError; }
453 inline bool BisectBatchOnFunctionErrorHasBeenSet() const { return m_bisectBatchOnFunctionErrorHasBeenSet; }
454 inline void SetBisectBatchOnFunctionError(bool value) {
455 m_bisectBatchOnFunctionErrorHasBeenSet = true;
456 m_bisectBatchOnFunctionError = value;
457 }
460 return *this;
461 }
463
465
472 inline int GetMaximumRetryAttempts() const { return m_maximumRetryAttempts; }
473 inline bool MaximumRetryAttemptsHasBeenSet() const { return m_maximumRetryAttemptsHasBeenSet; }
474 inline void SetMaximumRetryAttempts(int value) {
475 m_maximumRetryAttemptsHasBeenSet = true;
476 m_maximumRetryAttempts = value;
477 }
480 return *this;
481 }
483
485
490 inline int GetTumblingWindowInSeconds() const { return m_tumblingWindowInSeconds; }
491 inline bool TumblingWindowInSecondsHasBeenSet() const { return m_tumblingWindowInSecondsHasBeenSet; }
492 inline void SetTumblingWindowInSeconds(int value) {
493 m_tumblingWindowInSecondsHasBeenSet = true;
494 m_tumblingWindowInSeconds = value;
495 }
498 return *this;
499 }
501
503
508 inline const Aws::Vector<FunctionResponseType>& GetFunctionResponseTypes() const { return m_functionResponseTypes; }
509 inline bool FunctionResponseTypesHasBeenSet() const { return m_functionResponseTypesHasBeenSet; }
510 template <typename FunctionResponseTypesT = Aws::Vector<FunctionResponseType>>
511 void SetFunctionResponseTypes(FunctionResponseTypesT&& value) {
512 m_functionResponseTypesHasBeenSet = true;
513 m_functionResponseTypes = std::forward<FunctionResponseTypesT>(value);
514 }
515 template <typename FunctionResponseTypesT = Aws::Vector<FunctionResponseType>>
517 SetFunctionResponseTypes(std::forward<FunctionResponseTypesT>(value));
518 return *this;
519 }
521 m_functionResponseTypesHasBeenSet = true;
522 m_functionResponseTypes.push_back(value);
523 return *this;
524 }
526
528
533 return m_amazonManagedKafkaEventSourceConfig;
534 }
535 inline bool AmazonManagedKafkaEventSourceConfigHasBeenSet() const { return m_amazonManagedKafkaEventSourceConfigHasBeenSet; }
536 template <typename AmazonManagedKafkaEventSourceConfigT = AmazonManagedKafkaEventSourceConfig>
537 void SetAmazonManagedKafkaEventSourceConfig(AmazonManagedKafkaEventSourceConfigT&& value) {
538 m_amazonManagedKafkaEventSourceConfigHasBeenSet = true;
539 m_amazonManagedKafkaEventSourceConfig = std::forward<AmazonManagedKafkaEventSourceConfigT>(value);
540 }
541 template <typename AmazonManagedKafkaEventSourceConfigT = AmazonManagedKafkaEventSourceConfig>
542 EventSourceMappingConfiguration& WithAmazonManagedKafkaEventSourceConfig(AmazonManagedKafkaEventSourceConfigT&& value) {
543 SetAmazonManagedKafkaEventSourceConfig(std::forward<AmazonManagedKafkaEventSourceConfigT>(value));
544 return *this;
545 }
547
549
554 return m_selfManagedKafkaEventSourceConfig;
555 }
556 inline bool SelfManagedKafkaEventSourceConfigHasBeenSet() const { return m_selfManagedKafkaEventSourceConfigHasBeenSet; }
557 template <typename SelfManagedKafkaEventSourceConfigT = SelfManagedKafkaEventSourceConfig>
558 void SetSelfManagedKafkaEventSourceConfig(SelfManagedKafkaEventSourceConfigT&& value) {
559 m_selfManagedKafkaEventSourceConfigHasBeenSet = true;
560 m_selfManagedKafkaEventSourceConfig = std::forward<SelfManagedKafkaEventSourceConfigT>(value);
561 }
562 template <typename SelfManagedKafkaEventSourceConfigT = SelfManagedKafkaEventSourceConfig>
563 EventSourceMappingConfiguration& WithSelfManagedKafkaEventSourceConfig(SelfManagedKafkaEventSourceConfigT&& value) {
564 SetSelfManagedKafkaEventSourceConfig(std::forward<SelfManagedKafkaEventSourceConfigT>(value));
565 return *this;
566 }
568
570
576 inline const ScalingConfig& GetScalingConfig() const { return m_scalingConfig; }
577 inline bool ScalingConfigHasBeenSet() const { return m_scalingConfigHasBeenSet; }
578 template <typename ScalingConfigT = ScalingConfig>
579 void SetScalingConfig(ScalingConfigT&& value) {
580 m_scalingConfigHasBeenSet = true;
581 m_scalingConfig = std::forward<ScalingConfigT>(value);
582 }
583 template <typename ScalingConfigT = ScalingConfig>
585 SetScalingConfig(std::forward<ScalingConfigT>(value));
586 return *this;
587 }
589
591
594 inline const DocumentDBEventSourceConfig& GetDocumentDBEventSourceConfig() const { return m_documentDBEventSourceConfig; }
595 inline bool DocumentDBEventSourceConfigHasBeenSet() const { return m_documentDBEventSourceConfigHasBeenSet; }
596 template <typename DocumentDBEventSourceConfigT = DocumentDBEventSourceConfig>
597 void SetDocumentDBEventSourceConfig(DocumentDBEventSourceConfigT&& value) {
598 m_documentDBEventSourceConfigHasBeenSet = true;
599 m_documentDBEventSourceConfig = std::forward<DocumentDBEventSourceConfigT>(value);
600 }
601 template <typename DocumentDBEventSourceConfigT = DocumentDBEventSourceConfig>
603 SetDocumentDBEventSourceConfig(std::forward<DocumentDBEventSourceConfigT>(value));
604 return *this;
605 }
607
609
615 inline const Aws::String& GetKMSKeyArn() const { return m_kMSKeyArn; }
616 inline bool KMSKeyArnHasBeenSet() const { return m_kMSKeyArnHasBeenSet; }
617 template <typename KMSKeyArnT = Aws::String>
618 void SetKMSKeyArn(KMSKeyArnT&& value) {
619 m_kMSKeyArnHasBeenSet = true;
620 m_kMSKeyArn = std::forward<KMSKeyArnT>(value);
621 }
622 template <typename KMSKeyArnT = Aws::String>
624 SetKMSKeyArn(std::forward<KMSKeyArnT>(value));
625 return *this;
626 }
628
630
634 inline const FilterCriteriaError& GetFilterCriteriaError() const { return m_filterCriteriaError; }
635 inline bool FilterCriteriaErrorHasBeenSet() const { return m_filterCriteriaErrorHasBeenSet; }
636 template <typename FilterCriteriaErrorT = FilterCriteriaError>
637 void SetFilterCriteriaError(FilterCriteriaErrorT&& value) {
638 m_filterCriteriaErrorHasBeenSet = true;
639 m_filterCriteriaError = std::forward<FilterCriteriaErrorT>(value);
640 }
641 template <typename FilterCriteriaErrorT = FilterCriteriaError>
643 SetFilterCriteriaError(std::forward<FilterCriteriaErrorT>(value));
644 return *this;
645 }
647
649
652 inline const Aws::String& GetEventSourceMappingArn() const { return m_eventSourceMappingArn; }
653 inline bool EventSourceMappingArnHasBeenSet() const { return m_eventSourceMappingArnHasBeenSet; }
654 template <typename EventSourceMappingArnT = Aws::String>
655 void SetEventSourceMappingArn(EventSourceMappingArnT&& value) {
656 m_eventSourceMappingArnHasBeenSet = true;
657 m_eventSourceMappingArn = std::forward<EventSourceMappingArnT>(value);
658 }
659 template <typename EventSourceMappingArnT = Aws::String>
661 SetEventSourceMappingArn(std::forward<EventSourceMappingArnT>(value));
662 return *this;
663 }
665
667
672 inline const EventSourceMappingMetricsConfig& GetMetricsConfig() const { return m_metricsConfig; }
673 inline bool MetricsConfigHasBeenSet() const { return m_metricsConfigHasBeenSet; }
674 template <typename MetricsConfigT = EventSourceMappingMetricsConfig>
675 void SetMetricsConfig(MetricsConfigT&& value) {
676 m_metricsConfigHasBeenSet = true;
677 m_metricsConfig = std::forward<MetricsConfigT>(value);
678 }
679 template <typename MetricsConfigT = EventSourceMappingMetricsConfig>
681 SetMetricsConfig(std::forward<MetricsConfigT>(value));
682 return *this;
683 }
685
687
693 inline const EventSourceMappingLoggingConfig& GetLoggingConfig() const { return m_loggingConfig; }
694 inline bool LoggingConfigHasBeenSet() const { return m_loggingConfigHasBeenSet; }
695 template <typename LoggingConfigT = EventSourceMappingLoggingConfig>
696 void SetLoggingConfig(LoggingConfigT&& value) {
697 m_loggingConfigHasBeenSet = true;
698 m_loggingConfig = std::forward<LoggingConfigT>(value);
699 }
700 template <typename LoggingConfigT = EventSourceMappingLoggingConfig>
702 SetLoggingConfig(std::forward<LoggingConfigT>(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 Aws::String m_functionArn;
761
762 Aws::Utils::DateTime m_lastModified{};
763
764 Aws::String m_lastProcessingResult;
765
766 Aws::String m_state;
767
768 Aws::String m_stateTransitionReason;
769
770 DestinationConfig m_destinationConfig;
771
773
775
776 Aws::Vector<SourceAccessConfiguration> m_sourceAccessConfigurations;
777
778 SelfManagedEventSource m_selfManagedEventSource;
779
780 int m_maximumRecordAgeInSeconds{0};
781
782 bool m_bisectBatchOnFunctionError{false};
783
784 int m_maximumRetryAttempts{0};
785
786 int m_tumblingWindowInSeconds{0};
787
788 Aws::Vector<FunctionResponseType> m_functionResponseTypes;
789
790 AmazonManagedKafkaEventSourceConfig m_amazonManagedKafkaEventSourceConfig;
791
792 SelfManagedKafkaEventSourceConfig m_selfManagedKafkaEventSourceConfig;
793
794 ScalingConfig m_scalingConfig;
795
796 DocumentDBEventSourceConfig m_documentDBEventSourceConfig;
797
798 Aws::String m_kMSKeyArn;
799
800 FilterCriteriaError m_filterCriteriaError;
801
802 Aws::String m_eventSourceMappingArn;
803
804 EventSourceMappingMetricsConfig m_metricsConfig;
805
806 EventSourceMappingLoggingConfig m_loggingConfig;
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_functionArnHasBeenSet = false;
820 bool m_lastModifiedHasBeenSet = false;
821 bool m_lastProcessingResultHasBeenSet = false;
822 bool m_stateHasBeenSet = false;
823 bool m_stateTransitionReasonHasBeenSet = false;
824 bool m_destinationConfigHasBeenSet = false;
825 bool m_topicsHasBeenSet = false;
826 bool m_queuesHasBeenSet = false;
827 bool m_sourceAccessConfigurationsHasBeenSet = false;
828 bool m_selfManagedEventSourceHasBeenSet = false;
829 bool m_maximumRecordAgeInSecondsHasBeenSet = false;
830 bool m_bisectBatchOnFunctionErrorHasBeenSet = false;
831 bool m_maximumRetryAttemptsHasBeenSet = false;
832 bool m_tumblingWindowInSecondsHasBeenSet = false;
833 bool m_functionResponseTypesHasBeenSet = false;
834 bool m_amazonManagedKafkaEventSourceConfigHasBeenSet = false;
835 bool m_selfManagedKafkaEventSourceConfigHasBeenSet = false;
836 bool m_scalingConfigHasBeenSet = false;
837 bool m_documentDBEventSourceConfigHasBeenSet = false;
838 bool m_kMSKeyArnHasBeenSet = false;
839 bool m_filterCriteriaErrorHasBeenSet = false;
840 bool m_eventSourceMappingArnHasBeenSet = false;
841 bool m_metricsConfigHasBeenSet = false;
842 bool m_loggingConfigHasBeenSet = 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