AWS SDK for C++

AWS SDK for C++ Version 1.11.719

Loading...
Searching...
No Matches
GetEventSourceMappingResult.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 {
28template <typename RESULT_TYPE>
29class AmazonWebServiceResult;
30
31namespace Utils {
32namespace Json {
33class JsonValue;
34} // namespace Json
35} // namespace Utils
36namespace Lambda {
37namespace Model {
45 public:
46 AWS_LAMBDA_API GetEventSourceMappingResult() = default;
49
51
54 inline const Aws::String& GetUUID() const { return m_uUID; }
55 template <typename UUIDT = Aws::String>
56 void SetUUID(UUIDT&& value) {
57 m_uUIDHasBeenSet = true;
58 m_uUID = std::forward<UUIDT>(value);
59 }
60 template <typename UUIDT = Aws::String>
62 SetUUID(std::forward<UUIDT>(value));
63 return *this;
64 }
66
68
74 inline EventSourcePosition GetStartingPosition() const { return m_startingPosition; }
76 m_startingPositionHasBeenSet = true;
77 m_startingPosition = value;
78 }
81 return *this;
82 }
84
86
91 inline const Aws::Utils::DateTime& GetStartingPositionTimestamp() const { return m_startingPositionTimestamp; }
92 template <typename StartingPositionTimestampT = Aws::Utils::DateTime>
93 void SetStartingPositionTimestamp(StartingPositionTimestampT&& value) {
94 m_startingPositionTimestampHasBeenSet = true;
95 m_startingPositionTimestamp = std::forward<StartingPositionTimestampT>(value);
96 }
97 template <typename StartingPositionTimestampT = Aws::Utils::DateTime>
98 GetEventSourceMappingResult& WithStartingPositionTimestamp(StartingPositionTimestampT&& value) {
99 SetStartingPositionTimestamp(std::forward<StartingPositionTimestampT>(value));
100 return *this;
101 }
103
105
114 inline int GetBatchSize() const { return m_batchSize; }
115 inline void SetBatchSize(int value) {
116 m_batchSizeHasBeenSet = true;
117 m_batchSize = value;
118 }
120 SetBatchSize(value);
121 return *this;
122 }
124
126
141 inline int GetMaximumBatchingWindowInSeconds() const { return m_maximumBatchingWindowInSeconds; }
142 inline void SetMaximumBatchingWindowInSeconds(int value) {
143 m_maximumBatchingWindowInSecondsHasBeenSet = true;
144 m_maximumBatchingWindowInSeconds = value;
145 }
148 return *this;
149 }
151
153
157 inline int GetParallelizationFactor() const { return m_parallelizationFactor; }
158 inline void SetParallelizationFactor(int value) {
159 m_parallelizationFactorHasBeenSet = true;
160 m_parallelizationFactor = value;
161 }
164 return *this;
165 }
167
169
172 inline const Aws::String& GetEventSourceArn() const { return m_eventSourceArn; }
173 template <typename EventSourceArnT = Aws::String>
174 void SetEventSourceArn(EventSourceArnT&& value) {
175 m_eventSourceArnHasBeenSet = true;
176 m_eventSourceArn = std::forward<EventSourceArnT>(value);
177 }
178 template <typename EventSourceArnT = Aws::String>
180 SetEventSourceArn(std::forward<EventSourceArnT>(value));
181 return *this;
182 }
184
186
196 inline const FilterCriteria& GetFilterCriteria() const { return m_filterCriteria; }
197 template <typename FilterCriteriaT = FilterCriteria>
198 void SetFilterCriteria(FilterCriteriaT&& value) {
199 m_filterCriteriaHasBeenSet = true;
200 m_filterCriteria = std::forward<FilterCriteriaT>(value);
201 }
202 template <typename FilterCriteriaT = FilterCriteria>
204 SetFilterCriteria(std::forward<FilterCriteriaT>(value));
205 return *this;
206 }
208
210
213 inline const Aws::String& GetFunctionArn() const { return m_functionArn; }
214 template <typename FunctionArnT = Aws::String>
215 void SetFunctionArn(FunctionArnT&& value) {
216 m_functionArnHasBeenSet = true;
217 m_functionArn = std::forward<FunctionArnT>(value);
218 }
219 template <typename FunctionArnT = Aws::String>
221 SetFunctionArn(std::forward<FunctionArnT>(value));
222 return *this;
223 }
225
227
231 inline const Aws::Utils::DateTime& GetLastModified() const { return m_lastModified; }
232 template <typename LastModifiedT = Aws::Utils::DateTime>
233 void SetLastModified(LastModifiedT&& value) {
234 m_lastModifiedHasBeenSet = true;
235 m_lastModified = std::forward<LastModifiedT>(value);
236 }
237 template <typename LastModifiedT = Aws::Utils::DateTime>
239 SetLastModified(std::forward<LastModifiedT>(value));
240 return *this;
241 }
243
245
248 inline const Aws::String& GetLastProcessingResult() const { return m_lastProcessingResult; }
249 template <typename LastProcessingResultT = Aws::String>
250 void SetLastProcessingResult(LastProcessingResultT&& value) {
251 m_lastProcessingResultHasBeenSet = true;
252 m_lastProcessingResult = std::forward<LastProcessingResultT>(value);
253 }
254 template <typename LastProcessingResultT = Aws::String>
256 SetLastProcessingResult(std::forward<LastProcessingResultT>(value));
257 return *this;
258 }
260
262
268 inline const Aws::String& GetState() const { return m_state; }
269 template <typename StateT = Aws::String>
270 void SetState(StateT&& value) {
271 m_stateHasBeenSet = true;
272 m_state = std::forward<StateT>(value);
273 }
274 template <typename StateT = Aws::String>
276 SetState(std::forward<StateT>(value));
277 return *this;
278 }
280
282
286 inline const Aws::String& GetStateTransitionReason() const { return m_stateTransitionReason; }
287 template <typename StateTransitionReasonT = Aws::String>
288 void SetStateTransitionReason(StateTransitionReasonT&& value) {
289 m_stateTransitionReasonHasBeenSet = true;
290 m_stateTransitionReason = std::forward<StateTransitionReasonT>(value);
291 }
292 template <typename StateTransitionReasonT = Aws::String>
294 SetStateTransitionReason(std::forward<StateTransitionReasonT>(value));
295 return *this;
296 }
298
300
305 inline const DestinationConfig& GetDestinationConfig() const { return m_destinationConfig; }
306 template <typename DestinationConfigT = DestinationConfig>
307 void SetDestinationConfig(DestinationConfigT&& value) {
308 m_destinationConfigHasBeenSet = true;
309 m_destinationConfig = std::forward<DestinationConfigT>(value);
310 }
311 template <typename DestinationConfigT = DestinationConfig>
313 SetDestinationConfig(std::forward<DestinationConfigT>(value));
314 return *this;
315 }
317
319
322 inline const Aws::Vector<Aws::String>& GetTopics() const { return m_topics; }
323 template <typename TopicsT = Aws::Vector<Aws::String>>
324 void SetTopics(TopicsT&& value) {
325 m_topicsHasBeenSet = true;
326 m_topics = std::forward<TopicsT>(value);
327 }
328 template <typename TopicsT = Aws::Vector<Aws::String>>
330 SetTopics(std::forward<TopicsT>(value));
331 return *this;
332 }
333 template <typename TopicsT = Aws::String>
335 m_topicsHasBeenSet = true;
336 m_topics.emplace_back(std::forward<TopicsT>(value));
337 return *this;
338 }
340
342
346 inline const Aws::Vector<Aws::String>& GetQueues() const { return m_queues; }
347 template <typename QueuesT = Aws::Vector<Aws::String>>
348 void SetQueues(QueuesT&& value) {
349 m_queuesHasBeenSet = true;
350 m_queues = std::forward<QueuesT>(value);
351 }
352 template <typename QueuesT = Aws::Vector<Aws::String>>
354 SetQueues(std::forward<QueuesT>(value));
355 return *this;
356 }
357 template <typename QueuesT = Aws::String>
359 m_queuesHasBeenSet = true;
360 m_queues.emplace_back(std::forward<QueuesT>(value));
361 return *this;
362 }
364
366
370 inline const Aws::Vector<SourceAccessConfiguration>& GetSourceAccessConfigurations() const { return m_sourceAccessConfigurations; }
371 template <typename SourceAccessConfigurationsT = Aws::Vector<SourceAccessConfiguration>>
372 void SetSourceAccessConfigurations(SourceAccessConfigurationsT&& value) {
373 m_sourceAccessConfigurationsHasBeenSet = true;
374 m_sourceAccessConfigurations = std::forward<SourceAccessConfigurationsT>(value);
375 }
376 template <typename SourceAccessConfigurationsT = Aws::Vector<SourceAccessConfiguration>>
377 GetEventSourceMappingResult& WithSourceAccessConfigurations(SourceAccessConfigurationsT&& value) {
378 SetSourceAccessConfigurations(std::forward<SourceAccessConfigurationsT>(value));
379 return *this;
380 }
381 template <typename SourceAccessConfigurationsT = SourceAccessConfiguration>
382 GetEventSourceMappingResult& AddSourceAccessConfigurations(SourceAccessConfigurationsT&& value) {
383 m_sourceAccessConfigurationsHasBeenSet = true;
384 m_sourceAccessConfigurations.emplace_back(std::forward<SourceAccessConfigurationsT>(value));
385 return *this;
386 }
388
390
393 inline const SelfManagedEventSource& GetSelfManagedEventSource() const { return m_selfManagedEventSource; }
394 template <typename SelfManagedEventSourceT = SelfManagedEventSource>
395 void SetSelfManagedEventSource(SelfManagedEventSourceT&& value) {
396 m_selfManagedEventSourceHasBeenSet = true;
397 m_selfManagedEventSource = std::forward<SelfManagedEventSourceT>(value);
398 }
399 template <typename SelfManagedEventSourceT = SelfManagedEventSource>
400 GetEventSourceMappingResult& WithSelfManagedEventSource(SelfManagedEventSourceT&& value) {
401 SetSelfManagedEventSource(std::forward<SelfManagedEventSourceT>(value));
402 return *this;
403 }
405
407
415 inline int GetMaximumRecordAgeInSeconds() const { return m_maximumRecordAgeInSeconds; }
416 inline void SetMaximumRecordAgeInSeconds(int value) {
417 m_maximumRecordAgeInSecondsHasBeenSet = true;
418 m_maximumRecordAgeInSeconds = value;
419 }
422 return *this;
423 }
425
427
432 inline bool GetBisectBatchOnFunctionError() const { return m_bisectBatchOnFunctionError; }
433 inline void SetBisectBatchOnFunctionError(bool value) {
434 m_bisectBatchOnFunctionErrorHasBeenSet = true;
435 m_bisectBatchOnFunctionError = value;
436 }
439 return *this;
440 }
442
444
451 inline int GetMaximumRetryAttempts() const { return m_maximumRetryAttempts; }
452 inline void SetMaximumRetryAttempts(int value) {
453 m_maximumRetryAttemptsHasBeenSet = true;
454 m_maximumRetryAttempts = value;
455 }
458 return *this;
459 }
461
463
468 inline int GetTumblingWindowInSeconds() const { return m_tumblingWindowInSeconds; }
469 inline void SetTumblingWindowInSeconds(int value) {
470 m_tumblingWindowInSecondsHasBeenSet = true;
471 m_tumblingWindowInSeconds = value;
472 }
475 return *this;
476 }
478
480
485 inline const Aws::Vector<FunctionResponseType>& GetFunctionResponseTypes() const { return m_functionResponseTypes; }
486 template <typename FunctionResponseTypesT = Aws::Vector<FunctionResponseType>>
487 void SetFunctionResponseTypes(FunctionResponseTypesT&& value) {
488 m_functionResponseTypesHasBeenSet = true;
489 m_functionResponseTypes = std::forward<FunctionResponseTypesT>(value);
490 }
491 template <typename FunctionResponseTypesT = Aws::Vector<FunctionResponseType>>
493 SetFunctionResponseTypes(std::forward<FunctionResponseTypesT>(value));
494 return *this;
495 }
497 m_functionResponseTypesHasBeenSet = true;
498 m_functionResponseTypes.push_back(value);
499 return *this;
500 }
502
504
509 return m_amazonManagedKafkaEventSourceConfig;
510 }
511 template <typename AmazonManagedKafkaEventSourceConfigT = AmazonManagedKafkaEventSourceConfig>
512 void SetAmazonManagedKafkaEventSourceConfig(AmazonManagedKafkaEventSourceConfigT&& value) {
513 m_amazonManagedKafkaEventSourceConfigHasBeenSet = true;
514 m_amazonManagedKafkaEventSourceConfig = std::forward<AmazonManagedKafkaEventSourceConfigT>(value);
515 }
516 template <typename AmazonManagedKafkaEventSourceConfigT = AmazonManagedKafkaEventSourceConfig>
517 GetEventSourceMappingResult& WithAmazonManagedKafkaEventSourceConfig(AmazonManagedKafkaEventSourceConfigT&& value) {
518 SetAmazonManagedKafkaEventSourceConfig(std::forward<AmazonManagedKafkaEventSourceConfigT>(value));
519 return *this;
520 }
522
524
529 return m_selfManagedKafkaEventSourceConfig;
530 }
531 template <typename SelfManagedKafkaEventSourceConfigT = SelfManagedKafkaEventSourceConfig>
532 void SetSelfManagedKafkaEventSourceConfig(SelfManagedKafkaEventSourceConfigT&& value) {
533 m_selfManagedKafkaEventSourceConfigHasBeenSet = true;
534 m_selfManagedKafkaEventSourceConfig = std::forward<SelfManagedKafkaEventSourceConfigT>(value);
535 }
536 template <typename SelfManagedKafkaEventSourceConfigT = SelfManagedKafkaEventSourceConfig>
537 GetEventSourceMappingResult& WithSelfManagedKafkaEventSourceConfig(SelfManagedKafkaEventSourceConfigT&& value) {
538 SetSelfManagedKafkaEventSourceConfig(std::forward<SelfManagedKafkaEventSourceConfigT>(value));
539 return *this;
540 }
542
544
550 inline const ScalingConfig& GetScalingConfig() const { return m_scalingConfig; }
551 template <typename ScalingConfigT = ScalingConfig>
552 void SetScalingConfig(ScalingConfigT&& value) {
553 m_scalingConfigHasBeenSet = true;
554 m_scalingConfig = std::forward<ScalingConfigT>(value);
555 }
556 template <typename ScalingConfigT = ScalingConfig>
558 SetScalingConfig(std::forward<ScalingConfigT>(value));
559 return *this;
560 }
562
564
567 inline const DocumentDBEventSourceConfig& GetDocumentDBEventSourceConfig() const { return m_documentDBEventSourceConfig; }
568 template <typename DocumentDBEventSourceConfigT = DocumentDBEventSourceConfig>
569 void SetDocumentDBEventSourceConfig(DocumentDBEventSourceConfigT&& value) {
570 m_documentDBEventSourceConfigHasBeenSet = true;
571 m_documentDBEventSourceConfig = std::forward<DocumentDBEventSourceConfigT>(value);
572 }
573 template <typename DocumentDBEventSourceConfigT = DocumentDBEventSourceConfig>
574 GetEventSourceMappingResult& WithDocumentDBEventSourceConfig(DocumentDBEventSourceConfigT&& value) {
575 SetDocumentDBEventSourceConfig(std::forward<DocumentDBEventSourceConfigT>(value));
576 return *this;
577 }
579
581
587 inline const Aws::String& GetKMSKeyArn() const { return m_kMSKeyArn; }
588 template <typename KMSKeyArnT = Aws::String>
589 void SetKMSKeyArn(KMSKeyArnT&& value) {
590 m_kMSKeyArnHasBeenSet = true;
591 m_kMSKeyArn = std::forward<KMSKeyArnT>(value);
592 }
593 template <typename KMSKeyArnT = Aws::String>
595 SetKMSKeyArn(std::forward<KMSKeyArnT>(value));
596 return *this;
597 }
599
601
605 inline const FilterCriteriaError& GetFilterCriteriaError() const { return m_filterCriteriaError; }
606 template <typename FilterCriteriaErrorT = FilterCriteriaError>
607 void SetFilterCriteriaError(FilterCriteriaErrorT&& value) {
608 m_filterCriteriaErrorHasBeenSet = true;
609 m_filterCriteriaError = std::forward<FilterCriteriaErrorT>(value);
610 }
611 template <typename FilterCriteriaErrorT = FilterCriteriaError>
613 SetFilterCriteriaError(std::forward<FilterCriteriaErrorT>(value));
614 return *this;
615 }
617
619
622 inline const Aws::String& GetEventSourceMappingArn() const { return m_eventSourceMappingArn; }
623 template <typename EventSourceMappingArnT = Aws::String>
624 void SetEventSourceMappingArn(EventSourceMappingArnT&& value) {
625 m_eventSourceMappingArnHasBeenSet = true;
626 m_eventSourceMappingArn = std::forward<EventSourceMappingArnT>(value);
627 }
628 template <typename EventSourceMappingArnT = Aws::String>
630 SetEventSourceMappingArn(std::forward<EventSourceMappingArnT>(value));
631 return *this;
632 }
634
636
641 inline const EventSourceMappingMetricsConfig& GetMetricsConfig() const { return m_metricsConfig; }
642 template <typename MetricsConfigT = EventSourceMappingMetricsConfig>
643 void SetMetricsConfig(MetricsConfigT&& value) {
644 m_metricsConfigHasBeenSet = true;
645 m_metricsConfig = std::forward<MetricsConfigT>(value);
646 }
647 template <typename MetricsConfigT = EventSourceMappingMetricsConfig>
649 SetMetricsConfig(std::forward<MetricsConfigT>(value));
650 return *this;
651 }
653
655
661 inline const ProvisionedPollerConfig& GetProvisionedPollerConfig() const { return m_provisionedPollerConfig; }
662 template <typename ProvisionedPollerConfigT = ProvisionedPollerConfig>
663 void SetProvisionedPollerConfig(ProvisionedPollerConfigT&& value) {
664 m_provisionedPollerConfigHasBeenSet = true;
665 m_provisionedPollerConfig = std::forward<ProvisionedPollerConfigT>(value);
666 }
667 template <typename ProvisionedPollerConfigT = ProvisionedPollerConfig>
668 GetEventSourceMappingResult& WithProvisionedPollerConfig(ProvisionedPollerConfigT&& value) {
669 SetProvisionedPollerConfig(std::forward<ProvisionedPollerConfigT>(value));
670 return *this;
671 }
673
675
676 inline const Aws::String& GetRequestId() const { return m_requestId; }
677 template <typename RequestIdT = Aws::String>
678 void SetRequestId(RequestIdT&& value) {
679 m_requestIdHasBeenSet = true;
680 m_requestId = std::forward<RequestIdT>(value);
681 }
682 template <typename RequestIdT = Aws::String>
684 SetRequestId(std::forward<RequestIdT>(value));
685 return *this;
686 }
688 private:
689 Aws::String m_uUID;
690
692
693 Aws::Utils::DateTime m_startingPositionTimestamp{};
694
695 int m_batchSize{0};
696
697 int m_maximumBatchingWindowInSeconds{0};
698
699 int m_parallelizationFactor{0};
700
701 Aws::String m_eventSourceArn;
702
703 FilterCriteria m_filterCriteria;
704
705 Aws::String m_functionArn;
706
707 Aws::Utils::DateTime m_lastModified{};
708
709 Aws::String m_lastProcessingResult;
710
711 Aws::String m_state;
712
713 Aws::String m_stateTransitionReason;
714
715 DestinationConfig m_destinationConfig;
716
718
720
721 Aws::Vector<SourceAccessConfiguration> m_sourceAccessConfigurations;
722
723 SelfManagedEventSource m_selfManagedEventSource;
724
725 int m_maximumRecordAgeInSeconds{0};
726
727 bool m_bisectBatchOnFunctionError{false};
728
729 int m_maximumRetryAttempts{0};
730
731 int m_tumblingWindowInSeconds{0};
732
733 Aws::Vector<FunctionResponseType> m_functionResponseTypes;
734
735 AmazonManagedKafkaEventSourceConfig m_amazonManagedKafkaEventSourceConfig;
736
737 SelfManagedKafkaEventSourceConfig m_selfManagedKafkaEventSourceConfig;
738
739 ScalingConfig m_scalingConfig;
740
741 DocumentDBEventSourceConfig m_documentDBEventSourceConfig;
742
743 Aws::String m_kMSKeyArn;
744
745 FilterCriteriaError m_filterCriteriaError;
746
747 Aws::String m_eventSourceMappingArn;
748
749 EventSourceMappingMetricsConfig m_metricsConfig;
750
751 ProvisionedPollerConfig m_provisionedPollerConfig;
752
753 Aws::String m_requestId;
754 bool m_uUIDHasBeenSet = false;
755 bool m_startingPositionHasBeenSet = false;
756 bool m_startingPositionTimestampHasBeenSet = false;
757 bool m_batchSizeHasBeenSet = false;
758 bool m_maximumBatchingWindowInSecondsHasBeenSet = false;
759 bool m_parallelizationFactorHasBeenSet = false;
760 bool m_eventSourceArnHasBeenSet = false;
761 bool m_filterCriteriaHasBeenSet = false;
762 bool m_functionArnHasBeenSet = false;
763 bool m_lastModifiedHasBeenSet = false;
764 bool m_lastProcessingResultHasBeenSet = false;
765 bool m_stateHasBeenSet = false;
766 bool m_stateTransitionReasonHasBeenSet = false;
767 bool m_destinationConfigHasBeenSet = false;
768 bool m_topicsHasBeenSet = false;
769 bool m_queuesHasBeenSet = false;
770 bool m_sourceAccessConfigurationsHasBeenSet = false;
771 bool m_selfManagedEventSourceHasBeenSet = false;
772 bool m_maximumRecordAgeInSecondsHasBeenSet = false;
773 bool m_bisectBatchOnFunctionErrorHasBeenSet = false;
774 bool m_maximumRetryAttemptsHasBeenSet = false;
775 bool m_tumblingWindowInSecondsHasBeenSet = false;
776 bool m_functionResponseTypesHasBeenSet = false;
777 bool m_amazonManagedKafkaEventSourceConfigHasBeenSet = false;
778 bool m_selfManagedKafkaEventSourceConfigHasBeenSet = false;
779 bool m_scalingConfigHasBeenSet = false;
780 bool m_documentDBEventSourceConfigHasBeenSet = false;
781 bool m_kMSKeyArnHasBeenSet = false;
782 bool m_filterCriteriaErrorHasBeenSet = false;
783 bool m_eventSourceMappingArnHasBeenSet = false;
784 bool m_metricsConfigHasBeenSet = false;
785 bool m_provisionedPollerConfigHasBeenSet = false;
786 bool m_requestIdHasBeenSet = false;
787};
788
789} // namespace Model
790} // namespace Lambda
791} // namespace Aws
GetEventSourceMappingResult & AddFunctionResponseTypes(FunctionResponseType value)
const ProvisionedPollerConfig & GetProvisionedPollerConfig() const
GetEventSourceMappingResult & WithSourceAccessConfigurations(SourceAccessConfigurationsT &&value)
void SetFunctionResponseTypes(FunctionResponseTypesT &&value)
GetEventSourceMappingResult & AddTopics(TopicsT &&value)
AWS_LAMBDA_API GetEventSourceMappingResult()=default
GetEventSourceMappingResult & WithMetricsConfig(MetricsConfigT &&value)
GetEventSourceMappingResult & WithSelfManagedKafkaEventSourceConfig(SelfManagedKafkaEventSourceConfigT &&value)
GetEventSourceMappingResult & WithDocumentDBEventSourceConfig(DocumentDBEventSourceConfigT &&value)
AWS_LAMBDA_API GetEventSourceMappingResult & operator=(const Aws::AmazonWebServiceResult< Aws::Utils::Json::JsonValue > &result)
GetEventSourceMappingResult & WithLastProcessingResult(LastProcessingResultT &&value)
GetEventSourceMappingResult & WithParallelizationFactor(int value)
GetEventSourceMappingResult & WithSelfManagedEventSource(SelfManagedEventSourceT &&value)
GetEventSourceMappingResult & WithEventSourceArn(EventSourceArnT &&value)
void SetProvisionedPollerConfig(ProvisionedPollerConfigT &&value)
const DocumentDBEventSourceConfig & GetDocumentDBEventSourceConfig() const
void SetSourceAccessConfigurations(SourceAccessConfigurationsT &&value)
GetEventSourceMappingResult & WithBatchSize(int value)
GetEventSourceMappingResult & WithTumblingWindowInSeconds(int value)
GetEventSourceMappingResult & WithScalingConfig(ScalingConfigT &&value)
const SelfManagedEventSource & GetSelfManagedEventSource() const
const Aws::Vector< Aws::String > & GetTopics() const
GetEventSourceMappingResult & WithBisectBatchOnFunctionError(bool value)
const Aws::Vector< SourceAccessConfiguration > & GetSourceAccessConfigurations() const
void SetAmazonManagedKafkaEventSourceConfig(AmazonManagedKafkaEventSourceConfigT &&value)
GetEventSourceMappingResult & AddSourceAccessConfigurations(SourceAccessConfigurationsT &&value)
GetEventSourceMappingResult & WithEventSourceMappingArn(EventSourceMappingArnT &&value)
GetEventSourceMappingResult & WithRequestId(RequestIdT &&value)
GetEventSourceMappingResult & WithProvisionedPollerConfig(ProvisionedPollerConfigT &&value)
const AmazonManagedKafkaEventSourceConfig & GetAmazonManagedKafkaEventSourceConfig() const
GetEventSourceMappingResult & WithMaximumBatchingWindowInSeconds(int value)
const Aws::Vector< Aws::String > & GetQueues() const
void SetDocumentDBEventSourceConfig(DocumentDBEventSourceConfigT &&value)
const SelfManagedKafkaEventSourceConfig & GetSelfManagedKafkaEventSourceConfig() const
GetEventSourceMappingResult & WithLastModified(LastModifiedT &&value)
GetEventSourceMappingResult & WithQueues(QueuesT &&value)
GetEventSourceMappingResult & WithFilterCriteria(FilterCriteriaT &&value)
void SetEventSourceMappingArn(EventSourceMappingArnT &&value)
GetEventSourceMappingResult & WithDestinationConfig(DestinationConfigT &&value)
GetEventSourceMappingResult & WithFunctionResponseTypes(FunctionResponseTypesT &&value)
void SetLastProcessingResult(LastProcessingResultT &&value)
void SetSelfManagedEventSource(SelfManagedEventSourceT &&value)
const Aws::Vector< FunctionResponseType > & GetFunctionResponseTypes() const
GetEventSourceMappingResult & WithMaximumRecordAgeInSeconds(int value)
void SetStartingPositionTimestamp(StartingPositionTimestampT &&value)
GetEventSourceMappingResult & WithStartingPosition(EventSourcePosition value)
GetEventSourceMappingResult & WithFilterCriteriaError(FilterCriteriaErrorT &&value)
GetEventSourceMappingResult & WithAmazonManagedKafkaEventSourceConfig(AmazonManagedKafkaEventSourceConfigT &&value)
AWS_LAMBDA_API GetEventSourceMappingResult(const Aws::AmazonWebServiceResult< Aws::Utils::Json::JsonValue > &result)
const Aws::Utils::DateTime & GetStartingPositionTimestamp() const
GetEventSourceMappingResult & AddQueues(QueuesT &&value)
GetEventSourceMappingResult & WithStateTransitionReason(StateTransitionReasonT &&value)
GetEventSourceMappingResult & WithUUID(UUIDT &&value)
GetEventSourceMappingResult & WithMaximumRetryAttempts(int value)
void SetSelfManagedKafkaEventSourceConfig(SelfManagedKafkaEventSourceConfigT &&value)
void SetStateTransitionReason(StateTransitionReasonT &&value)
GetEventSourceMappingResult & WithState(StateT &&value)
const EventSourceMappingMetricsConfig & GetMetricsConfig() const
GetEventSourceMappingResult & WithKMSKeyArn(KMSKeyArnT &&value)
GetEventSourceMappingResult & WithStartingPositionTimestamp(StartingPositionTimestampT &&value)
GetEventSourceMappingResult & WithTopics(TopicsT &&value)
GetEventSourceMappingResult & WithFunctionArn(FunctionArnT &&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