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;
bool GetBisectBatchOnFunctionError() const
CreateEventSourceMappingResult & WithEventSourceArn(const Aws::String &value)
CreateEventSourceMappingResult & WithTopics(Aws::Vector< Aws::String > &&value)
void SetQueues(const Aws::Vector< Aws::String > &value)
const Aws::Vector< SourceAccessConfiguration > & GetSourceAccessConfigurations() const
void SetState(Aws::String &&value)
CreateEventSourceMappingResult & WithFilterCriteria(FilterCriteria &&value)
CreateEventSourceMappingResult & WithEventSourceArn(const char *value)
void SetStartingPosition(const EventSourcePosition &value)
void SetFilterCriteria(const FilterCriteria &value)
void SetEventSourceArn(Aws::String &&value)
CreateEventSourceMappingResult & WithEventSourceMappingArn(const char *value)
void SetBisectBatchOnFunctionError(bool value)
void SetRequestId(Aws::String &&value)
CreateEventSourceMappingResult & WithRequestId(const Aws::String &value)
void SetStartingPosition(EventSourcePosition &&value)
CreateEventSourceMappingResult & WithScalingConfig(const ScalingConfig &value)
CreateEventSourceMappingResult & WithMaximumRetryAttempts(int value)
const Aws::String & GetKMSKeyArn() const
int GetTumblingWindowInSeconds() const
CreateEventSourceMappingResult & WithEventSourceArn(Aws::String &&value)
void SetStateTransitionReason(Aws::String &&value)
void SetUUID(const char *value)
CreateEventSourceMappingResult & WithBisectBatchOnFunctionError(bool value)
void SetStartingPositionTimestamp(Aws::Utils::DateTime &&value)
const EventSourcePosition & GetStartingPosition() const
CreateEventSourceMappingResult & WithAmazonManagedKafkaEventSourceConfig(const AmazonManagedKafkaEventSourceConfig &value)
void SetLastProcessingResult(const Aws::String &value)
CreateEventSourceMappingResult & AddQueues(const char *value)
const ScalingConfig & GetScalingConfig() const
void SetEventSourceArn(const char *value)
const Aws::String & GetUUID() const
void SetBatchSize(int value)
void SetLastModified(Aws::Utils::DateTime &&value)
void SetRequestId(const char *value)
CreateEventSourceMappingResult & WithEventSourceMappingArn(Aws::String &&value)
const FilterCriteria & GetFilterCriteria() const
CreateEventSourceMappingResult & AddTopics(const char *value)
void SetTopics(const Aws::Vector< Aws::String > &value)
CreateEventSourceMappingResult & AddQueues(const Aws::String &value)
const Aws::Utils::DateTime & GetLastModified() const
AWS_LAMBDA_API CreateEventSourceMappingResult(const Aws::AmazonWebServiceResult< Aws::Utils::Json::JsonValue > &result)
CreateEventSourceMappingResult & WithLastProcessingResult(const char *value)
int GetParallelizationFactor() const
AWS_LAMBDA_API CreateEventSourceMappingResult & operator=(const Aws::AmazonWebServiceResult< Aws::Utils::Json::JsonValue > &result)
const DocumentDBEventSourceConfig & GetDocumentDBEventSourceConfig() const
CreateEventSourceMappingResult & WithLastModified(const Aws::Utils::DateTime &value)
const Aws::Vector< FunctionResponseType > & GetFunctionResponseTypes() const
CreateEventSourceMappingResult & WithFunctionResponseTypes(const Aws::Vector< FunctionResponseType > &value)
CreateEventSourceMappingResult & WithMaximumRecordAgeInSeconds(int value)
void SetMaximumRetryAttempts(int value)
CreateEventSourceMappingResult & WithSelfManagedEventSource(const SelfManagedEventSource &value)
CreateEventSourceMappingResult & WithSelfManagedEventSource(SelfManagedEventSource &&value)
CreateEventSourceMappingResult & WithStateTransitionReason(const Aws::String &value)
void SetState(const Aws::String &value)
CreateEventSourceMappingResult & AddSourceAccessConfigurations(SourceAccessConfiguration &&value)
int GetMaximumRecordAgeInSeconds() const
void SetMaximumBatchingWindowInSeconds(int value)
CreateEventSourceMappingResult & AddSourceAccessConfigurations(const SourceAccessConfiguration &value)
const Aws::Utils::DateTime & GetStartingPositionTimestamp() const
void SetQueues(Aws::Vector< Aws::String > &&value)
void SetKMSKeyArn(const char *value)
void SetFilterCriteria(FilterCriteria &&value)
CreateEventSourceMappingResult & WithSelfManagedKafkaEventSourceConfig(const SelfManagedKafkaEventSourceConfig &value)
CreateEventSourceMappingResult & WithStartingPositionTimestamp(Aws::Utils::DateTime &&value)
void SetLastProcessingResult(Aws::String &&value)
CreateEventSourceMappingResult & WithFunctionArn(const char *value)
void SetLastModified(const Aws::Utils::DateTime &value)
CreateEventSourceMappingResult & AddTopics(const Aws::String &value)
CreateEventSourceMappingResult & WithState(Aws::String &&value)
void SetSourceAccessConfigurations(Aws::Vector< SourceAccessConfiguration > &&value)
CreateEventSourceMappingResult & WithQueues(Aws::Vector< Aws::String > &&value)
const SelfManagedKafkaEventSourceConfig & GetSelfManagedKafkaEventSourceConfig() const
void SetKMSKeyArn(const Aws::String &value)
const AmazonManagedKafkaEventSourceConfig & GetAmazonManagedKafkaEventSourceConfig() const
void SetLastProcessingResult(const char *value)
CreateEventSourceMappingResult & AddTopics(Aws::String &&value)
CreateEventSourceMappingResult & WithKMSKeyArn(Aws::String &&value)
CreateEventSourceMappingResult & WithFilterCriteriaError(const FilterCriteriaError &value)
CreateEventSourceMappingResult & WithDocumentDBEventSourceConfig(DocumentDBEventSourceConfig &&value)
CreateEventSourceMappingResult & WithKMSKeyArn(const char *value)
CreateEventSourceMappingResult & AddFunctionResponseTypes(const FunctionResponseType &value)
CreateEventSourceMappingResult & WithLastProcessingResult(Aws::String &&value)
CreateEventSourceMappingResult & WithStartingPosition(const EventSourcePosition &value)
void SetDestinationConfig(const DestinationConfig &value)
CreateEventSourceMappingResult & WithRequestId(Aws::String &&value)
void SetRequestId(const Aws::String &value)
CreateEventSourceMappingResult & WithDestinationConfig(DestinationConfig &&value)
void SetStateTransitionReason(const Aws::String &value)
CreateEventSourceMappingResult & WithState(const char *value)
CreateEventSourceMappingResult & AddQueues(Aws::String &&value)
CreateEventSourceMappingResult & WithLastModified(Aws::Utils::DateTime &&value)
CreateEventSourceMappingResult & WithEventSourceMappingArn(const Aws::String &value)
const Aws::Vector< Aws::String > & GetQueues() const
CreateEventSourceMappingResult & WithStateTransitionReason(Aws::String &&value)
void SetSelfManagedEventSource(const SelfManagedEventSource &value)
void SetStateTransitionReason(const char *value)
void SetSelfManagedKafkaEventSourceConfig(SelfManagedKafkaEventSourceConfig &&value)
void SetEventSourceMappingArn(const char *value)
const SelfManagedEventSource & GetSelfManagedEventSource() const
CreateEventSourceMappingResult & WithFunctionArn(const Aws::String &value)
CreateEventSourceMappingResult & WithTopics(const Aws::Vector< Aws::String > &value)
CreateEventSourceMappingResult & WithUUID(Aws::String &&value)
void SetUUID(const Aws::String &value)
void SetStartingPositionTimestamp(const Aws::Utils::DateTime &value)
CreateEventSourceMappingResult & AddFunctionResponseTypes(FunctionResponseType &&value)
CreateEventSourceMappingResult & WithStartingPosition(EventSourcePosition &&value)
CreateEventSourceMappingResult & WithKMSKeyArn(const Aws::String &value)
void SetSelfManagedEventSource(SelfManagedEventSource &&value)
CreateEventSourceMappingResult & WithDocumentDBEventSourceConfig(const DocumentDBEventSourceConfig &value)
void SetTumblingWindowInSeconds(int value)
void SetEventSourceMappingArn(Aws::String &&value)
void SetMaximumRecordAgeInSeconds(int value)
void SetScalingConfig(ScalingConfig &&value)
void SetFunctionResponseTypes(const Aws::Vector< FunctionResponseType > &value)
const FilterCriteriaError & GetFilterCriteriaError() const
void SetFilterCriteriaError(const FilterCriteriaError &value)
const Aws::String & GetEventSourceArn() const
void SetFunctionArn(const Aws::String &value)
CreateEventSourceMappingResult & WithState(const Aws::String &value)
CreateEventSourceMappingResult & WithSourceAccessConfigurations(Aws::Vector< SourceAccessConfiguration > &&value)
CreateEventSourceMappingResult & WithScalingConfig(ScalingConfig &&value)
CreateEventSourceMappingResult & WithMaximumBatchingWindowInSeconds(int value)
CreateEventSourceMappingResult & WithFilterCriteriaError(FilterCriteriaError &&value)
void SetEventSourceMappingArn(const Aws::String &value)
void SetAmazonManagedKafkaEventSourceConfig(const AmazonManagedKafkaEventSourceConfig &value)
const Aws::String & GetFunctionArn() const
void SetSourceAccessConfigurations(const Aws::Vector< SourceAccessConfiguration > &value)
CreateEventSourceMappingResult & WithSourceAccessConfigurations(const Aws::Vector< SourceAccessConfiguration > &value)
void SetTopics(Aws::Vector< Aws::String > &&value)
const Aws::String & GetRequestId() const
CreateEventSourceMappingResult & WithLastProcessingResult(const Aws::String &value)
const DestinationConfig & GetDestinationConfig() const
void SetFunctionResponseTypes(Aws::Vector< FunctionResponseType > &&value)
const Aws::Vector< Aws::String > & GetTopics() const
const Aws::String & GetEventSourceMappingArn() const
void SetSelfManagedKafkaEventSourceConfig(const SelfManagedKafkaEventSourceConfig &value)
void SetEventSourceArn(const Aws::String &value)
const Aws::String & GetState() const
CreateEventSourceMappingResult & WithUUID(const char *value)
CreateEventSourceMappingResult & WithBatchSize(int value)
const Aws::String & GetLastProcessingResult() const
void SetUUID(Aws::String &&value)
void SetFunctionArn(Aws::String &&value)
CreateEventSourceMappingResult & WithTumblingWindowInSeconds(int value)
const Aws::String & GetStateTransitionReason() const
void SetScalingConfig(const ScalingConfig &value)
CreateEventSourceMappingResult & WithQueues(const Aws::Vector< Aws::String > &value)
CreateEventSourceMappingResult & WithDestinationConfig(const DestinationConfig &value)
CreateEventSourceMappingResult & WithStateTransitionReason(const char *value)
void SetDocumentDBEventSourceConfig(DocumentDBEventSourceConfig &&value)
CreateEventSourceMappingResult & WithStartingPositionTimestamp(const Aws::Utils::DateTime &value)
AWS_LAMBDA_API CreateEventSourceMappingResult()
void SetState(const char *value)
void SetDestinationConfig(DestinationConfig &&value)
CreateEventSourceMappingResult & WithFunctionArn(Aws::String &&value)
CreateEventSourceMappingResult & WithFunctionResponseTypes(Aws::Vector< FunctionResponseType > &&value)
CreateEventSourceMappingResult & WithUUID(const Aws::String &value)
void SetFilterCriteriaError(FilterCriteriaError &&value)
CreateEventSourceMappingResult & WithSelfManagedKafkaEventSourceConfig(SelfManagedKafkaEventSourceConfig &&value)
int GetMaximumRetryAttempts() const
void SetAmazonManagedKafkaEventSourceConfig(AmazonManagedKafkaEventSourceConfig &&value)
void SetKMSKeyArn(Aws::String &&value)
CreateEventSourceMappingResult & WithAmazonManagedKafkaEventSourceConfig(AmazonManagedKafkaEventSourceConfig &&value)
void SetDocumentDBEventSourceConfig(const DocumentDBEventSourceConfig &value)
void SetParallelizationFactor(int value)
void SetFunctionArn(const char *value)
CreateEventSourceMappingResult & WithRequestId(const char *value)
CreateEventSourceMappingResult & WithFilterCriteria(const FilterCriteria &value)
CreateEventSourceMappingResult & WithParallelizationFactor(int value)
int GetMaximumBatchingWindowInSeconds() const
std::basic_string< char, std::char_traits< char >, Aws::Allocator< char > > String
std::vector< T, Aws::Allocator< T > > Vector
Aws::Utils::Json::JsonValue JsonValue