AWS SDK for C++  1.9.20
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 
270  inline int GetBatchSize() const{ return m_batchSize; }
271 
281  inline bool BatchSizeHasBeenSet() const { return m_batchSizeHasBeenSet; }
282 
292  inline void SetBatchSize(int value) { m_batchSizeHasBeenSet = true; m_batchSize = value; }
293 
303  inline CreateEventSourceMappingRequest& WithBatchSize(int value) { SetBatchSize(value); return *this;}
304 
305 
310  inline int GetMaximumBatchingWindowInSeconds() const{ return m_maximumBatchingWindowInSeconds; }
311 
316  inline bool MaximumBatchingWindowInSecondsHasBeenSet() const { return m_maximumBatchingWindowInSecondsHasBeenSet; }
317 
322  inline void SetMaximumBatchingWindowInSeconds(int value) { m_maximumBatchingWindowInSecondsHasBeenSet = true; m_maximumBatchingWindowInSeconds = value; }
323 
328  inline CreateEventSourceMappingRequest& WithMaximumBatchingWindowInSeconds(int value) { SetMaximumBatchingWindowInSeconds(value); return *this;}
329 
330 
334  inline int GetParallelizationFactor() const{ return m_parallelizationFactor; }
335 
339  inline bool ParallelizationFactorHasBeenSet() const { return m_parallelizationFactorHasBeenSet; }
340 
344  inline void SetParallelizationFactor(int value) { m_parallelizationFactorHasBeenSet = true; m_parallelizationFactor = value; }
345 
349  inline CreateEventSourceMappingRequest& WithParallelizationFactor(int value) { SetParallelizationFactor(value); return *this;}
350 
351 
357  inline const EventSourcePosition& GetStartingPosition() const{ return m_startingPosition; }
358 
364  inline bool StartingPositionHasBeenSet() const { return m_startingPositionHasBeenSet; }
365 
371  inline void SetStartingPosition(const EventSourcePosition& value) { m_startingPositionHasBeenSet = true; m_startingPosition = value; }
372 
378  inline void SetStartingPosition(EventSourcePosition&& value) { m_startingPositionHasBeenSet = true; m_startingPosition = std::move(value); }
379 
385  inline CreateEventSourceMappingRequest& WithStartingPosition(const EventSourcePosition& value) { SetStartingPosition(value); return *this;}
386 
392  inline CreateEventSourceMappingRequest& WithStartingPosition(EventSourcePosition&& value) { SetStartingPosition(std::move(value)); return *this;}
393 
394 
399  inline const Aws::Utils::DateTime& GetStartingPositionTimestamp() const{ return m_startingPositionTimestamp; }
400 
405  inline bool StartingPositionTimestampHasBeenSet() const { return m_startingPositionTimestampHasBeenSet; }
406 
411  inline void SetStartingPositionTimestamp(const Aws::Utils::DateTime& value) { m_startingPositionTimestampHasBeenSet = true; m_startingPositionTimestamp = value; }
412 
417  inline void SetStartingPositionTimestamp(Aws::Utils::DateTime&& value) { m_startingPositionTimestampHasBeenSet = true; m_startingPositionTimestamp = std::move(value); }
418 
423  inline CreateEventSourceMappingRequest& WithStartingPositionTimestamp(const Aws::Utils::DateTime& value) { SetStartingPositionTimestamp(value); return *this;}
424 
429  inline CreateEventSourceMappingRequest& WithStartingPositionTimestamp(Aws::Utils::DateTime&& value) { SetStartingPositionTimestamp(std::move(value)); return *this;}
430 
431 
436  inline const DestinationConfig& GetDestinationConfig() const{ return m_destinationConfig; }
437 
442  inline bool DestinationConfigHasBeenSet() const { return m_destinationConfigHasBeenSet; }
443 
448  inline void SetDestinationConfig(const DestinationConfig& value) { m_destinationConfigHasBeenSet = true; m_destinationConfig = value; }
449 
454  inline void SetDestinationConfig(DestinationConfig&& value) { m_destinationConfigHasBeenSet = true; m_destinationConfig = std::move(value); }
455 
460  inline CreateEventSourceMappingRequest& WithDestinationConfig(const DestinationConfig& value) { SetDestinationConfig(value); return *this;}
461 
466  inline CreateEventSourceMappingRequest& WithDestinationConfig(DestinationConfig&& value) { SetDestinationConfig(std::move(value)); return *this;}
467 
468 
473  inline int GetMaximumRecordAgeInSeconds() const{ return m_maximumRecordAgeInSeconds; }
474 
479  inline bool MaximumRecordAgeInSecondsHasBeenSet() const { return m_maximumRecordAgeInSecondsHasBeenSet; }
480 
485  inline void SetMaximumRecordAgeInSeconds(int value) { m_maximumRecordAgeInSecondsHasBeenSet = true; m_maximumRecordAgeInSeconds = value; }
486 
491  inline CreateEventSourceMappingRequest& WithMaximumRecordAgeInSeconds(int value) { SetMaximumRecordAgeInSeconds(value); return *this;}
492 
493 
498  inline bool GetBisectBatchOnFunctionError() const{ return m_bisectBatchOnFunctionError; }
499 
504  inline bool BisectBatchOnFunctionErrorHasBeenSet() const { return m_bisectBatchOnFunctionErrorHasBeenSet; }
505 
510  inline void SetBisectBatchOnFunctionError(bool value) { m_bisectBatchOnFunctionErrorHasBeenSet = true; m_bisectBatchOnFunctionError = value; }
511 
516  inline CreateEventSourceMappingRequest& WithBisectBatchOnFunctionError(bool value) { SetBisectBatchOnFunctionError(value); return *this;}
517 
518 
524  inline int GetMaximumRetryAttempts() const{ return m_maximumRetryAttempts; }
525 
531  inline bool MaximumRetryAttemptsHasBeenSet() const { return m_maximumRetryAttemptsHasBeenSet; }
532 
538  inline void SetMaximumRetryAttempts(int value) { m_maximumRetryAttemptsHasBeenSet = true; m_maximumRetryAttempts = value; }
539 
545  inline CreateEventSourceMappingRequest& WithMaximumRetryAttempts(int value) { SetMaximumRetryAttempts(value); return *this;}
546 
547 
552  inline int GetTumblingWindowInSeconds() const{ return m_tumblingWindowInSeconds; }
553 
558  inline bool TumblingWindowInSecondsHasBeenSet() const { return m_tumblingWindowInSecondsHasBeenSet; }
559 
564  inline void SetTumblingWindowInSeconds(int value) { m_tumblingWindowInSecondsHasBeenSet = true; m_tumblingWindowInSeconds = value; }
565 
570  inline CreateEventSourceMappingRequest& WithTumblingWindowInSeconds(int value) { SetTumblingWindowInSeconds(value); return *this;}
571 
572 
576  inline const Aws::Vector<Aws::String>& GetTopics() const{ return m_topics; }
577 
581  inline bool TopicsHasBeenSet() const { return m_topicsHasBeenSet; }
582 
586  inline void SetTopics(const Aws::Vector<Aws::String>& value) { m_topicsHasBeenSet = true; m_topics = value; }
587 
591  inline void SetTopics(Aws::Vector<Aws::String>&& value) { m_topicsHasBeenSet = true; m_topics = std::move(value); }
592 
596  inline CreateEventSourceMappingRequest& WithTopics(const Aws::Vector<Aws::String>& value) { SetTopics(value); return *this;}
597 
601  inline CreateEventSourceMappingRequest& WithTopics(Aws::Vector<Aws::String>&& value) { SetTopics(std::move(value)); return *this;}
602 
606  inline CreateEventSourceMappingRequest& AddTopics(const Aws::String& value) { m_topicsHasBeenSet = true; m_topics.push_back(value); return *this; }
607 
611  inline CreateEventSourceMappingRequest& AddTopics(Aws::String&& value) { m_topicsHasBeenSet = true; m_topics.push_back(std::move(value)); return *this; }
612 
616  inline CreateEventSourceMappingRequest& AddTopics(const char* value) { m_topicsHasBeenSet = true; m_topics.push_back(value); return *this; }
617 
618 
622  inline const Aws::Vector<Aws::String>& GetQueues() const{ return m_queues; }
623 
627  inline bool QueuesHasBeenSet() const { return m_queuesHasBeenSet; }
628 
632  inline void SetQueues(const Aws::Vector<Aws::String>& value) { m_queuesHasBeenSet = true; m_queues = value; }
633 
637  inline void SetQueues(Aws::Vector<Aws::String>&& value) { m_queuesHasBeenSet = true; m_queues = std::move(value); }
638 
642  inline CreateEventSourceMappingRequest& WithQueues(const Aws::Vector<Aws::String>& value) { SetQueues(value); return *this;}
643 
647  inline CreateEventSourceMappingRequest& WithQueues(Aws::Vector<Aws::String>&& value) { SetQueues(std::move(value)); return *this;}
648 
652  inline CreateEventSourceMappingRequest& AddQueues(const Aws::String& value) { m_queuesHasBeenSet = true; m_queues.push_back(value); return *this; }
653 
657  inline CreateEventSourceMappingRequest& AddQueues(Aws::String&& value) { m_queuesHasBeenSet = true; m_queues.push_back(std::move(value)); return *this; }
658 
662  inline CreateEventSourceMappingRequest& AddQueues(const char* value) { m_queuesHasBeenSet = true; m_queues.push_back(value); return *this; }
663 
664 
669  inline const Aws::Vector<SourceAccessConfiguration>& GetSourceAccessConfigurations() const{ return m_sourceAccessConfigurations; }
670 
675  inline bool SourceAccessConfigurationsHasBeenSet() const { return m_sourceAccessConfigurationsHasBeenSet; }
676 
681  inline void SetSourceAccessConfigurations(const Aws::Vector<SourceAccessConfiguration>& value) { m_sourceAccessConfigurationsHasBeenSet = true; m_sourceAccessConfigurations = value; }
682 
687  inline void SetSourceAccessConfigurations(Aws::Vector<SourceAccessConfiguration>&& value) { m_sourceAccessConfigurationsHasBeenSet = true; m_sourceAccessConfigurations = std::move(value); }
688 
693  inline CreateEventSourceMappingRequest& WithSourceAccessConfigurations(const Aws::Vector<SourceAccessConfiguration>& value) { SetSourceAccessConfigurations(value); return *this;}
694 
699  inline CreateEventSourceMappingRequest& WithSourceAccessConfigurations(Aws::Vector<SourceAccessConfiguration>&& value) { SetSourceAccessConfigurations(std::move(value)); return *this;}
700 
705  inline CreateEventSourceMappingRequest& AddSourceAccessConfigurations(const SourceAccessConfiguration& value) { m_sourceAccessConfigurationsHasBeenSet = true; m_sourceAccessConfigurations.push_back(value); return *this; }
706 
711  inline CreateEventSourceMappingRequest& AddSourceAccessConfigurations(SourceAccessConfiguration&& value) { m_sourceAccessConfigurationsHasBeenSet = true; m_sourceAccessConfigurations.push_back(std::move(value)); return *this; }
712 
713 
717  inline const SelfManagedEventSource& GetSelfManagedEventSource() const{ return m_selfManagedEventSource; }
718 
722  inline bool SelfManagedEventSourceHasBeenSet() const { return m_selfManagedEventSourceHasBeenSet; }
723 
727  inline void SetSelfManagedEventSource(const SelfManagedEventSource& value) { m_selfManagedEventSourceHasBeenSet = true; m_selfManagedEventSource = value; }
728 
732  inline void SetSelfManagedEventSource(SelfManagedEventSource&& value) { m_selfManagedEventSourceHasBeenSet = true; m_selfManagedEventSource = std::move(value); }
733 
737  inline CreateEventSourceMappingRequest& WithSelfManagedEventSource(const SelfManagedEventSource& value) { SetSelfManagedEventSource(value); return *this;}
738 
742  inline CreateEventSourceMappingRequest& WithSelfManagedEventSource(SelfManagedEventSource&& value) { SetSelfManagedEventSource(std::move(value)); return *this;}
743 
744 
749  inline const Aws::Vector<FunctionResponseType>& GetFunctionResponseTypes() const{ return m_functionResponseTypes; }
750 
755  inline bool FunctionResponseTypesHasBeenSet() const { return m_functionResponseTypesHasBeenSet; }
756 
761  inline void SetFunctionResponseTypes(const Aws::Vector<FunctionResponseType>& value) { m_functionResponseTypesHasBeenSet = true; m_functionResponseTypes = value; }
762 
767  inline void SetFunctionResponseTypes(Aws::Vector<FunctionResponseType>&& value) { m_functionResponseTypesHasBeenSet = true; m_functionResponseTypes = std::move(value); }
768 
773  inline CreateEventSourceMappingRequest& WithFunctionResponseTypes(const Aws::Vector<FunctionResponseType>& value) { SetFunctionResponseTypes(value); return *this;}
774 
779  inline CreateEventSourceMappingRequest& WithFunctionResponseTypes(Aws::Vector<FunctionResponseType>&& value) { SetFunctionResponseTypes(std::move(value)); return *this;}
780 
785  inline CreateEventSourceMappingRequest& AddFunctionResponseTypes(const FunctionResponseType& value) { m_functionResponseTypesHasBeenSet = true; m_functionResponseTypes.push_back(value); return *this; }
786 
791  inline CreateEventSourceMappingRequest& AddFunctionResponseTypes(FunctionResponseType&& value) { m_functionResponseTypesHasBeenSet = true; m_functionResponseTypes.push_back(std::move(value)); return *this; }
792 
793  private:
794 
795  Aws::String m_eventSourceArn;
796  bool m_eventSourceArnHasBeenSet;
797 
798  Aws::String m_functionName;
799  bool m_functionNameHasBeenSet;
800 
801  bool m_enabled;
802  bool m_enabledHasBeenSet;
803 
804  int m_batchSize;
805  bool m_batchSizeHasBeenSet;
806 
807  int m_maximumBatchingWindowInSeconds;
808  bool m_maximumBatchingWindowInSecondsHasBeenSet;
809 
810  int m_parallelizationFactor;
811  bool m_parallelizationFactorHasBeenSet;
812 
813  EventSourcePosition m_startingPosition;
814  bool m_startingPositionHasBeenSet;
815 
816  Aws::Utils::DateTime m_startingPositionTimestamp;
817  bool m_startingPositionTimestampHasBeenSet;
818 
819  DestinationConfig m_destinationConfig;
820  bool m_destinationConfigHasBeenSet;
821 
822  int m_maximumRecordAgeInSeconds;
823  bool m_maximumRecordAgeInSecondsHasBeenSet;
824 
825  bool m_bisectBatchOnFunctionError;
826  bool m_bisectBatchOnFunctionErrorHasBeenSet;
827 
828  int m_maximumRetryAttempts;
829  bool m_maximumRetryAttemptsHasBeenSet;
830 
831  int m_tumblingWindowInSeconds;
832  bool m_tumblingWindowInSecondsHasBeenSet;
833 
834  Aws::Vector<Aws::String> m_topics;
835  bool m_topicsHasBeenSet;
836 
837  Aws::Vector<Aws::String> m_queues;
838  bool m_queuesHasBeenSet;
839 
840  Aws::Vector<SourceAccessConfiguration> m_sourceAccessConfigurations;
841  bool m_sourceAccessConfigurationsHasBeenSet;
842 
843  SelfManagedEventSource m_selfManagedEventSource;
844  bool m_selfManagedEventSourceHasBeenSet;
845 
846  Aws::Vector<FunctionResponseType> m_functionResponseTypes;
847  bool m_functionResponseTypesHasBeenSet;
848  };
849 
850 } // namespace Model
851 } // namespace Lambda
852 } // namespace Aws
Aws::Utils::DateTime
Definition: DateTime.h:55
Aws::Lambda::Model::CreateEventSourceMappingRequest::DestinationConfigHasBeenSet
bool DestinationConfigHasBeenSet() const
Definition: CreateEventSourceMappingRequest.h:442
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:637
Aws::Lambda::Model::CreateEventSourceMappingRequest::SetStartingPosition
void SetStartingPosition(EventSourcePosition &&value)
Definition: CreateEventSourceMappingRequest.h:378
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:564
Aws::Lambda::Model::FunctionResponseType
FunctionResponseType
Definition: FunctionResponseType.h:17
Aws::Lambda::Model::CreateEventSourceMappingRequest::GetSourceAccessConfigurations
const Aws::Vector< SourceAccessConfiguration > & GetSourceAccessConfigurations() const
Definition: CreateEventSourceMappingRequest.h:669
Aws::Lambda::Model::CreateEventSourceMappingRequest::SetMaximumBatchingWindowInSeconds
void SetMaximumBatchingWindowInSeconds(int value)
Definition: CreateEventSourceMappingRequest.h:322
Aws::Lambda::Model::CreateEventSourceMappingRequest::SetFunctionResponseTypes
void SetFunctionResponseTypes(const Aws::Vector< FunctionResponseType > &value)
Definition: CreateEventSourceMappingRequest.h:761
Aws::Lambda::Model::CreateEventSourceMappingRequest::WithSourceAccessConfigurations
CreateEventSourceMappingRequest & WithSourceAccessConfigurations(const Aws::Vector< SourceAccessConfiguration > &value)
Definition: CreateEventSourceMappingRequest.h:693
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:498
Aws::Lambda::Model::CreateEventSourceMappingRequest::AddFunctionResponseTypes
CreateEventSourceMappingRequest & AddFunctionResponseTypes(FunctionResponseType &&value)
Definition: CreateEventSourceMappingRequest.h:791
Aws::Lambda::Model::CreateEventSourceMappingRequest::GetTopics
const Aws::Vector< Aws::String > & GetTopics() const
Definition: CreateEventSourceMappingRequest.h:576
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:742
Aws::Lambda::Model::CreateEventSourceMappingRequest::GetQueues
const Aws::Vector< Aws::String > & GetQueues() const
Definition: CreateEventSourceMappingRequest.h:622
Aws::Lambda::Model::CreateEventSourceMappingRequest::BatchSizeHasBeenSet
bool BatchSizeHasBeenSet() const
Definition: CreateEventSourceMappingRequest.h:281
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:606
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:328
Aws::Lambda::Model::CreateEventSourceMappingRequest::SourceAccessConfigurationsHasBeenSet
bool SourceAccessConfigurationsHasBeenSet() const
Definition: CreateEventSourceMappingRequest.h:675
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:662
Aws::Lambda::Model::CreateEventSourceMappingRequest::SetSourceAccessConfigurations
void SetSourceAccessConfigurations(const Aws::Vector< SourceAccessConfiguration > &value)
Definition: CreateEventSourceMappingRequest.h:681
Aws::Lambda::Model::CreateEventSourceMappingRequest::SetTopics
void SetTopics(const Aws::Vector< Aws::String > &value)
Definition: CreateEventSourceMappingRequest.h:586
Aws::Lambda::Model::CreateEventSourceMappingRequest::WithTopics
CreateEventSourceMappingRequest & WithTopics(Aws::Vector< Aws::String > &&value)
Definition: CreateEventSourceMappingRequest.h:601
Aws::Lambda::Model::CreateEventSourceMappingRequest::GetStartingPositionTimestamp
const Aws::Utils::DateTime & GetStartingPositionTimestamp() const
Definition: CreateEventSourceMappingRequest.h:399
Aws::Lambda::Model::CreateEventSourceMappingRequest::GetSelfManagedEventSource
const SelfManagedEventSource & GetSelfManagedEventSource() const
Definition: CreateEventSourceMappingRequest.h:717
Aws::Lambda::Model::CreateEventSourceMappingRequest::AddSourceAccessConfigurations
CreateEventSourceMappingRequest & AddSourceAccessConfigurations(SourceAccessConfiguration &&value)
Definition: CreateEventSourceMappingRequest.h:711
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:34
Aws::Lambda::Model::CreateEventSourceMappingRequest::WithStartingPositionTimestamp
CreateEventSourceMappingRequest & WithStartingPositionTimestamp(Aws::Utils::DateTime &&value)
Definition: CreateEventSourceMappingRequest.h:429
Aws::Lambda::Model::CreateEventSourceMappingRequest::SetMaximumRecordAgeInSeconds
void SetMaximumRecordAgeInSeconds(int value)
Definition: CreateEventSourceMappingRequest.h:485
Aws::Lambda::Model::CreateEventSourceMappingRequest::SetStartingPositionTimestamp
void SetStartingPositionTimestamp(Aws::Utils::DateTime &&value)
Definition: CreateEventSourceMappingRequest.h:417
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:357
AWSVector.h
Aws::Lambda::Model::CreateEventSourceMappingRequest::AddSourceAccessConfigurations
CreateEventSourceMappingRequest & AddSourceAccessConfigurations(const SourceAccessConfiguration &value)
Definition: CreateEventSourceMappingRequest.h:705
Aws::Lambda::Model::CreateEventSourceMappingRequest::WithSourceAccessConfigurations
CreateEventSourceMappingRequest & WithSourceAccessConfigurations(Aws::Vector< SourceAccessConfiguration > &&value)
Definition: CreateEventSourceMappingRequest.h:699
Aws::Lambda::Model::CreateEventSourceMappingRequest
Definition: CreateEventSourceMappingRequest.h:29
Aws::Lambda::Model::CreateEventSourceMappingRequest::GetBatchSize
int GetBatchSize() const
Definition: CreateEventSourceMappingRequest.h:270
Aws::Lambda::Model::CreateEventSourceMappingRequest::SetStartingPositionTimestamp
void SetStartingPositionTimestamp(const Aws::Utils::DateTime &value)
Definition: CreateEventSourceMappingRequest.h:411
Aws::Lambda::Model::CreateEventSourceMappingRequest::WithTopics
CreateEventSourceMappingRequest & WithTopics(const Aws::Vector< Aws::String > &value)
Definition: CreateEventSourceMappingRequest.h:596
Aws::Lambda::Model::CreateEventSourceMappingRequest::SetMaximumRetryAttempts
void SetMaximumRetryAttempts(int value)
Definition: CreateEventSourceMappingRequest.h:538
Aws::Lambda::Model::CreateEventSourceMappingRequest::WithTumblingWindowInSeconds
CreateEventSourceMappingRequest & WithTumblingWindowInSeconds(int value)
Definition: CreateEventSourceMappingRequest.h:570
Aws::Lambda::Model::CreateEventSourceMappingRequest::SetDestinationConfig
void SetDestinationConfig(const DestinationConfig &value)
Definition: CreateEventSourceMappingRequest.h:448
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:632
Aws::Lambda::Model::CreateEventSourceMappingRequest::AddFunctionResponseTypes
CreateEventSourceMappingRequest & AddFunctionResponseTypes(const FunctionResponseType &value)
Definition: CreateEventSourceMappingRequest.h:785
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:316
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:531
Aws::Lambda::Model::CreateEventSourceMappingRequest::GetTumblingWindowInSeconds
int GetTumblingWindowInSeconds() const
Definition: CreateEventSourceMappingRequest.h:552
Aws::Lambda::Model::CreateEventSourceMappingRequest::SetEnabled
void SetEnabled(bool value)
Definition: CreateEventSourceMappingRequest.h:252
Aws::Lambda::Model::CreateEventSourceMappingRequest::SelfManagedEventSourceHasBeenSet
bool SelfManagedEventSourceHasBeenSet() const
Definition: CreateEventSourceMappingRequest.h:722
Aws::Lambda::Model::CreateEventSourceMappingRequest::GetMaximumRetryAttempts
int GetMaximumRetryAttempts() const
Definition: CreateEventSourceMappingRequest.h:524
Aws::Lambda::Model::CreateEventSourceMappingRequest::SetSelfManagedEventSource
void SetSelfManagedEventSource(const SelfManagedEventSource &value)
Definition: CreateEventSourceMappingRequest.h:727
Aws::Lambda::Model::CreateEventSourceMappingRequest::TopicsHasBeenSet
bool TopicsHasBeenSet() const
Definition: CreateEventSourceMappingRequest.h:581
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:687
Aws::Lambda::Model::CreateEventSourceMappingRequest::CreateEventSourceMappingRequest
CreateEventSourceMappingRequest()
Aws::Lambda::Model::CreateEventSourceMappingRequest::SetDestinationConfig
void SetDestinationConfig(DestinationConfig &&value)
Definition: CreateEventSourceMappingRequest.h:454
AWSString.h
Aws::Lambda::Model::CreateEventSourceMappingRequest::BisectBatchOnFunctionErrorHasBeenSet
bool BisectBatchOnFunctionErrorHasBeenSet() const
Definition: CreateEventSourceMappingRequest.h:504
Aws::Lambda::Model::SelfManagedEventSource
Definition: SelfManagedEventSource.h:36
Aws::Lambda::Model::CreateEventSourceMappingRequest::TumblingWindowInSecondsHasBeenSet
bool TumblingWindowInSecondsHasBeenSet() const
Definition: CreateEventSourceMappingRequest.h:558
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:642
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:616
Aws::Lambda::Model::CreateEventSourceMappingRequest::WithBatchSize
CreateEventSourceMappingRequest & WithBatchSize(int value)
Definition: CreateEventSourceMappingRequest.h:303
Aws::Lambda::Model::CreateEventSourceMappingRequest::SetTopics
void SetTopics(Aws::Vector< Aws::String > &&value)
Definition: CreateEventSourceMappingRequest.h:591
Aws::Lambda::Model::CreateEventSourceMappingRequest::StartingPositionTimestampHasBeenSet
bool StartingPositionTimestampHasBeenSet() const
Definition: CreateEventSourceMappingRequest.h:405
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:460
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:647
Aws::Lambda::LambdaRequest
Definition: LambdaRequest.h:18
Aws::Lambda::Model::CreateEventSourceMappingRequest::WithFunctionResponseTypes
CreateEventSourceMappingRequest & WithFunctionResponseTypes(Aws::Vector< FunctionResponseType > &&value)
Definition: CreateEventSourceMappingRequest.h:779
Aws::Lambda::Model::CreateEventSourceMappingRequest::WithStartingPositionTimestamp
CreateEventSourceMappingRequest & WithStartingPositionTimestamp(const Aws::Utils::DateTime &value)
Definition: CreateEventSourceMappingRequest.h:423
Aws::Lambda::Model::CreateEventSourceMappingRequest::SetParallelizationFactor
void SetParallelizationFactor(int value)
Definition: CreateEventSourceMappingRequest.h:344
Aws::Lambda::Model::CreateEventSourceMappingRequest::SetStartingPosition
void SetStartingPosition(const EventSourcePosition &value)
Definition: CreateEventSourceMappingRequest.h:371
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:767
Aws::Lambda::Model::CreateEventSourceMappingRequest::GetParallelizationFactor
int GetParallelizationFactor() const
Definition: CreateEventSourceMappingRequest.h:334
Aws::Lambda::Model::CreateEventSourceMappingRequest::GetFunctionResponseTypes
const Aws::Vector< FunctionResponseType > & GetFunctionResponseTypes() const
Definition: CreateEventSourceMappingRequest.h:749
Aws::Lambda::Model::CreateEventSourceMappingRequest::WithParallelizationFactor
CreateEventSourceMappingRequest & WithParallelizationFactor(int value)
Definition: CreateEventSourceMappingRequest.h:349
Aws::Lambda::Model::CreateEventSourceMappingRequest::WithStartingPosition
CreateEventSourceMappingRequest & WithStartingPosition(const EventSourcePosition &value)
Definition: CreateEventSourceMappingRequest.h:385
Aws::Lambda::Model::CreateEventSourceMappingRequest::SetBisectBatchOnFunctionError
void SetBisectBatchOnFunctionError(bool value)
Definition: CreateEventSourceMappingRequest.h:510
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:339
Aws::Lambda::Model::CreateEventSourceMappingRequest::WithDestinationConfig
CreateEventSourceMappingRequest & WithDestinationConfig(DestinationConfig &&value)
Definition: CreateEventSourceMappingRequest.h:466
Aws::Lambda::Model::CreateEventSourceMappingRequest::WithMaximumRetryAttempts
CreateEventSourceMappingRequest & WithMaximumRetryAttempts(int value)
Definition: CreateEventSourceMappingRequest.h:545
Aws::Lambda::Model::CreateEventSourceMappingRequest::SetBatchSize
void SetBatchSize(int value)
Definition: CreateEventSourceMappingRequest.h:292
Aws::Lambda::Model::CreateEventSourceMappingRequest::AddQueues
CreateEventSourceMappingRequest & AddQueues(const Aws::String &value)
Definition: CreateEventSourceMappingRequest.h:652
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:657
Aws::Lambda::Model::CreateEventSourceMappingRequest::SerializePayload
Aws::String SerializePayload() const override
Aws::Lambda::Model::CreateEventSourceMappingRequest::StartingPositionHasBeenSet
bool StartingPositionHasBeenSet() const
Definition: CreateEventSourceMappingRequest.h:364
Aws::Lambda::Model::CreateEventSourceMappingRequest::WithBisectBatchOnFunctionError
CreateEventSourceMappingRequest & WithBisectBatchOnFunctionError(bool value)
Definition: CreateEventSourceMappingRequest.h:516
Aws::Lambda::Model::DestinationConfig
Definition: DestinationConfig.h:34
Aws::Lambda::Model::CreateEventSourceMappingRequest::FunctionResponseTypesHasBeenSet
bool FunctionResponseTypesHasBeenSet() const
Definition: CreateEventSourceMappingRequest.h:755
Aws::Lambda::Model::CreateEventSourceMappingRequest::GetDestinationConfig
const DestinationConfig & GetDestinationConfig() const
Definition: CreateEventSourceMappingRequest.h:436
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:479
Aws::Lambda::Model::CreateEventSourceMappingRequest::GetMaximumBatchingWindowInSeconds
int GetMaximumBatchingWindowInSeconds() const
Definition: CreateEventSourceMappingRequest.h:310
Aws::Lambda::Model::CreateEventSourceMappingRequest::GetMaximumRecordAgeInSeconds
int GetMaximumRecordAgeInSeconds() const
Definition: CreateEventSourceMappingRequest.h:473
Aws::Lambda::Model::CreateEventSourceMappingRequest::SetSelfManagedEventSource
void SetSelfManagedEventSource(SelfManagedEventSource &&value)
Definition: CreateEventSourceMappingRequest.h:732
Aws::Lambda::Model::CreateEventSourceMappingRequest::AddTopics
CreateEventSourceMappingRequest & AddTopics(Aws::String &&value)
Definition: CreateEventSourceMappingRequest.h:611
Aws::Lambda::Model::CreateEventSourceMappingRequest::WithMaximumRecordAgeInSeconds
CreateEventSourceMappingRequest & WithMaximumRecordAgeInSeconds(int value)
Definition: CreateEventSourceMappingRequest.h:491
Lambda_EXPORTS.h
Aws::Lambda::Model::CreateEventSourceMappingRequest::QueuesHasBeenSet
bool QueuesHasBeenSet() const
Definition: CreateEventSourceMappingRequest.h:627
Aws::Lambda::Model::CreateEventSourceMappingRequest::WithSelfManagedEventSource
CreateEventSourceMappingRequest & WithSelfManagedEventSource(const SelfManagedEventSource &value)
Definition: CreateEventSourceMappingRequest.h:737
Aws::Lambda::Model::CreateEventSourceMappingRequest::WithStartingPosition
CreateEventSourceMappingRequest & WithStartingPosition(EventSourcePosition &&value)
Definition: CreateEventSourceMappingRequest.h:392
DestinationConfig.h
Aws::Lambda::Model::CreateEventSourceMappingRequest::WithFunctionResponseTypes
CreateEventSourceMappingRequest & WithFunctionResponseTypes(const Aws::Vector< FunctionResponseType > &value)
Definition: CreateEventSourceMappingRequest.h:773