AWS SDK for C++  1.8.71
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 
279  inline int GetMaxItems() const{ return m_maxItems; }
280 
284  inline bool MaxItemsHasBeenSet() const { return m_maxItemsHasBeenSet; }
285 
289  inline void SetMaxItems(int value) { m_maxItemsHasBeenSet = true; m_maxItems = value; }
290 
294  inline ListEventSourceMappingsRequest& WithMaxItems(int value) { SetMaxItems(value); return *this;}
295 
296  private:
297 
298  Aws::String m_eventSourceArn;
299  bool m_eventSourceArnHasBeenSet;
300 
301  Aws::String m_functionName;
302  bool m_functionNameHasBeenSet;
303 
304  Aws::String m_marker;
305  bool m_markerHasBeenSet;
306 
307  int m_maxItems;
308  bool m_maxItemsHasBeenSet;
309  };
310 
311 } // namespace Model
312 } // namespace Lambda
313 } // namespace Aws
ListEventSourceMappingsRequest & WithMarker(const Aws::String &value)
ListEventSourceMappingsRequest & WithEventSourceArn(const Aws::String &value)
#define AWS_LAMBDA_API
ListEventSourceMappingsRequest & WithMarker(const char *value)
ListEventSourceMappingsRequest & WithEventSourceArn(Aws::String &&value)
ListEventSourceMappingsRequest & WithFunctionName(const Aws::String &value)
std::basic_string< char, std::char_traits< char >, Aws::Allocator< char > > String
Definition: AWSString.h:97
ListEventSourceMappingsRequest & WithFunctionName(Aws::String &&value)
ListEventSourceMappingsRequest & WithFunctionName(const char *value)
ListEventSourceMappingsRequest & WithEventSourceArn(const char *value)
ListEventSourceMappingsRequest & WithMaxItems(int value)
ListEventSourceMappingsRequest & WithMarker(Aws::String &&value)