AWS SDK for C++  0.12.9
AWS SDK for C++
GetApiKeysRequest.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 APIGateway
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& GetPosition() const{ return m_position; }
47 
52  inline void SetPosition(const Aws::String& value) { m_positionHasBeenSet = true; m_position = value; }
53 
58  inline void SetPosition(Aws::String&& value) { m_positionHasBeenSet = true; m_position = value; }
59 
64  inline void SetPosition(const char* value) { m_positionHasBeenSet = true; m_position.assign(value); }
65 
70  inline GetApiKeysRequest& WithPosition(const Aws::String& value) { SetPosition(value); return *this;}
71 
76  inline GetApiKeysRequest& WithPosition(Aws::String&& value) { SetPosition(value); return *this;}
77 
82  inline GetApiKeysRequest& WithPosition(const char* value) { SetPosition(value); return *this;}
83 
87  inline long GetLimit() const{ return m_limit; }
88 
92  inline void SetLimit(long value) { m_limitHasBeenSet = true; m_limit = value; }
93 
97  inline GetApiKeysRequest& WithLimit(long value) { SetLimit(value); return *this;}
98 
99  private:
100  Aws::String m_position;
101  bool m_positionHasBeenSet;
102  long m_limit;
103  bool m_limitHasBeenSet;
104  };
105 
106 } // namespace Model
107 } // namespace APIGateway
108 } // namespace Aws
const Aws::String & GetPosition() const
GetApiKeysRequest & WithLimit(long value)
GetApiKeysRequest & WithPosition(const char *value)
void SetPosition(const Aws::String &value)
std::basic_string< char, std::char_traits< char >, Aws::Allocator< char > > String
Definition: AWSString.h:97
#define AWS_APIGATEWAY_API
GetApiKeysRequest & WithPosition(Aws::String &&value)
GetApiKeysRequest & WithPosition(const Aws::String &value)
JSON (JavaScript Object Notation).