AWS SDK for C++

AWS SDK for C++ Version 1.11.440

Loading...
Searching...
No Matches
GetDocumentationPartsRequest.h
1
6#pragma once
7#include <aws/apigateway/APIGateway_EXPORTS.h>
8#include <aws/apigateway/APIGatewayRequest.h>
9#include <aws/core/utils/memory/stl/AWSString.h>
10#include <aws/apigateway/model/DocumentationPartType.h>
11#include <aws/apigateway/model/LocationStatusType.h>
12#include <utility>
13
14namespace Aws
15{
16namespace Http
17{
18 class URI;
19} //namespace Http
20namespace APIGateway
21{
22namespace Model
23{
24
32 {
33 public:
34 AWS_APIGATEWAY_API GetDocumentationPartsRequest();
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_APIGATEWAY_API Aws::String SerializePayload() const override;
43
44 AWS_APIGATEWAY_API void AddQueryStringParameters(Aws::Http::URI& uri) const override;
45
46
48
51 inline const Aws::String& GetRestApiId() const{ return m_restApiId; }
52 inline bool RestApiIdHasBeenSet() const { return m_restApiIdHasBeenSet; }
53 inline void SetRestApiId(const Aws::String& value) { m_restApiIdHasBeenSet = true; m_restApiId = value; }
54 inline void SetRestApiId(Aws::String&& value) { m_restApiIdHasBeenSet = true; m_restApiId = std::move(value); }
55 inline void SetRestApiId(const char* value) { m_restApiIdHasBeenSet = true; m_restApiId.assign(value); }
56 inline GetDocumentationPartsRequest& WithRestApiId(const Aws::String& value) { SetRestApiId(value); return *this;}
57 inline GetDocumentationPartsRequest& WithRestApiId(Aws::String&& value) { SetRestApiId(std::move(value)); return *this;}
58 inline GetDocumentationPartsRequest& WithRestApiId(const char* value) { SetRestApiId(value); return *this;}
60
62
65 inline const DocumentationPartType& GetType() const{ return m_type; }
66 inline bool TypeHasBeenSet() const { return m_typeHasBeenSet; }
67 inline void SetType(const DocumentationPartType& value) { m_typeHasBeenSet = true; m_type = value; }
68 inline void SetType(DocumentationPartType&& value) { m_typeHasBeenSet = true; m_type = std::move(value); }
69 inline GetDocumentationPartsRequest& WithType(const DocumentationPartType& value) { SetType(value); return *this;}
70 inline GetDocumentationPartsRequest& WithType(DocumentationPartType&& value) { SetType(std::move(value)); return *this;}
72
74
77 inline const Aws::String& GetNameQuery() const{ return m_nameQuery; }
78 inline bool NameQueryHasBeenSet() const { return m_nameQueryHasBeenSet; }
79 inline void SetNameQuery(const Aws::String& value) { m_nameQueryHasBeenSet = true; m_nameQuery = value; }
80 inline void SetNameQuery(Aws::String&& value) { m_nameQueryHasBeenSet = true; m_nameQuery = std::move(value); }
81 inline void SetNameQuery(const char* value) { m_nameQueryHasBeenSet = true; m_nameQuery.assign(value); }
82 inline GetDocumentationPartsRequest& WithNameQuery(const Aws::String& value) { SetNameQuery(value); return *this;}
83 inline GetDocumentationPartsRequest& WithNameQuery(Aws::String&& value) { SetNameQuery(std::move(value)); return *this;}
84 inline GetDocumentationPartsRequest& WithNameQuery(const char* value) { SetNameQuery(value); return *this;}
86
88
91 inline const Aws::String& GetPath() const{ return m_path; }
92 inline bool PathHasBeenSet() const { return m_pathHasBeenSet; }
93 inline void SetPath(const Aws::String& value) { m_pathHasBeenSet = true; m_path = value; }
94 inline void SetPath(Aws::String&& value) { m_pathHasBeenSet = true; m_path = std::move(value); }
95 inline void SetPath(const char* value) { m_pathHasBeenSet = true; m_path.assign(value); }
96 inline GetDocumentationPartsRequest& WithPath(const Aws::String& value) { SetPath(value); return *this;}
97 inline GetDocumentationPartsRequest& WithPath(Aws::String&& value) { SetPath(std::move(value)); return *this;}
98 inline GetDocumentationPartsRequest& WithPath(const char* value) { SetPath(value); return *this;}
100
102
105 inline const Aws::String& GetPosition() const{ return m_position; }
106 inline bool PositionHasBeenSet() const { return m_positionHasBeenSet; }
107 inline void SetPosition(const Aws::String& value) { m_positionHasBeenSet = true; m_position = value; }
108 inline void SetPosition(Aws::String&& value) { m_positionHasBeenSet = true; m_position = std::move(value); }
109 inline void SetPosition(const char* value) { m_positionHasBeenSet = true; m_position.assign(value); }
110 inline GetDocumentationPartsRequest& WithPosition(const Aws::String& value) { SetPosition(value); return *this;}
111 inline GetDocumentationPartsRequest& WithPosition(Aws::String&& value) { SetPosition(std::move(value)); return *this;}
112 inline GetDocumentationPartsRequest& WithPosition(const char* value) { SetPosition(value); return *this;}
114
116
120 inline int GetLimit() const{ return m_limit; }
121 inline bool LimitHasBeenSet() const { return m_limitHasBeenSet; }
122 inline void SetLimit(int value) { m_limitHasBeenSet = true; m_limit = value; }
123 inline GetDocumentationPartsRequest& WithLimit(int value) { SetLimit(value); return *this;}
125
127
133 inline const LocationStatusType& GetLocationStatus() const{ return m_locationStatus; }
134 inline bool LocationStatusHasBeenSet() const { return m_locationStatusHasBeenSet; }
135 inline void SetLocationStatus(const LocationStatusType& value) { m_locationStatusHasBeenSet = true; m_locationStatus = value; }
136 inline void SetLocationStatus(LocationStatusType&& value) { m_locationStatusHasBeenSet = true; m_locationStatus = std::move(value); }
138 inline GetDocumentationPartsRequest& WithLocationStatus(LocationStatusType&& value) { SetLocationStatus(std::move(value)); return *this;}
140 private:
141
142 Aws::String m_restApiId;
143 bool m_restApiIdHasBeenSet = false;
144
146 bool m_typeHasBeenSet = false;
147
148 Aws::String m_nameQuery;
149 bool m_nameQueryHasBeenSet = false;
150
151 Aws::String m_path;
152 bool m_pathHasBeenSet = false;
153
154 Aws::String m_position;
155 bool m_positionHasBeenSet = false;
156
157 int m_limit;
158 bool m_limitHasBeenSet = false;
159
160 LocationStatusType m_locationStatus;
161 bool m_locationStatusHasBeenSet = false;
162 };
163
164} // namespace Model
165} // namespace APIGateway
166} // namespace Aws
GetDocumentationPartsRequest & WithPosition(const char *value)
GetDocumentationPartsRequest & WithNameQuery(const Aws::String &value)
GetDocumentationPartsRequest & WithNameQuery(Aws::String &&value)
GetDocumentationPartsRequest & WithPath(const Aws::String &value)
GetDocumentationPartsRequest & WithRestApiId(const char *value)
GetDocumentationPartsRequest & WithPosition(const Aws::String &value)
GetDocumentationPartsRequest & WithPath(Aws::String &&value)
GetDocumentationPartsRequest & WithLocationStatus(const LocationStatusType &value)
GetDocumentationPartsRequest & WithRestApiId(Aws::String &&value)
GetDocumentationPartsRequest & WithType(const DocumentationPartType &value)
GetDocumentationPartsRequest & WithLocationStatus(LocationStatusType &&value)
AWS_APIGATEWAY_API Aws::String SerializePayload() const override
GetDocumentationPartsRequest & WithNameQuery(const char *value)
GetDocumentationPartsRequest & WithType(DocumentationPartType &&value)
GetDocumentationPartsRequest & WithRestApiId(const Aws::String &value)
AWS_APIGATEWAY_API void AddQueryStringParameters(Aws::Http::URI &uri) const override
GetDocumentationPartsRequest & WithPosition(Aws::String &&value)
GetDocumentationPartsRequest & WithPath(const char *value)
std::basic_string< char, std::char_traits< char >, Aws::Allocator< char > > String