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>
26template<
typename RESULT_TYPE>
27class AmazonWebServiceResult;
61 inline void SetUUID(
const char* value) { m_uUID.assign(value); }
219 inline void SetState(
const char* value) { m_state.assign(value); }
426 inline void SetKMSKeyArn(
const char* value) { m_kMSKeyArn.assign(value); }
462 inline void SetRequestId(
const char* value) { m_requestId.assign(value); }
477 int m_maximumBatchingWindowInSeconds;
479 int m_parallelizationFactor;
505 int m_maximumRecordAgeInSeconds;
507 bool m_bisectBatchOnFunctionError;
509 int m_maximumRetryAttempts;
511 int m_tumblingWindowInSeconds;
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)
const ScalingConfig & GetScalingConfig() const
void SetTumblingWindowInSeconds(int value)
GetEventSourceMappingResult & WithFunctionResponseTypes(const Aws::Vector< FunctionResponseType > &value)
GetEventSourceMappingResult & WithScalingConfig(ScalingConfig &&value)
GetEventSourceMappingResult & WithSelfManagedKafkaEventSourceConfig(SelfManagedKafkaEventSourceConfig &&value)
void SetDestinationConfig(DestinationConfig &&value)
const Aws::Utils::DateTime & GetLastModified() const
int GetMaximumBatchingWindowInSeconds() const
void SetRequestId(const char *value)
void SetFunctionArn(Aws::String &&value)
void SetState(const Aws::String &value)
const FilterCriteria & GetFilterCriteria() const
GetEventSourceMappingResult & WithUUID(const char *value)
void SetRequestId(Aws::String &&value)
GetEventSourceMappingResult & WithUUID(Aws::String &&value)
void SetFilterCriteriaError(const FilterCriteriaError &value)
GetEventSourceMappingResult & WithFilterCriteria(FilterCriteria &&value)
void SetDocumentDBEventSourceConfig(DocumentDBEventSourceConfig &&value)
void SetDestinationConfig(const DestinationConfig &value)
void SetEventSourceArn(const char *value)
AWS_LAMBDA_API GetEventSourceMappingResult & operator=(const Aws::AmazonWebServiceResult< Aws::Utils::Json::JsonValue > &result)
GetEventSourceMappingResult & WithParallelizationFactor(int value)
GetEventSourceMappingResult & WithEventSourceArn(Aws::String &&value)
void SetEventSourceArn(const 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)
void SetStateTransitionReason(const char *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)
const Aws::String & GetEventSourceMappingArn() const
GetEventSourceMappingResult & WithBisectBatchOnFunctionError(bool value)
void SetFunctionArn(const Aws::String &value)
GetEventSourceMappingResult & WithStartingPositionTimestamp(Aws::Utils::DateTime &&value)
const Aws::String & GetKMSKeyArn() const
GetEventSourceMappingResult & WithFunctionResponseTypes(Aws::Vector< FunctionResponseType > &&value)
void SetState(const char *value)
GetEventSourceMappingResult & WithFilterCriteria(const FilterCriteria &value)
void SetQueues(Aws::Vector< Aws::String > &&value)
GetEventSourceMappingResult & WithSelfManagedEventSource(SelfManagedEventSource &&value)
void SetLastProcessingResult(const char *value)
void SetScalingConfig(ScalingConfig &&value)
GetEventSourceMappingResult & WithTopics(const Aws::Vector< Aws::String > &value)
bool GetBisectBatchOnFunctionError() const
const Aws::Vector< SourceAccessConfiguration > & GetSourceAccessConfigurations() const
GetEventSourceMappingResult & WithDocumentDBEventSourceConfig(const DocumentDBEventSourceConfig &value)
void SetMaximumRecordAgeInSeconds(int value)
void SetEventSourceMappingArn(Aws::String &&value)
const Aws::String & GetLastProcessingResult() const
void SetTopics(Aws::Vector< Aws::String > &&value)
void SetDocumentDBEventSourceConfig(const DocumentDBEventSourceConfig &value)
GetEventSourceMappingResult & WithEventSourceMappingArn(const char *value)
GetEventSourceMappingResult & WithSelfManagedEventSource(const SelfManagedEventSource &value)
void SetLastProcessingResult(const Aws::String &value)
const Aws::String & GetEventSourceArn() const
const AmazonManagedKafkaEventSourceConfig & GetAmazonManagedKafkaEventSourceConfig() const
void SetLastProcessingResult(Aws::String &&value)
GetEventSourceMappingResult & WithKMSKeyArn(const char *value)
GetEventSourceMappingResult & WithMaximumBatchingWindowInSeconds(int value)
const Aws::Vector< Aws::String > & GetQueues() const
void SetFunctionArn(const char *value)
void SetEventSourceMappingArn(const char *value)
void SetStateTransitionReason(Aws::String &&value)
void SetAmazonManagedKafkaEventSourceConfig(AmazonManagedKafkaEventSourceConfig &&value)
GetEventSourceMappingResult & WithFilterCriteriaError(FilterCriteriaError &&value)
int GetParallelizationFactor() const
GetEventSourceMappingResult & WithEventSourceMappingArn(Aws::String &&value)
void SetKMSKeyArn(const Aws::String &value)
void SetBisectBatchOnFunctionError(bool value)
void SetSelfManagedEventSource(SelfManagedEventSource &&value)
const SelfManagedKafkaEventSourceConfig & GetSelfManagedKafkaEventSourceConfig() const
const Aws::String & GetFunctionArn() const
GetEventSourceMappingResult & WithKMSKeyArn(Aws::String &&value)
GetEventSourceMappingResult & WithLastProcessingResult(const char *value)
const DestinationConfig & GetDestinationConfig() const
void SetStartingPositionTimestamp(Aws::Utils::DateTime &&value)
GetEventSourceMappingResult & WithUUID(const Aws::String &value)
void SetStartingPosition(EventSourcePosition &&value)
GetEventSourceMappingResult & WithSelfManagedKafkaEventSourceConfig(const SelfManagedKafkaEventSourceConfig &value)
void SetUUID(Aws::String &&value)
void SetFunctionResponseTypes(const Aws::Vector< FunctionResponseType > &value)
void SetSelfManagedEventSource(const SelfManagedEventSource &value)
GetEventSourceMappingResult & AddTopics(const char *value)
void SetFilterCriteria(FilterCriteria &&value)
GetEventSourceMappingResult & WithQueues(const Aws::Vector< Aws::String > &value)
GetEventSourceMappingResult & WithScalingConfig(const ScalingConfig &value)
GetEventSourceMappingResult & AddSourceAccessConfigurations(const SourceAccessConfiguration &value)
GetEventSourceMappingResult & WithLastProcessingResult(Aws::String &&value)
void SetParallelizationFactor(int value)
void SetUUID(const char *value)
GetEventSourceMappingResult & WithRequestId(const char *value)
void SetAmazonManagedKafkaEventSourceConfig(const AmazonManagedKafkaEventSourceConfig &value)
void SetLastModified(Aws::Utils::DateTime &&value)
void SetUUID(const Aws::String &value)
void SetEventSourceMappingArn(const Aws::String &value)
GetEventSourceMappingResult & WithLastModified(const Aws::Utils::DateTime &value)
const Aws::Vector< FunctionResponseType > & GetFunctionResponseTypes() const
GetEventSourceMappingResult & AddQueues(const Aws::String &value)
void SetFilterCriteria(const FilterCriteria &value)
GetEventSourceMappingResult & WithDocumentDBEventSourceConfig(DocumentDBEventSourceConfig &&value)
const Aws::String & GetStateTransitionReason() const
GetEventSourceMappingResult & WithMaximumRecordAgeInSeconds(int value)
GetEventSourceMappingResult & WithRequestId(const Aws::String &value)
void SetState(Aws::String &&value)
void SetBatchSize(int 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 SetStateTransitionReason(const Aws::String &value)
void SetFilterCriteriaError(FilterCriteriaError &&value)
void SetKMSKeyArn(Aws::String &&value)
void SetQueues(const Aws::Vector< Aws::String > &value)
void SetMaximumBatchingWindowInSeconds(int value)
const FilterCriteriaError & GetFilterCriteriaError() const
GetEventSourceMappingResult & AddFunctionResponseTypes(const FunctionResponseType &value)
const Aws::Utils::DateTime & GetStartingPositionTimestamp() const
GetEventSourceMappingResult & WithAmazonManagedKafkaEventSourceConfig(const AmazonManagedKafkaEventSourceConfig &value)
void SetKMSKeyArn(const char *value)
void SetScalingConfig(const ScalingConfig &value)
const Aws::String & GetRequestId() const
int GetTumblingWindowInSeconds() const
void SetStartingPositionTimestamp(const Aws::Utils::DateTime &value)
GetEventSourceMappingResult & WithRequestId(Aws::String &&value)
GetEventSourceMappingResult & WithMaximumRetryAttempts(int value)
void SetRequestId(const Aws::String &value)
void SetSourceAccessConfigurations(Aws::Vector< SourceAccessConfiguration > &&value)
int GetMaximumRetryAttempts() const
GetEventSourceMappingResult & WithAmazonManagedKafkaEventSourceConfig(AmazonManagedKafkaEventSourceConfig &&value)
const Aws::String & GetState() const
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)
void SetEventSourceArn(Aws::String &&value)
AWS_LAMBDA_API GetEventSourceMappingResult()
const Aws::String & GetUUID() const
void SetMaximumRetryAttempts(int value)
int GetMaximumRecordAgeInSeconds() const
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)
const EventSourcePosition & GetStartingPosition() const
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