AWS SDK for C++

AWS SDK for C++ Version 1.11.440

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/SourceAccessConfiguration.h>
21#include <aws/lambda/model/FunctionResponseType.h>
22#include <utility>
23
24namespace Aws
25{
26template<typename RESULT_TYPE>
27class AmazonWebServiceResult;
28
29namespace Utils
30{
31namespace Json
32{
33 class JsonValue;
34} // namespace Json
35} // namespace Utils
36namespace Lambda
37{
38namespace Model
39{
47 {
48 public:
52
53
55
58 inline const Aws::String& GetUUID() const{ return m_uUID; }
59 inline void SetUUID(const Aws::String& value) { m_uUID = value; }
60 inline void SetUUID(Aws::String&& value) { m_uUID = std::move(value); }
61 inline void SetUUID(const char* value) { m_uUID.assign(value); }
62 inline GetEventSourceMappingResult& WithUUID(const Aws::String& value) { SetUUID(value); return *this;}
63 inline GetEventSourceMappingResult& WithUUID(Aws::String&& value) { SetUUID(std::move(value)); return *this;}
64 inline GetEventSourceMappingResult& WithUUID(const char* value) { SetUUID(value); return *this;}
66
68
74 inline const EventSourcePosition& GetStartingPosition() const{ return m_startingPosition; }
75 inline void SetStartingPosition(const EventSourcePosition& value) { m_startingPosition = value; }
76 inline void SetStartingPosition(EventSourcePosition&& value) { m_startingPosition = std::move(value); }
80
82
87 inline const Aws::Utils::DateTime& GetStartingPositionTimestamp() const{ return m_startingPositionTimestamp; }
88 inline void SetStartingPositionTimestamp(const Aws::Utils::DateTime& value) { m_startingPositionTimestamp = value; }
89 inline void SetStartingPositionTimestamp(Aws::Utils::DateTime&& value) { m_startingPositionTimestamp = std::move(value); }
93
95
104 inline int GetBatchSize() const{ return m_batchSize; }
105 inline void SetBatchSize(int value) { m_batchSize = value; }
106 inline GetEventSourceMappingResult& WithBatchSize(int value) { SetBatchSize(value); return *this;}
108
110
125 inline int GetMaximumBatchingWindowInSeconds() const{ return m_maximumBatchingWindowInSeconds; }
126 inline void SetMaximumBatchingWindowInSeconds(int value) { m_maximumBatchingWindowInSeconds = value; }
129
131
135 inline int GetParallelizationFactor() const{ return m_parallelizationFactor; }
136 inline void SetParallelizationFactor(int value) { m_parallelizationFactor = value; }
139
141
144 inline const Aws::String& GetEventSourceArn() const{ return m_eventSourceArn; }
145 inline void SetEventSourceArn(const Aws::String& value) { m_eventSourceArn = value; }
146 inline void SetEventSourceArn(Aws::String&& value) { m_eventSourceArn = std::move(value); }
147 inline void SetEventSourceArn(const char* value) { m_eventSourceArn.assign(value); }
149 inline GetEventSourceMappingResult& WithEventSourceArn(Aws::String&& value) { SetEventSourceArn(std::move(value)); return *this;}
150 inline GetEventSourceMappingResult& WithEventSourceArn(const char* value) { SetEventSourceArn(value); return *this;}
152
154
164 inline const FilterCriteria& GetFilterCriteria() const{ return m_filterCriteria; }
165 inline void SetFilterCriteria(const FilterCriteria& value) { m_filterCriteria = value; }
166 inline void SetFilterCriteria(FilterCriteria&& value) { m_filterCriteria = std::move(value); }
168 inline GetEventSourceMappingResult& WithFilterCriteria(FilterCriteria&& value) { SetFilterCriteria(std::move(value)); return *this;}
170
172
175 inline const Aws::String& GetFunctionArn() const{ return m_functionArn; }
176 inline void SetFunctionArn(const Aws::String& value) { m_functionArn = value; }
177 inline void SetFunctionArn(Aws::String&& value) { m_functionArn = std::move(value); }
178 inline void SetFunctionArn(const char* value) { m_functionArn.assign(value); }
179 inline GetEventSourceMappingResult& WithFunctionArn(const Aws::String& value) { SetFunctionArn(value); return *this;}
180 inline GetEventSourceMappingResult& WithFunctionArn(Aws::String&& value) { SetFunctionArn(std::move(value)); return *this;}
181 inline GetEventSourceMappingResult& WithFunctionArn(const char* value) { SetFunctionArn(value); return *this;}
183
185
189 inline const Aws::Utils::DateTime& GetLastModified() const{ return m_lastModified; }
190 inline void SetLastModified(const Aws::Utils::DateTime& value) { m_lastModified = value; }
191 inline void SetLastModified(Aws::Utils::DateTime&& value) { m_lastModified = std::move(value); }
193 inline GetEventSourceMappingResult& WithLastModified(Aws::Utils::DateTime&& value) { SetLastModified(std::move(value)); return *this;}
195
197
200 inline const Aws::String& GetLastProcessingResult() const{ return m_lastProcessingResult; }
201 inline void SetLastProcessingResult(const Aws::String& value) { m_lastProcessingResult = value; }
202 inline void SetLastProcessingResult(Aws::String&& value) { m_lastProcessingResult = std::move(value); }
203 inline void SetLastProcessingResult(const char* value) { m_lastProcessingResult.assign(value); }
206 inline GetEventSourceMappingResult& WithLastProcessingResult(const char* value) { SetLastProcessingResult(value); return *this;}
208
210
216 inline const Aws::String& GetState() const{ return m_state; }
217 inline void SetState(const Aws::String& value) { m_state = value; }
218 inline void SetState(Aws::String&& value) { m_state = std::move(value); }
219 inline void SetState(const char* value) { m_state.assign(value); }
220 inline GetEventSourceMappingResult& WithState(const Aws::String& value) { SetState(value); return *this;}
221 inline GetEventSourceMappingResult& WithState(Aws::String&& value) { SetState(std::move(value)); return *this;}
222 inline GetEventSourceMappingResult& WithState(const char* value) { SetState(value); return *this;}
224
226
230 inline const Aws::String& GetStateTransitionReason() const{ return m_stateTransitionReason; }
231 inline void SetStateTransitionReason(const Aws::String& value) { m_stateTransitionReason = value; }
232 inline void SetStateTransitionReason(Aws::String&& value) { m_stateTransitionReason = std::move(value); }
233 inline void SetStateTransitionReason(const char* value) { m_stateTransitionReason.assign(value); }
236 inline GetEventSourceMappingResult& WithStateTransitionReason(const char* value) { SetStateTransitionReason(value); return *this;}
238
240
245 inline const DestinationConfig& GetDestinationConfig() const{ return m_destinationConfig; }
246 inline void SetDestinationConfig(const DestinationConfig& value) { m_destinationConfig = value; }
247 inline void SetDestinationConfig(DestinationConfig&& value) { m_destinationConfig = std::move(value); }
251
253
256 inline const Aws::Vector<Aws::String>& GetTopics() const{ return m_topics; }
257 inline void SetTopics(const Aws::Vector<Aws::String>& value) { m_topics = value; }
258 inline void SetTopics(Aws::Vector<Aws::String>&& value) { m_topics = std::move(value); }
259 inline GetEventSourceMappingResult& WithTopics(const Aws::Vector<Aws::String>& value) { SetTopics(value); return *this;}
260 inline GetEventSourceMappingResult& WithTopics(Aws::Vector<Aws::String>&& value) { SetTopics(std::move(value)); return *this;}
261 inline GetEventSourceMappingResult& AddTopics(const Aws::String& value) { m_topics.push_back(value); return *this; }
262 inline GetEventSourceMappingResult& AddTopics(Aws::String&& value) { m_topics.push_back(std::move(value)); return *this; }
263 inline GetEventSourceMappingResult& AddTopics(const char* value) { m_topics.push_back(value); return *this; }
265
267
271 inline const Aws::Vector<Aws::String>& GetQueues() const{ return m_queues; }
272 inline void SetQueues(const Aws::Vector<Aws::String>& value) { m_queues = value; }
273 inline void SetQueues(Aws::Vector<Aws::String>&& value) { m_queues = std::move(value); }
274 inline GetEventSourceMappingResult& WithQueues(const Aws::Vector<Aws::String>& value) { SetQueues(value); return *this;}
275 inline GetEventSourceMappingResult& WithQueues(Aws::Vector<Aws::String>&& value) { SetQueues(std::move(value)); return *this;}
276 inline GetEventSourceMappingResult& AddQueues(const Aws::String& value) { m_queues.push_back(value); return *this; }
277 inline GetEventSourceMappingResult& AddQueues(Aws::String&& value) { m_queues.push_back(std::move(value)); return *this; }
278 inline GetEventSourceMappingResult& AddQueues(const char* value) { m_queues.push_back(value); return *this; }
280
282
286 inline const Aws::Vector<SourceAccessConfiguration>& GetSourceAccessConfigurations() const{ return m_sourceAccessConfigurations; }
287 inline void SetSourceAccessConfigurations(const Aws::Vector<SourceAccessConfiguration>& value) { m_sourceAccessConfigurations = value; }
288 inline void SetSourceAccessConfigurations(Aws::Vector<SourceAccessConfiguration>&& value) { m_sourceAccessConfigurations = std::move(value); }
291 inline GetEventSourceMappingResult& AddSourceAccessConfigurations(const SourceAccessConfiguration& value) { m_sourceAccessConfigurations.push_back(value); return *this; }
292 inline GetEventSourceMappingResult& AddSourceAccessConfigurations(SourceAccessConfiguration&& value) { m_sourceAccessConfigurations.push_back(std::move(value)); return *this; }
294
296
299 inline const SelfManagedEventSource& GetSelfManagedEventSource() const{ return m_selfManagedEventSource; }
300 inline void SetSelfManagedEventSource(const SelfManagedEventSource& value) { m_selfManagedEventSource = value; }
301 inline void SetSelfManagedEventSource(SelfManagedEventSource&& value) { m_selfManagedEventSource = std::move(value); }
305
307
315 inline int GetMaximumRecordAgeInSeconds() const{ return m_maximumRecordAgeInSeconds; }
316 inline void SetMaximumRecordAgeInSeconds(int value) { m_maximumRecordAgeInSeconds = value; }
319
321
325 inline bool GetBisectBatchOnFunctionError() const{ return m_bisectBatchOnFunctionError; }
326 inline void SetBisectBatchOnFunctionError(bool value) { m_bisectBatchOnFunctionError = value; }
329
331
337 inline int GetMaximumRetryAttempts() const{ return m_maximumRetryAttempts; }
338 inline void SetMaximumRetryAttempts(int value) { m_maximumRetryAttempts = value; }
341
343
348 inline int GetTumblingWindowInSeconds() const{ return m_tumblingWindowInSeconds; }
349 inline void SetTumblingWindowInSeconds(int value) { m_tumblingWindowInSeconds = value; }
352
354
358 inline const Aws::Vector<FunctionResponseType>& GetFunctionResponseTypes() const{ return m_functionResponseTypes; }
359 inline void SetFunctionResponseTypes(const Aws::Vector<FunctionResponseType>& value) { m_functionResponseTypes = value; }
360 inline void SetFunctionResponseTypes(Aws::Vector<FunctionResponseType>&& value) { m_functionResponseTypes = std::move(value); }
363 inline GetEventSourceMappingResult& AddFunctionResponseTypes(const FunctionResponseType& value) { m_functionResponseTypes.push_back(value); return *this; }
364 inline GetEventSourceMappingResult& AddFunctionResponseTypes(FunctionResponseType&& value) { m_functionResponseTypes.push_back(std::move(value)); return *this; }
366
368
372 inline const AmazonManagedKafkaEventSourceConfig& GetAmazonManagedKafkaEventSourceConfig() const{ return m_amazonManagedKafkaEventSourceConfig; }
373 inline void SetAmazonManagedKafkaEventSourceConfig(const AmazonManagedKafkaEventSourceConfig& value) { m_amazonManagedKafkaEventSourceConfig = value; }
374 inline void SetAmazonManagedKafkaEventSourceConfig(AmazonManagedKafkaEventSourceConfig&& value) { m_amazonManagedKafkaEventSourceConfig = std::move(value); }
378
380
384 inline const SelfManagedKafkaEventSourceConfig& GetSelfManagedKafkaEventSourceConfig() const{ return m_selfManagedKafkaEventSourceConfig; }
385 inline void SetSelfManagedKafkaEventSourceConfig(const SelfManagedKafkaEventSourceConfig& value) { m_selfManagedKafkaEventSourceConfig = value; }
386 inline void SetSelfManagedKafkaEventSourceConfig(SelfManagedKafkaEventSourceConfig&& value) { m_selfManagedKafkaEventSourceConfig = std::move(value); }
390
392
398 inline const ScalingConfig& GetScalingConfig() const{ return m_scalingConfig; }
399 inline void SetScalingConfig(const ScalingConfig& value) { m_scalingConfig = value; }
400 inline void SetScalingConfig(ScalingConfig&& value) { m_scalingConfig = std::move(value); }
402 inline GetEventSourceMappingResult& WithScalingConfig(ScalingConfig&& value) { SetScalingConfig(std::move(value)); return *this;}
404
406
409 inline const DocumentDBEventSourceConfig& GetDocumentDBEventSourceConfig() const{ return m_documentDBEventSourceConfig; }
410 inline void SetDocumentDBEventSourceConfig(const DocumentDBEventSourceConfig& value) { m_documentDBEventSourceConfig = value; }
411 inline void SetDocumentDBEventSourceConfig(DocumentDBEventSourceConfig&& value) { m_documentDBEventSourceConfig = std::move(value); }
415
417
423 inline const Aws::String& GetKMSKeyArn() const{ return m_kMSKeyArn; }
424 inline void SetKMSKeyArn(const Aws::String& value) { m_kMSKeyArn = value; }
425 inline void SetKMSKeyArn(Aws::String&& value) { m_kMSKeyArn = std::move(value); }
426 inline void SetKMSKeyArn(const char* value) { m_kMSKeyArn.assign(value); }
427 inline GetEventSourceMappingResult& WithKMSKeyArn(const Aws::String& value) { SetKMSKeyArn(value); return *this;}
428 inline GetEventSourceMappingResult& WithKMSKeyArn(Aws::String&& value) { SetKMSKeyArn(std::move(value)); return *this;}
429 inline GetEventSourceMappingResult& WithKMSKeyArn(const char* value) { SetKMSKeyArn(value); return *this;}
431
433
437 inline const FilterCriteriaError& GetFilterCriteriaError() const{ return m_filterCriteriaError; }
438 inline void SetFilterCriteriaError(const FilterCriteriaError& value) { m_filterCriteriaError = value; }
439 inline void SetFilterCriteriaError(FilterCriteriaError&& value) { m_filterCriteriaError = std::move(value); }
443
445
448 inline const Aws::String& GetEventSourceMappingArn() const{ return m_eventSourceMappingArn; }
449 inline void SetEventSourceMappingArn(const Aws::String& value) { m_eventSourceMappingArn = value; }
450 inline void SetEventSourceMappingArn(Aws::String&& value) { m_eventSourceMappingArn = std::move(value); }
451 inline void SetEventSourceMappingArn(const char* value) { m_eventSourceMappingArn.assign(value); }
454 inline GetEventSourceMappingResult& WithEventSourceMappingArn(const char* value) { SetEventSourceMappingArn(value); return *this;}
456
458
459 inline const Aws::String& GetRequestId() const{ return m_requestId; }
460 inline void SetRequestId(const Aws::String& value) { m_requestId = value; }
461 inline void SetRequestId(Aws::String&& value) { m_requestId = std::move(value); }
462 inline void SetRequestId(const char* value) { m_requestId.assign(value); }
463 inline GetEventSourceMappingResult& WithRequestId(const Aws::String& value) { SetRequestId(value); return *this;}
464 inline GetEventSourceMappingResult& WithRequestId(Aws::String&& value) { SetRequestId(std::move(value)); return *this;}
465 inline GetEventSourceMappingResult& WithRequestId(const char* value) { SetRequestId(value); return *this;}
467 private:
468
469 Aws::String m_uUID;
470
471 EventSourcePosition m_startingPosition;
472
473 Aws::Utils::DateTime m_startingPositionTimestamp;
474
475 int m_batchSize;
476
477 int m_maximumBatchingWindowInSeconds;
478
479 int m_parallelizationFactor;
480
481 Aws::String m_eventSourceArn;
482
483 FilterCriteria m_filterCriteria;
484
485 Aws::String m_functionArn;
486
487 Aws::Utils::DateTime m_lastModified;
488
489 Aws::String m_lastProcessingResult;
490
491 Aws::String m_state;
492
493 Aws::String m_stateTransitionReason;
494
495 DestinationConfig m_destinationConfig;
496
498
500
501 Aws::Vector<SourceAccessConfiguration> m_sourceAccessConfigurations;
502
503 SelfManagedEventSource m_selfManagedEventSource;
504
505 int m_maximumRecordAgeInSeconds;
506
507 bool m_bisectBatchOnFunctionError;
508
509 int m_maximumRetryAttempts;
510
511 int m_tumblingWindowInSeconds;
512
513 Aws::Vector<FunctionResponseType> m_functionResponseTypes;
514
515 AmazonManagedKafkaEventSourceConfig m_amazonManagedKafkaEventSourceConfig;
516
517 SelfManagedKafkaEventSourceConfig m_selfManagedKafkaEventSourceConfig;
518
519 ScalingConfig m_scalingConfig;
520
521 DocumentDBEventSourceConfig m_documentDBEventSourceConfig;
522
523 Aws::String m_kMSKeyArn;
524
525 FilterCriteriaError m_filterCriteriaError;
526
527 Aws::String m_eventSourceMappingArn;
528
529 Aws::String m_requestId;
530 };
531
532} // namespace Model
533} // namespace Lambda
534} // namespace Aws
GetEventSourceMappingResult & WithTopics(Aws::Vector< Aws::String > &&value)
GetEventSourceMappingResult & WithStateTransitionReason(const char *value)
GetEventSourceMappingResult & WithDestinationConfig(DestinationConfig &&value)
GetEventSourceMappingResult & WithStateTransitionReason(const Aws::String &value)
GetEventSourceMappingResult & WithQueues(Aws::Vector< Aws::String > &&value)
GetEventSourceMappingResult & WithFunctionResponseTypes(const Aws::Vector< FunctionResponseType > &value)
GetEventSourceMappingResult & WithScalingConfig(ScalingConfig &&value)
GetEventSourceMappingResult & WithSelfManagedKafkaEventSourceConfig(SelfManagedKafkaEventSourceConfig &&value)
GetEventSourceMappingResult & WithUUID(const char *value)
GetEventSourceMappingResult & WithUUID(Aws::String &&value)
void SetFilterCriteriaError(const FilterCriteriaError &value)
GetEventSourceMappingResult & WithFilterCriteria(FilterCriteria &&value)
void SetDocumentDBEventSourceConfig(DocumentDBEventSourceConfig &&value)
void SetDestinationConfig(const DestinationConfig &value)
AWS_LAMBDA_API GetEventSourceMappingResult & operator=(const Aws::AmazonWebServiceResult< Aws::Utils::Json::JsonValue > &result)
GetEventSourceMappingResult & WithParallelizationFactor(int value)
GetEventSourceMappingResult & WithEventSourceArn(Aws::String &&value)
GetEventSourceMappingResult & WithFunctionArn(Aws::String &&value)
GetEventSourceMappingResult & AddQueues(Aws::String &&value)
GetEventSourceMappingResult & WithSourceAccessConfigurations(Aws::Vector< SourceAccessConfiguration > &&value)
void SetLastModified(const Aws::Utils::DateTime &value)
GetEventSourceMappingResult & AddFunctionResponseTypes(FunctionResponseType &&value)
const DocumentDBEventSourceConfig & GetDocumentDBEventSourceConfig() const
GetEventSourceMappingResult & WithEventSourceArn(const Aws::String &value)
GetEventSourceMappingResult & WithBatchSize(int value)
GetEventSourceMappingResult & WithEventSourceArn(const char *value)
GetEventSourceMappingResult & WithTumblingWindowInSeconds(int value)
GetEventSourceMappingResult & WithFunctionArn(const char *value)
void SetSourceAccessConfigurations(const Aws::Vector< SourceAccessConfiguration > &value)
GetEventSourceMappingResult & WithEventSourceMappingArn(const Aws::String &value)
const SelfManagedEventSource & GetSelfManagedEventSource() const
const Aws::Vector< Aws::String > & GetTopics() const
GetEventSourceMappingResult & AddTopics(Aws::String &&value)
GetEventSourceMappingResult & AddQueues(const char *value)
GetEventSourceMappingResult & WithStartingPosition(const EventSourcePosition &value)
GetEventSourceMappingResult & WithBisectBatchOnFunctionError(bool value)
GetEventSourceMappingResult & WithStartingPositionTimestamp(Aws::Utils::DateTime &&value)
GetEventSourceMappingResult & WithFunctionResponseTypes(Aws::Vector< FunctionResponseType > &&value)
GetEventSourceMappingResult & WithFilterCriteria(const FilterCriteria &value)
void SetQueues(Aws::Vector< Aws::String > &&value)
GetEventSourceMappingResult & WithSelfManagedEventSource(SelfManagedEventSource &&value)
GetEventSourceMappingResult & WithTopics(const Aws::Vector< Aws::String > &value)
const Aws::Vector< SourceAccessConfiguration > & GetSourceAccessConfigurations() const
GetEventSourceMappingResult & WithDocumentDBEventSourceConfig(const DocumentDBEventSourceConfig &value)
void SetTopics(Aws::Vector< Aws::String > &&value)
void SetDocumentDBEventSourceConfig(const DocumentDBEventSourceConfig &value)
GetEventSourceMappingResult & WithEventSourceMappingArn(const char *value)
GetEventSourceMappingResult & WithSelfManagedEventSource(const SelfManagedEventSource &value)
const AmazonManagedKafkaEventSourceConfig & GetAmazonManagedKafkaEventSourceConfig() const
GetEventSourceMappingResult & WithKMSKeyArn(const char *value)
GetEventSourceMappingResult & WithMaximumBatchingWindowInSeconds(int value)
const Aws::Vector< Aws::String > & GetQueues() const
void SetAmazonManagedKafkaEventSourceConfig(AmazonManagedKafkaEventSourceConfig &&value)
GetEventSourceMappingResult & WithFilterCriteriaError(FilterCriteriaError &&value)
GetEventSourceMappingResult & WithEventSourceMappingArn(Aws::String &&value)
void SetSelfManagedEventSource(SelfManagedEventSource &&value)
const SelfManagedKafkaEventSourceConfig & GetSelfManagedKafkaEventSourceConfig() const
GetEventSourceMappingResult & WithKMSKeyArn(Aws::String &&value)
GetEventSourceMappingResult & WithLastProcessingResult(const char *value)
void SetStartingPositionTimestamp(Aws::Utils::DateTime &&value)
GetEventSourceMappingResult & WithUUID(const Aws::String &value)
GetEventSourceMappingResult & WithSelfManagedKafkaEventSourceConfig(const SelfManagedKafkaEventSourceConfig &value)
void SetFunctionResponseTypes(const Aws::Vector< FunctionResponseType > &value)
void SetSelfManagedEventSource(const SelfManagedEventSource &value)
GetEventSourceMappingResult & AddTopics(const char *value)
GetEventSourceMappingResult & WithQueues(const Aws::Vector< Aws::String > &value)
GetEventSourceMappingResult & WithScalingConfig(const ScalingConfig &value)
GetEventSourceMappingResult & AddSourceAccessConfigurations(const SourceAccessConfiguration &value)
GetEventSourceMappingResult & WithLastProcessingResult(Aws::String &&value)
GetEventSourceMappingResult & WithRequestId(const char *value)
void SetAmazonManagedKafkaEventSourceConfig(const AmazonManagedKafkaEventSourceConfig &value)
GetEventSourceMappingResult & WithLastModified(const Aws::Utils::DateTime &value)
const Aws::Vector< FunctionResponseType > & GetFunctionResponseTypes() const
GetEventSourceMappingResult & AddQueues(const Aws::String &value)
GetEventSourceMappingResult & WithDocumentDBEventSourceConfig(DocumentDBEventSourceConfig &&value)
GetEventSourceMappingResult & WithMaximumRecordAgeInSeconds(int value)
GetEventSourceMappingResult & WithRequestId(const Aws::String &value)
GetEventSourceMappingResult & WithLastModified(Aws::Utils::DateTime &&value)
GetEventSourceMappingResult & AddSourceAccessConfigurations(SourceAccessConfiguration &&value)
AWS_LAMBDA_API GetEventSourceMappingResult(const Aws::AmazonWebServiceResult< Aws::Utils::Json::JsonValue > &result)
GetEventSourceMappingResult & WithLastProcessingResult(const Aws::String &value)
void SetSelfManagedKafkaEventSourceConfig(SelfManagedKafkaEventSourceConfig &&value)
void SetQueues(const Aws::Vector< Aws::String > &value)
GetEventSourceMappingResult & AddFunctionResponseTypes(const FunctionResponseType &value)
const Aws::Utils::DateTime & GetStartingPositionTimestamp() const
GetEventSourceMappingResult & WithAmazonManagedKafkaEventSourceConfig(const AmazonManagedKafkaEventSourceConfig &value)
void SetStartingPositionTimestamp(const Aws::Utils::DateTime &value)
GetEventSourceMappingResult & WithRequestId(Aws::String &&value)
GetEventSourceMappingResult & WithMaximumRetryAttempts(int value)
void SetSourceAccessConfigurations(Aws::Vector< SourceAccessConfiguration > &&value)
GetEventSourceMappingResult & WithAmazonManagedKafkaEventSourceConfig(AmazonManagedKafkaEventSourceConfig &&value)
GetEventSourceMappingResult & AddTopics(const Aws::String &value)
void SetTopics(const Aws::Vector< Aws::String > &value)
GetEventSourceMappingResult & WithStartingPosition(EventSourcePosition &&value)
GetEventSourceMappingResult & WithState(const Aws::String &value)
GetEventSourceMappingResult & WithState(const char *value)
GetEventSourceMappingResult & WithStartingPositionTimestamp(const Aws::Utils::DateTime &value)
GetEventSourceMappingResult & WithStateTransitionReason(Aws::String &&value)
GetEventSourceMappingResult & WithDestinationConfig(const DestinationConfig &value)
GetEventSourceMappingResult & WithFilterCriteriaError(const FilterCriteriaError &value)
GetEventSourceMappingResult & WithState(Aws::String &&value)
void SetSelfManagedKafkaEventSourceConfig(const SelfManagedKafkaEventSourceConfig &value)
GetEventSourceMappingResult & WithFunctionArn(const Aws::String &value)
GetEventSourceMappingResult & WithSourceAccessConfigurations(const Aws::Vector< SourceAccessConfiguration > &value)
void SetFunctionResponseTypes(Aws::Vector< FunctionResponseType > &&value)
GetEventSourceMappingResult & WithKMSKeyArn(const Aws::String &value)
void SetStartingPosition(const EventSourcePosition &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