AWS SDK for C++  1.9.106
AWS SDK for C++
ListEventSourceMappingsRequest.h
Go to the documentation of this file.
1 
6 #pragma once
10 #include <utility>
11 
12 namespace Aws
13 {
14 namespace Http
15 {
16  class URI;
17 } //namespace Http
18 namespace Lambda
19 {
20 namespace Model
21 {
22 
26  {
27  public:
29 
30  // Service request name is the Operation name which will send this request out,
31  // each operation should has unique request name, so that we can get operation's name from this request.
32  // Note: this is not true for response, multiple operations may have the same response name,
33  // so we can not get operation's name from response.
34  inline virtual const char* GetServiceRequestName() const override { return "ListEventSourceMappings"; }
35 
36  Aws::String SerializePayload() const override;
37 
38  void AddQueryStringParameters(Aws::Http::URI& uri) const override;
39 
40 
49  inline const Aws::String& GetEventSourceArn() const{ return m_eventSourceArn; }
50 
59  inline bool EventSourceArnHasBeenSet() const { return m_eventSourceArnHasBeenSet; }
60 
69  inline void SetEventSourceArn(const Aws::String& value) { m_eventSourceArnHasBeenSet = true; m_eventSourceArn = value; }
70 
79  inline void SetEventSourceArn(Aws::String&& value) { m_eventSourceArnHasBeenSet = true; m_eventSourceArn = std::move(value); }
80 
89  inline void SetEventSourceArn(const char* value) { m_eventSourceArnHasBeenSet = true; m_eventSourceArn.assign(value); }
90 
99  inline ListEventSourceMappingsRequest& WithEventSourceArn(const Aws::String& value) { SetEventSourceArn(value); return *this;}
100 
109  inline ListEventSourceMappingsRequest& WithEventSourceArn(Aws::String&& value) { SetEventSourceArn(std::move(value)); return *this;}
110 
119  inline ListEventSourceMappingsRequest& WithEventSourceArn(const char* value) { SetEventSourceArn(value); return *this;}
120 
121 
134  inline const Aws::String& GetFunctionName() const{ return m_functionName; }
135 
148  inline bool FunctionNameHasBeenSet() const { return m_functionNameHasBeenSet; }
149 
162  inline void SetFunctionName(const Aws::String& value) { m_functionNameHasBeenSet = true; m_functionName = value; }
163 
176  inline void SetFunctionName(Aws::String&& value) { m_functionNameHasBeenSet = true; m_functionName = std::move(value); }
177 
190  inline void SetFunctionName(const char* value) { m_functionNameHasBeenSet = true; m_functionName.assign(value); }
191 
204  inline ListEventSourceMappingsRequest& WithFunctionName(const Aws::String& value) { SetFunctionName(value); return *this;}
205 
218  inline ListEventSourceMappingsRequest& WithFunctionName(Aws::String&& value) { SetFunctionName(std::move(value)); return *this;}
219 
232  inline ListEventSourceMappingsRequest& WithFunctionName(const char* value) { SetFunctionName(value); return *this;}
233 
234 
238  inline const Aws::String& GetMarker() const{ return m_marker; }
239 
243  inline bool MarkerHasBeenSet() const { return m_markerHasBeenSet; }
244 
248  inline void SetMarker(const Aws::String& value) { m_markerHasBeenSet = true; m_marker = value; }
249 
253  inline void SetMarker(Aws::String&& value) { m_markerHasBeenSet = true; m_marker = std::move(value); }
254 
258  inline void SetMarker(const char* value) { m_markerHasBeenSet = true; m_marker.assign(value); }
259 
263  inline ListEventSourceMappingsRequest& WithMarker(const Aws::String& value) { SetMarker(value); return *this;}
264 
268  inline ListEventSourceMappingsRequest& WithMarker(Aws::String&& value) { SetMarker(std::move(value)); return *this;}
269 
273  inline ListEventSourceMappingsRequest& WithMarker(const char* value) { SetMarker(value); return *this;}
274 
275 
281  inline int GetMaxItems() const{ return m_maxItems; }
282 
288  inline bool MaxItemsHasBeenSet() const { return m_maxItemsHasBeenSet; }
289 
295  inline void SetMaxItems(int value) { m_maxItemsHasBeenSet = true; m_maxItems = value; }
296 
302  inline ListEventSourceMappingsRequest& WithMaxItems(int value) { SetMaxItems(value); return *this;}
303 
304  private:
305 
306  Aws::String m_eventSourceArn;
307  bool m_eventSourceArnHasBeenSet;
308 
309  Aws::String m_functionName;
310  bool m_functionNameHasBeenSet;
311 
312  Aws::String m_marker;
313  bool m_markerHasBeenSet;
314 
315  int m_maxItems;
316  bool m_maxItemsHasBeenSet;
317  };
318 
319 } // namespace Model
320 } // namespace Lambda
321 } // namespace Aws
Aws::Lambda::Model::ListEventSourceMappingsRequest::WithFunctionName
ListEventSourceMappingsRequest & WithFunctionName(const Aws::String &value)
Definition: ListEventSourceMappingsRequest.h:204
Aws::Http::URI
Definition: URI.h:32
Aws::Lambda::Model::ListEventSourceMappingsRequest::WithMarker
ListEventSourceMappingsRequest & WithMarker(const Aws::String &value)
Definition: ListEventSourceMappingsRequest.h:263
Aws::Lambda::Model::ListEventSourceMappingsRequest::EventSourceArnHasBeenSet
bool EventSourceArnHasBeenSet() const
Definition: ListEventSourceMappingsRequest.h:59
Aws::Lambda::Model::ListEventSourceMappingsRequest::WithFunctionName
ListEventSourceMappingsRequest & WithFunctionName(const char *value)
Definition: ListEventSourceMappingsRequest.h:232
Aws::Lambda::Model::ListEventSourceMappingsRequest::SetEventSourceArn
void SetEventSourceArn(const char *value)
Definition: ListEventSourceMappingsRequest.h:89
Aws::Lambda::Model::ListEventSourceMappingsRequest::MaxItemsHasBeenSet
bool MaxItemsHasBeenSet() const
Definition: ListEventSourceMappingsRequest.h:288
Aws::Lambda::Model::ListEventSourceMappingsRequest::GetServiceRequestName
virtual const char * GetServiceRequestName() const override
Definition: ListEventSourceMappingsRequest.h:34
Aws::Lambda::Model::ListEventSourceMappingsRequest::SetFunctionName
void SetFunctionName(Aws::String &&value)
Definition: ListEventSourceMappingsRequest.h:176
Aws::Lambda::Model::ListEventSourceMappingsRequest::SetMarker
void SetMarker(Aws::String &&value)
Definition: ListEventSourceMappingsRequest.h:253
Aws::Lambda::Model::ListEventSourceMappingsRequest::WithEventSourceArn
ListEventSourceMappingsRequest & WithEventSourceArn(Aws::String &&value)
Definition: ListEventSourceMappingsRequest.h:109
Aws::Lambda::Model::ListEventSourceMappingsRequest::WithFunctionName
ListEventSourceMappingsRequest & WithFunctionName(Aws::String &&value)
Definition: ListEventSourceMappingsRequest.h:218
Aws::Lambda::Model::ListEventSourceMappingsRequest
Definition: ListEventSourceMappingsRequest.h:26
Aws::Lambda::Model::ListEventSourceMappingsRequest::SetEventSourceArn
void SetEventSourceArn(const Aws::String &value)
Definition: ListEventSourceMappingsRequest.h:69
Aws::Lambda::Model::ListEventSourceMappingsRequest::WithMarker
ListEventSourceMappingsRequest & WithMarker(const char *value)
Definition: ListEventSourceMappingsRequest.h:273
AWS_LAMBDA_API
#define AWS_LAMBDA_API
Definition: Lambda_EXPORTS.h:28
Aws::Lambda::Model::ListEventSourceMappingsRequest::SetFunctionName
void SetFunctionName(const char *value)
Definition: ListEventSourceMappingsRequest.h:190
Aws::Lambda::Model::ListEventSourceMappingsRequest::AddQueryStringParameters
void AddQueryStringParameters(Aws::Http::URI &uri) const override
Aws::Lambda::Model::ListEventSourceMappingsRequest::SetEventSourceArn
void SetEventSourceArn(Aws::String &&value)
Definition: ListEventSourceMappingsRequest.h:79
Aws::Lambda::Model::ListEventSourceMappingsRequest::WithEventSourceArn
ListEventSourceMappingsRequest & WithEventSourceArn(const Aws::String &value)
Definition: ListEventSourceMappingsRequest.h:99
Aws::Lambda::Model::ListEventSourceMappingsRequest::SetMarker
void SetMarker(const Aws::String &value)
Definition: ListEventSourceMappingsRequest.h:248
AWSString.h
Aws::Lambda::Model::ListEventSourceMappingsRequest::GetFunctionName
const Aws::String & GetFunctionName() const
Definition: ListEventSourceMappingsRequest.h:134
Aws::Lambda::Model::ListEventSourceMappingsRequest::SetFunctionName
void SetFunctionName(const Aws::String &value)
Definition: ListEventSourceMappingsRequest.h:162
LambdaRequest.h
Aws::Lambda::Model::ListEventSourceMappingsRequest::FunctionNameHasBeenSet
bool FunctionNameHasBeenSet() const
Definition: ListEventSourceMappingsRequest.h:148
Aws::Lambda::LambdaRequest
Definition: LambdaRequest.h:18
Aws::Lambda::Model::ListEventSourceMappingsRequest::WithEventSourceArn
ListEventSourceMappingsRequest & WithEventSourceArn(const char *value)
Definition: ListEventSourceMappingsRequest.h:119
Aws::Lambda::Model::ListEventSourceMappingsRequest::GetEventSourceArn
const Aws::String & GetEventSourceArn() const
Definition: ListEventSourceMappingsRequest.h:49
Aws::Lambda::Model::ListEventSourceMappingsRequest::SetMaxItems
void SetMaxItems(int value)
Definition: ListEventSourceMappingsRequest.h:295
Aws::CodePipeline::Model::ExecutorType::NOT_SET
@ NOT_SET
Aws
Definition: AccessManagementClient.h:15
Aws::String
std::basic_string< char, std::char_traits< char >, Aws::Allocator< char > > String
Definition: AWSString.h:97
Aws::Lambda::Model::ListEventSourceMappingsRequest::WithMaxItems
ListEventSourceMappingsRequest & WithMaxItems(int value)
Definition: ListEventSourceMappingsRequest.h:302
Aws::Lambda::Model::ListEventSourceMappingsRequest::WithMarker
ListEventSourceMappingsRequest & WithMarker(Aws::String &&value)
Definition: ListEventSourceMappingsRequest.h:268
Aws::Lambda::Model::ListEventSourceMappingsRequest::SerializePayload
Aws::String SerializePayload() const override
Aws::Lambda::Model::ListEventSourceMappingsRequest::GetMaxItems
int GetMaxItems() const
Definition: ListEventSourceMappingsRequest.h:281
Aws::Lambda::Model::ListEventSourceMappingsRequest::ListEventSourceMappingsRequest
ListEventSourceMappingsRequest()
Aws::Lambda::Model::ListEventSourceMappingsRequest::MarkerHasBeenSet
bool MarkerHasBeenSet() const
Definition: ListEventSourceMappingsRequest.h:243
Aws::Lambda::Model::ListEventSourceMappingsRequest::SetMarker
void SetMarker(const char *value)
Definition: ListEventSourceMappingsRequest.h:258
Lambda_EXPORTS.h
Aws::Lambda::Model::ListEventSourceMappingsRequest::GetMarker
const Aws::String & GetMarker() const
Definition: ListEventSourceMappingsRequest.h:238