AWS SDK for C++  1.9.129
AWS SDK for C++
CreateEventSourceMappingRequest.h
Go to the documentation of this file.
1 
6 #pragma once
17 #include <utility>
18 
19 namespace Aws
20 {
21 namespace Lambda
22 {
23 namespace Model
24 {
25 
29  {
30  public:
32 
33  // Service request name is the Operation name which will send this request out,
34  // each operation should has unique request name, so that we can get operation's name from this request.
35  // Note: this is not true for response, multiple operations may have the same response name,
36  // so we can not get operation's name from response.
37  inline virtual const char* GetServiceRequestName() const override { return "CreateEventSourceMapping"; }
38 
39  Aws::String SerializePayload() const override;
40 
41 
50  inline const Aws::String& GetEventSourceArn() const{ return m_eventSourceArn; }
51 
60  inline bool EventSourceArnHasBeenSet() const { return m_eventSourceArnHasBeenSet; }
61 
70  inline void SetEventSourceArn(const Aws::String& value) { m_eventSourceArnHasBeenSet = true; m_eventSourceArn = value; }
71 
80  inline void SetEventSourceArn(Aws::String&& value) { m_eventSourceArnHasBeenSet = true; m_eventSourceArn = std::move(value); }
81 
90  inline void SetEventSourceArn(const char* value) { m_eventSourceArnHasBeenSet = true; m_eventSourceArn.assign(value); }
91 
100  inline CreateEventSourceMappingRequest& WithEventSourceArn(const Aws::String& value) { SetEventSourceArn(value); return *this;}
101 
110  inline CreateEventSourceMappingRequest& WithEventSourceArn(Aws::String&& value) { SetEventSourceArn(std::move(value)); return *this;}
111 
120  inline CreateEventSourceMappingRequest& WithEventSourceArn(const char* value) { SetEventSourceArn(value); return *this;}
121 
122 
135  inline const Aws::String& GetFunctionName() const{ return m_functionName; }
136 
149  inline bool FunctionNameHasBeenSet() const { return m_functionNameHasBeenSet; }
150 
163  inline void SetFunctionName(const Aws::String& value) { m_functionNameHasBeenSet = true; m_functionName = value; }
164 
177  inline void SetFunctionName(Aws::String&& value) { m_functionNameHasBeenSet = true; m_functionName = std::move(value); }
178 
191  inline void SetFunctionName(const char* value) { m_functionNameHasBeenSet = true; m_functionName.assign(value); }
192 
205  inline CreateEventSourceMappingRequest& WithFunctionName(const Aws::String& value) { SetFunctionName(value); return *this;}
206 
219  inline CreateEventSourceMappingRequest& WithFunctionName(Aws::String&& value) { SetFunctionName(std::move(value)); return *this;}
220 
233  inline CreateEventSourceMappingRequest& WithFunctionName(const char* value) { SetFunctionName(value); return *this;}
234 
235 
240  inline bool GetEnabled() const{ return m_enabled; }
241 
246  inline bool EnabledHasBeenSet() const { return m_enabledHasBeenSet; }
247 
252  inline void SetEnabled(bool value) { m_enabledHasBeenSet = true; m_enabled = value; }
253 
258  inline CreateEventSourceMappingRequest& WithEnabled(bool value) { SetEnabled(value); return *this;}
259 
260 
273  inline int GetBatchSize() const{ return m_batchSize; }
274 
287  inline bool BatchSizeHasBeenSet() const { return m_batchSizeHasBeenSet; }
288 
301  inline void SetBatchSize(int value) { m_batchSizeHasBeenSet = true; m_batchSize = value; }
302 
315  inline CreateEventSourceMappingRequest& WithBatchSize(int value) { SetBatchSize(value); return *this;}
316 
317 
325  inline int GetMaximumBatchingWindowInSeconds() const{ return m_maximumBatchingWindowInSeconds; }
326 
334  inline bool MaximumBatchingWindowInSecondsHasBeenSet() const { return m_maximumBatchingWindowInSecondsHasBeenSet; }
335 
343  inline void SetMaximumBatchingWindowInSeconds(int value) { m_maximumBatchingWindowInSecondsHasBeenSet = true; m_maximumBatchingWindowInSeconds = value; }
344 
352  inline CreateEventSourceMappingRequest& WithMaximumBatchingWindowInSeconds(int value) { SetMaximumBatchingWindowInSeconds(value); return *this;}
353 
354 
359  inline int GetParallelizationFactor() const{ return m_parallelizationFactor; }
360 
365  inline bool ParallelizationFactorHasBeenSet() const { return m_parallelizationFactorHasBeenSet; }
366 
371  inline void SetParallelizationFactor(int value) { m_parallelizationFactorHasBeenSet = true; m_parallelizationFactor = value; }
372 
377  inline CreateEventSourceMappingRequest& WithParallelizationFactor(int value) { SetParallelizationFactor(value); return *this;}
378 
379 
385  inline const EventSourcePosition& GetStartingPosition() const{ return m_startingPosition; }
386 
392  inline bool StartingPositionHasBeenSet() const { return m_startingPositionHasBeenSet; }
393 
399  inline void SetStartingPosition(const EventSourcePosition& value) { m_startingPositionHasBeenSet = true; m_startingPosition = value; }
400 
406  inline void SetStartingPosition(EventSourcePosition&& value) { m_startingPositionHasBeenSet = true; m_startingPosition = std::move(value); }
407 
413  inline CreateEventSourceMappingRequest& WithStartingPosition(const EventSourcePosition& value) { SetStartingPosition(value); return *this;}
414 
420  inline CreateEventSourceMappingRequest& WithStartingPosition(EventSourcePosition&& value) { SetStartingPosition(std::move(value)); return *this;}
421 
422 
427  inline const Aws::Utils::DateTime& GetStartingPositionTimestamp() const{ return m_startingPositionTimestamp; }
428 
433  inline bool StartingPositionTimestampHasBeenSet() const { return m_startingPositionTimestampHasBeenSet; }
434 
439  inline void SetStartingPositionTimestamp(const Aws::Utils::DateTime& value) { m_startingPositionTimestampHasBeenSet = true; m_startingPositionTimestamp = value; }
440 
445  inline void SetStartingPositionTimestamp(Aws::Utils::DateTime&& value) { m_startingPositionTimestampHasBeenSet = true; m_startingPositionTimestamp = std::move(value); }
446 
451  inline CreateEventSourceMappingRequest& WithStartingPositionTimestamp(const Aws::Utils::DateTime& value) { SetStartingPositionTimestamp(value); return *this;}
452 
457  inline CreateEventSourceMappingRequest& WithStartingPositionTimestamp(Aws::Utils::DateTime&& value) { SetStartingPositionTimestamp(std::move(value)); return *this;}
458 
459 
464  inline const DestinationConfig& GetDestinationConfig() const{ return m_destinationConfig; }
465 
470  inline bool DestinationConfigHasBeenSet() const { return m_destinationConfigHasBeenSet; }
471 
476  inline void SetDestinationConfig(const DestinationConfig& value) { m_destinationConfigHasBeenSet = true; m_destinationConfig = value; }
477 
482  inline void SetDestinationConfig(DestinationConfig&& value) { m_destinationConfigHasBeenSet = true; m_destinationConfig = std::move(value); }
483 
488  inline CreateEventSourceMappingRequest& WithDestinationConfig(const DestinationConfig& value) { SetDestinationConfig(value); return *this;}
489 
494  inline CreateEventSourceMappingRequest& WithDestinationConfig(DestinationConfig&& value) { SetDestinationConfig(std::move(value)); return *this;}
495 
496 
501  inline int GetMaximumRecordAgeInSeconds() const{ return m_maximumRecordAgeInSeconds; }
502 
507  inline bool MaximumRecordAgeInSecondsHasBeenSet() const { return m_maximumRecordAgeInSecondsHasBeenSet; }
508 
513  inline void SetMaximumRecordAgeInSeconds(int value) { m_maximumRecordAgeInSecondsHasBeenSet = true; m_maximumRecordAgeInSeconds = value; }
514 
519  inline CreateEventSourceMappingRequest& WithMaximumRecordAgeInSeconds(int value) { SetMaximumRecordAgeInSeconds(value); return *this;}
520 
521 
526  inline bool GetBisectBatchOnFunctionError() const{ return m_bisectBatchOnFunctionError; }
527 
532  inline bool BisectBatchOnFunctionErrorHasBeenSet() const { return m_bisectBatchOnFunctionErrorHasBeenSet; }
533 
538  inline void SetBisectBatchOnFunctionError(bool value) { m_bisectBatchOnFunctionErrorHasBeenSet = true; m_bisectBatchOnFunctionError = value; }
539 
544  inline CreateEventSourceMappingRequest& WithBisectBatchOnFunctionError(bool value) { SetBisectBatchOnFunctionError(value); return *this;}
545 
546 
552  inline int GetMaximumRetryAttempts() const{ return m_maximumRetryAttempts; }
553 
559  inline bool MaximumRetryAttemptsHasBeenSet() const { return m_maximumRetryAttemptsHasBeenSet; }
560 
566  inline void SetMaximumRetryAttempts(int value) { m_maximumRetryAttemptsHasBeenSet = true; m_maximumRetryAttempts = value; }
567 
573  inline CreateEventSourceMappingRequest& WithMaximumRetryAttempts(int value) { SetMaximumRetryAttempts(value); return *this;}
574 
575 
580  inline int GetTumblingWindowInSeconds() const{ return m_tumblingWindowInSeconds; }
581 
586  inline bool TumblingWindowInSecondsHasBeenSet() const { return m_tumblingWindowInSecondsHasBeenSet; }
587 
592  inline void SetTumblingWindowInSeconds(int value) { m_tumblingWindowInSecondsHasBeenSet = true; m_tumblingWindowInSeconds = value; }
593 
598  inline CreateEventSourceMappingRequest& WithTumblingWindowInSeconds(int value) { SetTumblingWindowInSeconds(value); return *this;}
599 
600 
604  inline const Aws::Vector<Aws::String>& GetTopics() const{ return m_topics; }
605 
609  inline bool TopicsHasBeenSet() const { return m_topicsHasBeenSet; }
610 
614  inline void SetTopics(const Aws::Vector<Aws::String>& value) { m_topicsHasBeenSet = true; m_topics = value; }
615 
619  inline void SetTopics(Aws::Vector<Aws::String>&& value) { m_topicsHasBeenSet = true; m_topics = std::move(value); }
620 
624  inline CreateEventSourceMappingRequest& WithTopics(const Aws::Vector<Aws::String>& value) { SetTopics(value); return *this;}
625 
629  inline CreateEventSourceMappingRequest& WithTopics(Aws::Vector<Aws::String>&& value) { SetTopics(std::move(value)); return *this;}
630 
634  inline CreateEventSourceMappingRequest& AddTopics(const Aws::String& value) { m_topicsHasBeenSet = true; m_topics.push_back(value); return *this; }
635 
639  inline CreateEventSourceMappingRequest& AddTopics(Aws::String&& value) { m_topicsHasBeenSet = true; m_topics.push_back(std::move(value)); return *this; }
640 
644  inline CreateEventSourceMappingRequest& AddTopics(const char* value) { m_topicsHasBeenSet = true; m_topics.push_back(value); return *this; }
645 
646 
650  inline const Aws::Vector<Aws::String>& GetQueues() const{ return m_queues; }
651 
655  inline bool QueuesHasBeenSet() const { return m_queuesHasBeenSet; }
656 
660  inline void SetQueues(const Aws::Vector<Aws::String>& value) { m_queuesHasBeenSet = true; m_queues = value; }
661 
665  inline void SetQueues(Aws::Vector<Aws::String>&& value) { m_queuesHasBeenSet = true; m_queues = std::move(value); }
666 
670  inline CreateEventSourceMappingRequest& WithQueues(const Aws::Vector<Aws::String>& value) { SetQueues(value); return *this;}
671 
675  inline CreateEventSourceMappingRequest& WithQueues(Aws::Vector<Aws::String>&& value) { SetQueues(std::move(value)); return *this;}
676 
680  inline CreateEventSourceMappingRequest& AddQueues(const Aws::String& value) { m_queuesHasBeenSet = true; m_queues.push_back(value); return *this; }
681 
685  inline CreateEventSourceMappingRequest& AddQueues(Aws::String&& value) { m_queuesHasBeenSet = true; m_queues.push_back(std::move(value)); return *this; }
686 
690  inline CreateEventSourceMappingRequest& AddQueues(const char* value) { m_queuesHasBeenSet = true; m_queues.push_back(value); return *this; }
691 
692 
697  inline const Aws::Vector<SourceAccessConfiguration>& GetSourceAccessConfigurations() const{ return m_sourceAccessConfigurations; }
698 
703  inline bool SourceAccessConfigurationsHasBeenSet() const { return m_sourceAccessConfigurationsHasBeenSet; }
704 
709  inline void SetSourceAccessConfigurations(const Aws::Vector<SourceAccessConfiguration>& value) { m_sourceAccessConfigurationsHasBeenSet = true; m_sourceAccessConfigurations = value; }
710 
715  inline void SetSourceAccessConfigurations(Aws::Vector<SourceAccessConfiguration>&& value) { m_sourceAccessConfigurationsHasBeenSet = true; m_sourceAccessConfigurations = std::move(value); }
716 
721  inline CreateEventSourceMappingRequest& WithSourceAccessConfigurations(const Aws::Vector<SourceAccessConfiguration>& value) { SetSourceAccessConfigurations(value); return *this;}
722 
727  inline CreateEventSourceMappingRequest& WithSourceAccessConfigurations(Aws::Vector<SourceAccessConfiguration>&& value) { SetSourceAccessConfigurations(std::move(value)); return *this;}
728 
733  inline CreateEventSourceMappingRequest& AddSourceAccessConfigurations(const SourceAccessConfiguration& value) { m_sourceAccessConfigurationsHasBeenSet = true; m_sourceAccessConfigurations.push_back(value); return *this; }
734 
739  inline CreateEventSourceMappingRequest& AddSourceAccessConfigurations(SourceAccessConfiguration&& value) { m_sourceAccessConfigurationsHasBeenSet = true; m_sourceAccessConfigurations.push_back(std::move(value)); return *this; }
740 
741 
745  inline const SelfManagedEventSource& GetSelfManagedEventSource() const{ return m_selfManagedEventSource; }
746 
750  inline bool SelfManagedEventSourceHasBeenSet() const { return m_selfManagedEventSourceHasBeenSet; }
751 
755  inline void SetSelfManagedEventSource(const SelfManagedEventSource& value) { m_selfManagedEventSourceHasBeenSet = true; m_selfManagedEventSource = value; }
756 
760  inline void SetSelfManagedEventSource(SelfManagedEventSource&& value) { m_selfManagedEventSourceHasBeenSet = true; m_selfManagedEventSource = std::move(value); }
761 
765  inline CreateEventSourceMappingRequest& WithSelfManagedEventSource(const SelfManagedEventSource& value) { SetSelfManagedEventSource(value); return *this;}
766 
770  inline CreateEventSourceMappingRequest& WithSelfManagedEventSource(SelfManagedEventSource&& value) { SetSelfManagedEventSource(std::move(value)); return *this;}
771 
772 
777  inline const Aws::Vector<FunctionResponseType>& GetFunctionResponseTypes() const{ return m_functionResponseTypes; }
778 
783  inline bool FunctionResponseTypesHasBeenSet() const { return m_functionResponseTypesHasBeenSet; }
784 
789  inline void SetFunctionResponseTypes(const Aws::Vector<FunctionResponseType>& value) { m_functionResponseTypesHasBeenSet = true; m_functionResponseTypes = value; }
790 
795  inline void SetFunctionResponseTypes(Aws::Vector<FunctionResponseType>&& value) { m_functionResponseTypesHasBeenSet = true; m_functionResponseTypes = std::move(value); }
796 
801  inline CreateEventSourceMappingRequest& WithFunctionResponseTypes(const Aws::Vector<FunctionResponseType>& value) { SetFunctionResponseTypes(value); return *this;}
802 
807  inline CreateEventSourceMappingRequest& WithFunctionResponseTypes(Aws::Vector<FunctionResponseType>&& value) { SetFunctionResponseTypes(std::move(value)); return *this;}
808 
813  inline CreateEventSourceMappingRequest& AddFunctionResponseTypes(const FunctionResponseType& value) { m_functionResponseTypesHasBeenSet = true; m_functionResponseTypes.push_back(value); return *this; }
814 
819  inline CreateEventSourceMappingRequest& AddFunctionResponseTypes(FunctionResponseType&& value) { m_functionResponseTypesHasBeenSet = true; m_functionResponseTypes.push_back(std::move(value)); return *this; }
820 
821  private:
822 
823  Aws::String m_eventSourceArn;
824  bool m_eventSourceArnHasBeenSet;
825 
826  Aws::String m_functionName;
827  bool m_functionNameHasBeenSet;
828 
829  bool m_enabled;
830  bool m_enabledHasBeenSet;
831 
832  int m_batchSize;
833  bool m_batchSizeHasBeenSet;
834 
835  int m_maximumBatchingWindowInSeconds;
836  bool m_maximumBatchingWindowInSecondsHasBeenSet;
837 
838  int m_parallelizationFactor;
839  bool m_parallelizationFactorHasBeenSet;
840 
841  EventSourcePosition m_startingPosition;
842  bool m_startingPositionHasBeenSet;
843 
844  Aws::Utils::DateTime m_startingPositionTimestamp;
845  bool m_startingPositionTimestampHasBeenSet;
846 
847  DestinationConfig m_destinationConfig;
848  bool m_destinationConfigHasBeenSet;
849 
850  int m_maximumRecordAgeInSeconds;
851  bool m_maximumRecordAgeInSecondsHasBeenSet;
852 
853  bool m_bisectBatchOnFunctionError;
854  bool m_bisectBatchOnFunctionErrorHasBeenSet;
855 
856  int m_maximumRetryAttempts;
857  bool m_maximumRetryAttemptsHasBeenSet;
858 
859  int m_tumblingWindowInSeconds;
860  bool m_tumblingWindowInSecondsHasBeenSet;
861 
862  Aws::Vector<Aws::String> m_topics;
863  bool m_topicsHasBeenSet;
864 
865  Aws::Vector<Aws::String> m_queues;
866  bool m_queuesHasBeenSet;
867 
868  Aws::Vector<SourceAccessConfiguration> m_sourceAccessConfigurations;
869  bool m_sourceAccessConfigurationsHasBeenSet;
870 
871  SelfManagedEventSource m_selfManagedEventSource;
872  bool m_selfManagedEventSourceHasBeenSet;
873 
874  Aws::Vector<FunctionResponseType> m_functionResponseTypes;
875  bool m_functionResponseTypesHasBeenSet;
876  };
877 
878 } // namespace Model
879 } // namespace Lambda
880 } // namespace Aws
Aws::Utils::DateTime
Definition: DateTime.h:55
Aws::Lambda::Model::CreateEventSourceMappingRequest::DestinationConfigHasBeenSet
bool DestinationConfigHasBeenSet() const
Definition: CreateEventSourceMappingRequest.h:470
Aws::Lambda::Model::CreateEventSourceMappingRequest::GetServiceRequestName
virtual const char * GetServiceRequestName() const override
Definition: CreateEventSourceMappingRequest.h:37
Aws::Lambda::Model::CreateEventSourceMappingRequest::SetQueues
void SetQueues(Aws::Vector< Aws::String > &&value)
Definition: CreateEventSourceMappingRequest.h:665
Aws::Lambda::Model::CreateEventSourceMappingRequest::SetStartingPosition
void SetStartingPosition(EventSourcePosition &&value)
Definition: CreateEventSourceMappingRequest.h:406
FunctionResponseType.h
Aws::Lambda::Model::CreateEventSourceMappingRequest::WithEnabled
CreateEventSourceMappingRequest & WithEnabled(bool value)
Definition: CreateEventSourceMappingRequest.h:258
Aws::Lambda::Model::CreateEventSourceMappingRequest::SetTumblingWindowInSeconds
void SetTumblingWindowInSeconds(int value)
Definition: CreateEventSourceMappingRequest.h:592
Aws::Lambda::Model::FunctionResponseType
FunctionResponseType
Definition: FunctionResponseType.h:17
Aws::Lambda::Model::CreateEventSourceMappingRequest::GetSourceAccessConfigurations
const Aws::Vector< SourceAccessConfiguration > & GetSourceAccessConfigurations() const
Definition: CreateEventSourceMappingRequest.h:697
Aws::Lambda::Model::CreateEventSourceMappingRequest::SetMaximumBatchingWindowInSeconds
void SetMaximumBatchingWindowInSeconds(int value)
Definition: CreateEventSourceMappingRequest.h:343
Aws::Lambda::Model::CreateEventSourceMappingRequest::SetFunctionResponseTypes
void SetFunctionResponseTypes(const Aws::Vector< FunctionResponseType > &value)
Definition: CreateEventSourceMappingRequest.h:789
Aws::Lambda::Model::CreateEventSourceMappingRequest::WithSourceAccessConfigurations
CreateEventSourceMappingRequest & WithSourceAccessConfigurations(const Aws::Vector< SourceAccessConfiguration > &value)
Definition: CreateEventSourceMappingRequest.h:721
Aws::Lambda::Model::CreateEventSourceMappingRequest::SetFunctionName
void SetFunctionName(Aws::String &&value)
Definition: CreateEventSourceMappingRequest.h:177
Aws::Lambda::Model::CreateEventSourceMappingRequest::GetBisectBatchOnFunctionError
bool GetBisectBatchOnFunctionError() const
Definition: CreateEventSourceMappingRequest.h:526
Aws::Lambda::Model::CreateEventSourceMappingRequest::AddFunctionResponseTypes
CreateEventSourceMappingRequest & AddFunctionResponseTypes(FunctionResponseType &&value)
Definition: CreateEventSourceMappingRequest.h:819
Aws::Lambda::Model::CreateEventSourceMappingRequest::GetTopics
const Aws::Vector< Aws::String > & GetTopics() const
Definition: CreateEventSourceMappingRequest.h:604
Aws::Lambda::Model::CreateEventSourceMappingRequest::WithFunctionName
CreateEventSourceMappingRequest & WithFunctionName(Aws::String &&value)
Definition: CreateEventSourceMappingRequest.h:219
EventSourcePosition.h
Aws::Lambda::Model::CreateEventSourceMappingRequest::WithSelfManagedEventSource
CreateEventSourceMappingRequest & WithSelfManagedEventSource(SelfManagedEventSource &&value)
Definition: CreateEventSourceMappingRequest.h:770
Aws::Lambda::Model::CreateEventSourceMappingRequest::GetQueues
const Aws::Vector< Aws::String > & GetQueues() const
Definition: CreateEventSourceMappingRequest.h:650
Aws::Lambda::Model::CreateEventSourceMappingRequest::BatchSizeHasBeenSet
bool BatchSizeHasBeenSet() const
Definition: CreateEventSourceMappingRequest.h:287
Aws::Lambda::Model::CreateEventSourceMappingRequest::WithFunctionName
CreateEventSourceMappingRequest & WithFunctionName(const char *value)
Definition: CreateEventSourceMappingRequest.h:233
Aws::Lambda::Model::EventSourcePosition
EventSourcePosition
Definition: EventSourcePosition.h:17
Aws::Lambda::Model::CreateEventSourceMappingRequest::AddTopics
CreateEventSourceMappingRequest & AddTopics(const Aws::String &value)
Definition: CreateEventSourceMappingRequest.h:634
DateTime.h
Aws::Lambda::Model::CreateEventSourceMappingRequest::WithEventSourceArn
CreateEventSourceMappingRequest & WithEventSourceArn(const char *value)
Definition: CreateEventSourceMappingRequest.h:120
SelfManagedEventSource.h
Aws::Lambda::Model::CreateEventSourceMappingRequest::WithMaximumBatchingWindowInSeconds
CreateEventSourceMappingRequest & WithMaximumBatchingWindowInSeconds(int value)
Definition: CreateEventSourceMappingRequest.h:352
Aws::Lambda::Model::CreateEventSourceMappingRequest::SourceAccessConfigurationsHasBeenSet
bool SourceAccessConfigurationsHasBeenSet() const
Definition: CreateEventSourceMappingRequest.h:703
Aws::Lambda::Model::CreateEventSourceMappingRequest::GetEnabled
bool GetEnabled() const
Definition: CreateEventSourceMappingRequest.h:240
Aws::Lambda::Model::CreateEventSourceMappingRequest::AddQueues
CreateEventSourceMappingRequest & AddQueues(const char *value)
Definition: CreateEventSourceMappingRequest.h:690
Aws::Lambda::Model::CreateEventSourceMappingRequest::SetSourceAccessConfigurations
void SetSourceAccessConfigurations(const Aws::Vector< SourceAccessConfiguration > &value)
Definition: CreateEventSourceMappingRequest.h:709
Aws::Lambda::Model::CreateEventSourceMappingRequest::SetTopics
void SetTopics(const Aws::Vector< Aws::String > &value)
Definition: CreateEventSourceMappingRequest.h:614
Aws::Lambda::Model::CreateEventSourceMappingRequest::WithTopics
CreateEventSourceMappingRequest & WithTopics(Aws::Vector< Aws::String > &&value)
Definition: CreateEventSourceMappingRequest.h:629
Aws::Lambda::Model::CreateEventSourceMappingRequest::GetStartingPositionTimestamp
const Aws::Utils::DateTime & GetStartingPositionTimestamp() const
Definition: CreateEventSourceMappingRequest.h:427
Aws::Lambda::Model::CreateEventSourceMappingRequest::GetSelfManagedEventSource
const SelfManagedEventSource & GetSelfManagedEventSource() const
Definition: CreateEventSourceMappingRequest.h:745
Aws::Lambda::Model::CreateEventSourceMappingRequest::AddSourceAccessConfigurations
CreateEventSourceMappingRequest & AddSourceAccessConfigurations(SourceAccessConfiguration &&value)
Definition: CreateEventSourceMappingRequest.h:739
Aws::Lambda::Model::CreateEventSourceMappingRequest::SetEventSourceArn
void SetEventSourceArn(Aws::String &&value)
Definition: CreateEventSourceMappingRequest.h:80
Aws::Vector
std::vector< T, Aws::Allocator< T > > Vector
Definition: AWSVector.h:17
Aws::Lambda::Model::SourceAccessConfiguration
Definition: SourceAccessConfiguration.h:35
Aws::Lambda::Model::CreateEventSourceMappingRequest::WithStartingPositionTimestamp
CreateEventSourceMappingRequest & WithStartingPositionTimestamp(Aws::Utils::DateTime &&value)
Definition: CreateEventSourceMappingRequest.h:457
Aws::Lambda::Model::CreateEventSourceMappingRequest::SetMaximumRecordAgeInSeconds
void SetMaximumRecordAgeInSeconds(int value)
Definition: CreateEventSourceMappingRequest.h:513
Aws::Lambda::Model::CreateEventSourceMappingRequest::SetStartingPositionTimestamp
void SetStartingPositionTimestamp(Aws::Utils::DateTime &&value)
Definition: CreateEventSourceMappingRequest.h:445
Aws::Lambda::Model::CreateEventSourceMappingRequest::SetEventSourceArn
void SetEventSourceArn(const Aws::String &value)
Definition: CreateEventSourceMappingRequest.h:70
Aws::Lambda::Model::CreateEventSourceMappingRequest::GetStartingPosition
const EventSourcePosition & GetStartingPosition() const
Definition: CreateEventSourceMappingRequest.h:385
AWSVector.h
Aws::Lambda::Model::CreateEventSourceMappingRequest::AddSourceAccessConfigurations
CreateEventSourceMappingRequest & AddSourceAccessConfigurations(const SourceAccessConfiguration &value)
Definition: CreateEventSourceMappingRequest.h:733
Aws::Lambda::Model::CreateEventSourceMappingRequest::WithSourceAccessConfigurations
CreateEventSourceMappingRequest & WithSourceAccessConfigurations(Aws::Vector< SourceAccessConfiguration > &&value)
Definition: CreateEventSourceMappingRequest.h:727
Aws::Lambda::Model::CreateEventSourceMappingRequest
Definition: CreateEventSourceMappingRequest.h:29
Aws::Lambda::Model::CreateEventSourceMappingRequest::GetBatchSize
int GetBatchSize() const
Definition: CreateEventSourceMappingRequest.h:273
Aws::Lambda::Model::CreateEventSourceMappingRequest::SetStartingPositionTimestamp
void SetStartingPositionTimestamp(const Aws::Utils::DateTime &value)
Definition: CreateEventSourceMappingRequest.h:439
Aws::Lambda::Model::CreateEventSourceMappingRequest::WithTopics
CreateEventSourceMappingRequest & WithTopics(const Aws::Vector< Aws::String > &value)
Definition: CreateEventSourceMappingRequest.h:624
Aws::Lambda::Model::CreateEventSourceMappingRequest::SetMaximumRetryAttempts
void SetMaximumRetryAttempts(int value)
Definition: CreateEventSourceMappingRequest.h:566
Aws::Lambda::Model::CreateEventSourceMappingRequest::WithTumblingWindowInSeconds
CreateEventSourceMappingRequest & WithTumblingWindowInSeconds(int value)
Definition: CreateEventSourceMappingRequest.h:598
Aws::Lambda::Model::CreateEventSourceMappingRequest::SetDestinationConfig
void SetDestinationConfig(const DestinationConfig &value)
Definition: CreateEventSourceMappingRequest.h:476
AWS_LAMBDA_API
#define AWS_LAMBDA_API
Definition: Lambda_EXPORTS.h:28
Aws::Lambda::Model::CreateEventSourceMappingRequest::SetQueues
void SetQueues(const Aws::Vector< Aws::String > &value)
Definition: CreateEventSourceMappingRequest.h:660
Aws::Lambda::Model::CreateEventSourceMappingRequest::AddFunctionResponseTypes
CreateEventSourceMappingRequest & AddFunctionResponseTypes(const FunctionResponseType &value)
Definition: CreateEventSourceMappingRequest.h:813
Aws::Lambda::Model::CreateEventSourceMappingRequest::SetEventSourceArn
void SetEventSourceArn(const char *value)
Definition: CreateEventSourceMappingRequest.h:90
Aws::Lambda::Model::CreateEventSourceMappingRequest::WithFunctionName
CreateEventSourceMappingRequest & WithFunctionName(const Aws::String &value)
Definition: CreateEventSourceMappingRequest.h:205
Aws::Lambda::Model::CreateEventSourceMappingRequest::MaximumBatchingWindowInSecondsHasBeenSet
bool MaximumBatchingWindowInSecondsHasBeenSet() const
Definition: CreateEventSourceMappingRequest.h:334
Aws::Lambda::Model::CreateEventSourceMappingRequest::GetEventSourceArn
const Aws::String & GetEventSourceArn() const
Definition: CreateEventSourceMappingRequest.h:50
Aws::Lambda::Model::CreateEventSourceMappingRequest::MaximumRetryAttemptsHasBeenSet
bool MaximumRetryAttemptsHasBeenSet() const
Definition: CreateEventSourceMappingRequest.h:559
Aws::Lambda::Model::CreateEventSourceMappingRequest::GetTumblingWindowInSeconds
int GetTumblingWindowInSeconds() const
Definition: CreateEventSourceMappingRequest.h:580
Aws::Lambda::Model::CreateEventSourceMappingRequest::SetEnabled
void SetEnabled(bool value)
Definition: CreateEventSourceMappingRequest.h:252
Aws::Lambda::Model::CreateEventSourceMappingRequest::SelfManagedEventSourceHasBeenSet
bool SelfManagedEventSourceHasBeenSet() const
Definition: CreateEventSourceMappingRequest.h:750
Aws::Lambda::Model::CreateEventSourceMappingRequest::GetMaximumRetryAttempts
int GetMaximumRetryAttempts() const
Definition: CreateEventSourceMappingRequest.h:552
Aws::Lambda::Model::CreateEventSourceMappingRequest::SetSelfManagedEventSource
void SetSelfManagedEventSource(const SelfManagedEventSource &value)
Definition: CreateEventSourceMappingRequest.h:755
Aws::Lambda::Model::CreateEventSourceMappingRequest::TopicsHasBeenSet
bool TopicsHasBeenSet() const
Definition: CreateEventSourceMappingRequest.h:609
Aws::Lambda::Model::CreateEventSourceMappingRequest::WithEventSourceArn
CreateEventSourceMappingRequest & WithEventSourceArn(const Aws::String &value)
Definition: CreateEventSourceMappingRequest.h:100
Aws::Lambda::Model::CreateEventSourceMappingRequest::SetSourceAccessConfigurations
void SetSourceAccessConfigurations(Aws::Vector< SourceAccessConfiguration > &&value)
Definition: CreateEventSourceMappingRequest.h:715
Aws::Lambda::Model::CreateEventSourceMappingRequest::CreateEventSourceMappingRequest
CreateEventSourceMappingRequest()
Aws::Lambda::Model::CreateEventSourceMappingRequest::SetDestinationConfig
void SetDestinationConfig(DestinationConfig &&value)
Definition: CreateEventSourceMappingRequest.h:482
AWSString.h
Aws::Lambda::Model::CreateEventSourceMappingRequest::BisectBatchOnFunctionErrorHasBeenSet
bool BisectBatchOnFunctionErrorHasBeenSet() const
Definition: CreateEventSourceMappingRequest.h:532
Aws::Lambda::Model::SelfManagedEventSource
Definition: SelfManagedEventSource.h:36
Aws::Lambda::Model::CreateEventSourceMappingRequest::TumblingWindowInSecondsHasBeenSet
bool TumblingWindowInSecondsHasBeenSet() const
Definition: CreateEventSourceMappingRequest.h:586
Aws::Lambda::Model::CreateEventSourceMappingRequest::SetFunctionName
void SetFunctionName(const Aws::String &value)
Definition: CreateEventSourceMappingRequest.h:163
LambdaRequest.h
Aws::Lambda::Model::CreateEventSourceMappingRequest::WithQueues
CreateEventSourceMappingRequest & WithQueues(const Aws::Vector< Aws::String > &value)
Definition: CreateEventSourceMappingRequest.h:670
Aws::Lambda::Model::CreateEventSourceMappingRequest::EnabledHasBeenSet
bool EnabledHasBeenSet() const
Definition: CreateEventSourceMappingRequest.h:246
Aws::Lambda::Model::CreateEventSourceMappingRequest::AddTopics
CreateEventSourceMappingRequest & AddTopics(const char *value)
Definition: CreateEventSourceMappingRequest.h:644
Aws::Lambda::Model::CreateEventSourceMappingRequest::WithBatchSize
CreateEventSourceMappingRequest & WithBatchSize(int value)
Definition: CreateEventSourceMappingRequest.h:315
Aws::Lambda::Model::CreateEventSourceMappingRequest::SetTopics
void SetTopics(Aws::Vector< Aws::String > &&value)
Definition: CreateEventSourceMappingRequest.h:619
Aws::Lambda::Model::CreateEventSourceMappingRequest::StartingPositionTimestampHasBeenSet
bool StartingPositionTimestampHasBeenSet() const
Definition: CreateEventSourceMappingRequest.h:433
Aws::Lambda::Model::CreateEventSourceMappingRequest::EventSourceArnHasBeenSet
bool EventSourceArnHasBeenSet() const
Definition: CreateEventSourceMappingRequest.h:60
Aws::Lambda::Model::CreateEventSourceMappingRequest::WithDestinationConfig
CreateEventSourceMappingRequest & WithDestinationConfig(const DestinationConfig &value)
Definition: CreateEventSourceMappingRequest.h:488
Aws::Lambda::Model::CreateEventSourceMappingRequest::WithEventSourceArn
CreateEventSourceMappingRequest & WithEventSourceArn(Aws::String &&value)
Definition: CreateEventSourceMappingRequest.h:110
Aws::Lambda::Model::CreateEventSourceMappingRequest::WithQueues
CreateEventSourceMappingRequest & WithQueues(Aws::Vector< Aws::String > &&value)
Definition: CreateEventSourceMappingRequest.h:675
Aws::Lambda::LambdaRequest
Definition: LambdaRequest.h:18
Aws::Lambda::Model::CreateEventSourceMappingRequest::WithFunctionResponseTypes
CreateEventSourceMappingRequest & WithFunctionResponseTypes(Aws::Vector< FunctionResponseType > &&value)
Definition: CreateEventSourceMappingRequest.h:807
Aws::Lambda::Model::CreateEventSourceMappingRequest::WithStartingPositionTimestamp
CreateEventSourceMappingRequest & WithStartingPositionTimestamp(const Aws::Utils::DateTime &value)
Definition: CreateEventSourceMappingRequest.h:451
Aws::Lambda::Model::CreateEventSourceMappingRequest::SetParallelizationFactor
void SetParallelizationFactor(int value)
Definition: CreateEventSourceMappingRequest.h:371
Aws::Lambda::Model::CreateEventSourceMappingRequest::SetStartingPosition
void SetStartingPosition(const EventSourcePosition &value)
Definition: CreateEventSourceMappingRequest.h:399
Aws::CodePipeline::Model::ExecutorType::NOT_SET
@ NOT_SET
Aws
Definition: AccessManagementClient.h:15
Aws::Lambda::Model::CreateEventSourceMappingRequest::SetFunctionResponseTypes
void SetFunctionResponseTypes(Aws::Vector< FunctionResponseType > &&value)
Definition: CreateEventSourceMappingRequest.h:795
Aws::Lambda::Model::CreateEventSourceMappingRequest::GetParallelizationFactor
int GetParallelizationFactor() const
Definition: CreateEventSourceMappingRequest.h:359
Aws::Lambda::Model::CreateEventSourceMappingRequest::GetFunctionResponseTypes
const Aws::Vector< FunctionResponseType > & GetFunctionResponseTypes() const
Definition: CreateEventSourceMappingRequest.h:777
Aws::Lambda::Model::CreateEventSourceMappingRequest::WithParallelizationFactor
CreateEventSourceMappingRequest & WithParallelizationFactor(int value)
Definition: CreateEventSourceMappingRequest.h:377
Aws::Lambda::Model::CreateEventSourceMappingRequest::WithStartingPosition
CreateEventSourceMappingRequest & WithStartingPosition(const EventSourcePosition &value)
Definition: CreateEventSourceMappingRequest.h:413
Aws::Lambda::Model::CreateEventSourceMappingRequest::SetBisectBatchOnFunctionError
void SetBisectBatchOnFunctionError(bool value)
Definition: CreateEventSourceMappingRequest.h:538
Aws::Lambda::Model::CreateEventSourceMappingRequest::SetFunctionName
void SetFunctionName(const char *value)
Definition: CreateEventSourceMappingRequest.h:191
Aws::Lambda::Model::CreateEventSourceMappingRequest::ParallelizationFactorHasBeenSet
bool ParallelizationFactorHasBeenSet() const
Definition: CreateEventSourceMappingRequest.h:365
Aws::Lambda::Model::CreateEventSourceMappingRequest::WithDestinationConfig
CreateEventSourceMappingRequest & WithDestinationConfig(DestinationConfig &&value)
Definition: CreateEventSourceMappingRequest.h:494
Aws::Lambda::Model::CreateEventSourceMappingRequest::WithMaximumRetryAttempts
CreateEventSourceMappingRequest & WithMaximumRetryAttempts(int value)
Definition: CreateEventSourceMappingRequest.h:573
Aws::Lambda::Model::CreateEventSourceMappingRequest::SetBatchSize
void SetBatchSize(int value)
Definition: CreateEventSourceMappingRequest.h:301
Aws::Lambda::Model::CreateEventSourceMappingRequest::AddQueues
CreateEventSourceMappingRequest & AddQueues(const Aws::String &value)
Definition: CreateEventSourceMappingRequest.h:680
Aws::String
std::basic_string< char, std::char_traits< char >, Aws::Allocator< char > > String
Definition: AWSString.h:97
SourceAccessConfiguration.h
Aws::Lambda::Model::CreateEventSourceMappingRequest::FunctionNameHasBeenSet
bool FunctionNameHasBeenSet() const
Definition: CreateEventSourceMappingRequest.h:149
Aws::Lambda::Model::CreateEventSourceMappingRequest::AddQueues
CreateEventSourceMappingRequest & AddQueues(Aws::String &&value)
Definition: CreateEventSourceMappingRequest.h:685
Aws::Lambda::Model::CreateEventSourceMappingRequest::SerializePayload
Aws::String SerializePayload() const override
Aws::Lambda::Model::CreateEventSourceMappingRequest::StartingPositionHasBeenSet
bool StartingPositionHasBeenSet() const
Definition: CreateEventSourceMappingRequest.h:392
Aws::Lambda::Model::CreateEventSourceMappingRequest::WithBisectBatchOnFunctionError
CreateEventSourceMappingRequest & WithBisectBatchOnFunctionError(bool value)
Definition: CreateEventSourceMappingRequest.h:544
Aws::Lambda::Model::DestinationConfig
Definition: DestinationConfig.h:34
Aws::Lambda::Model::CreateEventSourceMappingRequest::FunctionResponseTypesHasBeenSet
bool FunctionResponseTypesHasBeenSet() const
Definition: CreateEventSourceMappingRequest.h:783
Aws::Lambda::Model::CreateEventSourceMappingRequest::GetDestinationConfig
const DestinationConfig & GetDestinationConfig() const
Definition: CreateEventSourceMappingRequest.h:464
Aws::Lambda::Model::CreateEventSourceMappingRequest::GetFunctionName
const Aws::String & GetFunctionName() const
Definition: CreateEventSourceMappingRequest.h:135
Aws::Lambda::Model::CreateEventSourceMappingRequest::MaximumRecordAgeInSecondsHasBeenSet
bool MaximumRecordAgeInSecondsHasBeenSet() const
Definition: CreateEventSourceMappingRequest.h:507
Aws::Lambda::Model::CreateEventSourceMappingRequest::GetMaximumBatchingWindowInSeconds
int GetMaximumBatchingWindowInSeconds() const
Definition: CreateEventSourceMappingRequest.h:325
Aws::Lambda::Model::CreateEventSourceMappingRequest::GetMaximumRecordAgeInSeconds
int GetMaximumRecordAgeInSeconds() const
Definition: CreateEventSourceMappingRequest.h:501
Aws::Lambda::Model::CreateEventSourceMappingRequest::SetSelfManagedEventSource
void SetSelfManagedEventSource(SelfManagedEventSource &&value)
Definition: CreateEventSourceMappingRequest.h:760
Aws::Lambda::Model::CreateEventSourceMappingRequest::AddTopics
CreateEventSourceMappingRequest & AddTopics(Aws::String &&value)
Definition: CreateEventSourceMappingRequest.h:639
Aws::Lambda::Model::CreateEventSourceMappingRequest::WithMaximumRecordAgeInSeconds
CreateEventSourceMappingRequest & WithMaximumRecordAgeInSeconds(int value)
Definition: CreateEventSourceMappingRequest.h:519
Lambda_EXPORTS.h
Aws::Lambda::Model::CreateEventSourceMappingRequest::QueuesHasBeenSet
bool QueuesHasBeenSet() const
Definition: CreateEventSourceMappingRequest.h:655
Aws::Lambda::Model::CreateEventSourceMappingRequest::WithSelfManagedEventSource
CreateEventSourceMappingRequest & WithSelfManagedEventSource(const SelfManagedEventSource &value)
Definition: CreateEventSourceMappingRequest.h:765
Aws::Lambda::Model::CreateEventSourceMappingRequest::WithStartingPosition
CreateEventSourceMappingRequest & WithStartingPosition(EventSourcePosition &&value)
Definition: CreateEventSourceMappingRequest.h:420
DestinationConfig.h
Aws::Lambda::Model::CreateEventSourceMappingRequest::WithFunctionResponseTypes
CreateEventSourceMappingRequest & WithFunctionResponseTypes(const Aws::Vector< FunctionResponseType > &value)
Definition: CreateEventSourceMappingRequest.h:801