AWS SDK for C++  1.9.20
AWS SDK for C++
GetGatewayResponsesRequest.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 APIGateway
19 {
20 namespace Model
21 {
22 
32  {
33  public:
35 
36  // Service request name is the Operation name which will send this request out,
37  // each operation should has unique request name, so that we can get operation's name from this request.
38  // Note: this is not true for response, multiple operations may have the same response name,
39  // so we can not get operation's name from response.
40  inline virtual const char* GetServiceRequestName() const override { return "GetGatewayResponses"; }
41 
42  Aws::String SerializePayload() const override;
43 
44  void AddQueryStringParameters(Aws::Http::URI& uri) const override;
45 
46 
50  inline const Aws::String& GetRestApiId() const{ return m_restApiId; }
51 
55  inline bool RestApiIdHasBeenSet() const { return m_restApiIdHasBeenSet; }
56 
60  inline void SetRestApiId(const Aws::String& value) { m_restApiIdHasBeenSet = true; m_restApiId = value; }
61 
65  inline void SetRestApiId(Aws::String&& value) { m_restApiIdHasBeenSet = true; m_restApiId = std::move(value); }
66 
70  inline void SetRestApiId(const char* value) { m_restApiIdHasBeenSet = true; m_restApiId.assign(value); }
71 
75  inline GetGatewayResponsesRequest& WithRestApiId(const Aws::String& value) { SetRestApiId(value); return *this;}
76 
80  inline GetGatewayResponsesRequest& WithRestApiId(Aws::String&& value) { SetRestApiId(std::move(value)); return *this;}
81 
85  inline GetGatewayResponsesRequest& WithRestApiId(const char* value) { SetRestApiId(value); return *this;}
86 
87 
93  inline const Aws::String& GetPosition() const{ return m_position; }
94 
100  inline bool PositionHasBeenSet() const { return m_positionHasBeenSet; }
101 
107  inline void SetPosition(const Aws::String& value) { m_positionHasBeenSet = true; m_position = value; }
108 
114  inline void SetPosition(Aws::String&& value) { m_positionHasBeenSet = true; m_position = std::move(value); }
115 
121  inline void SetPosition(const char* value) { m_positionHasBeenSet = true; m_position.assign(value); }
122 
128  inline GetGatewayResponsesRequest& WithPosition(const Aws::String& value) { SetPosition(value); return *this;}
129 
135  inline GetGatewayResponsesRequest& WithPosition(Aws::String&& value) { SetPosition(std::move(value)); return *this;}
136 
142  inline GetGatewayResponsesRequest& WithPosition(const char* value) { SetPosition(value); return *this;}
143 
144 
150  inline int GetLimit() const{ return m_limit; }
151 
157  inline bool LimitHasBeenSet() const { return m_limitHasBeenSet; }
158 
164  inline void SetLimit(int value) { m_limitHasBeenSet = true; m_limit = value; }
165 
171  inline GetGatewayResponsesRequest& WithLimit(int value) { SetLimit(value); return *this;}
172 
173  private:
174 
175  Aws::String m_restApiId;
176  bool m_restApiIdHasBeenSet;
177 
178  Aws::String m_position;
179  bool m_positionHasBeenSet;
180 
181  int m_limit;
182  bool m_limitHasBeenSet;
183  };
184 
185 } // namespace Model
186 } // namespace APIGateway
187 } // namespace Aws
Aws::APIGateway::Model::GetGatewayResponsesRequest::SetPosition
void SetPosition(const char *value)
Definition: GetGatewayResponsesRequest.h:121
Aws::APIGateway::Model::GetGatewayResponsesRequest::AddQueryStringParameters
void AddQueryStringParameters(Aws::Http::URI &uri) const override
Aws::APIGateway::Model::GetGatewayResponsesRequest::GetRestApiId
const Aws::String & GetRestApiId() const
Definition: GetGatewayResponsesRequest.h:50
Aws::Http::URI
Definition: URI.h:32
Aws::APIGateway::Model::GetGatewayResponsesRequest::GetPosition
const Aws::String & GetPosition() const
Definition: GetGatewayResponsesRequest.h:93
Aws::APIGateway::Model::GetGatewayResponsesRequest::SetLimit
void SetLimit(int value)
Definition: GetGatewayResponsesRequest.h:164
AWS_APIGATEWAY_API
#define AWS_APIGATEWAY_API
Definition: APIGateway_EXPORTS.h:28
Aws::APIGateway::Model::GetGatewayResponsesRequest::WithLimit
GetGatewayResponsesRequest & WithLimit(int value)
Definition: GetGatewayResponsesRequest.h:171
Aws::APIGateway::Model::GetGatewayResponsesRequest::SetPosition
void SetPosition(Aws::String &&value)
Definition: GetGatewayResponsesRequest.h:114
APIGateway_EXPORTS.h
Aws::APIGateway::Model::GetGatewayResponsesRequest::GetServiceRequestName
virtual const char * GetServiceRequestName() const override
Definition: GetGatewayResponsesRequest.h:40
Aws::APIGateway::Model::GetGatewayResponsesRequest::SetRestApiId
void SetRestApiId(const Aws::String &value)
Definition: GetGatewayResponsesRequest.h:60
Aws::APIGateway::Model::GetGatewayResponsesRequest::WithRestApiId
GetGatewayResponsesRequest & WithRestApiId(const Aws::String &value)
Definition: GetGatewayResponsesRequest.h:75
APIGatewayRequest.h
Aws::APIGateway::Model::GetGatewayResponsesRequest::WithRestApiId
GetGatewayResponsesRequest & WithRestApiId(Aws::String &&value)
Definition: GetGatewayResponsesRequest.h:80
Aws::APIGateway::Model::GetGatewayResponsesRequest::GetLimit
int GetLimit() const
Definition: GetGatewayResponsesRequest.h:150
Aws::APIGateway::Model::GetGatewayResponsesRequest::GetGatewayResponsesRequest
GetGatewayResponsesRequest()
Aws::APIGateway::Model::GetGatewayResponsesRequest::SetPosition
void SetPosition(const Aws::String &value)
Definition: GetGatewayResponsesRequest.h:107
Aws::APIGateway::Model::GetGatewayResponsesRequest::LimitHasBeenSet
bool LimitHasBeenSet() const
Definition: GetGatewayResponsesRequest.h:157
Aws::APIGateway::Model::GetGatewayResponsesRequest::SerializePayload
Aws::String SerializePayload() const override
AWSString.h
Aws::APIGateway::Model::GetGatewayResponsesRequest::WithPosition
GetGatewayResponsesRequest & WithPosition(Aws::String &&value)
Definition: GetGatewayResponsesRequest.h:135
Aws::APIGateway::Model::GetGatewayResponsesRequest::PositionHasBeenSet
bool PositionHasBeenSet() const
Definition: GetGatewayResponsesRequest.h:100
Aws::APIGateway::Model::GetGatewayResponsesRequest::WithPosition
GetGatewayResponsesRequest & WithPosition(const char *value)
Definition: GetGatewayResponsesRequest.h:142
Aws
Definition: AccessManagementClient.h:15
Aws::APIGateway::Model::GetGatewayResponsesRequest::SetRestApiId
void SetRestApiId(Aws::String &&value)
Definition: GetGatewayResponsesRequest.h:65
Aws::String
std::basic_string< char, std::char_traits< char >, Aws::Allocator< char > > String
Definition: AWSString.h:97
Aws::APIGateway::Model::GetGatewayResponsesRequest::WithPosition
GetGatewayResponsesRequest & WithPosition(const Aws::String &value)
Definition: GetGatewayResponsesRequest.h:128
Aws::APIGateway::Model::GetGatewayResponsesRequest::WithRestApiId
GetGatewayResponsesRequest & WithRestApiId(const char *value)
Definition: GetGatewayResponsesRequest.h:85
Aws::APIGateway::APIGatewayRequest
Definition: APIGatewayRequest.h:18
Aws::APIGateway::Model::GetGatewayResponsesRequest::RestApiIdHasBeenSet
bool RestApiIdHasBeenSet() const
Definition: GetGatewayResponsesRequest.h:55
Aws::APIGateway::Model::GetGatewayResponsesRequest::SetRestApiId
void SetRestApiId(const char *value)
Definition: GetGatewayResponsesRequest.h:70
Aws::APIGateway::Model::GetGatewayResponsesRequest
Definition: GetGatewayResponsesRequest.h:32