AWS SDK for C++  1.9.20
AWS SDK for C++
GetDocumentationVersionsRequest.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 
29  {
30  public:
32 
33  // Service request name is the Operation name which will send this request out,
34  // each operation should has unique request name, so that we can get operation's name from this request.
35  // Note: this is not true for response, multiple operations may have the same response name,
36  // so we can not get operation's name from response.
37  inline virtual const char* GetServiceRequestName() const override { return "GetDocumentationVersions"; }
38 
39  Aws::String SerializePayload() const override;
40 
41  void AddQueryStringParameters(Aws::Http::URI& uri) const override;
42 
43 
47  inline const Aws::String& GetRestApiId() const{ return m_restApiId; }
48 
52  inline bool RestApiIdHasBeenSet() const { return m_restApiIdHasBeenSet; }
53 
57  inline void SetRestApiId(const Aws::String& value) { m_restApiIdHasBeenSet = true; m_restApiId = value; }
58 
62  inline void SetRestApiId(Aws::String&& value) { m_restApiIdHasBeenSet = true; m_restApiId = std::move(value); }
63 
67  inline void SetRestApiId(const char* value) { m_restApiIdHasBeenSet = true; m_restApiId.assign(value); }
68 
72  inline GetDocumentationVersionsRequest& WithRestApiId(const Aws::String& value) { SetRestApiId(value); return *this;}
73 
77  inline GetDocumentationVersionsRequest& WithRestApiId(Aws::String&& value) { SetRestApiId(std::move(value)); return *this;}
78 
82  inline GetDocumentationVersionsRequest& WithRestApiId(const char* value) { SetRestApiId(value); return *this;}
83 
84 
88  inline const Aws::String& GetPosition() const{ return m_position; }
89 
93  inline bool PositionHasBeenSet() const { return m_positionHasBeenSet; }
94 
98  inline void SetPosition(const Aws::String& value) { m_positionHasBeenSet = true; m_position = value; }
99 
103  inline void SetPosition(Aws::String&& value) { m_positionHasBeenSet = true; m_position = std::move(value); }
104 
108  inline void SetPosition(const char* value) { m_positionHasBeenSet = true; m_position.assign(value); }
109 
113  inline GetDocumentationVersionsRequest& WithPosition(const Aws::String& value) { SetPosition(value); return *this;}
114 
118  inline GetDocumentationVersionsRequest& WithPosition(Aws::String&& value) { SetPosition(std::move(value)); return *this;}
119 
123  inline GetDocumentationVersionsRequest& WithPosition(const char* value) { SetPosition(value); return *this;}
124 
125 
130  inline int GetLimit() const{ return m_limit; }
131 
136  inline bool LimitHasBeenSet() const { return m_limitHasBeenSet; }
137 
142  inline void SetLimit(int value) { m_limitHasBeenSet = true; m_limit = value; }
143 
148  inline GetDocumentationVersionsRequest& WithLimit(int value) { SetLimit(value); return *this;}
149 
150  private:
151 
152  Aws::String m_restApiId;
153  bool m_restApiIdHasBeenSet;
154 
155  Aws::String m_position;
156  bool m_positionHasBeenSet;
157 
158  int m_limit;
159  bool m_limitHasBeenSet;
160  };
161 
162 } // namespace Model
163 } // namespace APIGateway
164 } // namespace Aws
Aws::APIGateway::Model::GetDocumentationVersionsRequest::GetPosition
const Aws::String & GetPosition() const
Definition: GetDocumentationVersionsRequest.h:88
Aws::Http::URI
Definition: URI.h:32
Aws::APIGateway::Model::GetDocumentationVersionsRequest::WithRestApiId
GetDocumentationVersionsRequest & WithRestApiId(const Aws::String &value)
Definition: GetDocumentationVersionsRequest.h:72
Aws::APIGateway::Model::GetDocumentationVersionsRequest::WithPosition
GetDocumentationVersionsRequest & WithPosition(const Aws::String &value)
Definition: GetDocumentationVersionsRequest.h:113
Aws::APIGateway::Model::GetDocumentationVersionsRequest::SetPosition
void SetPosition(Aws::String &&value)
Definition: GetDocumentationVersionsRequest.h:103
AWS_APIGATEWAY_API
#define AWS_APIGATEWAY_API
Definition: APIGateway_EXPORTS.h:28
Aws::APIGateway::Model::GetDocumentationVersionsRequest::GetDocumentationVersionsRequest
GetDocumentationVersionsRequest()
Aws::APIGateway::Model::GetDocumentationVersionsRequest::RestApiIdHasBeenSet
bool RestApiIdHasBeenSet() const
Definition: GetDocumentationVersionsRequest.h:52
Aws::APIGateway::Model::GetDocumentationVersionsRequest::AddQueryStringParameters
void AddQueryStringParameters(Aws::Http::URI &uri) const override
APIGateway_EXPORTS.h
Aws::APIGateway::Model::GetDocumentationVersionsRequest
Definition: GetDocumentationVersionsRequest.h:29
Aws::APIGateway::Model::GetDocumentationVersionsRequest::PositionHasBeenSet
bool PositionHasBeenSet() const
Definition: GetDocumentationVersionsRequest.h:93
Aws::APIGateway::Model::GetDocumentationVersionsRequest::SetRestApiId
void SetRestApiId(const char *value)
Definition: GetDocumentationVersionsRequest.h:67
Aws::APIGateway::Model::GetDocumentationVersionsRequest::WithRestApiId
GetDocumentationVersionsRequest & WithRestApiId(const char *value)
Definition: GetDocumentationVersionsRequest.h:82
APIGatewayRequest.h
Aws::APIGateway::Model::GetDocumentationVersionsRequest::GetServiceRequestName
virtual const char * GetServiceRequestName() const override
Definition: GetDocumentationVersionsRequest.h:37
Aws::APIGateway::Model::GetDocumentationVersionsRequest::WithRestApiId
GetDocumentationVersionsRequest & WithRestApiId(Aws::String &&value)
Definition: GetDocumentationVersionsRequest.h:77
Aws::APIGateway::Model::GetDocumentationVersionsRequest::LimitHasBeenSet
bool LimitHasBeenSet() const
Definition: GetDocumentationVersionsRequest.h:136
Aws::APIGateway::Model::GetDocumentationVersionsRequest::GetRestApiId
const Aws::String & GetRestApiId() const
Definition: GetDocumentationVersionsRequest.h:47
AWSString.h
Aws::APIGateway::Model::GetDocumentationVersionsRequest::GetLimit
int GetLimit() const
Definition: GetDocumentationVersionsRequest.h:130
Aws::APIGateway::Model::GetDocumentationVersionsRequest::SerializePayload
Aws::String SerializePayload() const override
Aws::APIGateway::Model::GetDocumentationVersionsRequest::SetLimit
void SetLimit(int value)
Definition: GetDocumentationVersionsRequest.h:142
Aws::APIGateway::Model::GetDocumentationVersionsRequest::SetRestApiId
void SetRestApiId(const Aws::String &value)
Definition: GetDocumentationVersionsRequest.h:57
Aws::APIGateway::Model::GetDocumentationVersionsRequest::SetRestApiId
void SetRestApiId(Aws::String &&value)
Definition: GetDocumentationVersionsRequest.h:62
Aws
Definition: AccessManagementClient.h:15
Aws::APIGateway::Model::GetDocumentationVersionsRequest::WithLimit
GetDocumentationVersionsRequest & WithLimit(int value)
Definition: GetDocumentationVersionsRequest.h:148
Aws::String
std::basic_string< char, std::char_traits< char >, Aws::Allocator< char > > String
Definition: AWSString.h:97
Aws::APIGateway::Model::GetDocumentationVersionsRequest::WithPosition
GetDocumentationVersionsRequest & WithPosition(Aws::String &&value)
Definition: GetDocumentationVersionsRequest.h:118
Aws::APIGateway::Model::GetDocumentationVersionsRequest::SetPosition
void SetPosition(const char *value)
Definition: GetDocumentationVersionsRequest.h:108
Aws::APIGateway::APIGatewayRequest
Definition: APIGatewayRequest.h:18
Aws::APIGateway::Model::GetDocumentationVersionsRequest::SetPosition
void SetPosition(const Aws::String &value)
Definition: GetDocumentationVersionsRequest.h:98
Aws::APIGateway::Model::GetDocumentationVersionsRequest::WithPosition
GetDocumentationVersionsRequest & WithPosition(const char *value)
Definition: GetDocumentationVersionsRequest.h:123