AWS SDK for C++

AWS SDK for C++ Version 1.11.606

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/EventSourceMappingMetricsConfig.h>
21#include <aws/lambda/model/ProvisionedPollerConfig.h>
22#include <aws/lambda/model/SourceAccessConfiguration.h>
23#include <aws/lambda/model/FunctionResponseType.h>
24#include <utility>
25
26namespace Aws
27{
28namespace Utils
29{
30namespace Json
31{
32 class JsonValue;
33 class JsonView;
34} // namespace Json
35} // namespace Utils
36namespace Lambda
37{
38namespace Model
39{
40
48 {
49 public:
50 AWS_LAMBDA_API EventSourceMappingConfiguration() = default;
53 AWS_LAMBDA_API Aws::Utils::Json::JsonValue Jsonize() const;
54
55
57
60 inline const Aws::String& GetUUID() const { return m_uUID; }
61 inline bool UUIDHasBeenSet() const { return m_uUIDHasBeenSet; }
62 template<typename UUIDT = Aws::String>
63 void SetUUID(UUIDT&& value) { m_uUIDHasBeenSet = true; m_uUID = std::forward<UUIDT>(value); }
64 template<typename UUIDT = Aws::String>
65 EventSourceMappingConfiguration& WithUUID(UUIDT&& value) { SetUUID(std::forward<UUIDT>(value)); return *this;}
67
69
75 inline EventSourcePosition GetStartingPosition() const { return m_startingPosition; }
76 inline bool StartingPositionHasBeenSet() const { return m_startingPositionHasBeenSet; }
77 inline void SetStartingPosition(EventSourcePosition value) { m_startingPositionHasBeenSet = true; m_startingPosition = value; }
80
82
87 inline const Aws::Utils::DateTime& GetStartingPositionTimestamp() const { return m_startingPositionTimestamp; }
88 inline bool StartingPositionTimestampHasBeenSet() const { return m_startingPositionTimestampHasBeenSet; }
89 template<typename StartingPositionTimestampT = Aws::Utils::DateTime>
90 void SetStartingPositionTimestamp(StartingPositionTimestampT&& value) { m_startingPositionTimestampHasBeenSet = true; m_startingPositionTimestamp = std::forward<StartingPositionTimestampT>(value); }
91 template<typename StartingPositionTimestampT = Aws::Utils::DateTime>
92 EventSourceMappingConfiguration& WithStartingPositionTimestamp(StartingPositionTimestampT&& value) { SetStartingPositionTimestamp(std::forward<StartingPositionTimestampT>(value)); return *this;}
94
96
105 inline int GetBatchSize() const { return m_batchSize; }
106 inline bool BatchSizeHasBeenSet() const { return m_batchSizeHasBeenSet; }
107 inline void SetBatchSize(int value) { m_batchSizeHasBeenSet = true; m_batchSize = value; }
108 inline EventSourceMappingConfiguration& WithBatchSize(int value) { SetBatchSize(value); return *this;}
110
112
127 inline int GetMaximumBatchingWindowInSeconds() const { return m_maximumBatchingWindowInSeconds; }
128 inline bool MaximumBatchingWindowInSecondsHasBeenSet() const { return m_maximumBatchingWindowInSecondsHasBeenSet; }
129 inline void SetMaximumBatchingWindowInSeconds(int value) { m_maximumBatchingWindowInSecondsHasBeenSet = true; m_maximumBatchingWindowInSeconds = value; }
132
134
138 inline int GetParallelizationFactor() const { return m_parallelizationFactor; }
139 inline bool ParallelizationFactorHasBeenSet() const { return m_parallelizationFactorHasBeenSet; }
140 inline void SetParallelizationFactor(int value) { m_parallelizationFactorHasBeenSet = true; m_parallelizationFactor = value; }
143
145
148 inline const Aws::String& GetEventSourceArn() const { return m_eventSourceArn; }
149 inline bool EventSourceArnHasBeenSet() const { return m_eventSourceArnHasBeenSet; }
150 template<typename EventSourceArnT = Aws::String>
151 void SetEventSourceArn(EventSourceArnT&& value) { m_eventSourceArnHasBeenSet = true; m_eventSourceArn = std::forward<EventSourceArnT>(value); }
152 template<typename EventSourceArnT = Aws::String>
153 EventSourceMappingConfiguration& WithEventSourceArn(EventSourceArnT&& value) { SetEventSourceArn(std::forward<EventSourceArnT>(value)); return *this;}
155
157
167 inline const FilterCriteria& GetFilterCriteria() const { return m_filterCriteria; }
168 inline bool FilterCriteriaHasBeenSet() const { return m_filterCriteriaHasBeenSet; }
169 template<typename FilterCriteriaT = FilterCriteria>
170 void SetFilterCriteria(FilterCriteriaT&& value) { m_filterCriteriaHasBeenSet = true; m_filterCriteria = std::forward<FilterCriteriaT>(value); }
171 template<typename FilterCriteriaT = FilterCriteria>
172 EventSourceMappingConfiguration& WithFilterCriteria(FilterCriteriaT&& value) { SetFilterCriteria(std::forward<FilterCriteriaT>(value)); return *this;}
174
176
179 inline const Aws::String& GetFunctionArn() const { return m_functionArn; }
180 inline bool FunctionArnHasBeenSet() const { return m_functionArnHasBeenSet; }
181 template<typename FunctionArnT = Aws::String>
182 void SetFunctionArn(FunctionArnT&& value) { m_functionArnHasBeenSet = true; m_functionArn = std::forward<FunctionArnT>(value); }
183 template<typename FunctionArnT = Aws::String>
184 EventSourceMappingConfiguration& WithFunctionArn(FunctionArnT&& value) { SetFunctionArn(std::forward<FunctionArnT>(value)); return *this;}
186
188
192 inline const Aws::Utils::DateTime& GetLastModified() const { return m_lastModified; }
193 inline bool LastModifiedHasBeenSet() const { return m_lastModifiedHasBeenSet; }
194 template<typename LastModifiedT = Aws::Utils::DateTime>
195 void SetLastModified(LastModifiedT&& value) { m_lastModifiedHasBeenSet = true; m_lastModified = std::forward<LastModifiedT>(value); }
196 template<typename LastModifiedT = Aws::Utils::DateTime>
197 EventSourceMappingConfiguration& WithLastModified(LastModifiedT&& value) { SetLastModified(std::forward<LastModifiedT>(value)); return *this;}
199
201
204 inline const Aws::String& GetLastProcessingResult() const { return m_lastProcessingResult; }
205 inline bool LastProcessingResultHasBeenSet() const { return m_lastProcessingResultHasBeenSet; }
206 template<typename LastProcessingResultT = Aws::String>
207 void SetLastProcessingResult(LastProcessingResultT&& value) { m_lastProcessingResultHasBeenSet = true; m_lastProcessingResult = std::forward<LastProcessingResultT>(value); }
208 template<typename LastProcessingResultT = Aws::String>
209 EventSourceMappingConfiguration& WithLastProcessingResult(LastProcessingResultT&& value) { SetLastProcessingResult(std::forward<LastProcessingResultT>(value)); return *this;}
211
213
219 inline const Aws::String& GetState() const { return m_state; }
220 inline bool StateHasBeenSet() const { return m_stateHasBeenSet; }
221 template<typename StateT = Aws::String>
222 void SetState(StateT&& value) { m_stateHasBeenSet = true; m_state = std::forward<StateT>(value); }
223 template<typename StateT = Aws::String>
224 EventSourceMappingConfiguration& WithState(StateT&& value) { SetState(std::forward<StateT>(value)); return *this;}
226
228
232 inline const Aws::String& GetStateTransitionReason() const { return m_stateTransitionReason; }
233 inline bool StateTransitionReasonHasBeenSet() const { return m_stateTransitionReasonHasBeenSet; }
234 template<typename StateTransitionReasonT = Aws::String>
235 void SetStateTransitionReason(StateTransitionReasonT&& value) { m_stateTransitionReasonHasBeenSet = true; m_stateTransitionReason = std::forward<StateTransitionReasonT>(value); }
236 template<typename StateTransitionReasonT = Aws::String>
237 EventSourceMappingConfiguration& WithStateTransitionReason(StateTransitionReasonT&& value) { SetStateTransitionReason(std::forward<StateTransitionReasonT>(value)); return *this;}
239
241
246 inline const DestinationConfig& GetDestinationConfig() const { return m_destinationConfig; }
247 inline bool DestinationConfigHasBeenSet() const { return m_destinationConfigHasBeenSet; }
248 template<typename DestinationConfigT = DestinationConfig>
249 void SetDestinationConfig(DestinationConfigT&& value) { m_destinationConfigHasBeenSet = true; m_destinationConfig = std::forward<DestinationConfigT>(value); }
250 template<typename DestinationConfigT = DestinationConfig>
251 EventSourceMappingConfiguration& WithDestinationConfig(DestinationConfigT&& value) { SetDestinationConfig(std::forward<DestinationConfigT>(value)); return *this;}
253
255
258 inline const Aws::Vector<Aws::String>& GetTopics() const { return m_topics; }
259 inline bool TopicsHasBeenSet() const { return m_topicsHasBeenSet; }
260 template<typename TopicsT = Aws::Vector<Aws::String>>
261 void SetTopics(TopicsT&& value) { m_topicsHasBeenSet = true; m_topics = std::forward<TopicsT>(value); }
262 template<typename TopicsT = Aws::Vector<Aws::String>>
263 EventSourceMappingConfiguration& WithTopics(TopicsT&& value) { SetTopics(std::forward<TopicsT>(value)); return *this;}
264 template<typename TopicsT = Aws::String>
265 EventSourceMappingConfiguration& AddTopics(TopicsT&& value) { m_topicsHasBeenSet = true; m_topics.emplace_back(std::forward<TopicsT>(value)); return *this; }
267
269
273 inline const Aws::Vector<Aws::String>& GetQueues() const { return m_queues; }
274 inline bool QueuesHasBeenSet() const { return m_queuesHasBeenSet; }
275 template<typename QueuesT = Aws::Vector<Aws::String>>
276 void SetQueues(QueuesT&& value) { m_queuesHasBeenSet = true; m_queues = std::forward<QueuesT>(value); }
277 template<typename QueuesT = Aws::Vector<Aws::String>>
278 EventSourceMappingConfiguration& WithQueues(QueuesT&& value) { SetQueues(std::forward<QueuesT>(value)); return *this;}
279 template<typename QueuesT = Aws::String>
280 EventSourceMappingConfiguration& AddQueues(QueuesT&& value) { m_queuesHasBeenSet = true; m_queues.emplace_back(std::forward<QueuesT>(value)); return *this; }
282
284
288 inline const Aws::Vector<SourceAccessConfiguration>& GetSourceAccessConfigurations() const { return m_sourceAccessConfigurations; }
289 inline bool SourceAccessConfigurationsHasBeenSet() const { return m_sourceAccessConfigurationsHasBeenSet; }
290 template<typename SourceAccessConfigurationsT = Aws::Vector<SourceAccessConfiguration>>
291 void SetSourceAccessConfigurations(SourceAccessConfigurationsT&& value) { m_sourceAccessConfigurationsHasBeenSet = true; m_sourceAccessConfigurations = std::forward<SourceAccessConfigurationsT>(value); }
292 template<typename SourceAccessConfigurationsT = Aws::Vector<SourceAccessConfiguration>>
293 EventSourceMappingConfiguration& WithSourceAccessConfigurations(SourceAccessConfigurationsT&& value) { SetSourceAccessConfigurations(std::forward<SourceAccessConfigurationsT>(value)); return *this;}
294 template<typename SourceAccessConfigurationsT = SourceAccessConfiguration>
295 EventSourceMappingConfiguration& AddSourceAccessConfigurations(SourceAccessConfigurationsT&& value) { m_sourceAccessConfigurationsHasBeenSet = true; m_sourceAccessConfigurations.emplace_back(std::forward<SourceAccessConfigurationsT>(value)); return *this; }
297
299
302 inline const SelfManagedEventSource& GetSelfManagedEventSource() const { return m_selfManagedEventSource; }
303 inline bool SelfManagedEventSourceHasBeenSet() const { return m_selfManagedEventSourceHasBeenSet; }
304 template<typename SelfManagedEventSourceT = SelfManagedEventSource>
305 void SetSelfManagedEventSource(SelfManagedEventSourceT&& value) { m_selfManagedEventSourceHasBeenSet = true; m_selfManagedEventSource = std::forward<SelfManagedEventSourceT>(value); }
306 template<typename SelfManagedEventSourceT = SelfManagedEventSource>
307 EventSourceMappingConfiguration& WithSelfManagedEventSource(SelfManagedEventSourceT&& value) { SetSelfManagedEventSource(std::forward<SelfManagedEventSourceT>(value)); return *this;}
309
311
319 inline int GetMaximumRecordAgeInSeconds() const { return m_maximumRecordAgeInSeconds; }
320 inline bool MaximumRecordAgeInSecondsHasBeenSet() const { return m_maximumRecordAgeInSecondsHasBeenSet; }
321 inline void SetMaximumRecordAgeInSeconds(int value) { m_maximumRecordAgeInSecondsHasBeenSet = true; m_maximumRecordAgeInSeconds = value; }
324
326
330 inline bool GetBisectBatchOnFunctionError() const { return m_bisectBatchOnFunctionError; }
331 inline bool BisectBatchOnFunctionErrorHasBeenSet() const { return m_bisectBatchOnFunctionErrorHasBeenSet; }
332 inline void SetBisectBatchOnFunctionError(bool value) { m_bisectBatchOnFunctionErrorHasBeenSet = true; m_bisectBatchOnFunctionError = value; }
335
337
343 inline int GetMaximumRetryAttempts() const { return m_maximumRetryAttempts; }
344 inline bool MaximumRetryAttemptsHasBeenSet() const { return m_maximumRetryAttemptsHasBeenSet; }
345 inline void SetMaximumRetryAttempts(int value) { m_maximumRetryAttemptsHasBeenSet = true; m_maximumRetryAttempts = value; }
348
350
355 inline int GetTumblingWindowInSeconds() const { return m_tumblingWindowInSeconds; }
356 inline bool TumblingWindowInSecondsHasBeenSet() const { return m_tumblingWindowInSecondsHasBeenSet; }
357 inline void SetTumblingWindowInSeconds(int value) { m_tumblingWindowInSecondsHasBeenSet = true; m_tumblingWindowInSeconds = value; }
360
362
366 inline const Aws::Vector<FunctionResponseType>& GetFunctionResponseTypes() const { return m_functionResponseTypes; }
367 inline bool FunctionResponseTypesHasBeenSet() const { return m_functionResponseTypesHasBeenSet; }
368 template<typename FunctionResponseTypesT = Aws::Vector<FunctionResponseType>>
369 void SetFunctionResponseTypes(FunctionResponseTypesT&& value) { m_functionResponseTypesHasBeenSet = true; m_functionResponseTypes = std::forward<FunctionResponseTypesT>(value); }
370 template<typename FunctionResponseTypesT = Aws::Vector<FunctionResponseType>>
371 EventSourceMappingConfiguration& WithFunctionResponseTypes(FunctionResponseTypesT&& value) { SetFunctionResponseTypes(std::forward<FunctionResponseTypesT>(value)); return *this;}
372 inline EventSourceMappingConfiguration& AddFunctionResponseTypes(FunctionResponseType value) { m_functionResponseTypesHasBeenSet = true; m_functionResponseTypes.push_back(value); return *this; }
374
376
380 inline const AmazonManagedKafkaEventSourceConfig& GetAmazonManagedKafkaEventSourceConfig() const { return m_amazonManagedKafkaEventSourceConfig; }
381 inline bool AmazonManagedKafkaEventSourceConfigHasBeenSet() const { return m_amazonManagedKafkaEventSourceConfigHasBeenSet; }
382 template<typename AmazonManagedKafkaEventSourceConfigT = AmazonManagedKafkaEventSourceConfig>
383 void SetAmazonManagedKafkaEventSourceConfig(AmazonManagedKafkaEventSourceConfigT&& value) { m_amazonManagedKafkaEventSourceConfigHasBeenSet = true; m_amazonManagedKafkaEventSourceConfig = std::forward<AmazonManagedKafkaEventSourceConfigT>(value); }
384 template<typename AmazonManagedKafkaEventSourceConfigT = AmazonManagedKafkaEventSourceConfig>
385 EventSourceMappingConfiguration& WithAmazonManagedKafkaEventSourceConfig(AmazonManagedKafkaEventSourceConfigT&& value) { SetAmazonManagedKafkaEventSourceConfig(std::forward<AmazonManagedKafkaEventSourceConfigT>(value)); return *this;}
387
389
393 inline const SelfManagedKafkaEventSourceConfig& GetSelfManagedKafkaEventSourceConfig() const { return m_selfManagedKafkaEventSourceConfig; }
394 inline bool SelfManagedKafkaEventSourceConfigHasBeenSet() const { return m_selfManagedKafkaEventSourceConfigHasBeenSet; }
395 template<typename SelfManagedKafkaEventSourceConfigT = SelfManagedKafkaEventSourceConfig>
396 void SetSelfManagedKafkaEventSourceConfig(SelfManagedKafkaEventSourceConfigT&& value) { m_selfManagedKafkaEventSourceConfigHasBeenSet = true; m_selfManagedKafkaEventSourceConfig = std::forward<SelfManagedKafkaEventSourceConfigT>(value); }
397 template<typename SelfManagedKafkaEventSourceConfigT = SelfManagedKafkaEventSourceConfig>
398 EventSourceMappingConfiguration& WithSelfManagedKafkaEventSourceConfig(SelfManagedKafkaEventSourceConfigT&& value) { SetSelfManagedKafkaEventSourceConfig(std::forward<SelfManagedKafkaEventSourceConfigT>(value)); return *this;}
400
402
408 inline const ScalingConfig& GetScalingConfig() const { return m_scalingConfig; }
409 inline bool ScalingConfigHasBeenSet() const { return m_scalingConfigHasBeenSet; }
410 template<typename ScalingConfigT = ScalingConfig>
411 void SetScalingConfig(ScalingConfigT&& value) { m_scalingConfigHasBeenSet = true; m_scalingConfig = std::forward<ScalingConfigT>(value); }
412 template<typename ScalingConfigT = ScalingConfig>
413 EventSourceMappingConfiguration& WithScalingConfig(ScalingConfigT&& value) { SetScalingConfig(std::forward<ScalingConfigT>(value)); return *this;}
415
417
420 inline const DocumentDBEventSourceConfig& GetDocumentDBEventSourceConfig() const { return m_documentDBEventSourceConfig; }
421 inline bool DocumentDBEventSourceConfigHasBeenSet() const { return m_documentDBEventSourceConfigHasBeenSet; }
422 template<typename DocumentDBEventSourceConfigT = DocumentDBEventSourceConfig>
423 void SetDocumentDBEventSourceConfig(DocumentDBEventSourceConfigT&& value) { m_documentDBEventSourceConfigHasBeenSet = true; m_documentDBEventSourceConfig = std::forward<DocumentDBEventSourceConfigT>(value); }
424 template<typename DocumentDBEventSourceConfigT = DocumentDBEventSourceConfig>
425 EventSourceMappingConfiguration& WithDocumentDBEventSourceConfig(DocumentDBEventSourceConfigT&& value) { SetDocumentDBEventSourceConfig(std::forward<DocumentDBEventSourceConfigT>(value)); return *this;}
427
429
435 inline const Aws::String& GetKMSKeyArn() const { return m_kMSKeyArn; }
436 inline bool KMSKeyArnHasBeenSet() const { return m_kMSKeyArnHasBeenSet; }
437 template<typename KMSKeyArnT = Aws::String>
438 void SetKMSKeyArn(KMSKeyArnT&& value) { m_kMSKeyArnHasBeenSet = true; m_kMSKeyArn = std::forward<KMSKeyArnT>(value); }
439 template<typename KMSKeyArnT = Aws::String>
440 EventSourceMappingConfiguration& WithKMSKeyArn(KMSKeyArnT&& value) { SetKMSKeyArn(std::forward<KMSKeyArnT>(value)); return *this;}
442
444
448 inline const FilterCriteriaError& GetFilterCriteriaError() const { return m_filterCriteriaError; }
449 inline bool FilterCriteriaErrorHasBeenSet() const { return m_filterCriteriaErrorHasBeenSet; }
450 template<typename FilterCriteriaErrorT = FilterCriteriaError>
451 void SetFilterCriteriaError(FilterCriteriaErrorT&& value) { m_filterCriteriaErrorHasBeenSet = true; m_filterCriteriaError = std::forward<FilterCriteriaErrorT>(value); }
452 template<typename FilterCriteriaErrorT = FilterCriteriaError>
453 EventSourceMappingConfiguration& WithFilterCriteriaError(FilterCriteriaErrorT&& value) { SetFilterCriteriaError(std::forward<FilterCriteriaErrorT>(value)); return *this;}
455
457
460 inline const Aws::String& GetEventSourceMappingArn() const { return m_eventSourceMappingArn; }
461 inline bool EventSourceMappingArnHasBeenSet() const { return m_eventSourceMappingArnHasBeenSet; }
462 template<typename EventSourceMappingArnT = Aws::String>
463 void SetEventSourceMappingArn(EventSourceMappingArnT&& value) { m_eventSourceMappingArnHasBeenSet = true; m_eventSourceMappingArn = std::forward<EventSourceMappingArnT>(value); }
464 template<typename EventSourceMappingArnT = Aws::String>
465 EventSourceMappingConfiguration& WithEventSourceMappingArn(EventSourceMappingArnT&& value) { SetEventSourceMappingArn(std::forward<EventSourceMappingArnT>(value)); return *this;}
467
469
474 inline const EventSourceMappingMetricsConfig& GetMetricsConfig() const { return m_metricsConfig; }
475 inline bool MetricsConfigHasBeenSet() const { return m_metricsConfigHasBeenSet; }
476 template<typename MetricsConfigT = EventSourceMappingMetricsConfig>
477 void SetMetricsConfig(MetricsConfigT&& value) { m_metricsConfigHasBeenSet = true; m_metricsConfig = std::forward<MetricsConfigT>(value); }
478 template<typename MetricsConfigT = EventSourceMappingMetricsConfig>
479 EventSourceMappingConfiguration& WithMetricsConfig(MetricsConfigT&& value) { SetMetricsConfig(std::forward<MetricsConfigT>(value)); return *this;}
481
483
489 inline const ProvisionedPollerConfig& GetProvisionedPollerConfig() const { return m_provisionedPollerConfig; }
490 inline bool ProvisionedPollerConfigHasBeenSet() const { return m_provisionedPollerConfigHasBeenSet; }
491 template<typename ProvisionedPollerConfigT = ProvisionedPollerConfig>
492 void SetProvisionedPollerConfig(ProvisionedPollerConfigT&& value) { m_provisionedPollerConfigHasBeenSet = true; m_provisionedPollerConfig = std::forward<ProvisionedPollerConfigT>(value); }
493 template<typename ProvisionedPollerConfigT = ProvisionedPollerConfig>
494 EventSourceMappingConfiguration& WithProvisionedPollerConfig(ProvisionedPollerConfigT&& value) { SetProvisionedPollerConfig(std::forward<ProvisionedPollerConfigT>(value)); return *this;}
496
498
499 inline const Aws::String& GetRequestId() const { return m_requestId; }
500 inline bool RequestIdHasBeenSet() const { return m_requestIdHasBeenSet; }
501 template<typename RequestIdT = Aws::String>
502 void SetRequestId(RequestIdT&& value) { m_requestIdHasBeenSet = true; m_requestId = std::forward<RequestIdT>(value); }
503 template<typename RequestIdT = Aws::String>
504 EventSourceMappingConfiguration& WithRequestId(RequestIdT&& value) { SetRequestId(std::forward<RequestIdT>(value)); return *this;}
506 private:
507
508 Aws::String m_uUID;
509 bool m_uUIDHasBeenSet = false;
510
512 bool m_startingPositionHasBeenSet = false;
513
514 Aws::Utils::DateTime m_startingPositionTimestamp{};
515 bool m_startingPositionTimestampHasBeenSet = false;
516
517 int m_batchSize{0};
518 bool m_batchSizeHasBeenSet = false;
519
520 int m_maximumBatchingWindowInSeconds{0};
521 bool m_maximumBatchingWindowInSecondsHasBeenSet = false;
522
523 int m_parallelizationFactor{0};
524 bool m_parallelizationFactorHasBeenSet = false;
525
526 Aws::String m_eventSourceArn;
527 bool m_eventSourceArnHasBeenSet = false;
528
529 FilterCriteria m_filterCriteria;
530 bool m_filterCriteriaHasBeenSet = false;
531
532 Aws::String m_functionArn;
533 bool m_functionArnHasBeenSet = false;
534
535 Aws::Utils::DateTime m_lastModified{};
536 bool m_lastModifiedHasBeenSet = false;
537
538 Aws::String m_lastProcessingResult;
539 bool m_lastProcessingResultHasBeenSet = false;
540
541 Aws::String m_state;
542 bool m_stateHasBeenSet = false;
543
544 Aws::String m_stateTransitionReason;
545 bool m_stateTransitionReasonHasBeenSet = false;
546
547 DestinationConfig m_destinationConfig;
548 bool m_destinationConfigHasBeenSet = false;
549
551 bool m_topicsHasBeenSet = false;
552
554 bool m_queuesHasBeenSet = false;
555
556 Aws::Vector<SourceAccessConfiguration> m_sourceAccessConfigurations;
557 bool m_sourceAccessConfigurationsHasBeenSet = false;
558
559 SelfManagedEventSource m_selfManagedEventSource;
560 bool m_selfManagedEventSourceHasBeenSet = false;
561
562 int m_maximumRecordAgeInSeconds{0};
563 bool m_maximumRecordAgeInSecondsHasBeenSet = false;
564
565 bool m_bisectBatchOnFunctionError{false};
566 bool m_bisectBatchOnFunctionErrorHasBeenSet = false;
567
568 int m_maximumRetryAttempts{0};
569 bool m_maximumRetryAttemptsHasBeenSet = false;
570
571 int m_tumblingWindowInSeconds{0};
572 bool m_tumblingWindowInSecondsHasBeenSet = false;
573
574 Aws::Vector<FunctionResponseType> m_functionResponseTypes;
575 bool m_functionResponseTypesHasBeenSet = false;
576
577 AmazonManagedKafkaEventSourceConfig m_amazonManagedKafkaEventSourceConfig;
578 bool m_amazonManagedKafkaEventSourceConfigHasBeenSet = false;
579
580 SelfManagedKafkaEventSourceConfig m_selfManagedKafkaEventSourceConfig;
581 bool m_selfManagedKafkaEventSourceConfigHasBeenSet = false;
582
583 ScalingConfig m_scalingConfig;
584 bool m_scalingConfigHasBeenSet = false;
585
586 DocumentDBEventSourceConfig m_documentDBEventSourceConfig;
587 bool m_documentDBEventSourceConfigHasBeenSet = false;
588
589 Aws::String m_kMSKeyArn;
590 bool m_kMSKeyArnHasBeenSet = false;
591
592 FilterCriteriaError m_filterCriteriaError;
593 bool m_filterCriteriaErrorHasBeenSet = false;
594
595 Aws::String m_eventSourceMappingArn;
596 bool m_eventSourceMappingArnHasBeenSet = false;
597
598 EventSourceMappingMetricsConfig m_metricsConfig;
599 bool m_metricsConfigHasBeenSet = false;
600
601 ProvisionedPollerConfig m_provisionedPollerConfig;
602 bool m_provisionedPollerConfigHasBeenSet = false;
603
604 Aws::String m_requestId;
605 bool m_requestIdHasBeenSet = false;
606 };
607
608} // namespace Model
609} // namespace Lambda
610} // 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