AWS SDK for C++  0.14.3
AWS SDK for C++
ListFunctionsRequest.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 
47  inline const Aws::String& GetMarker() const{ return m_marker; }
48 
54  inline void SetMarker(const Aws::String& value) { m_markerHasBeenSet = true; m_marker = value; }
55 
61  inline void SetMarker(Aws::String&& value) { m_markerHasBeenSet = true; m_marker = value; }
62 
68  inline void SetMarker(const char* value) { m_markerHasBeenSet = true; m_marker.assign(value); }
69 
75  inline ListFunctionsRequest& WithMarker(const Aws::String& value) { SetMarker(value); return *this;}
76 
82  inline ListFunctionsRequest& WithMarker(Aws::String&& value) { SetMarker(value); return *this;}
83 
89  inline ListFunctionsRequest& WithMarker(const char* value) { SetMarker(value); return *this;}
90 
95  inline int GetMaxItems() const{ return m_maxItems; }
96 
101  inline void SetMaxItems(int value) { m_maxItemsHasBeenSet = true; m_maxItems = value; }
102 
107  inline ListFunctionsRequest& WithMaxItems(int value) { SetMaxItems(value); return *this;}
108 
109  private:
110  Aws::String m_marker;
111  bool m_markerHasBeenSet;
112  int m_maxItems;
113  bool m_maxItemsHasBeenSet;
114  };
115 
116 } // namespace Model
117 } // namespace Lambda
118 } // namespace Aws
ListFunctionsRequest & WithMarker(const Aws::String &value)
ListFunctionsRequest & WithMaxItems(int value)
#define AWS_LAMBDA_API
ListFunctionsRequest & WithMarker(const char *value)
void SetMarker(const Aws::String &value)
ListFunctionsRequest & WithMarker(Aws::String &&value)
std::basic_string< char, std::char_traits< char >, Aws::Allocator< char > > String
Definition: AWSString.h:97
JSON (JavaScript Object Notation).