AWS SDK for C++  1.9.156
AWS SDK for C++
ListEventSourceMappingsResult.h
Go to the documentation of this file.
1 
6 #pragma once
11 #include <utility>
12 
13 namespace Aws
14 {
15 template<typename RESULT_TYPE>
16 class AmazonWebServiceResult;
17 
18 namespace Utils
19 {
20 namespace Json
21 {
22  class JsonValue;
23 } // namespace Json
24 } // namespace Utils
25 namespace Lambda
26 {
27 namespace Model
28 {
30  {
31  public:
35 
36 
41  inline const Aws::String& GetNextMarker() const{ return m_nextMarker; }
42 
47  inline void SetNextMarker(const Aws::String& value) { m_nextMarker = value; }
48 
53  inline void SetNextMarker(Aws::String&& value) { m_nextMarker = std::move(value); }
54 
59  inline void SetNextMarker(const char* value) { m_nextMarker.assign(value); }
60 
65  inline ListEventSourceMappingsResult& WithNextMarker(const Aws::String& value) { SetNextMarker(value); return *this;}
66 
71  inline ListEventSourceMappingsResult& WithNextMarker(Aws::String&& value) { SetNextMarker(std::move(value)); return *this;}
72 
77  inline ListEventSourceMappingsResult& WithNextMarker(const char* value) { SetNextMarker(value); return *this;}
78 
79 
83  inline const Aws::Vector<EventSourceMappingConfiguration>& GetEventSourceMappings() const{ return m_eventSourceMappings; }
84 
88  inline void SetEventSourceMappings(const Aws::Vector<EventSourceMappingConfiguration>& value) { m_eventSourceMappings = value; }
89 
93  inline void SetEventSourceMappings(Aws::Vector<EventSourceMappingConfiguration>&& value) { m_eventSourceMappings = std::move(value); }
94 
98  inline ListEventSourceMappingsResult& WithEventSourceMappings(const Aws::Vector<EventSourceMappingConfiguration>& value) { SetEventSourceMappings(value); return *this;}
99 
103  inline ListEventSourceMappingsResult& WithEventSourceMappings(Aws::Vector<EventSourceMappingConfiguration>&& value) { SetEventSourceMappings(std::move(value)); return *this;}
104 
108  inline ListEventSourceMappingsResult& AddEventSourceMappings(const EventSourceMappingConfiguration& value) { m_eventSourceMappings.push_back(value); return *this; }
109 
113  inline ListEventSourceMappingsResult& AddEventSourceMappings(EventSourceMappingConfiguration&& value) { m_eventSourceMappings.push_back(std::move(value)); return *this; }
114 
115  private:
116 
117  Aws::String m_nextMarker;
118 
119  Aws::Vector<EventSourceMappingConfiguration> m_eventSourceMappings;
120  };
121 
122 } // namespace Model
123 } // namespace Lambda
124 } // namespace Aws
EventSourceMappingConfiguration.h
Aws::AmazonWebServiceResult
Definition: AmazonWebServiceResult.h:19
Aws::Lambda::Model::ListEventSourceMappingsResult::SetNextMarker
void SetNextMarker(Aws::String &&value)
Definition: ListEventSourceMappingsResult.h:53
Aws::Lambda::Model::ListEventSourceMappingsResult::GetEventSourceMappings
const Aws::Vector< EventSourceMappingConfiguration > & GetEventSourceMappings() const
Definition: ListEventSourceMappingsResult.h:83
Aws::Lambda::Model::ListEventSourceMappingsResult::SetEventSourceMappings
void SetEventSourceMappings(Aws::Vector< EventSourceMappingConfiguration > &&value)
Definition: ListEventSourceMappingsResult.h:93
Aws::Lambda::Model::ListEventSourceMappingsResult::SetNextMarker
void SetNextMarker(const Aws::String &value)
Definition: ListEventSourceMappingsResult.h:47
Aws::Vector
std::vector< T, Aws::Allocator< T > > Vector
Definition: AWSVector.h:17
AWSVector.h
AWS_LAMBDA_API
#define AWS_LAMBDA_API
Definition: Lambda_EXPORTS.h:28
Aws::Lambda::Model::ListEventSourceMappingsResult::operator=
ListEventSourceMappingsResult & operator=(const Aws::AmazonWebServiceResult< Aws::Utils::Json::JsonValue > &result)
Aws::Lambda::Model::ListEventSourceMappingsResult::ListEventSourceMappingsResult
ListEventSourceMappingsResult(const Aws::AmazonWebServiceResult< Aws::Utils::Json::JsonValue > &result)
Aws::Lambda::Model::ListEventSourceMappingsResult::WithEventSourceMappings
ListEventSourceMappingsResult & WithEventSourceMappings(Aws::Vector< EventSourceMappingConfiguration > &&value)
Definition: ListEventSourceMappingsResult.h:103
Aws::Lambda::Model::ListEventSourceMappingsResult::WithNextMarker
ListEventSourceMappingsResult & WithNextMarker(const Aws::String &value)
Definition: ListEventSourceMappingsResult.h:65
AWSString.h
Aws::Lambda::Model::ListEventSourceMappingsResult::WithNextMarker
ListEventSourceMappingsResult & WithNextMarker(const char *value)
Definition: ListEventSourceMappingsResult.h:77
Aws::Lambda::Model::ListEventSourceMappingsResult::WithEventSourceMappings
ListEventSourceMappingsResult & WithEventSourceMappings(const Aws::Vector< EventSourceMappingConfiguration > &value)
Definition: ListEventSourceMappingsResult.h:98
Aws::Lambda::Model::ListEventSourceMappingsResult
Definition: ListEventSourceMappingsResult.h:30
Aws::Lambda::Model::ListEventSourceMappingsResult::SetNextMarker
void SetNextMarker(const char *value)
Definition: ListEventSourceMappingsResult.h:59
Aws::MigrationHubStrategyRecommendations::Model::OutputFormat::NOT_SET
@ NOT_SET
Aws::CodePipeline::Model::ExecutorType::NOT_SET
@ NOT_SET
Aws
Definition: AccessManagementClient.h:15
Aws::Lambda::Model::ListEventSourceMappingsResult::SetEventSourceMappings
void SetEventSourceMappings(const Aws::Vector< EventSourceMappingConfiguration > &value)
Definition: ListEventSourceMappingsResult.h:88
Aws::Lambda::Model::ListEventSourceMappingsResult::WithNextMarker
ListEventSourceMappingsResult & WithNextMarker(Aws::String &&value)
Definition: ListEventSourceMappingsResult.h:71
Aws::Lambda::Model::ListEventSourceMappingsResult::AddEventSourceMappings
ListEventSourceMappingsResult & AddEventSourceMappings(const EventSourceMappingConfiguration &value)
Definition: ListEventSourceMappingsResult.h:108
Aws::String
std::basic_string< char, std::char_traits< char >, Aws::Allocator< char > > String
Definition: AWSString.h:97
Aws::Lambda::Model::ListEventSourceMappingsResult::ListEventSourceMappingsResult
ListEventSourceMappingsResult()
Aws::Lambda::Model::ListEventSourceMappingsResult::GetNextMarker
const Aws::String & GetNextMarker() const
Definition: ListEventSourceMappingsResult.h:41
Aws::Lambda::Model::ListEventSourceMappingsResult::AddEventSourceMappings
ListEventSourceMappingsResult & AddEventSourceMappings(EventSourceMappingConfiguration &&value)
Definition: ListEventSourceMappingsResult.h:113
Lambda_EXPORTS.h
Aws::Lambda::Model::EventSourceMappingConfiguration
Definition: EventSourceMappingConfiguration.h:41