AWS SDK for C++

AWS SDK for C++ Version 1.11.440

Loading...
Searching...
No Matches
EventSourceMappingConfiguration.h
1
6#pragma once
7#include <aws/lambda/Lambda_EXPORTS.h>
8#include <aws/core/utils/memory/stl/AWSString.h>
9#include <aws/lambda/model/EventSourcePosition.h>
10#include <aws/core/utils/DateTime.h>
11#include <aws/lambda/model/FilterCriteria.h>
12#include <aws/lambda/model/DestinationConfig.h>
13#include <aws/core/utils/memory/stl/AWSVector.h>
14#include <aws/lambda/model/SelfManagedEventSource.h>
15#include <aws/lambda/model/AmazonManagedKafkaEventSourceConfig.h>
16#include <aws/lambda/model/SelfManagedKafkaEventSourceConfig.h>
17#include <aws/lambda/model/ScalingConfig.h>
18#include <aws/lambda/model/DocumentDBEventSourceConfig.h>
19#include <aws/lambda/model/FilterCriteriaError.h>
20#include <aws/lambda/model/SourceAccessConfiguration.h>
21#include <aws/lambda/model/FunctionResponseType.h>
22#include <utility>
23
24namespace Aws
25{
26namespace Utils
27{
28namespace Json
29{
30 class JsonValue;
31 class JsonView;
32} // namespace Json
33} // namespace Utils
34namespace Lambda
35{
36namespace Model
37{
38
46 {
47 public:
51 AWS_LAMBDA_API Aws::Utils::Json::JsonValue Jsonize() const;
52
53
55
58 inline const Aws::String& GetUUID() const{ return m_uUID; }
59 inline bool UUIDHasBeenSet() const { return m_uUIDHasBeenSet; }
60 inline void SetUUID(const Aws::String& value) { m_uUIDHasBeenSet = true; m_uUID = value; }
61 inline void SetUUID(Aws::String&& value) { m_uUIDHasBeenSet = true; m_uUID = std::move(value); }
62 inline void SetUUID(const char* value) { m_uUIDHasBeenSet = true; m_uUID.assign(value); }
63 inline EventSourceMappingConfiguration& WithUUID(const Aws::String& value) { SetUUID(value); return *this;}
64 inline EventSourceMappingConfiguration& WithUUID(Aws::String&& value) { SetUUID(std::move(value)); return *this;}
65 inline EventSourceMappingConfiguration& WithUUID(const char* value) { SetUUID(value); return *this;}
67
69
75 inline const EventSourcePosition& GetStartingPosition() const{ return m_startingPosition; }
76 inline bool StartingPositionHasBeenSet() const { return m_startingPositionHasBeenSet; }
77 inline void SetStartingPosition(const EventSourcePosition& value) { m_startingPositionHasBeenSet = true; m_startingPosition = value; }
78 inline void SetStartingPosition(EventSourcePosition&& value) { m_startingPositionHasBeenSet = true; m_startingPosition = std::move(value); }
82
84
89 inline const Aws::Utils::DateTime& GetStartingPositionTimestamp() const{ return m_startingPositionTimestamp; }
90 inline bool StartingPositionTimestampHasBeenSet() const { return m_startingPositionTimestampHasBeenSet; }
91 inline void SetStartingPositionTimestamp(const Aws::Utils::DateTime& value) { m_startingPositionTimestampHasBeenSet = true; m_startingPositionTimestamp = value; }
92 inline void SetStartingPositionTimestamp(Aws::Utils::DateTime&& value) { m_startingPositionTimestampHasBeenSet = true; m_startingPositionTimestamp = std::move(value); }
96
98
107 inline int GetBatchSize() const{ return m_batchSize; }
108 inline bool BatchSizeHasBeenSet() const { return m_batchSizeHasBeenSet; }
109 inline void SetBatchSize(int value) { m_batchSizeHasBeenSet = true; m_batchSize = value; }
110 inline EventSourceMappingConfiguration& WithBatchSize(int value) { SetBatchSize(value); return *this;}
112
114
129 inline int GetMaximumBatchingWindowInSeconds() const{ return m_maximumBatchingWindowInSeconds; }
130 inline bool MaximumBatchingWindowInSecondsHasBeenSet() const { return m_maximumBatchingWindowInSecondsHasBeenSet; }
131 inline void SetMaximumBatchingWindowInSeconds(int value) { m_maximumBatchingWindowInSecondsHasBeenSet = true; m_maximumBatchingWindowInSeconds = value; }
134
136
140 inline int GetParallelizationFactor() const{ return m_parallelizationFactor; }
141 inline bool ParallelizationFactorHasBeenSet() const { return m_parallelizationFactorHasBeenSet; }
142 inline void SetParallelizationFactor(int value) { m_parallelizationFactorHasBeenSet = true; m_parallelizationFactor = value; }
145
147
150 inline const Aws::String& GetEventSourceArn() const{ return m_eventSourceArn; }
151 inline bool EventSourceArnHasBeenSet() const { return m_eventSourceArnHasBeenSet; }
152 inline void SetEventSourceArn(const Aws::String& value) { m_eventSourceArnHasBeenSet = true; m_eventSourceArn = value; }
153 inline void SetEventSourceArn(Aws::String&& value) { m_eventSourceArnHasBeenSet = true; m_eventSourceArn = std::move(value); }
154 inline void SetEventSourceArn(const char* value) { m_eventSourceArnHasBeenSet = true; m_eventSourceArn.assign(value); }
156 inline EventSourceMappingConfiguration& WithEventSourceArn(Aws::String&& value) { SetEventSourceArn(std::move(value)); return *this;}
157 inline EventSourceMappingConfiguration& WithEventSourceArn(const char* value) { SetEventSourceArn(value); return *this;}
159
161
171 inline const FilterCriteria& GetFilterCriteria() const{ return m_filterCriteria; }
172 inline bool FilterCriteriaHasBeenSet() const { return m_filterCriteriaHasBeenSet; }
173 inline void SetFilterCriteria(const FilterCriteria& value) { m_filterCriteriaHasBeenSet = true; m_filterCriteria = value; }
174 inline void SetFilterCriteria(FilterCriteria&& value) { m_filterCriteriaHasBeenSet = true; m_filterCriteria = std::move(value); }
176 inline EventSourceMappingConfiguration& WithFilterCriteria(FilterCriteria&& value) { SetFilterCriteria(std::move(value)); return *this;}
178
180
183 inline const Aws::String& GetFunctionArn() const{ return m_functionArn; }
184 inline bool FunctionArnHasBeenSet() const { return m_functionArnHasBeenSet; }
185 inline void SetFunctionArn(const Aws::String& value) { m_functionArnHasBeenSet = true; m_functionArn = value; }
186 inline void SetFunctionArn(Aws::String&& value) { m_functionArnHasBeenSet = true; m_functionArn = std::move(value); }
187 inline void SetFunctionArn(const char* value) { m_functionArnHasBeenSet = true; m_functionArn.assign(value); }
188 inline EventSourceMappingConfiguration& WithFunctionArn(const Aws::String& value) { SetFunctionArn(value); return *this;}
189 inline EventSourceMappingConfiguration& WithFunctionArn(Aws::String&& value) { SetFunctionArn(std::move(value)); return *this;}
190 inline EventSourceMappingConfiguration& WithFunctionArn(const char* value) { SetFunctionArn(value); return *this;}
192
194
198 inline const Aws::Utils::DateTime& GetLastModified() const{ return m_lastModified; }
199 inline bool LastModifiedHasBeenSet() const { return m_lastModifiedHasBeenSet; }
200 inline void SetLastModified(const Aws::Utils::DateTime& value) { m_lastModifiedHasBeenSet = true; m_lastModified = value; }
201 inline void SetLastModified(Aws::Utils::DateTime&& value) { m_lastModifiedHasBeenSet = true; m_lastModified = std::move(value); }
205
207
210 inline const Aws::String& GetLastProcessingResult() const{ return m_lastProcessingResult; }
211 inline bool LastProcessingResultHasBeenSet() const { return m_lastProcessingResultHasBeenSet; }
212 inline void SetLastProcessingResult(const Aws::String& value) { m_lastProcessingResultHasBeenSet = true; m_lastProcessingResult = value; }
213 inline void SetLastProcessingResult(Aws::String&& value) { m_lastProcessingResultHasBeenSet = true; m_lastProcessingResult = std::move(value); }
214 inline void SetLastProcessingResult(const char* value) { m_lastProcessingResultHasBeenSet = true; m_lastProcessingResult.assign(value); }
217 inline EventSourceMappingConfiguration& WithLastProcessingResult(const char* value) { SetLastProcessingResult(value); return *this;}
219
221
227 inline const Aws::String& GetState() const{ return m_state; }
228 inline bool StateHasBeenSet() const { return m_stateHasBeenSet; }
229 inline void SetState(const Aws::String& value) { m_stateHasBeenSet = true; m_state = value; }
230 inline void SetState(Aws::String&& value) { m_stateHasBeenSet = true; m_state = std::move(value); }
231 inline void SetState(const char* value) { m_stateHasBeenSet = true; m_state.assign(value); }
232 inline EventSourceMappingConfiguration& WithState(const Aws::String& value) { SetState(value); return *this;}
233 inline EventSourceMappingConfiguration& WithState(Aws::String&& value) { SetState(std::move(value)); return *this;}
234 inline EventSourceMappingConfiguration& WithState(const char* value) { SetState(value); return *this;}
236
238
242 inline const Aws::String& GetStateTransitionReason() const{ return m_stateTransitionReason; }
243 inline bool StateTransitionReasonHasBeenSet() const { return m_stateTransitionReasonHasBeenSet; }
244 inline void SetStateTransitionReason(const Aws::String& value) { m_stateTransitionReasonHasBeenSet = true; m_stateTransitionReason = value; }
245 inline void SetStateTransitionReason(Aws::String&& value) { m_stateTransitionReasonHasBeenSet = true; m_stateTransitionReason = std::move(value); }
246 inline void SetStateTransitionReason(const char* value) { m_stateTransitionReasonHasBeenSet = true; m_stateTransitionReason.assign(value); }
251
253
258 inline const DestinationConfig& GetDestinationConfig() const{ return m_destinationConfig; }
259 inline bool DestinationConfigHasBeenSet() const { return m_destinationConfigHasBeenSet; }
260 inline void SetDestinationConfig(const DestinationConfig& value) { m_destinationConfigHasBeenSet = true; m_destinationConfig = value; }
261 inline void SetDestinationConfig(DestinationConfig&& value) { m_destinationConfigHasBeenSet = true; m_destinationConfig = std::move(value); }
265
267
270 inline const Aws::Vector<Aws::String>& GetTopics() const{ return m_topics; }
271 inline bool TopicsHasBeenSet() const { return m_topicsHasBeenSet; }
272 inline void SetTopics(const Aws::Vector<Aws::String>& value) { m_topicsHasBeenSet = true; m_topics = value; }
273 inline void SetTopics(Aws::Vector<Aws::String>&& value) { m_topicsHasBeenSet = true; m_topics = std::move(value); }
275 inline EventSourceMappingConfiguration& WithTopics(Aws::Vector<Aws::String>&& value) { SetTopics(std::move(value)); return *this;}
276 inline EventSourceMappingConfiguration& AddTopics(const Aws::String& value) { m_topicsHasBeenSet = true; m_topics.push_back(value); return *this; }
277 inline EventSourceMappingConfiguration& AddTopics(Aws::String&& value) { m_topicsHasBeenSet = true; m_topics.push_back(std::move(value)); return *this; }
278 inline EventSourceMappingConfiguration& AddTopics(const char* value) { m_topicsHasBeenSet = true; m_topics.push_back(value); return *this; }
280
282
286 inline const Aws::Vector<Aws::String>& GetQueues() const{ return m_queues; }
287 inline bool QueuesHasBeenSet() const { return m_queuesHasBeenSet; }
288 inline void SetQueues(const Aws::Vector<Aws::String>& value) { m_queuesHasBeenSet = true; m_queues = value; }
289 inline void SetQueues(Aws::Vector<Aws::String>&& value) { m_queuesHasBeenSet = true; m_queues = std::move(value); }
291 inline EventSourceMappingConfiguration& WithQueues(Aws::Vector<Aws::String>&& value) { SetQueues(std::move(value)); return *this;}
292 inline EventSourceMappingConfiguration& AddQueues(const Aws::String& value) { m_queuesHasBeenSet = true; m_queues.push_back(value); return *this; }
293 inline EventSourceMappingConfiguration& AddQueues(Aws::String&& value) { m_queuesHasBeenSet = true; m_queues.push_back(std::move(value)); return *this; }
294 inline EventSourceMappingConfiguration& AddQueues(const char* value) { m_queuesHasBeenSet = true; m_queues.push_back(value); return *this; }
296
298
302 inline const Aws::Vector<SourceAccessConfiguration>& GetSourceAccessConfigurations() const{ return m_sourceAccessConfigurations; }
303 inline bool SourceAccessConfigurationsHasBeenSet() const { return m_sourceAccessConfigurationsHasBeenSet; }
304 inline void SetSourceAccessConfigurations(const Aws::Vector<SourceAccessConfiguration>& value) { m_sourceAccessConfigurationsHasBeenSet = true; m_sourceAccessConfigurations = value; }
305 inline void SetSourceAccessConfigurations(Aws::Vector<SourceAccessConfiguration>&& value) { m_sourceAccessConfigurationsHasBeenSet = true; m_sourceAccessConfigurations = std::move(value); }
308 inline EventSourceMappingConfiguration& AddSourceAccessConfigurations(const SourceAccessConfiguration& value) { m_sourceAccessConfigurationsHasBeenSet = true; m_sourceAccessConfigurations.push_back(value); return *this; }
309 inline EventSourceMappingConfiguration& AddSourceAccessConfigurations(SourceAccessConfiguration&& value) { m_sourceAccessConfigurationsHasBeenSet = true; m_sourceAccessConfigurations.push_back(std::move(value)); return *this; }
311
313
316 inline const SelfManagedEventSource& GetSelfManagedEventSource() const{ return m_selfManagedEventSource; }
317 inline bool SelfManagedEventSourceHasBeenSet() const { return m_selfManagedEventSourceHasBeenSet; }
318 inline void SetSelfManagedEventSource(const SelfManagedEventSource& value) { m_selfManagedEventSourceHasBeenSet = true; m_selfManagedEventSource = value; }
319 inline void SetSelfManagedEventSource(SelfManagedEventSource&& value) { m_selfManagedEventSourceHasBeenSet = true; m_selfManagedEventSource = std::move(value); }
323
325
333 inline int GetMaximumRecordAgeInSeconds() const{ return m_maximumRecordAgeInSeconds; }
334 inline bool MaximumRecordAgeInSecondsHasBeenSet() const { return m_maximumRecordAgeInSecondsHasBeenSet; }
335 inline void SetMaximumRecordAgeInSeconds(int value) { m_maximumRecordAgeInSecondsHasBeenSet = true; m_maximumRecordAgeInSeconds = value; }
338
340
344 inline bool GetBisectBatchOnFunctionError() const{ return m_bisectBatchOnFunctionError; }
345 inline bool BisectBatchOnFunctionErrorHasBeenSet() const { return m_bisectBatchOnFunctionErrorHasBeenSet; }
346 inline void SetBisectBatchOnFunctionError(bool value) { m_bisectBatchOnFunctionErrorHasBeenSet = true; m_bisectBatchOnFunctionError = value; }
349
351
357 inline int GetMaximumRetryAttempts() const{ return m_maximumRetryAttempts; }
358 inline bool MaximumRetryAttemptsHasBeenSet() const { return m_maximumRetryAttemptsHasBeenSet; }
359 inline void SetMaximumRetryAttempts(int value) { m_maximumRetryAttemptsHasBeenSet = true; m_maximumRetryAttempts = value; }
362
364
369 inline int GetTumblingWindowInSeconds() const{ return m_tumblingWindowInSeconds; }
370 inline bool TumblingWindowInSecondsHasBeenSet() const { return m_tumblingWindowInSecondsHasBeenSet; }
371 inline void SetTumblingWindowInSeconds(int value) { m_tumblingWindowInSecondsHasBeenSet = true; m_tumblingWindowInSeconds = value; }
374
376
380 inline const Aws::Vector<FunctionResponseType>& GetFunctionResponseTypes() const{ return m_functionResponseTypes; }
381 inline bool FunctionResponseTypesHasBeenSet() const { return m_functionResponseTypesHasBeenSet; }
382 inline void SetFunctionResponseTypes(const Aws::Vector<FunctionResponseType>& value) { m_functionResponseTypesHasBeenSet = true; m_functionResponseTypes = value; }
383 inline void SetFunctionResponseTypes(Aws::Vector<FunctionResponseType>&& value) { m_functionResponseTypesHasBeenSet = true; m_functionResponseTypes = std::move(value); }
386 inline EventSourceMappingConfiguration& AddFunctionResponseTypes(const FunctionResponseType& value) { m_functionResponseTypesHasBeenSet = true; m_functionResponseTypes.push_back(value); return *this; }
387 inline EventSourceMappingConfiguration& AddFunctionResponseTypes(FunctionResponseType&& value) { m_functionResponseTypesHasBeenSet = true; m_functionResponseTypes.push_back(std::move(value)); return *this; }
389
391
395 inline const AmazonManagedKafkaEventSourceConfig& GetAmazonManagedKafkaEventSourceConfig() const{ return m_amazonManagedKafkaEventSourceConfig; }
396 inline bool AmazonManagedKafkaEventSourceConfigHasBeenSet() const { return m_amazonManagedKafkaEventSourceConfigHasBeenSet; }
397 inline void SetAmazonManagedKafkaEventSourceConfig(const AmazonManagedKafkaEventSourceConfig& value) { m_amazonManagedKafkaEventSourceConfigHasBeenSet = true; m_amazonManagedKafkaEventSourceConfig = value; }
398 inline void SetAmazonManagedKafkaEventSourceConfig(AmazonManagedKafkaEventSourceConfig&& value) { m_amazonManagedKafkaEventSourceConfigHasBeenSet = true; m_amazonManagedKafkaEventSourceConfig = std::move(value); }
402
404
408 inline const SelfManagedKafkaEventSourceConfig& GetSelfManagedKafkaEventSourceConfig() const{ return m_selfManagedKafkaEventSourceConfig; }
409 inline bool SelfManagedKafkaEventSourceConfigHasBeenSet() const { return m_selfManagedKafkaEventSourceConfigHasBeenSet; }
410 inline void SetSelfManagedKafkaEventSourceConfig(const SelfManagedKafkaEventSourceConfig& value) { m_selfManagedKafkaEventSourceConfigHasBeenSet = true; m_selfManagedKafkaEventSourceConfig = value; }
411 inline void SetSelfManagedKafkaEventSourceConfig(SelfManagedKafkaEventSourceConfig&& value) { m_selfManagedKafkaEventSourceConfigHasBeenSet = true; m_selfManagedKafkaEventSourceConfig = std::move(value); }
415
417
423 inline const ScalingConfig& GetScalingConfig() const{ return m_scalingConfig; }
424 inline bool ScalingConfigHasBeenSet() const { return m_scalingConfigHasBeenSet; }
425 inline void SetScalingConfig(const ScalingConfig& value) { m_scalingConfigHasBeenSet = true; m_scalingConfig = value; }
426 inline void SetScalingConfig(ScalingConfig&& value) { m_scalingConfigHasBeenSet = true; m_scalingConfig = std::move(value); }
428 inline EventSourceMappingConfiguration& WithScalingConfig(ScalingConfig&& value) { SetScalingConfig(std::move(value)); return *this;}
430
432
435 inline const DocumentDBEventSourceConfig& GetDocumentDBEventSourceConfig() const{ return m_documentDBEventSourceConfig; }
436 inline bool DocumentDBEventSourceConfigHasBeenSet() const { return m_documentDBEventSourceConfigHasBeenSet; }
437 inline void SetDocumentDBEventSourceConfig(const DocumentDBEventSourceConfig& value) { m_documentDBEventSourceConfigHasBeenSet = true; m_documentDBEventSourceConfig = value; }
438 inline void SetDocumentDBEventSourceConfig(DocumentDBEventSourceConfig&& value) { m_documentDBEventSourceConfigHasBeenSet = true; m_documentDBEventSourceConfig = std::move(value); }
442
444
450 inline const Aws::String& GetKMSKeyArn() const{ return m_kMSKeyArn; }
451 inline bool KMSKeyArnHasBeenSet() const { return m_kMSKeyArnHasBeenSet; }
452 inline void SetKMSKeyArn(const Aws::String& value) { m_kMSKeyArnHasBeenSet = true; m_kMSKeyArn = value; }
453 inline void SetKMSKeyArn(Aws::String&& value) { m_kMSKeyArnHasBeenSet = true; m_kMSKeyArn = std::move(value); }
454 inline void SetKMSKeyArn(const char* value) { m_kMSKeyArnHasBeenSet = true; m_kMSKeyArn.assign(value); }
455 inline EventSourceMappingConfiguration& WithKMSKeyArn(const Aws::String& value) { SetKMSKeyArn(value); return *this;}
456 inline EventSourceMappingConfiguration& WithKMSKeyArn(Aws::String&& value) { SetKMSKeyArn(std::move(value)); return *this;}
457 inline EventSourceMappingConfiguration& WithKMSKeyArn(const char* value) { SetKMSKeyArn(value); return *this;}
459
461
465 inline const FilterCriteriaError& GetFilterCriteriaError() const{ return m_filterCriteriaError; }
466 inline bool FilterCriteriaErrorHasBeenSet() const { return m_filterCriteriaErrorHasBeenSet; }
467 inline void SetFilterCriteriaError(const FilterCriteriaError& value) { m_filterCriteriaErrorHasBeenSet = true; m_filterCriteriaError = value; }
468 inline void SetFilterCriteriaError(FilterCriteriaError&& value) { m_filterCriteriaErrorHasBeenSet = true; m_filterCriteriaError = std::move(value); }
472
474
477 inline const Aws::String& GetEventSourceMappingArn() const{ return m_eventSourceMappingArn; }
478 inline bool EventSourceMappingArnHasBeenSet() const { return m_eventSourceMappingArnHasBeenSet; }
479 inline void SetEventSourceMappingArn(const Aws::String& value) { m_eventSourceMappingArnHasBeenSet = true; m_eventSourceMappingArn = value; }
480 inline void SetEventSourceMappingArn(Aws::String&& value) { m_eventSourceMappingArnHasBeenSet = true; m_eventSourceMappingArn = std::move(value); }
481 inline void SetEventSourceMappingArn(const char* value) { m_eventSourceMappingArnHasBeenSet = true; m_eventSourceMappingArn.assign(value); }
486
488
489 inline const Aws::String& GetRequestId() const{ return m_requestId; }
490 inline bool RequestIdHasBeenSet() const { return m_requestIdHasBeenSet; }
491 inline void SetRequestId(const Aws::String& value) { m_requestIdHasBeenSet = true; m_requestId = value; }
492 inline void SetRequestId(Aws::String&& value) { m_requestIdHasBeenSet = true; m_requestId = std::move(value); }
493 inline void SetRequestId(const char* value) { m_requestIdHasBeenSet = true; m_requestId.assign(value); }
494 inline EventSourceMappingConfiguration& WithRequestId(const Aws::String& value) { SetRequestId(value); return *this;}
495 inline EventSourceMappingConfiguration& WithRequestId(Aws::String&& value) { SetRequestId(std::move(value)); return *this;}
496 inline EventSourceMappingConfiguration& WithRequestId(const char* value) { SetRequestId(value); return *this;}
498 private:
499
500 Aws::String m_uUID;
501 bool m_uUIDHasBeenSet = false;
502
503 EventSourcePosition m_startingPosition;
504 bool m_startingPositionHasBeenSet = false;
505
506 Aws::Utils::DateTime m_startingPositionTimestamp;
507 bool m_startingPositionTimestampHasBeenSet = false;
508
509 int m_batchSize;
510 bool m_batchSizeHasBeenSet = false;
511
512 int m_maximumBatchingWindowInSeconds;
513 bool m_maximumBatchingWindowInSecondsHasBeenSet = false;
514
515 int m_parallelizationFactor;
516 bool m_parallelizationFactorHasBeenSet = false;
517
518 Aws::String m_eventSourceArn;
519 bool m_eventSourceArnHasBeenSet = false;
520
521 FilterCriteria m_filterCriteria;
522 bool m_filterCriteriaHasBeenSet = false;
523
524 Aws::String m_functionArn;
525 bool m_functionArnHasBeenSet = false;
526
527 Aws::Utils::DateTime m_lastModified;
528 bool m_lastModifiedHasBeenSet = false;
529
530 Aws::String m_lastProcessingResult;
531 bool m_lastProcessingResultHasBeenSet = false;
532
533 Aws::String m_state;
534 bool m_stateHasBeenSet = false;
535
536 Aws::String m_stateTransitionReason;
537 bool m_stateTransitionReasonHasBeenSet = false;
538
539 DestinationConfig m_destinationConfig;
540 bool m_destinationConfigHasBeenSet = false;
541
543 bool m_topicsHasBeenSet = false;
544
546 bool m_queuesHasBeenSet = false;
547
548 Aws::Vector<SourceAccessConfiguration> m_sourceAccessConfigurations;
549 bool m_sourceAccessConfigurationsHasBeenSet = false;
550
551 SelfManagedEventSource m_selfManagedEventSource;
552 bool m_selfManagedEventSourceHasBeenSet = false;
553
554 int m_maximumRecordAgeInSeconds;
555 bool m_maximumRecordAgeInSecondsHasBeenSet = false;
556
557 bool m_bisectBatchOnFunctionError;
558 bool m_bisectBatchOnFunctionErrorHasBeenSet = false;
559
560 int m_maximumRetryAttempts;
561 bool m_maximumRetryAttemptsHasBeenSet = false;
562
563 int m_tumblingWindowInSeconds;
564 bool m_tumblingWindowInSecondsHasBeenSet = false;
565
566 Aws::Vector<FunctionResponseType> m_functionResponseTypes;
567 bool m_functionResponseTypesHasBeenSet = false;
568
569 AmazonManagedKafkaEventSourceConfig m_amazonManagedKafkaEventSourceConfig;
570 bool m_amazonManagedKafkaEventSourceConfigHasBeenSet = false;
571
572 SelfManagedKafkaEventSourceConfig m_selfManagedKafkaEventSourceConfig;
573 bool m_selfManagedKafkaEventSourceConfigHasBeenSet = false;
574
575 ScalingConfig m_scalingConfig;
576 bool m_scalingConfigHasBeenSet = false;
577
578 DocumentDBEventSourceConfig m_documentDBEventSourceConfig;
579 bool m_documentDBEventSourceConfigHasBeenSet = false;
580
581 Aws::String m_kMSKeyArn;
582 bool m_kMSKeyArnHasBeenSet = false;
583
584 FilterCriteriaError m_filterCriteriaError;
585 bool m_filterCriteriaErrorHasBeenSet = false;
586
587 Aws::String m_eventSourceMappingArn;
588 bool m_eventSourceMappingArnHasBeenSet = false;
589
590 Aws::String m_requestId;
591 bool m_requestIdHasBeenSet = false;
592 };
593
594} // namespace Model
595} // namespace Lambda
596} // namespace Aws
EventSourceMappingConfiguration & WithQueues(Aws::Vector< Aws::String > &&value)
const DocumentDBEventSourceConfig & GetDocumentDBEventSourceConfig() const
EventSourceMappingConfiguration & WithUUID(Aws::String &&value)
void SetAmazonManagedKafkaEventSourceConfig(AmazonManagedKafkaEventSourceConfig &&value)
EventSourceMappingConfiguration & WithFilterCriteria(const FilterCriteria &value)
AWS_LAMBDA_API Aws::Utils::Json::JsonValue Jsonize() const
EventSourceMappingConfiguration & AddFunctionResponseTypes(FunctionResponseType &&value)
EventSourceMappingConfiguration & WithFunctionArn(const Aws::String &value)
EventSourceMappingConfiguration & WithFunctionResponseTypes(const Aws::Vector< FunctionResponseType > &value)
void SetDocumentDBEventSourceConfig(DocumentDBEventSourceConfig &&value)
EventSourceMappingConfiguration & WithTopics(Aws::Vector< Aws::String > &&value)
const Aws::Vector< FunctionResponseType > & GetFunctionResponseTypes() const
EventSourceMappingConfiguration & WithAmazonManagedKafkaEventSourceConfig(const AmazonManagedKafkaEventSourceConfig &value)
EventSourceMappingConfiguration & WithEventSourceMappingArn(const char *value)
const SelfManagedKafkaEventSourceConfig & GetSelfManagedKafkaEventSourceConfig() const
EventSourceMappingConfiguration & AddSourceAccessConfigurations(const SourceAccessConfiguration &value)
void SetSourceAccessConfigurations(Aws::Vector< SourceAccessConfiguration > &&value)
EventSourceMappingConfiguration & WithDocumentDBEventSourceConfig(const DocumentDBEventSourceConfig &value)
void SetSourceAccessConfigurations(const Aws::Vector< SourceAccessConfiguration > &value)
const AmazonManagedKafkaEventSourceConfig & GetAmazonManagedKafkaEventSourceConfig() const
EventSourceMappingConfiguration & WithStateTransitionReason(Aws::String &&value)
EventSourceMappingConfiguration & WithFilterCriteriaError(FilterCriteriaError &&value)
EventSourceMappingConfiguration & AddQueues(const char *value)
void SetDocumentDBEventSourceConfig(const DocumentDBEventSourceConfig &value)
EventSourceMappingConfiguration & WithEventSourceMappingArn(const Aws::String &value)
EventSourceMappingConfiguration & WithFilterCriteriaError(const FilterCriteriaError &value)
EventSourceMappingConfiguration & WithScalingConfig(ScalingConfig &&value)
EventSourceMappingConfiguration & WithEventSourceArn(const char *value)
EventSourceMappingConfiguration & WithEventSourceArn(Aws::String &&value)
EventSourceMappingConfiguration & WithDocumentDBEventSourceConfig(DocumentDBEventSourceConfig &&value)
EventSourceMappingConfiguration & AddQueues(const Aws::String &value)
void SetAmazonManagedKafkaEventSourceConfig(const AmazonManagedKafkaEventSourceConfig &value)
EventSourceMappingConfiguration & AddQueues(Aws::String &&value)
EventSourceMappingConfiguration & WithFunctionArn(Aws::String &&value)
EventSourceMappingConfiguration & WithLastModified(Aws::Utils::DateTime &&value)
EventSourceMappingConfiguration & WithStartingPosition(EventSourcePosition &&value)
EventSourceMappingConfiguration & WithMaximumBatchingWindowInSeconds(int value)
EventSourceMappingConfiguration & WithSourceAccessConfigurations(const Aws::Vector< SourceAccessConfiguration > &value)
void SetStartingPositionTimestamp(const Aws::Utils::DateTime &value)
EventSourceMappingConfiguration & WithDestinationConfig(DestinationConfig &&value)
void SetSelfManagedKafkaEventSourceConfig(const SelfManagedKafkaEventSourceConfig &value)
void SetSelfManagedKafkaEventSourceConfig(SelfManagedKafkaEventSourceConfig &&value)
EventSourceMappingConfiguration & WithStartingPositionTimestamp(const Aws::Utils::DateTime &value)
EventSourceMappingConfiguration & WithLastProcessingResult(Aws::String &&value)
void SetTopics(const Aws::Vector< Aws::String > &value)
EventSourceMappingConfiguration & WithBatchSize(int value)
EventSourceMappingConfiguration & WithParallelizationFactor(int value)
void SetQueues(const Aws::Vector< Aws::String > &value)
EventSourceMappingConfiguration & WithLastProcessingResult(const char *value)
EventSourceMappingConfiguration & WithFunctionResponseTypes(Aws::Vector< FunctionResponseType > &&value)
EventSourceMappingConfiguration & WithSelfManagedKafkaEventSourceConfig(const SelfManagedKafkaEventSourceConfig &value)
EventSourceMappingConfiguration & AddFunctionResponseTypes(const FunctionResponseType &value)
EventSourceMappingConfiguration & WithKMSKeyArn(Aws::String &&value)
const Aws::Vector< SourceAccessConfiguration > & GetSourceAccessConfigurations() const
EventSourceMappingConfiguration & AddTopics(Aws::String &&value)
EventSourceMappingConfiguration & WithRequestId(Aws::String &&value)
EventSourceMappingConfiguration & WithStateTransitionReason(const char *value)
EventSourceMappingConfiguration & WithKMSKeyArn(const Aws::String &value)
EventSourceMappingConfiguration & WithRequestId(const char *value)
EventSourceMappingConfiguration & WithMaximumRecordAgeInSeconds(int value)
EventSourceMappingConfiguration & WithState(const Aws::String &value)
EventSourceMappingConfiguration & WithStateTransitionReason(const Aws::String &value)
EventSourceMappingConfiguration & WithSelfManagedEventSource(SelfManagedEventSource &&value)
EventSourceMappingConfiguration & WithStartingPosition(const EventSourcePosition &value)
EventSourceMappingConfiguration & WithQueues(const Aws::Vector< Aws::String > &value)
EventSourceMappingConfiguration & WithEventSourceArn(const Aws::String &value)
AWS_LAMBDA_API EventSourceMappingConfiguration & operator=(Aws::Utils::Json::JsonView jsonValue)
EventSourceMappingConfiguration & WithEventSourceMappingArn(Aws::String &&value)
EventSourceMappingConfiguration & WithSelfManagedEventSource(const SelfManagedEventSource &value)
EventSourceMappingConfiguration & WithScalingConfig(const ScalingConfig &value)
AWS_LAMBDA_API EventSourceMappingConfiguration(Aws::Utils::Json::JsonView jsonValue)
EventSourceMappingConfiguration & WithTopics(const Aws::Vector< Aws::String > &value)
EventSourceMappingConfiguration & WithLastProcessingResult(const Aws::String &value)
EventSourceMappingConfiguration & WithAmazonManagedKafkaEventSourceConfig(AmazonManagedKafkaEventSourceConfig &&value)
EventSourceMappingConfiguration & AddTopics(const char *value)
void SetFunctionResponseTypes(Aws::Vector< FunctionResponseType > &&value)
EventSourceMappingConfiguration & AddSourceAccessConfigurations(SourceAccessConfiguration &&value)
void SetFunctionResponseTypes(const Aws::Vector< FunctionResponseType > &value)
EventSourceMappingConfiguration & WithLastModified(const Aws::Utils::DateTime &value)
EventSourceMappingConfiguration & WithState(const char *value)
void SetSelfManagedEventSource(const SelfManagedEventSource &value)
EventSourceMappingConfiguration & AddTopics(const Aws::String &value)
EventSourceMappingConfiguration & WithSelfManagedKafkaEventSourceConfig(SelfManagedKafkaEventSourceConfig &&value)
EventSourceMappingConfiguration & WithSourceAccessConfigurations(Aws::Vector< SourceAccessConfiguration > &&value)
EventSourceMappingConfiguration & WithStartingPositionTimestamp(Aws::Utils::DateTime &&value)
EventSourceMappingConfiguration & WithFunctionArn(const char *value)
EventSourceMappingConfiguration & WithDestinationConfig(const DestinationConfig &value)
EventSourceMappingConfiguration & WithUUID(const char *value)
EventSourceMappingConfiguration & WithTumblingWindowInSeconds(int value)
EventSourceMappingConfiguration & WithMaximumRetryAttempts(int value)
EventSourceMappingConfiguration & WithFilterCriteria(FilterCriteria &&value)
EventSourceMappingConfiguration & WithState(Aws::String &&value)
EventSourceMappingConfiguration & WithRequestId(const Aws::String &value)
EventSourceMappingConfiguration & WithUUID(const Aws::String &value)
EventSourceMappingConfiguration & WithKMSKeyArn(const char *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