AWS SDK for C++

AWS SDK for C++ Version 1.11.719

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/EventSourceMappingMetricsConfig.h>
15#include <aws/lambda/model/EventSourcePosition.h>
16#include <aws/lambda/model/FilterCriteria.h>
17#include <aws/lambda/model/FilterCriteriaError.h>
18#include <aws/lambda/model/FunctionResponseType.h>
19#include <aws/lambda/model/ProvisionedPollerConfig.h>
20#include <aws/lambda/model/ScalingConfig.h>
21#include <aws/lambda/model/SelfManagedEventSource.h>
22#include <aws/lambda/model/SelfManagedKafkaEventSourceConfig.h>
23#include <aws/lambda/model/SourceAccessConfiguration.h>
24
25#include <utility>
26
27namespace Aws {
28namespace Utils {
29namespace Json {
30class JsonValue;
31class JsonView;
32} // namespace Json
33} // namespace Utils
34namespace Lambda {
35namespace Model {
36
44 public:
45 AWS_LAMBDA_API EventSourceMappingConfiguration() = default;
48 AWS_LAMBDA_API Aws::Utils::Json::JsonValue Jsonize() const;
49
51
54 inline const Aws::String& GetUUID() const { return m_uUID; }
55 inline bool UUIDHasBeenSet() const { return m_uUIDHasBeenSet; }
56 template <typename UUIDT = Aws::String>
57 void SetUUID(UUIDT&& value) {
58 m_uUIDHasBeenSet = true;
59 m_uUID = std::forward<UUIDT>(value);
60 }
61 template <typename UUIDT = Aws::String>
63 SetUUID(std::forward<UUIDT>(value));
64 return *this;
65 }
67
69
75 inline EventSourcePosition GetStartingPosition() const { return m_startingPosition; }
76 inline bool StartingPositionHasBeenSet() const { return m_startingPositionHasBeenSet; }
78 m_startingPositionHasBeenSet = true;
79 m_startingPosition = value;
80 }
83 return *this;
84 }
86
88
93 inline const Aws::Utils::DateTime& GetStartingPositionTimestamp() const { return m_startingPositionTimestamp; }
94 inline bool StartingPositionTimestampHasBeenSet() const { return m_startingPositionTimestampHasBeenSet; }
95 template <typename StartingPositionTimestampT = Aws::Utils::DateTime>
96 void SetStartingPositionTimestamp(StartingPositionTimestampT&& value) {
97 m_startingPositionTimestampHasBeenSet = true;
98 m_startingPositionTimestamp = std::forward<StartingPositionTimestampT>(value);
99 }
100 template <typename StartingPositionTimestampT = Aws::Utils::DateTime>
102 SetStartingPositionTimestamp(std::forward<StartingPositionTimestampT>(value));
103 return *this;
104 }
106
108
117 inline int GetBatchSize() const { return m_batchSize; }
118 inline bool BatchSizeHasBeenSet() const { return m_batchSizeHasBeenSet; }
119 inline void SetBatchSize(int value) {
120 m_batchSizeHasBeenSet = true;
121 m_batchSize = value;
122 }
124 SetBatchSize(value);
125 return *this;
126 }
128
130
145 inline int GetMaximumBatchingWindowInSeconds() const { return m_maximumBatchingWindowInSeconds; }
146 inline bool MaximumBatchingWindowInSecondsHasBeenSet() const { return m_maximumBatchingWindowInSecondsHasBeenSet; }
147 inline void SetMaximumBatchingWindowInSeconds(int value) {
148 m_maximumBatchingWindowInSecondsHasBeenSet = true;
149 m_maximumBatchingWindowInSeconds = value;
150 }
153 return *this;
154 }
156
158
162 inline int GetParallelizationFactor() const { return m_parallelizationFactor; }
163 inline bool ParallelizationFactorHasBeenSet() const { return m_parallelizationFactorHasBeenSet; }
164 inline void SetParallelizationFactor(int value) {
165 m_parallelizationFactorHasBeenSet = true;
166 m_parallelizationFactor = value;
167 }
170 return *this;
171 }
173
175
178 inline const Aws::String& GetEventSourceArn() const { return m_eventSourceArn; }
179 inline bool EventSourceArnHasBeenSet() const { return m_eventSourceArnHasBeenSet; }
180 template <typename EventSourceArnT = Aws::String>
181 void SetEventSourceArn(EventSourceArnT&& value) {
182 m_eventSourceArnHasBeenSet = true;
183 m_eventSourceArn = std::forward<EventSourceArnT>(value);
184 }
185 template <typename EventSourceArnT = Aws::String>
187 SetEventSourceArn(std::forward<EventSourceArnT>(value));
188 return *this;
189 }
191
193
203 inline const FilterCriteria& GetFilterCriteria() const { return m_filterCriteria; }
204 inline bool FilterCriteriaHasBeenSet() const { return m_filterCriteriaHasBeenSet; }
205 template <typename FilterCriteriaT = FilterCriteria>
206 void SetFilterCriteria(FilterCriteriaT&& value) {
207 m_filterCriteriaHasBeenSet = true;
208 m_filterCriteria = std::forward<FilterCriteriaT>(value);
209 }
210 template <typename FilterCriteriaT = FilterCriteria>
212 SetFilterCriteria(std::forward<FilterCriteriaT>(value));
213 return *this;
214 }
216
218
221 inline const Aws::String& GetFunctionArn() const { return m_functionArn; }
222 inline bool FunctionArnHasBeenSet() const { return m_functionArnHasBeenSet; }
223 template <typename FunctionArnT = Aws::String>
224 void SetFunctionArn(FunctionArnT&& value) {
225 m_functionArnHasBeenSet = true;
226 m_functionArn = std::forward<FunctionArnT>(value);
227 }
228 template <typename FunctionArnT = Aws::String>
230 SetFunctionArn(std::forward<FunctionArnT>(value));
231 return *this;
232 }
234
236
240 inline const Aws::Utils::DateTime& GetLastModified() const { return m_lastModified; }
241 inline bool LastModifiedHasBeenSet() const { return m_lastModifiedHasBeenSet; }
242 template <typename LastModifiedT = Aws::Utils::DateTime>
243 void SetLastModified(LastModifiedT&& value) {
244 m_lastModifiedHasBeenSet = true;
245 m_lastModified = std::forward<LastModifiedT>(value);
246 }
247 template <typename LastModifiedT = Aws::Utils::DateTime>
249 SetLastModified(std::forward<LastModifiedT>(value));
250 return *this;
251 }
253
255
258 inline const Aws::String& GetLastProcessingResult() const { return m_lastProcessingResult; }
259 inline bool LastProcessingResultHasBeenSet() const { return m_lastProcessingResultHasBeenSet; }
260 template <typename LastProcessingResultT = Aws::String>
261 void SetLastProcessingResult(LastProcessingResultT&& value) {
262 m_lastProcessingResultHasBeenSet = true;
263 m_lastProcessingResult = std::forward<LastProcessingResultT>(value);
264 }
265 template <typename LastProcessingResultT = Aws::String>
267 SetLastProcessingResult(std::forward<LastProcessingResultT>(value));
268 return *this;
269 }
271
273
279 inline const Aws::String& GetState() const { return m_state; }
280 inline bool StateHasBeenSet() const { return m_stateHasBeenSet; }
281 template <typename StateT = Aws::String>
282 void SetState(StateT&& value) {
283 m_stateHasBeenSet = true;
284 m_state = std::forward<StateT>(value);
285 }
286 template <typename StateT = Aws::String>
288 SetState(std::forward<StateT>(value));
289 return *this;
290 }
292
294
298 inline const Aws::String& GetStateTransitionReason() const { return m_stateTransitionReason; }
299 inline bool StateTransitionReasonHasBeenSet() const { return m_stateTransitionReasonHasBeenSet; }
300 template <typename StateTransitionReasonT = Aws::String>
301 void SetStateTransitionReason(StateTransitionReasonT&& value) {
302 m_stateTransitionReasonHasBeenSet = true;
303 m_stateTransitionReason = std::forward<StateTransitionReasonT>(value);
304 }
305 template <typename StateTransitionReasonT = Aws::String>
307 SetStateTransitionReason(std::forward<StateTransitionReasonT>(value));
308 return *this;
309 }
311
313
318 inline const DestinationConfig& GetDestinationConfig() const { return m_destinationConfig; }
319 inline bool DestinationConfigHasBeenSet() const { return m_destinationConfigHasBeenSet; }
320 template <typename DestinationConfigT = DestinationConfig>
321 void SetDestinationConfig(DestinationConfigT&& value) {
322 m_destinationConfigHasBeenSet = true;
323 m_destinationConfig = std::forward<DestinationConfigT>(value);
324 }
325 template <typename DestinationConfigT = DestinationConfig>
327 SetDestinationConfig(std::forward<DestinationConfigT>(value));
328 return *this;
329 }
331
333
336 inline const Aws::Vector<Aws::String>& GetTopics() const { return m_topics; }
337 inline bool TopicsHasBeenSet() const { return m_topicsHasBeenSet; }
338 template <typename TopicsT = Aws::Vector<Aws::String>>
339 void SetTopics(TopicsT&& value) {
340 m_topicsHasBeenSet = true;
341 m_topics = std::forward<TopicsT>(value);
342 }
343 template <typename TopicsT = Aws::Vector<Aws::String>>
345 SetTopics(std::forward<TopicsT>(value));
346 return *this;
347 }
348 template <typename TopicsT = Aws::String>
350 m_topicsHasBeenSet = true;
351 m_topics.emplace_back(std::forward<TopicsT>(value));
352 return *this;
353 }
355
357
361 inline const Aws::Vector<Aws::String>& GetQueues() const { return m_queues; }
362 inline bool QueuesHasBeenSet() const { return m_queuesHasBeenSet; }
363 template <typename QueuesT = Aws::Vector<Aws::String>>
364 void SetQueues(QueuesT&& value) {
365 m_queuesHasBeenSet = true;
366 m_queues = std::forward<QueuesT>(value);
367 }
368 template <typename QueuesT = Aws::Vector<Aws::String>>
370 SetQueues(std::forward<QueuesT>(value));
371 return *this;
372 }
373 template <typename QueuesT = Aws::String>
375 m_queuesHasBeenSet = true;
376 m_queues.emplace_back(std::forward<QueuesT>(value));
377 return *this;
378 }
380
382
386 inline const Aws::Vector<SourceAccessConfiguration>& GetSourceAccessConfigurations() const { return m_sourceAccessConfigurations; }
387 inline bool SourceAccessConfigurationsHasBeenSet() const { return m_sourceAccessConfigurationsHasBeenSet; }
388 template <typename SourceAccessConfigurationsT = Aws::Vector<SourceAccessConfiguration>>
389 void SetSourceAccessConfigurations(SourceAccessConfigurationsT&& value) {
390 m_sourceAccessConfigurationsHasBeenSet = true;
391 m_sourceAccessConfigurations = std::forward<SourceAccessConfigurationsT>(value);
392 }
393 template <typename SourceAccessConfigurationsT = Aws::Vector<SourceAccessConfiguration>>
395 SetSourceAccessConfigurations(std::forward<SourceAccessConfigurationsT>(value));
396 return *this;
397 }
398 template <typename SourceAccessConfigurationsT = SourceAccessConfiguration>
400 m_sourceAccessConfigurationsHasBeenSet = true;
401 m_sourceAccessConfigurations.emplace_back(std::forward<SourceAccessConfigurationsT>(value));
402 return *this;
403 }
405
407
410 inline const SelfManagedEventSource& GetSelfManagedEventSource() const { return m_selfManagedEventSource; }
411 inline bool SelfManagedEventSourceHasBeenSet() const { return m_selfManagedEventSourceHasBeenSet; }
412 template <typename SelfManagedEventSourceT = SelfManagedEventSource>
413 void SetSelfManagedEventSource(SelfManagedEventSourceT&& value) {
414 m_selfManagedEventSourceHasBeenSet = true;
415 m_selfManagedEventSource = std::forward<SelfManagedEventSourceT>(value);
416 }
417 template <typename SelfManagedEventSourceT = SelfManagedEventSource>
419 SetSelfManagedEventSource(std::forward<SelfManagedEventSourceT>(value));
420 return *this;
421 }
423
425
433 inline int GetMaximumRecordAgeInSeconds() const { return m_maximumRecordAgeInSeconds; }
434 inline bool MaximumRecordAgeInSecondsHasBeenSet() const { return m_maximumRecordAgeInSecondsHasBeenSet; }
435 inline void SetMaximumRecordAgeInSeconds(int value) {
436 m_maximumRecordAgeInSecondsHasBeenSet = true;
437 m_maximumRecordAgeInSeconds = value;
438 }
441 return *this;
442 }
444
446
451 inline bool GetBisectBatchOnFunctionError() const { return m_bisectBatchOnFunctionError; }
452 inline bool BisectBatchOnFunctionErrorHasBeenSet() const { return m_bisectBatchOnFunctionErrorHasBeenSet; }
453 inline void SetBisectBatchOnFunctionError(bool value) {
454 m_bisectBatchOnFunctionErrorHasBeenSet = true;
455 m_bisectBatchOnFunctionError = value;
456 }
459 return *this;
460 }
462
464
471 inline int GetMaximumRetryAttempts() const { return m_maximumRetryAttempts; }
472 inline bool MaximumRetryAttemptsHasBeenSet() const { return m_maximumRetryAttemptsHasBeenSet; }
473 inline void SetMaximumRetryAttempts(int value) {
474 m_maximumRetryAttemptsHasBeenSet = true;
475 m_maximumRetryAttempts = value;
476 }
479 return *this;
480 }
482
484
489 inline int GetTumblingWindowInSeconds() const { return m_tumblingWindowInSeconds; }
490 inline bool TumblingWindowInSecondsHasBeenSet() const { return m_tumblingWindowInSecondsHasBeenSet; }
491 inline void SetTumblingWindowInSeconds(int value) {
492 m_tumblingWindowInSecondsHasBeenSet = true;
493 m_tumblingWindowInSeconds = value;
494 }
497 return *this;
498 }
500
502
507 inline const Aws::Vector<FunctionResponseType>& GetFunctionResponseTypes() const { return m_functionResponseTypes; }
508 inline bool FunctionResponseTypesHasBeenSet() const { return m_functionResponseTypesHasBeenSet; }
509 template <typename FunctionResponseTypesT = Aws::Vector<FunctionResponseType>>
510 void SetFunctionResponseTypes(FunctionResponseTypesT&& value) {
511 m_functionResponseTypesHasBeenSet = true;
512 m_functionResponseTypes = std::forward<FunctionResponseTypesT>(value);
513 }
514 template <typename FunctionResponseTypesT = Aws::Vector<FunctionResponseType>>
516 SetFunctionResponseTypes(std::forward<FunctionResponseTypesT>(value));
517 return *this;
518 }
520 m_functionResponseTypesHasBeenSet = true;
521 m_functionResponseTypes.push_back(value);
522 return *this;
523 }
525
527
532 return m_amazonManagedKafkaEventSourceConfig;
533 }
534 inline bool AmazonManagedKafkaEventSourceConfigHasBeenSet() const { return m_amazonManagedKafkaEventSourceConfigHasBeenSet; }
535 template <typename AmazonManagedKafkaEventSourceConfigT = AmazonManagedKafkaEventSourceConfig>
536 void SetAmazonManagedKafkaEventSourceConfig(AmazonManagedKafkaEventSourceConfigT&& value) {
537 m_amazonManagedKafkaEventSourceConfigHasBeenSet = true;
538 m_amazonManagedKafkaEventSourceConfig = std::forward<AmazonManagedKafkaEventSourceConfigT>(value);
539 }
540 template <typename AmazonManagedKafkaEventSourceConfigT = AmazonManagedKafkaEventSourceConfig>
541 EventSourceMappingConfiguration& WithAmazonManagedKafkaEventSourceConfig(AmazonManagedKafkaEventSourceConfigT&& value) {
542 SetAmazonManagedKafkaEventSourceConfig(std::forward<AmazonManagedKafkaEventSourceConfigT>(value));
543 return *this;
544 }
546
548
553 return m_selfManagedKafkaEventSourceConfig;
554 }
555 inline bool SelfManagedKafkaEventSourceConfigHasBeenSet() const { return m_selfManagedKafkaEventSourceConfigHasBeenSet; }
556 template <typename SelfManagedKafkaEventSourceConfigT = SelfManagedKafkaEventSourceConfig>
557 void SetSelfManagedKafkaEventSourceConfig(SelfManagedKafkaEventSourceConfigT&& value) {
558 m_selfManagedKafkaEventSourceConfigHasBeenSet = true;
559 m_selfManagedKafkaEventSourceConfig = std::forward<SelfManagedKafkaEventSourceConfigT>(value);
560 }
561 template <typename SelfManagedKafkaEventSourceConfigT = SelfManagedKafkaEventSourceConfig>
562 EventSourceMappingConfiguration& WithSelfManagedKafkaEventSourceConfig(SelfManagedKafkaEventSourceConfigT&& value) {
563 SetSelfManagedKafkaEventSourceConfig(std::forward<SelfManagedKafkaEventSourceConfigT>(value));
564 return *this;
565 }
567
569
575 inline const ScalingConfig& GetScalingConfig() const { return m_scalingConfig; }
576 inline bool ScalingConfigHasBeenSet() const { return m_scalingConfigHasBeenSet; }
577 template <typename ScalingConfigT = ScalingConfig>
578 void SetScalingConfig(ScalingConfigT&& value) {
579 m_scalingConfigHasBeenSet = true;
580 m_scalingConfig = std::forward<ScalingConfigT>(value);
581 }
582 template <typename ScalingConfigT = ScalingConfig>
584 SetScalingConfig(std::forward<ScalingConfigT>(value));
585 return *this;
586 }
588
590
593 inline const DocumentDBEventSourceConfig& GetDocumentDBEventSourceConfig() const { return m_documentDBEventSourceConfig; }
594 inline bool DocumentDBEventSourceConfigHasBeenSet() const { return m_documentDBEventSourceConfigHasBeenSet; }
595 template <typename DocumentDBEventSourceConfigT = DocumentDBEventSourceConfig>
596 void SetDocumentDBEventSourceConfig(DocumentDBEventSourceConfigT&& value) {
597 m_documentDBEventSourceConfigHasBeenSet = true;
598 m_documentDBEventSourceConfig = std::forward<DocumentDBEventSourceConfigT>(value);
599 }
600 template <typename DocumentDBEventSourceConfigT = DocumentDBEventSourceConfig>
602 SetDocumentDBEventSourceConfig(std::forward<DocumentDBEventSourceConfigT>(value));
603 return *this;
604 }
606
608
614 inline const Aws::String& GetKMSKeyArn() const { return m_kMSKeyArn; }
615 inline bool KMSKeyArnHasBeenSet() const { return m_kMSKeyArnHasBeenSet; }
616 template <typename KMSKeyArnT = Aws::String>
617 void SetKMSKeyArn(KMSKeyArnT&& value) {
618 m_kMSKeyArnHasBeenSet = true;
619 m_kMSKeyArn = std::forward<KMSKeyArnT>(value);
620 }
621 template <typename KMSKeyArnT = Aws::String>
623 SetKMSKeyArn(std::forward<KMSKeyArnT>(value));
624 return *this;
625 }
627
629
633 inline const FilterCriteriaError& GetFilterCriteriaError() const { return m_filterCriteriaError; }
634 inline bool FilterCriteriaErrorHasBeenSet() const { return m_filterCriteriaErrorHasBeenSet; }
635 template <typename FilterCriteriaErrorT = FilterCriteriaError>
636 void SetFilterCriteriaError(FilterCriteriaErrorT&& value) {
637 m_filterCriteriaErrorHasBeenSet = true;
638 m_filterCriteriaError = std::forward<FilterCriteriaErrorT>(value);
639 }
640 template <typename FilterCriteriaErrorT = FilterCriteriaError>
642 SetFilterCriteriaError(std::forward<FilterCriteriaErrorT>(value));
643 return *this;
644 }
646
648
651 inline const Aws::String& GetEventSourceMappingArn() const { return m_eventSourceMappingArn; }
652 inline bool EventSourceMappingArnHasBeenSet() const { return m_eventSourceMappingArnHasBeenSet; }
653 template <typename EventSourceMappingArnT = Aws::String>
654 void SetEventSourceMappingArn(EventSourceMappingArnT&& value) {
655 m_eventSourceMappingArnHasBeenSet = true;
656 m_eventSourceMappingArn = std::forward<EventSourceMappingArnT>(value);
657 }
658 template <typename EventSourceMappingArnT = Aws::String>
660 SetEventSourceMappingArn(std::forward<EventSourceMappingArnT>(value));
661 return *this;
662 }
664
666
671 inline const EventSourceMappingMetricsConfig& GetMetricsConfig() const { return m_metricsConfig; }
672 inline bool MetricsConfigHasBeenSet() const { return m_metricsConfigHasBeenSet; }
673 template <typename MetricsConfigT = EventSourceMappingMetricsConfig>
674 void SetMetricsConfig(MetricsConfigT&& value) {
675 m_metricsConfigHasBeenSet = true;
676 m_metricsConfig = std::forward<MetricsConfigT>(value);
677 }
678 template <typename MetricsConfigT = EventSourceMappingMetricsConfig>
680 SetMetricsConfig(std::forward<MetricsConfigT>(value));
681 return *this;
682 }
684
686
692 inline const ProvisionedPollerConfig& GetProvisionedPollerConfig() const { return m_provisionedPollerConfig; }
693 inline bool ProvisionedPollerConfigHasBeenSet() const { return m_provisionedPollerConfigHasBeenSet; }
694 template <typename ProvisionedPollerConfigT = ProvisionedPollerConfig>
695 void SetProvisionedPollerConfig(ProvisionedPollerConfigT&& value) {
696 m_provisionedPollerConfigHasBeenSet = true;
697 m_provisionedPollerConfig = std::forward<ProvisionedPollerConfigT>(value);
698 }
699 template <typename ProvisionedPollerConfigT = ProvisionedPollerConfig>
701 SetProvisionedPollerConfig(std::forward<ProvisionedPollerConfigT>(value));
702 return *this;
703 }
705
707
708 inline const Aws::String& GetRequestId() const { return m_requestId; }
709 inline bool RequestIdHasBeenSet() const { return m_requestIdHasBeenSet; }
710 template <typename RequestIdT = Aws::String>
711 void SetRequestId(RequestIdT&& value) {
712 m_requestIdHasBeenSet = true;
713 m_requestId = std::forward<RequestIdT>(value);
714 }
715 template <typename RequestIdT = Aws::String>
717 SetRequestId(std::forward<RequestIdT>(value));
718 return *this;
719 }
721 private:
722 Aws::String m_uUID;
723
725
726 Aws::Utils::DateTime m_startingPositionTimestamp{};
727
728 int m_batchSize{0};
729
730 int m_maximumBatchingWindowInSeconds{0};
731
732 int m_parallelizationFactor{0};
733
734 Aws::String m_eventSourceArn;
735
736 FilterCriteria m_filterCriteria;
737
738 Aws::String m_functionArn;
739
740 Aws::Utils::DateTime m_lastModified{};
741
742 Aws::String m_lastProcessingResult;
743
744 Aws::String m_state;
745
746 Aws::String m_stateTransitionReason;
747
748 DestinationConfig m_destinationConfig;
749
751
753
754 Aws::Vector<SourceAccessConfiguration> m_sourceAccessConfigurations;
755
756 SelfManagedEventSource m_selfManagedEventSource;
757
758 int m_maximumRecordAgeInSeconds{0};
759
760 bool m_bisectBatchOnFunctionError{false};
761
762 int m_maximumRetryAttempts{0};
763
764 int m_tumblingWindowInSeconds{0};
765
766 Aws::Vector<FunctionResponseType> m_functionResponseTypes;
767
768 AmazonManagedKafkaEventSourceConfig m_amazonManagedKafkaEventSourceConfig;
769
770 SelfManagedKafkaEventSourceConfig m_selfManagedKafkaEventSourceConfig;
771
772 ScalingConfig m_scalingConfig;
773
774 DocumentDBEventSourceConfig m_documentDBEventSourceConfig;
775
776 Aws::String m_kMSKeyArn;
777
778 FilterCriteriaError m_filterCriteriaError;
779
780 Aws::String m_eventSourceMappingArn;
781
782 EventSourceMappingMetricsConfig m_metricsConfig;
783
784 ProvisionedPollerConfig m_provisionedPollerConfig;
785
786 Aws::String m_requestId;
787 bool m_uUIDHasBeenSet = false;
788 bool m_startingPositionHasBeenSet = false;
789 bool m_startingPositionTimestampHasBeenSet = false;
790 bool m_batchSizeHasBeenSet = false;
791 bool m_maximumBatchingWindowInSecondsHasBeenSet = false;
792 bool m_parallelizationFactorHasBeenSet = false;
793 bool m_eventSourceArnHasBeenSet = false;
794 bool m_filterCriteriaHasBeenSet = false;
795 bool m_functionArnHasBeenSet = false;
796 bool m_lastModifiedHasBeenSet = false;
797 bool m_lastProcessingResultHasBeenSet = false;
798 bool m_stateHasBeenSet = false;
799 bool m_stateTransitionReasonHasBeenSet = false;
800 bool m_destinationConfigHasBeenSet = false;
801 bool m_topicsHasBeenSet = false;
802 bool m_queuesHasBeenSet = false;
803 bool m_sourceAccessConfigurationsHasBeenSet = false;
804 bool m_selfManagedEventSourceHasBeenSet = false;
805 bool m_maximumRecordAgeInSecondsHasBeenSet = false;
806 bool m_bisectBatchOnFunctionErrorHasBeenSet = false;
807 bool m_maximumRetryAttemptsHasBeenSet = false;
808 bool m_tumblingWindowInSecondsHasBeenSet = false;
809 bool m_functionResponseTypesHasBeenSet = false;
810 bool m_amazonManagedKafkaEventSourceConfigHasBeenSet = false;
811 bool m_selfManagedKafkaEventSourceConfigHasBeenSet = false;
812 bool m_scalingConfigHasBeenSet = false;
813 bool m_documentDBEventSourceConfigHasBeenSet = false;
814 bool m_kMSKeyArnHasBeenSet = false;
815 bool m_filterCriteriaErrorHasBeenSet = false;
816 bool m_eventSourceMappingArnHasBeenSet = false;
817 bool m_metricsConfigHasBeenSet = false;
818 bool m_provisionedPollerConfigHasBeenSet = false;
819 bool m_requestIdHasBeenSet = false;
820};
821
822} // namespace Model
823} // namespace Lambda
824} // 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)
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 & 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