AWS SDK for C++

AWS SDK for C++ Version 1.11.767

Loading...
Searching...
No Matches
GetDocumentationPartsRequest.h
1
6#pragma once
7#include <aws/apigateway/APIGatewayRequest.h>
8#include <aws/apigateway/APIGateway_EXPORTS.h>
9#include <aws/apigateway/model/DocumentationPartType.h>
10#include <aws/apigateway/model/LocationStatusType.h>
11#include <aws/core/utils/memory/stl/AWSString.h>
12
13#include <utility>
14
15namespace Aws {
16namespace Http {
17class URI;
18} // namespace Http
19namespace APIGateway {
20namespace Model {
21
29 public:
30 AWS_APIGATEWAY_API GetDocumentationPartsRequest() = default;
31
32 // Service request name is the Operation name which will send this request out,
33 // each operation should has unique request name, so that we can get operation's name from this request.
34 // Note: this is not true for response, multiple operations may have the same response name,
35 // so we can not get operation's name from response.
36 inline virtual const char* GetServiceRequestName() const override { return "GetDocumentationParts"; }
37
38 AWS_APIGATEWAY_API Aws::String SerializePayload() const override;
39
40 AWS_APIGATEWAY_API void AddQueryStringParameters(Aws::Http::URI& uri) const override;
41
43
46 inline const Aws::String& GetRestApiId() const { return m_restApiId; }
47 inline bool RestApiIdHasBeenSet() const { return m_restApiIdHasBeenSet; }
48 template <typename RestApiIdT = Aws::String>
49 void SetRestApiId(RestApiIdT&& value) {
50 m_restApiIdHasBeenSet = true;
51 m_restApiId = std::forward<RestApiIdT>(value);
52 }
53 template <typename RestApiIdT = Aws::String>
55 SetRestApiId(std::forward<RestApiIdT>(value));
56 return *this;
57 }
59
61
64 inline DocumentationPartType GetType() const { return m_type; }
65 inline bool TypeHasBeenSet() const { return m_typeHasBeenSet; }
66 inline void SetType(DocumentationPartType value) {
67 m_typeHasBeenSet = true;
68 m_type = value;
69 }
71 SetType(value);
72 return *this;
73 }
75
77
80 inline const Aws::String& GetNameQuery() const { return m_nameQuery; }
81 inline bool NameQueryHasBeenSet() const { return m_nameQueryHasBeenSet; }
82 template <typename NameQueryT = Aws::String>
83 void SetNameQuery(NameQueryT&& value) {
84 m_nameQueryHasBeenSet = true;
85 m_nameQuery = std::forward<NameQueryT>(value);
86 }
87 template <typename NameQueryT = Aws::String>
89 SetNameQuery(std::forward<NameQueryT>(value));
90 return *this;
91 }
93
95
98 inline const Aws::String& GetPath() const { return m_path; }
99 inline bool PathHasBeenSet() const { return m_pathHasBeenSet; }
100 template <typename PathT = Aws::String>
101 void SetPath(PathT&& value) {
102 m_pathHasBeenSet = true;
103 m_path = std::forward<PathT>(value);
104 }
105 template <typename PathT = Aws::String>
107 SetPath(std::forward<PathT>(value));
108 return *this;
109 }
111
113
116 inline const Aws::String& GetPosition() const { return m_position; }
117 inline bool PositionHasBeenSet() const { return m_positionHasBeenSet; }
118 template <typename PositionT = Aws::String>
119 void SetPosition(PositionT&& value) {
120 m_positionHasBeenSet = true;
121 m_position = std::forward<PositionT>(value);
122 }
123 template <typename PositionT = Aws::String>
125 SetPosition(std::forward<PositionT>(value));
126 return *this;
127 }
129
131
135 inline int GetLimit() const { return m_limit; }
136 inline bool LimitHasBeenSet() const { return m_limitHasBeenSet; }
137 inline void SetLimit(int value) {
138 m_limitHasBeenSet = true;
139 m_limit = value;
140 }
142 SetLimit(value);
143 return *this;
144 }
146
148
154 inline LocationStatusType GetLocationStatus() const { return m_locationStatus; }
155 inline bool LocationStatusHasBeenSet() const { return m_locationStatusHasBeenSet; }
157 m_locationStatusHasBeenSet = true;
158 m_locationStatus = value;
159 }
161 SetLocationStatus(value);
162 return *this;
163 }
165 private:
166 Aws::String m_restApiId;
167
169
170 Aws::String m_nameQuery;
171
172 Aws::String m_path;
173
174 Aws::String m_position;
175
176 int m_limit{0};
177
179 bool m_restApiIdHasBeenSet = false;
180 bool m_typeHasBeenSet = false;
181 bool m_nameQueryHasBeenSet = false;
182 bool m_pathHasBeenSet = false;
183 bool m_positionHasBeenSet = false;
184 bool m_limitHasBeenSet = false;
185 bool m_locationStatusHasBeenSet = false;
186};
187
188} // namespace Model
189} // namespace APIGateway
190} // namespace Aws
GetDocumentationPartsRequest & WithRestApiId(RestApiIdT &&value)
GetDocumentationPartsRequest & WithNameQuery(NameQueryT &&value)
GetDocumentationPartsRequest & WithType(DocumentationPartType value)
GetDocumentationPartsRequest & WithPath(PathT &&value)
AWS_APIGATEWAY_API Aws::String SerializePayload() const override
AWS_APIGATEWAY_API GetDocumentationPartsRequest()=default
GetDocumentationPartsRequest & WithPosition(PositionT &&value)
AWS_APIGATEWAY_API void AddQueryStringParameters(Aws::Http::URI &uri) const override
GetDocumentationPartsRequest & WithLocationStatus(LocationStatusType value)
std::basic_string< char, std::char_traits< char >, Aws::Allocator< char > > String