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>
28template<
typename RESULT_TYPE>
29class AmazonWebServiceResult;
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>
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>
103 inline void SetBatchSize(
int value) { m_batchSizeHasBeenSet =
true; m_batchSize = value; }
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>
161 template<
typename FilterCriteriaT = FilterCriteria>
162 void SetFilterCriteria(FilterCriteriaT&& value) { m_filterCriteriaHasBeenSet =
true; m_filterCriteria = std::forward<FilterCriteriaT>(value); }
163 template<
typename FilterCriteriaT = FilterCriteria>
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>
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>
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>
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>
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>
234 template<
typename DestinationConfigT = DestinationConfig>
235 void SetDestinationConfig(DestinationConfigT&& value) { m_destinationConfigHasBeenSet =
true; m_destinationConfig = std::forward<DestinationConfigT>(value); }
236 template<
typename DestinationConfigT = DestinationConfig>
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>>
249 template<
typename TopicsT = Aws::String>
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>>
263 template<
typename QueuesT = Aws::String>
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>>
277 template<
typename SourceAccessConfigurationsT = SourceAccessConfiguration>
286 template<
typename SelfManagedEventSourceT = SelfManagedEventSource>
287 void SetSelfManagedEventSource(SelfManagedEventSourceT&& value) { m_selfManagedEventSourceHasBeenSet =
true; m_selfManagedEventSource = std::forward<SelfManagedEventSourceT>(value); }
288 template<
typename SelfManagedEventSourceT = SelfManagedEventSource>
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>>
358 template<
typename AmazonManagedKafkaEventSourceConfigT = AmazonManagedKafkaEventSourceConfig>
359 void SetAmazonManagedKafkaEventSourceConfig(AmazonManagedKafkaEventSourceConfigT&& value) { m_amazonManagedKafkaEventSourceConfigHasBeenSet =
true; m_amazonManagedKafkaEventSourceConfig = std::forward<AmazonManagedKafkaEventSourceConfigT>(value); }
360 template<
typename AmazonManagedKafkaEventSourceConfigT = AmazonManagedKafkaEventSourceConfig>
370 template<
typename SelfManagedKafkaEventSourceConfigT = SelfManagedKafkaEventSourceConfig>
371 void SetSelfManagedKafkaEventSourceConfig(SelfManagedKafkaEventSourceConfigT&& value) { m_selfManagedKafkaEventSourceConfigHasBeenSet =
true; m_selfManagedKafkaEventSourceConfig = std::forward<SelfManagedKafkaEventSourceConfigT>(value); }
372 template<
typename SelfManagedKafkaEventSourceConfigT = SelfManagedKafkaEventSourceConfig>
384 template<
typename ScalingConfigT = ScalingConfig>
385 void SetScalingConfig(ScalingConfigT&& value) { m_scalingConfigHasBeenSet =
true; m_scalingConfig = std::forward<ScalingConfigT>(value); }
386 template<
typename ScalingConfigT = ScalingConfig>
395 template<
typename DocumentDBEventSourceConfigT = DocumentDBEventSourceConfig>
396 void SetDocumentDBEventSourceConfig(DocumentDBEventSourceConfigT&& value) { m_documentDBEventSourceConfigHasBeenSet =
true; m_documentDBEventSourceConfig = std::forward<DocumentDBEventSourceConfigT>(value); }
397 template<
typename DocumentDBEventSourceConfigT = DocumentDBEventSourceConfig>
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>
421 template<
typename FilterCriteriaErrorT = FilterCriteriaError>
422 void SetFilterCriteriaError(FilterCriteriaErrorT&& value) { m_filterCriteriaErrorHasBeenSet =
true; m_filterCriteriaError = std::forward<FilterCriteriaErrorT>(value); }
423 template<
typename FilterCriteriaErrorT = FilterCriteriaError>
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>
445 template<
typename MetricsConfigT = EventSourceMappingMetricsConfig>
446 void SetMetricsConfig(MetricsConfigT&& value) { m_metricsConfigHasBeenSet =
true; m_metricsConfig = std::forward<MetricsConfigT>(value); }
447 template<
typename MetricsConfigT = EventSourceMappingMetricsConfig>
459 template<
typename ProvisionedPollerConfigT = ProvisionedPollerConfig>
460 void SetProvisionedPollerConfig(ProvisionedPollerConfigT&& value) { m_provisionedPollerConfigHasBeenSet =
true; m_provisionedPollerConfig = std::forward<ProvisionedPollerConfigT>(value); }
461 template<
typename ProvisionedPollerConfigT = ProvisionedPollerConfig>
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>
476 bool m_uUIDHasBeenSet =
false;
479 bool m_startingPositionHasBeenSet =
false;
482 bool m_startingPositionTimestampHasBeenSet =
false;
485 bool m_batchSizeHasBeenSet =
false;
487 int m_maximumBatchingWindowInSeconds{0};
488 bool m_maximumBatchingWindowInSecondsHasBeenSet =
false;
490 int m_parallelizationFactor{0};
491 bool m_parallelizationFactorHasBeenSet =
false;
494 bool m_eventSourceArnHasBeenSet =
false;
496 FilterCriteria m_filterCriteria;
497 bool m_filterCriteriaHasBeenSet =
false;
500 bool m_functionArnHasBeenSet =
false;
503 bool m_lastModifiedHasBeenSet =
false;
506 bool m_lastProcessingResultHasBeenSet =
false;
509 bool m_stateHasBeenSet =
false;
512 bool m_stateTransitionReasonHasBeenSet =
false;
514 DestinationConfig m_destinationConfig;
515 bool m_destinationConfigHasBeenSet =
false;
518 bool m_topicsHasBeenSet =
false;
521 bool m_queuesHasBeenSet =
false;
524 bool m_sourceAccessConfigurationsHasBeenSet =
false;
526 SelfManagedEventSource m_selfManagedEventSource;
527 bool m_selfManagedEventSourceHasBeenSet =
false;
529 int m_maximumRecordAgeInSeconds{0};
530 bool m_maximumRecordAgeInSecondsHasBeenSet =
false;
532 bool m_bisectBatchOnFunctionError{
false};
533 bool m_bisectBatchOnFunctionErrorHasBeenSet =
false;
535 int m_maximumRetryAttempts{0};
536 bool m_maximumRetryAttemptsHasBeenSet =
false;
538 int m_tumblingWindowInSeconds{0};
539 bool m_tumblingWindowInSecondsHasBeenSet =
false;
542 bool m_functionResponseTypesHasBeenSet =
false;
544 AmazonManagedKafkaEventSourceConfig m_amazonManagedKafkaEventSourceConfig;
545 bool m_amazonManagedKafkaEventSourceConfigHasBeenSet =
false;
547 SelfManagedKafkaEventSourceConfig m_selfManagedKafkaEventSourceConfig;
548 bool m_selfManagedKafkaEventSourceConfigHasBeenSet =
false;
550 ScalingConfig m_scalingConfig;
551 bool m_scalingConfigHasBeenSet =
false;
553 DocumentDBEventSourceConfig m_documentDBEventSourceConfig;
554 bool m_documentDBEventSourceConfigHasBeenSet =
false;
557 bool m_kMSKeyArnHasBeenSet =
false;
559 FilterCriteriaError m_filterCriteriaError;
560 bool m_filterCriteriaErrorHasBeenSet =
false;
563 bool m_eventSourceMappingArnHasBeenSet =
false;
565 EventSourceMappingMetricsConfig m_metricsConfig;
566 bool m_metricsConfigHasBeenSet =
false;
568 ProvisionedPollerConfig m_provisionedPollerConfig;
569 bool m_provisionedPollerConfigHasBeenSet =
false;
572 bool m_requestIdHasBeenSet =
false;
void SetFilterCriteria(FilterCriteriaT &&value)
DeleteEventSourceMappingResult & WithMetricsConfig(MetricsConfigT &&value)
bool GetBisectBatchOnFunctionError() const
DeleteEventSourceMappingResult & WithEventSourceMappingArn(EventSourceMappingArnT &&value)
void SetLastProcessingResult(LastProcessingResultT &&value)
const EventSourceMappingMetricsConfig & GetMetricsConfig() const
const DestinationConfig & GetDestinationConfig() const
void SetMaximumRetryAttempts(int value)
const ProvisionedPollerConfig & GetProvisionedPollerConfig() const
void SetFunctionArn(FunctionArnT &&value)
const Aws::String & GetEventSourceMappingArn() const
DeleteEventSourceMappingResult & WithTumblingWindowInSeconds(int value)
DeleteEventSourceMappingResult & WithMaximumRecordAgeInSeconds(int value)
void SetFunctionResponseTypes(FunctionResponseTypesT &&value)
const Aws::String & GetState() const
DeleteEventSourceMappingResult & WithMaximumRetryAttempts(int value)
void SetQueues(QueuesT &&value)
DeleteEventSourceMappingResult & WithAmazonManagedKafkaEventSourceConfig(AmazonManagedKafkaEventSourceConfigT &&value)
AWS_LAMBDA_API DeleteEventSourceMappingResult(const Aws::AmazonWebServiceResult< Aws::Utils::Json::JsonValue > &result)
void SetSelfManagedKafkaEventSourceConfig(SelfManagedKafkaEventSourceConfigT &&value)
DeleteEventSourceMappingResult & WithQueues(QueuesT &&value)
const SelfManagedEventSource & GetSelfManagedEventSource() const
void SetTumblingWindowInSeconds(int value)
DeleteEventSourceMappingResult & WithFilterCriteria(FilterCriteriaT &&value)
const Aws::Vector< Aws::String > & GetQueues() const
const Aws::Vector< SourceAccessConfiguration > & GetSourceAccessConfigurations() const
void SetProvisionedPollerConfig(ProvisionedPollerConfigT &&value)
void SetSelfManagedEventSource(SelfManagedEventSourceT &&value)
const Aws::String & GetRequestId() const
const Aws::Vector< Aws::String > & GetTopics() const
const AmazonManagedKafkaEventSourceConfig & GetAmazonManagedKafkaEventSourceConfig() const
void SetDocumentDBEventSourceConfig(DocumentDBEventSourceConfigT &&value)
DeleteEventSourceMappingResult & WithDestinationConfig(DestinationConfigT &&value)
void SetStateTransitionReason(StateTransitionReasonT &&value)
DeleteEventSourceMappingResult & WithRequestId(RequestIdT &&value)
const Aws::String & GetLastProcessingResult() const
DeleteEventSourceMappingResult & WithState(StateT &&value)
DeleteEventSourceMappingResult & WithBisectBatchOnFunctionError(bool value)
void SetScalingConfig(ScalingConfigT &&value)
DeleteEventSourceMappingResult & WithProvisionedPollerConfig(ProvisionedPollerConfigT &&value)
int GetMaximumRetryAttempts() const
const Aws::Utils::DateTime & GetLastModified() const
const SelfManagedKafkaEventSourceConfig & GetSelfManagedKafkaEventSourceConfig() const
const DocumentDBEventSourceConfig & GetDocumentDBEventSourceConfig() const
const FilterCriteria & GetFilterCriteria() const
void SetEventSourceArn(EventSourceArnT &&value)
DeleteEventSourceMappingResult & WithEventSourceArn(EventSourceArnT &&value)
void SetBatchSize(int value)
DeleteEventSourceMappingResult & AddFunctionResponseTypes(FunctionResponseType value)
void SetLastModified(LastModifiedT &&value)
void SetMaximumBatchingWindowInSeconds(int value)
DeleteEventSourceMappingResult & WithSelfManagedKafkaEventSourceConfig(SelfManagedKafkaEventSourceConfigT &&value)
void SetParallelizationFactor(int value)
void SetMetricsConfig(MetricsConfigT &&value)
const Aws::String & GetKMSKeyArn() const
DeleteEventSourceMappingResult & WithFunctionArn(FunctionArnT &&value)
void SetState(StateT &&value)
EventSourcePosition GetStartingPosition() const
AWS_LAMBDA_API DeleteEventSourceMappingResult()=default
const Aws::String & GetUUID() const
DeleteEventSourceMappingResult & WithTopics(TopicsT &&value)
int GetParallelizationFactor() const
DeleteEventSourceMappingResult & WithMaximumBatchingWindowInSeconds(int value)
DeleteEventSourceMappingResult & WithStartingPosition(EventSourcePosition value)
const Aws::Utils::DateTime & GetStartingPositionTimestamp() const
void SetRequestId(RequestIdT &&value)
DeleteEventSourceMappingResult & WithDocumentDBEventSourceConfig(DocumentDBEventSourceConfigT &&value)
void SetUUID(UUIDT &&value)
const FilterCriteriaError & GetFilterCriteriaError() const
DeleteEventSourceMappingResult & WithStateTransitionReason(StateTransitionReasonT &&value)
DeleteEventSourceMappingResult & WithScalingConfig(ScalingConfigT &&value)
void SetAmazonManagedKafkaEventSourceConfig(AmazonManagedKafkaEventSourceConfigT &&value)
DeleteEventSourceMappingResult & WithBatchSize(int value)
int GetMaximumBatchingWindowInSeconds() const
DeleteEventSourceMappingResult & AddQueues(QueuesT &&value)
void SetStartingPositionTimestamp(StartingPositionTimestampT &&value)
void SetStartingPosition(EventSourcePosition value)
void SetTopics(TopicsT &&value)
const Aws::String & GetEventSourceArn() const
DeleteEventSourceMappingResult & WithKMSKeyArn(KMSKeyArnT &&value)
DeleteEventSourceMappingResult & WithLastModified(LastModifiedT &&value)
const Aws::Vector< FunctionResponseType > & GetFunctionResponseTypes() const
DeleteEventSourceMappingResult & WithStartingPositionTimestamp(StartingPositionTimestampT &&value)
const ScalingConfig & GetScalingConfig() const
AWS_LAMBDA_API DeleteEventSourceMappingResult & operator=(const Aws::AmazonWebServiceResult< Aws::Utils::Json::JsonValue > &result)
DeleteEventSourceMappingResult & WithLastProcessingResult(LastProcessingResultT &&value)
DeleteEventSourceMappingResult & WithParallelizationFactor(int value)
DeleteEventSourceMappingResult & WithFunctionResponseTypes(FunctionResponseTypesT &&value)
void SetBisectBatchOnFunctionError(bool value)
DeleteEventSourceMappingResult & WithSourceAccessConfigurations(SourceAccessConfigurationsT &&value)
int GetTumblingWindowInSeconds() const
const Aws::String & GetStateTransitionReason() const
void SetMaximumRecordAgeInSeconds(int value)
int GetMaximumRecordAgeInSeconds() const
DeleteEventSourceMappingResult & AddSourceAccessConfigurations(SourceAccessConfigurationsT &&value)
DeleteEventSourceMappingResult & WithFilterCriteriaError(FilterCriteriaErrorT &&value)
const Aws::String & GetFunctionArn() const
void SetDestinationConfig(DestinationConfigT &&value)
DeleteEventSourceMappingResult & WithSelfManagedEventSource(SelfManagedEventSourceT &&value)
void SetKMSKeyArn(KMSKeyArnT &&value)
DeleteEventSourceMappingResult & AddTopics(TopicsT &&value)
DeleteEventSourceMappingResult & WithUUID(UUIDT &&value)
void SetFilterCriteriaError(FilterCriteriaErrorT &&value)
void SetSourceAccessConfigurations(SourceAccessConfigurationsT &&value)
void SetEventSourceMappingArn(EventSourceMappingArnT &&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