AWS SDK for C++  1.9.13
AWS SDK for C++
GetDocumentationPartsRequest.h
Go to the documentation of this file.
1 
6 #pragma once
12 #include <utility>
13 
14 namespace Aws
15 {
16 namespace Http
17 {
18  class URI;
19 } //namespace Http
20 namespace APIGateway
21 {
22 namespace Model
23 {
24 
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 "GetDocumentationParts"; }
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 GetDocumentationPartsRequest& WithRestApiId(const Aws::String& value) { SetRestApiId(value); return *this;}
76 
80  inline GetDocumentationPartsRequest& WithRestApiId(Aws::String&& value) { SetRestApiId(std::move(value)); return *this;}
81 
85  inline GetDocumentationPartsRequest& WithRestApiId(const char* value) { SetRestApiId(value); return *this;}
86 
87 
91  inline const DocumentationPartType& GetType() const{ return m_type; }
92 
96  inline bool TypeHasBeenSet() const { return m_typeHasBeenSet; }
97 
101  inline void SetType(const DocumentationPartType& value) { m_typeHasBeenSet = true; m_type = value; }
102 
106  inline void SetType(DocumentationPartType&& value) { m_typeHasBeenSet = true; m_type = std::move(value); }
107 
111  inline GetDocumentationPartsRequest& WithType(const DocumentationPartType& value) { SetType(value); return *this;}
112 
116  inline GetDocumentationPartsRequest& WithType(DocumentationPartType&& value) { SetType(std::move(value)); return *this;}
117 
118 
122  inline const Aws::String& GetNameQuery() const{ return m_nameQuery; }
123 
127  inline bool NameQueryHasBeenSet() const { return m_nameQueryHasBeenSet; }
128 
132  inline void SetNameQuery(const Aws::String& value) { m_nameQueryHasBeenSet = true; m_nameQuery = value; }
133 
137  inline void SetNameQuery(Aws::String&& value) { m_nameQueryHasBeenSet = true; m_nameQuery = std::move(value); }
138 
142  inline void SetNameQuery(const char* value) { m_nameQueryHasBeenSet = true; m_nameQuery.assign(value); }
143 
147  inline GetDocumentationPartsRequest& WithNameQuery(const Aws::String& value) { SetNameQuery(value); return *this;}
148 
152  inline GetDocumentationPartsRequest& WithNameQuery(Aws::String&& value) { SetNameQuery(std::move(value)); return *this;}
153 
157  inline GetDocumentationPartsRequest& WithNameQuery(const char* value) { SetNameQuery(value); return *this;}
158 
159 
163  inline const Aws::String& GetPath() const{ return m_path; }
164 
168  inline bool PathHasBeenSet() const { return m_pathHasBeenSet; }
169 
173  inline void SetPath(const Aws::String& value) { m_pathHasBeenSet = true; m_path = value; }
174 
178  inline void SetPath(Aws::String&& value) { m_pathHasBeenSet = true; m_path = std::move(value); }
179 
183  inline void SetPath(const char* value) { m_pathHasBeenSet = true; m_path.assign(value); }
184 
188  inline GetDocumentationPartsRequest& WithPath(const Aws::String& value) { SetPath(value); return *this;}
189 
193  inline GetDocumentationPartsRequest& WithPath(Aws::String&& value) { SetPath(std::move(value)); return *this;}
194 
198  inline GetDocumentationPartsRequest& WithPath(const char* value) { SetPath(value); return *this;}
199 
200 
204  inline const Aws::String& GetPosition() const{ return m_position; }
205 
209  inline bool PositionHasBeenSet() const { return m_positionHasBeenSet; }
210 
214  inline void SetPosition(const Aws::String& value) { m_positionHasBeenSet = true; m_position = value; }
215 
219  inline void SetPosition(Aws::String&& value) { m_positionHasBeenSet = true; m_position = std::move(value); }
220 
224  inline void SetPosition(const char* value) { m_positionHasBeenSet = true; m_position.assign(value); }
225 
229  inline GetDocumentationPartsRequest& WithPosition(const Aws::String& value) { SetPosition(value); return *this;}
230 
234  inline GetDocumentationPartsRequest& WithPosition(Aws::String&& value) { SetPosition(std::move(value)); return *this;}
235 
239  inline GetDocumentationPartsRequest& WithPosition(const char* value) { SetPosition(value); return *this;}
240 
241 
246  inline int GetLimit() const{ return m_limit; }
247 
252  inline bool LimitHasBeenSet() const { return m_limitHasBeenSet; }
253 
258  inline void SetLimit(int value) { m_limitHasBeenSet = true; m_limit = value; }
259 
264  inline GetDocumentationPartsRequest& WithLimit(int value) { SetLimit(value); return *this;}
265 
266 
273  inline const LocationStatusType& GetLocationStatus() const{ return m_locationStatus; }
274 
281  inline bool LocationStatusHasBeenSet() const { return m_locationStatusHasBeenSet; }
282 
289  inline void SetLocationStatus(const LocationStatusType& value) { m_locationStatusHasBeenSet = true; m_locationStatus = value; }
290 
297  inline void SetLocationStatus(LocationStatusType&& value) { m_locationStatusHasBeenSet = true; m_locationStatus = std::move(value); }
298 
305  inline GetDocumentationPartsRequest& WithLocationStatus(const LocationStatusType& value) { SetLocationStatus(value); return *this;}
306 
313  inline GetDocumentationPartsRequest& WithLocationStatus(LocationStatusType&& value) { SetLocationStatus(std::move(value)); return *this;}
314 
315  private:
316 
317  Aws::String m_restApiId;
318  bool m_restApiIdHasBeenSet;
319 
320  DocumentationPartType m_type;
321  bool m_typeHasBeenSet;
322 
323  Aws::String m_nameQuery;
324  bool m_nameQueryHasBeenSet;
325 
326  Aws::String m_path;
327  bool m_pathHasBeenSet;
328 
329  Aws::String m_position;
330  bool m_positionHasBeenSet;
331 
332  int m_limit;
333  bool m_limitHasBeenSet;
334 
335  LocationStatusType m_locationStatus;
336  bool m_locationStatusHasBeenSet;
337  };
338 
339 } // namespace Model
340 } // namespace APIGateway
341 } // namespace Aws
Aws::APIGateway::Model::GetDocumentationPartsRequest::SetRestApiId
void SetRestApiId(const Aws::String &value)
Definition: GetDocumentationPartsRequest.h:60
Aws::APIGateway::Model::GetDocumentationPartsRequest::WithRestApiId
GetDocumentationPartsRequest & WithRestApiId(const Aws::String &value)
Definition: GetDocumentationPartsRequest.h:75
Aws::APIGateway::Model::GetDocumentationPartsRequest::WithType
GetDocumentationPartsRequest & WithType(DocumentationPartType &&value)
Definition: GetDocumentationPartsRequest.h:116
Aws::APIGateway::Model::LocationStatusType
LocationStatusType
Definition: LocationStatusType.h:17
Aws::APIGateway::Model::GetDocumentationPartsRequest::SetPosition
void SetPosition(const Aws::String &value)
Definition: GetDocumentationPartsRequest.h:214
Aws::APIGateway::Model::GetDocumentationPartsRequest::GetPosition
const Aws::String & GetPosition() const
Definition: GetDocumentationPartsRequest.h:204
Aws::APIGateway::Model::GetDocumentationPartsRequest::SetNameQuery
void SetNameQuery(const Aws::String &value)
Definition: GetDocumentationPartsRequest.h:132
Aws::Http::URI
Definition: URI.h:32
Aws::APIGateway::Model::GetDocumentationPartsRequest::WithPath
GetDocumentationPartsRequest & WithPath(Aws::String &&value)
Definition: GetDocumentationPartsRequest.h:193
Aws::APIGateway::Model::GetDocumentationPartsRequest::SetLocationStatus
void SetLocationStatus(const LocationStatusType &value)
Definition: GetDocumentationPartsRequest.h:289
AWS_APIGATEWAY_API
#define AWS_APIGATEWAY_API
Definition: APIGateway_EXPORTS.h:28
Aws::APIGateway::Model::GetDocumentationPartsRequest::WithPath
GetDocumentationPartsRequest & WithPath(const char *value)
Definition: GetDocumentationPartsRequest.h:198
Aws::APIGateway::Model::GetDocumentationPartsRequest::SetPosition
void SetPosition(const char *value)
Definition: GetDocumentationPartsRequest.h:224
Aws::APIGateway::Model::GetDocumentationPartsRequest::SetPath
void SetPath(const Aws::String &value)
Definition: GetDocumentationPartsRequest.h:173
Aws::APIGateway::Model::GetDocumentationPartsRequest::SetLimit
void SetLimit(int value)
Definition: GetDocumentationPartsRequest.h:258
Aws::APIGateway::Model::GetDocumentationPartsRequest::PositionHasBeenSet
bool PositionHasBeenSet() const
Definition: GetDocumentationPartsRequest.h:209
APIGateway_EXPORTS.h
Aws::APIGateway::Model::GetDocumentationPartsRequest::SetNameQuery
void SetNameQuery(const char *value)
Definition: GetDocumentationPartsRequest.h:142
Aws::APIGateway::Model::GetDocumentationPartsRequest::GetLimit
int GetLimit() const
Definition: GetDocumentationPartsRequest.h:246
Aws::APIGateway::Model::GetDocumentationPartsRequest::RestApiIdHasBeenSet
bool RestApiIdHasBeenSet() const
Definition: GetDocumentationPartsRequest.h:55
Aws::APIGateway::Model::GetDocumentationPartsRequest::GetNameQuery
const Aws::String & GetNameQuery() const
Definition: GetDocumentationPartsRequest.h:122
Aws::APIGateway::Model::GetDocumentationPartsRequest::WithPosition
GetDocumentationPartsRequest & WithPosition(Aws::String &&value)
Definition: GetDocumentationPartsRequest.h:234
Aws::APIGateway::Model::GetDocumentationPartsRequest::WithPosition
GetDocumentationPartsRequest & WithPosition(const Aws::String &value)
Definition: GetDocumentationPartsRequest.h:229
Aws::APIGateway::Model::GetDocumentationPartsRequest::SetPath
void SetPath(const char *value)
Definition: GetDocumentationPartsRequest.h:183
Aws::APIGateway::Model::GetDocumentationPartsRequest::WithNameQuery
GetDocumentationPartsRequest & WithNameQuery(Aws::String &&value)
Definition: GetDocumentationPartsRequest.h:152
Aws::APIGateway::Model::GetDocumentationPartsRequest::WithRestApiId
GetDocumentationPartsRequest & WithRestApiId(const char *value)
Definition: GetDocumentationPartsRequest.h:85
Aws::APIGateway::Model::GetDocumentationPartsRequest::GetDocumentationPartsRequest
GetDocumentationPartsRequest()
Aws::APIGateway::Model::GetDocumentationPartsRequest::WithRestApiId
GetDocumentationPartsRequest & WithRestApiId(Aws::String &&value)
Definition: GetDocumentationPartsRequest.h:80
APIGatewayRequest.h
Aws::APIGateway::Model::GetDocumentationPartsRequest::WithLimit
GetDocumentationPartsRequest & WithLimit(int value)
Definition: GetDocumentationPartsRequest.h:264
Aws::APIGateway::Model::GetDocumentationPartsRequest::WithPosition
GetDocumentationPartsRequest & WithPosition(const char *value)
Definition: GetDocumentationPartsRequest.h:239
Aws::APIGateway::Model::GetDocumentationPartsRequest::AddQueryStringParameters
void AddQueryStringParameters(Aws::Http::URI &uri) const override
Aws::APIGateway::Model::GetDocumentationPartsRequest::GetLocationStatus
const LocationStatusType & GetLocationStatus() const
Definition: GetDocumentationPartsRequest.h:273
LocationStatusType.h
Aws::APIGateway::Model::GetDocumentationPartsRequest::PathHasBeenSet
bool PathHasBeenSet() const
Definition: GetDocumentationPartsRequest.h:168
Aws::APIGateway::Model::GetDocumentationPartsRequest::LocationStatusHasBeenSet
bool LocationStatusHasBeenSet() const
Definition: GetDocumentationPartsRequest.h:281
Aws::APIGateway::Model::GetDocumentationPartsRequest::GetServiceRequestName
virtual const char * GetServiceRequestName() const override
Definition: GetDocumentationPartsRequest.h:40
DocumentationPartType.h
Aws::APIGateway::Model::GetDocumentationPartsRequest::WithLocationStatus
GetDocumentationPartsRequest & WithLocationStatus(LocationStatusType &&value)
Definition: GetDocumentationPartsRequest.h:313
Aws::APIGateway::Model::GetDocumentationPartsRequest::SetType
void SetType(DocumentationPartType &&value)
Definition: GetDocumentationPartsRequest.h:106
AWSString.h
Aws::APIGateway::Model::GetDocumentationPartsRequest::NameQueryHasBeenSet
bool NameQueryHasBeenSet() const
Definition: GetDocumentationPartsRequest.h:127
Aws::APIGateway::Model::GetDocumentationPartsRequest::GetType
const DocumentationPartType & GetType() const
Definition: GetDocumentationPartsRequest.h:91
Aws::APIGateway::Model::GetDocumentationPartsRequest
Definition: GetDocumentationPartsRequest.h:32
Aws::APIGateway::Model::GetDocumentationPartsRequest::WithLocationStatus
GetDocumentationPartsRequest & WithLocationStatus(const LocationStatusType &value)
Definition: GetDocumentationPartsRequest.h:305
Aws::APIGateway::Model::GetDocumentationPartsRequest::WithNameQuery
GetDocumentationPartsRequest & WithNameQuery(const Aws::String &value)
Definition: GetDocumentationPartsRequest.h:147
Aws::APIGateway::Model::GetDocumentationPartsRequest::SetRestApiId
void SetRestApiId(const char *value)
Definition: GetDocumentationPartsRequest.h:70
Aws::APIGateway::Model::GetDocumentationPartsRequest::SetNameQuery
void SetNameQuery(Aws::String &&value)
Definition: GetDocumentationPartsRequest.h:137
Aws::APIGateway::Model::GetDocumentationPartsRequest::LimitHasBeenSet
bool LimitHasBeenSet() const
Definition: GetDocumentationPartsRequest.h:252
Aws::APIGateway::Model::GetDocumentationPartsRequest::GetRestApiId
const Aws::String & GetRestApiId() const
Definition: GetDocumentationPartsRequest.h:50
Aws::APIGateway::Model::GetDocumentationPartsRequest::SerializePayload
Aws::String SerializePayload() const override
Aws::APIGateway::Model::GetDocumentationPartsRequest::WithType
GetDocumentationPartsRequest & WithType(const DocumentationPartType &value)
Definition: GetDocumentationPartsRequest.h:111
Aws::APIGateway::Model::GetDocumentationPartsRequest::SetPosition
void SetPosition(Aws::String &&value)
Definition: GetDocumentationPartsRequest.h:219
Aws
Definition: AccessManagementClient.h:15
Aws::APIGateway::Model::GetDocumentationPartsRequest::SetLocationStatus
void SetLocationStatus(LocationStatusType &&value)
Definition: GetDocumentationPartsRequest.h:297
Aws::APIGateway::Model::DocumentationPartType
DocumentationPartType
Definition: DocumentationPartType.h:17
Aws::String
std::basic_string< char, std::char_traits< char >, Aws::Allocator< char > > String
Definition: AWSString.h:97
Aws::APIGateway::Model::GetDocumentationPartsRequest::TypeHasBeenSet
bool TypeHasBeenSet() const
Definition: GetDocumentationPartsRequest.h:96
Aws::APIGateway::Model::GetDocumentationPartsRequest::SetType
void SetType(const DocumentationPartType &value)
Definition: GetDocumentationPartsRequest.h:101
Aws::APIGateway::Model::GetDocumentationPartsRequest::GetPath
const Aws::String & GetPath() const
Definition: GetDocumentationPartsRequest.h:163
Aws::APIGateway::Model::GetDocumentationPartsRequest::WithPath
GetDocumentationPartsRequest & WithPath(const Aws::String &value)
Definition: GetDocumentationPartsRequest.h:188
Aws::APIGateway::Model::GetDocumentationPartsRequest::SetPath
void SetPath(Aws::String &&value)
Definition: GetDocumentationPartsRequest.h:178
Aws::APIGateway::Model::GetDocumentationPartsRequest::WithNameQuery
GetDocumentationPartsRequest & WithNameQuery(const char *value)
Definition: GetDocumentationPartsRequest.h:157
Aws::APIGateway::APIGatewayRequest
Definition: APIGatewayRequest.h:18
Aws::APIGateway::Model::GetDocumentationPartsRequest::SetRestApiId
void SetRestApiId(Aws::String &&value)
Definition: GetDocumentationPartsRequest.h:65