AWS SDK for C++  0.14.3
AWS SDK for C++
ListEventSourceMappingsRequest.h
Go to the documentation of this file.
1 /*
2 * Copyright 2010-2016 Amazon.com, Inc. or its affiliates. All Rights Reserved.
3 *
4 * Licensed under the Apache License, Version 2.0 (the "License").
5 * You may not use this file except in compliance with the License.
6 * A copy of the License is located at
7 *
8 * http://aws.amazon.com/apache2.0
9 *
10 * or in the "license" file accompanying this file. This file is distributed
11 * on an "AS IS" BASIS, WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either
12 * express or implied. See the License for the specific language governing
13 * permissions and limitations under the License.
14 */
15 #pragma once
19 
20 namespace Aws
21 {
22 namespace Http
23 {
24  class URI;
25 } //namespace Http
26 namespace Lambda
27 {
28 namespace Model
29 {
30 
35  {
36  public:
38  Aws::String SerializePayload() const override;
39 
40  void AddQueryStringParameters(Aws::Http::URI& uri) const override;
41 
46  inline const Aws::String& GetEventSourceArn() const{ return m_eventSourceArn; }
47 
52  inline void SetEventSourceArn(const Aws::String& value) { m_eventSourceArnHasBeenSet = true; m_eventSourceArn = value; }
53 
58  inline void SetEventSourceArn(Aws::String&& value) { m_eventSourceArnHasBeenSet = true; m_eventSourceArn = value; }
59 
64  inline void SetEventSourceArn(const char* value) { m_eventSourceArnHasBeenSet = true; m_eventSourceArn.assign(value); }
65 
70  inline ListEventSourceMappingsRequest& WithEventSourceArn(const Aws::String& value) { SetEventSourceArn(value); return *this;}
71 
76  inline ListEventSourceMappingsRequest& WithEventSourceArn(Aws::String&& value) { SetEventSourceArn(value); return *this;}
77 
82  inline ListEventSourceMappingsRequest& WithEventSourceArn(const char* value) { SetEventSourceArn(value); return *this;}
83 
96  inline const Aws::String& GetFunctionName() const{ return m_functionName; }
97 
110  inline void SetFunctionName(const Aws::String& value) { m_functionNameHasBeenSet = true; m_functionName = value; }
111 
124  inline void SetFunctionName(Aws::String&& value) { m_functionNameHasBeenSet = true; m_functionName = value; }
125 
138  inline void SetFunctionName(const char* value) { m_functionNameHasBeenSet = true; m_functionName.assign(value); }
139 
152  inline ListEventSourceMappingsRequest& WithFunctionName(const Aws::String& value) { SetFunctionName(value); return *this;}
153 
166  inline ListEventSourceMappingsRequest& WithFunctionName(Aws::String&& value) { SetFunctionName(value); return *this;}
167 
180  inline ListEventSourceMappingsRequest& WithFunctionName(const char* value) { SetFunctionName(value); return *this;}
181 
187  inline const Aws::String& GetMarker() const{ return m_marker; }
188 
194  inline void SetMarker(const Aws::String& value) { m_markerHasBeenSet = true; m_marker = value; }
195 
201  inline void SetMarker(Aws::String&& value) { m_markerHasBeenSet = true; m_marker = value; }
202 
208  inline void SetMarker(const char* value) { m_markerHasBeenSet = true; m_marker.assign(value); }
209 
215  inline ListEventSourceMappingsRequest& WithMarker(const Aws::String& value) { SetMarker(value); return *this;}
216 
222  inline ListEventSourceMappingsRequest& WithMarker(Aws::String&& value) { SetMarker(value); return *this;}
223 
229  inline ListEventSourceMappingsRequest& WithMarker(const char* value) { SetMarker(value); return *this;}
230 
235  inline int GetMaxItems() const{ return m_maxItems; }
236 
241  inline void SetMaxItems(int value) { m_maxItemsHasBeenSet = true; m_maxItems = value; }
242 
247  inline ListEventSourceMappingsRequest& WithMaxItems(int value) { SetMaxItems(value); return *this;}
248 
249  private:
250  Aws::String m_eventSourceArn;
251  bool m_eventSourceArnHasBeenSet;
252  Aws::String m_functionName;
253  bool m_functionNameHasBeenSet;
254  Aws::String m_marker;
255  bool m_markerHasBeenSet;
256  int m_maxItems;
257  bool m_maxItemsHasBeenSet;
258  };
259 
260 } // namespace Model
261 } // namespace Lambda
262 } // 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)
JSON (JavaScript Object Notation).