AWS SDK for C++  0.14.3
AWS SDK for C++
GetAuthorizersRequest.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 
45  inline const Aws::String& GetRestApiId() const{ return m_restApiId; }
46 
50  inline void SetRestApiId(const Aws::String& value) { m_restApiIdHasBeenSet = true; m_restApiId = value; }
51 
55  inline void SetRestApiId(Aws::String&& value) { m_restApiIdHasBeenSet = true; m_restApiId = value; }
56 
60  inline void SetRestApiId(const char* value) { m_restApiIdHasBeenSet = true; m_restApiId.assign(value); }
61 
65  inline GetAuthorizersRequest& WithRestApiId(const Aws::String& value) { SetRestApiId(value); return *this;}
66 
70  inline GetAuthorizersRequest& WithRestApiId(Aws::String&& value) { SetRestApiId(value); return *this;}
71 
75  inline GetAuthorizersRequest& WithRestApiId(const char* value) { SetRestApiId(value); return *this;}
76 
81  inline const Aws::String& GetPosition() const{ return m_position; }
82 
87  inline void SetPosition(const Aws::String& value) { m_positionHasBeenSet = true; m_position = value; }
88 
93  inline void SetPosition(Aws::String&& value) { m_positionHasBeenSet = true; m_position = value; }
94 
99  inline void SetPosition(const char* value) { m_positionHasBeenSet = true; m_position.assign(value); }
100 
105  inline GetAuthorizersRequest& WithPosition(const Aws::String& value) { SetPosition(value); return *this;}
106 
111  inline GetAuthorizersRequest& WithPosition(Aws::String&& value) { SetPosition(value); return *this;}
112 
117  inline GetAuthorizersRequest& WithPosition(const char* value) { SetPosition(value); return *this;}
118 
122  inline int GetLimit() const{ return m_limit; }
123 
127  inline void SetLimit(int value) { m_limitHasBeenSet = true; m_limit = value; }
128 
132  inline GetAuthorizersRequest& WithLimit(int value) { SetLimit(value); return *this;}
133 
134  private:
135  Aws::String m_restApiId;
136  bool m_restApiIdHasBeenSet;
137  Aws::String m_position;
138  bool m_positionHasBeenSet;
139  int m_limit;
140  bool m_limitHasBeenSet;
141  };
142 
143 } // namespace Model
144 } // namespace APIGateway
145 } // namespace Aws
GetAuthorizersRequest & WithRestApiId(Aws::String &&value)
GetAuthorizersRequest & WithRestApiId(const char *value)
GetAuthorizersRequest & WithRestApiId(const Aws::String &value)
GetAuthorizersRequest & WithPosition(const char *value)
GetAuthorizersRequest & WithPosition(const Aws::String &value)
GetAuthorizersRequest & WithLimit(int value)
GetAuthorizersRequest & WithPosition(Aws::String &&value)
std::basic_string< char, std::char_traits< char >, Aws::Allocator< char > > String
Definition: AWSString.h:97
#define AWS_APIGATEWAY_API
JSON (JavaScript Object Notation).