AWS SDK for C++

AWS SDK for C++ Version 1.11.767

Loading...
Searching...
No Matches
GetDocumentationVersionsRequest.h
1
6#pragma once
7#include <aws/apigateway/APIGatewayRequest.h>
8#include <aws/apigateway/APIGateway_EXPORTS.h>
9#include <aws/core/utils/memory/stl/AWSString.h>
10
11#include <utility>
12
13namespace Aws {
14namespace Http {
15class URI;
16} // namespace Http
17namespace APIGateway {
18namespace Model {
19
26 public:
27 AWS_APIGATEWAY_API GetDocumentationVersionsRequest() = default;
28
29 // Service request name is the Operation name which will send this request out,
30 // each operation should has unique request name, so that we can get operation's name from this request.
31 // Note: this is not true for response, multiple operations may have the same response name,
32 // so we can not get operation's name from response.
33 inline virtual const char* GetServiceRequestName() const override { return "GetDocumentationVersions"; }
34
35 AWS_APIGATEWAY_API Aws::String SerializePayload() const override;
36
37 AWS_APIGATEWAY_API void AddQueryStringParameters(Aws::Http::URI& uri) const override;
38
40
43 inline const Aws::String& GetRestApiId() const { return m_restApiId; }
44 inline bool RestApiIdHasBeenSet() const { return m_restApiIdHasBeenSet; }
45 template <typename RestApiIdT = Aws::String>
46 void SetRestApiId(RestApiIdT&& value) {
47 m_restApiIdHasBeenSet = true;
48 m_restApiId = std::forward<RestApiIdT>(value);
49 }
50 template <typename RestApiIdT = Aws::String>
52 SetRestApiId(std::forward<RestApiIdT>(value));
53 return *this;
54 }
56
58
61 inline const Aws::String& GetPosition() const { return m_position; }
62 inline bool PositionHasBeenSet() const { return m_positionHasBeenSet; }
63 template <typename PositionT = Aws::String>
64 void SetPosition(PositionT&& value) {
65 m_positionHasBeenSet = true;
66 m_position = std::forward<PositionT>(value);
67 }
68 template <typename PositionT = Aws::String>
70 SetPosition(std::forward<PositionT>(value));
71 return *this;
72 }
74
76
80 inline int GetLimit() const { return m_limit; }
81 inline bool LimitHasBeenSet() const { return m_limitHasBeenSet; }
82 inline void SetLimit(int value) {
83 m_limitHasBeenSet = true;
84 m_limit = value;
85 }
87 SetLimit(value);
88 return *this;
89 }
91 private:
92 Aws::String m_restApiId;
93
94 Aws::String m_position;
95
96 int m_limit{0};
97 bool m_restApiIdHasBeenSet = false;
98 bool m_positionHasBeenSet = false;
99 bool m_limitHasBeenSet = false;
100};
101
102} // namespace Model
103} // namespace APIGateway
104} // namespace Aws
AWS_APIGATEWAY_API Aws::String SerializePayload() const override
GetDocumentationVersionsRequest & WithRestApiId(RestApiIdT &&value)
GetDocumentationVersionsRequest & WithPosition(PositionT &&value)
AWS_APIGATEWAY_API GetDocumentationVersionsRequest()=default
AWS_APIGATEWAY_API void AddQueryStringParameters(Aws::Http::URI &uri) const override
std::basic_string< char, std::char_traits< char >, Aws::Allocator< char > > String