AWS SDK for C++

AWS SDK for C++ Version 1.11.606

Loading...
Searching...
No Matches
GetEventSourceMappingResult.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{
28template<typename RESULT_TYPE>
29class AmazonWebServiceResult;
30
31namespace Utils
32{
33namespace Json
34{
35 class JsonValue;
36} // namespace Json
37} // namespace Utils
38namespace Lambda
39{
40namespace Model
41{
49 {
50 public:
51 AWS_LAMBDA_API GetEventSourceMappingResult() = default;
54
55
57
60 inline const Aws::String& GetUUID() const { return m_uUID; }
61 template<typename UUIDT = Aws::String>
62 void SetUUID(UUIDT&& value) { m_uUIDHasBeenSet = true; m_uUID = std::forward<UUIDT>(value); }
63 template<typename UUIDT = Aws::String>
64 GetEventSourceMappingResult& WithUUID(UUIDT&& value) { SetUUID(std::forward<UUIDT>(value)); return *this;}
66
68
74 inline EventSourcePosition GetStartingPosition() const { return m_startingPosition; }
75 inline void SetStartingPosition(EventSourcePosition value) { m_startingPositionHasBeenSet = true; m_startingPosition = value; }
78
80
85 inline const Aws::Utils::DateTime& GetStartingPositionTimestamp() const { return m_startingPositionTimestamp; }
86 template<typename StartingPositionTimestampT = Aws::Utils::DateTime>
87 void SetStartingPositionTimestamp(StartingPositionTimestampT&& value) { m_startingPositionTimestampHasBeenSet = true; m_startingPositionTimestamp = std::forward<StartingPositionTimestampT>(value); }
88 template<typename StartingPositionTimestampT = Aws::Utils::DateTime>
89 GetEventSourceMappingResult& WithStartingPositionTimestamp(StartingPositionTimestampT&& value) { SetStartingPositionTimestamp(std::forward<StartingPositionTimestampT>(value)); return *this;}
91
93
102 inline int GetBatchSize() const { return m_batchSize; }
103 inline void SetBatchSize(int value) { m_batchSizeHasBeenSet = true; m_batchSize = value; }
104 inline GetEventSourceMappingResult& WithBatchSize(int value) { SetBatchSize(value); return *this;}
106
108
123 inline int GetMaximumBatchingWindowInSeconds() const { return m_maximumBatchingWindowInSeconds; }
124 inline void SetMaximumBatchingWindowInSeconds(int value) { m_maximumBatchingWindowInSecondsHasBeenSet = true; m_maximumBatchingWindowInSeconds = value; }
127
129
133 inline int GetParallelizationFactor() const { return m_parallelizationFactor; }
134 inline void SetParallelizationFactor(int value) { m_parallelizationFactorHasBeenSet = true; m_parallelizationFactor = value; }
137
139
142 inline const Aws::String& GetEventSourceArn() const { return m_eventSourceArn; }
143 template<typename EventSourceArnT = Aws::String>
144 void SetEventSourceArn(EventSourceArnT&& value) { m_eventSourceArnHasBeenSet = true; m_eventSourceArn = std::forward<EventSourceArnT>(value); }
145 template<typename EventSourceArnT = Aws::String>
146 GetEventSourceMappingResult& WithEventSourceArn(EventSourceArnT&& value) { SetEventSourceArn(std::forward<EventSourceArnT>(value)); return *this;}
148
150
160 inline const FilterCriteria& GetFilterCriteria() const { return m_filterCriteria; }
161 template<typename FilterCriteriaT = FilterCriteria>
162 void SetFilterCriteria(FilterCriteriaT&& value) { m_filterCriteriaHasBeenSet = true; m_filterCriteria = std::forward<FilterCriteriaT>(value); }
163 template<typename FilterCriteriaT = FilterCriteria>
164 GetEventSourceMappingResult& WithFilterCriteria(FilterCriteriaT&& value) { SetFilterCriteria(std::forward<FilterCriteriaT>(value)); return *this;}
166
168
171 inline const Aws::String& GetFunctionArn() const { return m_functionArn; }
172 template<typename FunctionArnT = Aws::String>
173 void SetFunctionArn(FunctionArnT&& value) { m_functionArnHasBeenSet = true; m_functionArn = std::forward<FunctionArnT>(value); }
174 template<typename FunctionArnT = Aws::String>
175 GetEventSourceMappingResult& WithFunctionArn(FunctionArnT&& value) { SetFunctionArn(std::forward<FunctionArnT>(value)); return *this;}
177
179
183 inline const Aws::Utils::DateTime& GetLastModified() const { return m_lastModified; }
184 template<typename LastModifiedT = Aws::Utils::DateTime>
185 void SetLastModified(LastModifiedT&& value) { m_lastModifiedHasBeenSet = true; m_lastModified = std::forward<LastModifiedT>(value); }
186 template<typename LastModifiedT = Aws::Utils::DateTime>
187 GetEventSourceMappingResult& WithLastModified(LastModifiedT&& value) { SetLastModified(std::forward<LastModifiedT>(value)); return *this;}
189
191
194 inline const Aws::String& GetLastProcessingResult() const { return m_lastProcessingResult; }
195 template<typename LastProcessingResultT = Aws::String>
196 void SetLastProcessingResult(LastProcessingResultT&& value) { m_lastProcessingResultHasBeenSet = true; m_lastProcessingResult = std::forward<LastProcessingResultT>(value); }
197 template<typename LastProcessingResultT = Aws::String>
198 GetEventSourceMappingResult& WithLastProcessingResult(LastProcessingResultT&& value) { SetLastProcessingResult(std::forward<LastProcessingResultT>(value)); return *this;}
200
202
208 inline const Aws::String& GetState() const { return m_state; }
209 template<typename StateT = Aws::String>
210 void SetState(StateT&& value) { m_stateHasBeenSet = true; m_state = std::forward<StateT>(value); }
211 template<typename StateT = Aws::String>
212 GetEventSourceMappingResult& WithState(StateT&& value) { SetState(std::forward<StateT>(value)); return *this;}
214
216
220 inline const Aws::String& GetStateTransitionReason() const { return m_stateTransitionReason; }
221 template<typename StateTransitionReasonT = Aws::String>
222 void SetStateTransitionReason(StateTransitionReasonT&& value) { m_stateTransitionReasonHasBeenSet = true; m_stateTransitionReason = std::forward<StateTransitionReasonT>(value); }
223 template<typename StateTransitionReasonT = Aws::String>
224 GetEventSourceMappingResult& WithStateTransitionReason(StateTransitionReasonT&& value) { SetStateTransitionReason(std::forward<StateTransitionReasonT>(value)); return *this;}
226
228
233 inline const DestinationConfig& GetDestinationConfig() const { return m_destinationConfig; }
234 template<typename DestinationConfigT = DestinationConfig>
235 void SetDestinationConfig(DestinationConfigT&& value) { m_destinationConfigHasBeenSet = true; m_destinationConfig = std::forward<DestinationConfigT>(value); }
236 template<typename DestinationConfigT = DestinationConfig>
237 GetEventSourceMappingResult& WithDestinationConfig(DestinationConfigT&& value) { SetDestinationConfig(std::forward<DestinationConfigT>(value)); return *this;}
239
241
244 inline const Aws::Vector<Aws::String>& GetTopics() const { return m_topics; }
245 template<typename TopicsT = Aws::Vector<Aws::String>>
246 void SetTopics(TopicsT&& value) { m_topicsHasBeenSet = true; m_topics = std::forward<TopicsT>(value); }
247 template<typename TopicsT = Aws::Vector<Aws::String>>
248 GetEventSourceMappingResult& WithTopics(TopicsT&& value) { SetTopics(std::forward<TopicsT>(value)); return *this;}
249 template<typename TopicsT = Aws::String>
250 GetEventSourceMappingResult& AddTopics(TopicsT&& value) { m_topicsHasBeenSet = true; m_topics.emplace_back(std::forward<TopicsT>(value)); return *this; }
252
254
258 inline const Aws::Vector<Aws::String>& GetQueues() const { return m_queues; }
259 template<typename QueuesT = Aws::Vector<Aws::String>>
260 void SetQueues(QueuesT&& value) { m_queuesHasBeenSet = true; m_queues = std::forward<QueuesT>(value); }
261 template<typename QueuesT = Aws::Vector<Aws::String>>
262 GetEventSourceMappingResult& WithQueues(QueuesT&& value) { SetQueues(std::forward<QueuesT>(value)); return *this;}
263 template<typename QueuesT = Aws::String>
264 GetEventSourceMappingResult& AddQueues(QueuesT&& value) { m_queuesHasBeenSet = true; m_queues.emplace_back(std::forward<QueuesT>(value)); return *this; }
266
268
272 inline const Aws::Vector<SourceAccessConfiguration>& GetSourceAccessConfigurations() const { return m_sourceAccessConfigurations; }
273 template<typename SourceAccessConfigurationsT = Aws::Vector<SourceAccessConfiguration>>
274 void SetSourceAccessConfigurations(SourceAccessConfigurationsT&& value) { m_sourceAccessConfigurationsHasBeenSet = true; m_sourceAccessConfigurations = std::forward<SourceAccessConfigurationsT>(value); }
275 template<typename SourceAccessConfigurationsT = Aws::Vector<SourceAccessConfiguration>>
276 GetEventSourceMappingResult& WithSourceAccessConfigurations(SourceAccessConfigurationsT&& value) { SetSourceAccessConfigurations(std::forward<SourceAccessConfigurationsT>(value)); return *this;}
277 template<typename SourceAccessConfigurationsT = SourceAccessConfiguration>
278 GetEventSourceMappingResult& AddSourceAccessConfigurations(SourceAccessConfigurationsT&& value) { m_sourceAccessConfigurationsHasBeenSet = true; m_sourceAccessConfigurations.emplace_back(std::forward<SourceAccessConfigurationsT>(value)); return *this; }
280
282
285 inline const SelfManagedEventSource& GetSelfManagedEventSource() const { return m_selfManagedEventSource; }
286 template<typename SelfManagedEventSourceT = SelfManagedEventSource>
287 void SetSelfManagedEventSource(SelfManagedEventSourceT&& value) { m_selfManagedEventSourceHasBeenSet = true; m_selfManagedEventSource = std::forward<SelfManagedEventSourceT>(value); }
288 template<typename SelfManagedEventSourceT = SelfManagedEventSource>
289 GetEventSourceMappingResult& WithSelfManagedEventSource(SelfManagedEventSourceT&& value) { SetSelfManagedEventSource(std::forward<SelfManagedEventSourceT>(value)); return *this;}
291
293
301 inline int GetMaximumRecordAgeInSeconds() const { return m_maximumRecordAgeInSeconds; }
302 inline void SetMaximumRecordAgeInSeconds(int value) { m_maximumRecordAgeInSecondsHasBeenSet = true; m_maximumRecordAgeInSeconds = value; }
305
307
311 inline bool GetBisectBatchOnFunctionError() const { return m_bisectBatchOnFunctionError; }
312 inline void SetBisectBatchOnFunctionError(bool value) { m_bisectBatchOnFunctionErrorHasBeenSet = true; m_bisectBatchOnFunctionError = value; }
315
317
323 inline int GetMaximumRetryAttempts() const { return m_maximumRetryAttempts; }
324 inline void SetMaximumRetryAttempts(int value) { m_maximumRetryAttemptsHasBeenSet = true; m_maximumRetryAttempts = value; }
327
329
334 inline int GetTumblingWindowInSeconds() const { return m_tumblingWindowInSeconds; }
335 inline void SetTumblingWindowInSeconds(int value) { m_tumblingWindowInSecondsHasBeenSet = true; m_tumblingWindowInSeconds = value; }
338
340
344 inline const Aws::Vector<FunctionResponseType>& GetFunctionResponseTypes() const { return m_functionResponseTypes; }
345 template<typename FunctionResponseTypesT = Aws::Vector<FunctionResponseType>>
346 void SetFunctionResponseTypes(FunctionResponseTypesT&& value) { m_functionResponseTypesHasBeenSet = true; m_functionResponseTypes = std::forward<FunctionResponseTypesT>(value); }
347 template<typename FunctionResponseTypesT = Aws::Vector<FunctionResponseType>>
348 GetEventSourceMappingResult& WithFunctionResponseTypes(FunctionResponseTypesT&& value) { SetFunctionResponseTypes(std::forward<FunctionResponseTypesT>(value)); return *this;}
349 inline GetEventSourceMappingResult& AddFunctionResponseTypes(FunctionResponseType value) { m_functionResponseTypesHasBeenSet = true; m_functionResponseTypes.push_back(value); return *this; }
351
353
357 inline const AmazonManagedKafkaEventSourceConfig& GetAmazonManagedKafkaEventSourceConfig() const { return m_amazonManagedKafkaEventSourceConfig; }
358 template<typename AmazonManagedKafkaEventSourceConfigT = AmazonManagedKafkaEventSourceConfig>
359 void SetAmazonManagedKafkaEventSourceConfig(AmazonManagedKafkaEventSourceConfigT&& value) { m_amazonManagedKafkaEventSourceConfigHasBeenSet = true; m_amazonManagedKafkaEventSourceConfig = std::forward<AmazonManagedKafkaEventSourceConfigT>(value); }
360 template<typename AmazonManagedKafkaEventSourceConfigT = AmazonManagedKafkaEventSourceConfig>
361 GetEventSourceMappingResult& WithAmazonManagedKafkaEventSourceConfig(AmazonManagedKafkaEventSourceConfigT&& value) { SetAmazonManagedKafkaEventSourceConfig(std::forward<AmazonManagedKafkaEventSourceConfigT>(value)); return *this;}
363
365
369 inline const SelfManagedKafkaEventSourceConfig& GetSelfManagedKafkaEventSourceConfig() const { return m_selfManagedKafkaEventSourceConfig; }
370 template<typename SelfManagedKafkaEventSourceConfigT = SelfManagedKafkaEventSourceConfig>
371 void SetSelfManagedKafkaEventSourceConfig(SelfManagedKafkaEventSourceConfigT&& value) { m_selfManagedKafkaEventSourceConfigHasBeenSet = true; m_selfManagedKafkaEventSourceConfig = std::forward<SelfManagedKafkaEventSourceConfigT>(value); }
372 template<typename SelfManagedKafkaEventSourceConfigT = SelfManagedKafkaEventSourceConfig>
373 GetEventSourceMappingResult& WithSelfManagedKafkaEventSourceConfig(SelfManagedKafkaEventSourceConfigT&& value) { SetSelfManagedKafkaEventSourceConfig(std::forward<SelfManagedKafkaEventSourceConfigT>(value)); return *this;}
375
377
383 inline const ScalingConfig& GetScalingConfig() const { return m_scalingConfig; }
384 template<typename ScalingConfigT = ScalingConfig>
385 void SetScalingConfig(ScalingConfigT&& value) { m_scalingConfigHasBeenSet = true; m_scalingConfig = std::forward<ScalingConfigT>(value); }
386 template<typename ScalingConfigT = ScalingConfig>
387 GetEventSourceMappingResult& WithScalingConfig(ScalingConfigT&& value) { SetScalingConfig(std::forward<ScalingConfigT>(value)); return *this;}
389
391
394 inline const DocumentDBEventSourceConfig& GetDocumentDBEventSourceConfig() const { return m_documentDBEventSourceConfig; }
395 template<typename DocumentDBEventSourceConfigT = DocumentDBEventSourceConfig>
396 void SetDocumentDBEventSourceConfig(DocumentDBEventSourceConfigT&& value) { m_documentDBEventSourceConfigHasBeenSet = true; m_documentDBEventSourceConfig = std::forward<DocumentDBEventSourceConfigT>(value); }
397 template<typename DocumentDBEventSourceConfigT = DocumentDBEventSourceConfig>
398 GetEventSourceMappingResult& WithDocumentDBEventSourceConfig(DocumentDBEventSourceConfigT&& value) { SetDocumentDBEventSourceConfig(std::forward<DocumentDBEventSourceConfigT>(value)); return *this;}
400
402
408 inline const Aws::String& GetKMSKeyArn() const { return m_kMSKeyArn; }
409 template<typename KMSKeyArnT = Aws::String>
410 void SetKMSKeyArn(KMSKeyArnT&& value) { m_kMSKeyArnHasBeenSet = true; m_kMSKeyArn = std::forward<KMSKeyArnT>(value); }
411 template<typename KMSKeyArnT = Aws::String>
412 GetEventSourceMappingResult& WithKMSKeyArn(KMSKeyArnT&& value) { SetKMSKeyArn(std::forward<KMSKeyArnT>(value)); return *this;}
414
416
420 inline const FilterCriteriaError& GetFilterCriteriaError() const { return m_filterCriteriaError; }
421 template<typename FilterCriteriaErrorT = FilterCriteriaError>
422 void SetFilterCriteriaError(FilterCriteriaErrorT&& value) { m_filterCriteriaErrorHasBeenSet = true; m_filterCriteriaError = std::forward<FilterCriteriaErrorT>(value); }
423 template<typename FilterCriteriaErrorT = FilterCriteriaError>
424 GetEventSourceMappingResult& WithFilterCriteriaError(FilterCriteriaErrorT&& value) { SetFilterCriteriaError(std::forward<FilterCriteriaErrorT>(value)); return *this;}
426
428
431 inline const Aws::String& GetEventSourceMappingArn() const { return m_eventSourceMappingArn; }
432 template<typename EventSourceMappingArnT = Aws::String>
433 void SetEventSourceMappingArn(EventSourceMappingArnT&& value) { m_eventSourceMappingArnHasBeenSet = true; m_eventSourceMappingArn = std::forward<EventSourceMappingArnT>(value); }
434 template<typename EventSourceMappingArnT = Aws::String>
435 GetEventSourceMappingResult& WithEventSourceMappingArn(EventSourceMappingArnT&& value) { SetEventSourceMappingArn(std::forward<EventSourceMappingArnT>(value)); return *this;}
437
439
444 inline const EventSourceMappingMetricsConfig& GetMetricsConfig() const { return m_metricsConfig; }
445 template<typename MetricsConfigT = EventSourceMappingMetricsConfig>
446 void SetMetricsConfig(MetricsConfigT&& value) { m_metricsConfigHasBeenSet = true; m_metricsConfig = std::forward<MetricsConfigT>(value); }
447 template<typename MetricsConfigT = EventSourceMappingMetricsConfig>
448 GetEventSourceMappingResult& WithMetricsConfig(MetricsConfigT&& value) { SetMetricsConfig(std::forward<MetricsConfigT>(value)); return *this;}
450
452
458 inline const ProvisionedPollerConfig& GetProvisionedPollerConfig() const { return m_provisionedPollerConfig; }
459 template<typename ProvisionedPollerConfigT = ProvisionedPollerConfig>
460 void SetProvisionedPollerConfig(ProvisionedPollerConfigT&& value) { m_provisionedPollerConfigHasBeenSet = true; m_provisionedPollerConfig = std::forward<ProvisionedPollerConfigT>(value); }
461 template<typename ProvisionedPollerConfigT = ProvisionedPollerConfig>
462 GetEventSourceMappingResult& WithProvisionedPollerConfig(ProvisionedPollerConfigT&& value) { SetProvisionedPollerConfig(std::forward<ProvisionedPollerConfigT>(value)); return *this;}
464
466
467 inline const Aws::String& GetRequestId() const { return m_requestId; }
468 template<typename RequestIdT = Aws::String>
469 void SetRequestId(RequestIdT&& value) { m_requestIdHasBeenSet = true; m_requestId = std::forward<RequestIdT>(value); }
470 template<typename RequestIdT = Aws::String>
471 GetEventSourceMappingResult& WithRequestId(RequestIdT&& value) { SetRequestId(std::forward<RequestIdT>(value)); return *this;}
473 private:
474
475 Aws::String m_uUID;
476 bool m_uUIDHasBeenSet = false;
477
479 bool m_startingPositionHasBeenSet = false;
480
481 Aws::Utils::DateTime m_startingPositionTimestamp{};
482 bool m_startingPositionTimestampHasBeenSet = false;
483
484 int m_batchSize{0};
485 bool m_batchSizeHasBeenSet = false;
486
487 int m_maximumBatchingWindowInSeconds{0};
488 bool m_maximumBatchingWindowInSecondsHasBeenSet = false;
489
490 int m_parallelizationFactor{0};
491 bool m_parallelizationFactorHasBeenSet = false;
492
493 Aws::String m_eventSourceArn;
494 bool m_eventSourceArnHasBeenSet = false;
495
496 FilterCriteria m_filterCriteria;
497 bool m_filterCriteriaHasBeenSet = false;
498
499 Aws::String m_functionArn;
500 bool m_functionArnHasBeenSet = false;
501
502 Aws::Utils::DateTime m_lastModified{};
503 bool m_lastModifiedHasBeenSet = false;
504
505 Aws::String m_lastProcessingResult;
506 bool m_lastProcessingResultHasBeenSet = false;
507
508 Aws::String m_state;
509 bool m_stateHasBeenSet = false;
510
511 Aws::String m_stateTransitionReason;
512 bool m_stateTransitionReasonHasBeenSet = false;
513
514 DestinationConfig m_destinationConfig;
515 bool m_destinationConfigHasBeenSet = false;
516
518 bool m_topicsHasBeenSet = false;
519
521 bool m_queuesHasBeenSet = false;
522
523 Aws::Vector<SourceAccessConfiguration> m_sourceAccessConfigurations;
524 bool m_sourceAccessConfigurationsHasBeenSet = false;
525
526 SelfManagedEventSource m_selfManagedEventSource;
527 bool m_selfManagedEventSourceHasBeenSet = false;
528
529 int m_maximumRecordAgeInSeconds{0};
530 bool m_maximumRecordAgeInSecondsHasBeenSet = false;
531
532 bool m_bisectBatchOnFunctionError{false};
533 bool m_bisectBatchOnFunctionErrorHasBeenSet = false;
534
535 int m_maximumRetryAttempts{0};
536 bool m_maximumRetryAttemptsHasBeenSet = false;
537
538 int m_tumblingWindowInSeconds{0};
539 bool m_tumblingWindowInSecondsHasBeenSet = false;
540
541 Aws::Vector<FunctionResponseType> m_functionResponseTypes;
542 bool m_functionResponseTypesHasBeenSet = false;
543
544 AmazonManagedKafkaEventSourceConfig m_amazonManagedKafkaEventSourceConfig;
545 bool m_amazonManagedKafkaEventSourceConfigHasBeenSet = false;
546
547 SelfManagedKafkaEventSourceConfig m_selfManagedKafkaEventSourceConfig;
548 bool m_selfManagedKafkaEventSourceConfigHasBeenSet = false;
549
550 ScalingConfig m_scalingConfig;
551 bool m_scalingConfigHasBeenSet = false;
552
553 DocumentDBEventSourceConfig m_documentDBEventSourceConfig;
554 bool m_documentDBEventSourceConfigHasBeenSet = false;
555
556 Aws::String m_kMSKeyArn;
557 bool m_kMSKeyArnHasBeenSet = false;
558
559 FilterCriteriaError m_filterCriteriaError;
560 bool m_filterCriteriaErrorHasBeenSet = false;
561
562 Aws::String m_eventSourceMappingArn;
563 bool m_eventSourceMappingArnHasBeenSet = false;
564
565 EventSourceMappingMetricsConfig m_metricsConfig;
566 bool m_metricsConfigHasBeenSet = false;
567
568 ProvisionedPollerConfig m_provisionedPollerConfig;
569 bool m_provisionedPollerConfigHasBeenSet = false;
570
571 Aws::String m_requestId;
572 bool m_requestIdHasBeenSet = false;
573 };
574
575} // namespace Model
576} // namespace Lambda
577} // 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