AWS SDK for C++

AWS SDK for C++ Version 1.11.607

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() = default;
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 template<typename RestApiIdT = Aws::String>
54 void SetRestApiId(RestApiIdT&& value) { m_restApiIdHasBeenSet = true; m_restApiId = std::forward<RestApiIdT>(value); }
55 template<typename RestApiIdT = Aws::String>
56 GetDocumentationPartsRequest& WithRestApiId(RestApiIdT&& value) { SetRestApiId(std::forward<RestApiIdT>(value)); return *this;}
58
60
63 inline DocumentationPartType GetType() const { return m_type; }
64 inline bool TypeHasBeenSet() const { return m_typeHasBeenSet; }
65 inline void SetType(DocumentationPartType value) { m_typeHasBeenSet = true; m_type = value; }
68
70
73 inline const Aws::String& GetNameQuery() const { return m_nameQuery; }
74 inline bool NameQueryHasBeenSet() const { return m_nameQueryHasBeenSet; }
75 template<typename NameQueryT = Aws::String>
76 void SetNameQuery(NameQueryT&& value) { m_nameQueryHasBeenSet = true; m_nameQuery = std::forward<NameQueryT>(value); }
77 template<typename NameQueryT = Aws::String>
78 GetDocumentationPartsRequest& WithNameQuery(NameQueryT&& value) { SetNameQuery(std::forward<NameQueryT>(value)); return *this;}
80
82
85 inline const Aws::String& GetPath() const { return m_path; }
86 inline bool PathHasBeenSet() const { return m_pathHasBeenSet; }
87 template<typename PathT = Aws::String>
88 void SetPath(PathT&& value) { m_pathHasBeenSet = true; m_path = std::forward<PathT>(value); }
89 template<typename PathT = Aws::String>
90 GetDocumentationPartsRequest& WithPath(PathT&& value) { SetPath(std::forward<PathT>(value)); return *this;}
92
94
97 inline const Aws::String& GetPosition() const { return m_position; }
98 inline bool PositionHasBeenSet() const { return m_positionHasBeenSet; }
99 template<typename PositionT = Aws::String>
100 void SetPosition(PositionT&& value) { m_positionHasBeenSet = true; m_position = std::forward<PositionT>(value); }
101 template<typename PositionT = Aws::String>
102 GetDocumentationPartsRequest& WithPosition(PositionT&& value) { SetPosition(std::forward<PositionT>(value)); return *this;}
104
106
110 inline int GetLimit() const { return m_limit; }
111 inline bool LimitHasBeenSet() const { return m_limitHasBeenSet; }
112 inline void SetLimit(int value) { m_limitHasBeenSet = true; m_limit = value; }
113 inline GetDocumentationPartsRequest& WithLimit(int value) { SetLimit(value); return *this;}
115
117
123 inline LocationStatusType GetLocationStatus() const { return m_locationStatus; }
124 inline bool LocationStatusHasBeenSet() const { return m_locationStatusHasBeenSet; }
125 inline void SetLocationStatus(LocationStatusType value) { m_locationStatusHasBeenSet = true; m_locationStatus = value; }
128 private:
129
130 Aws::String m_restApiId;
131 bool m_restApiIdHasBeenSet = false;
132
134 bool m_typeHasBeenSet = false;
135
136 Aws::String m_nameQuery;
137 bool m_nameQueryHasBeenSet = false;
138
139 Aws::String m_path;
140 bool m_pathHasBeenSet = false;
141
142 Aws::String m_position;
143 bool m_positionHasBeenSet = false;
144
145 int m_limit{0};
146 bool m_limitHasBeenSet = false;
147
149 bool m_locationStatusHasBeenSet = false;
150 };
151
152} // namespace Model
153} // namespace APIGateway
154} // 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