AWS SDK for C++

AWS SDK for C++ Version 1.11.607

Loading...
Searching...
No Matches
GetDocumentationVersionsRequest.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 <utility>
11
12namespace Aws
13{
14namespace Http
15{
16 class URI;
17} //namespace Http
18namespace APIGateway
19{
20namespace Model
21{
22
29 {
30 public:
31 AWS_APIGATEWAY_API GetDocumentationVersionsRequest() = default;
32
33 // Service request name is the Operation name which will send this request out,
34 // each operation should has unique request name, so that we can get operation's name from this request.
35 // Note: this is not true for response, multiple operations may have the same response name,
36 // so we can not get operation's name from response.
37 inline virtual const char* GetServiceRequestName() const override { return "GetDocumentationVersions"; }
38
39 AWS_APIGATEWAY_API Aws::String SerializePayload() const override;
40
41 AWS_APIGATEWAY_API void AddQueryStringParameters(Aws::Http::URI& uri) const override;
42
43
45
48 inline const Aws::String& GetRestApiId() const { return m_restApiId; }
49 inline bool RestApiIdHasBeenSet() const { return m_restApiIdHasBeenSet; }
50 template<typename RestApiIdT = Aws::String>
51 void SetRestApiId(RestApiIdT&& value) { m_restApiIdHasBeenSet = true; m_restApiId = std::forward<RestApiIdT>(value); }
52 template<typename RestApiIdT = Aws::String>
53 GetDocumentationVersionsRequest& WithRestApiId(RestApiIdT&& value) { SetRestApiId(std::forward<RestApiIdT>(value)); return *this;}
55
57
60 inline const Aws::String& GetPosition() const { return m_position; }
61 inline bool PositionHasBeenSet() const { return m_positionHasBeenSet; }
62 template<typename PositionT = Aws::String>
63 void SetPosition(PositionT&& value) { m_positionHasBeenSet = true; m_position = std::forward<PositionT>(value); }
64 template<typename PositionT = Aws::String>
65 GetDocumentationVersionsRequest& WithPosition(PositionT&& value) { SetPosition(std::forward<PositionT>(value)); return *this;}
67
69
73 inline int GetLimit() const { return m_limit; }
74 inline bool LimitHasBeenSet() const { return m_limitHasBeenSet; }
75 inline void SetLimit(int value) { m_limitHasBeenSet = true; m_limit = value; }
76 inline GetDocumentationVersionsRequest& WithLimit(int value) { SetLimit(value); return *this;}
78 private:
79
80 Aws::String m_restApiId;
81 bool m_restApiIdHasBeenSet = false;
82
83 Aws::String m_position;
84 bool m_positionHasBeenSet = false;
85
86 int m_limit{0};
87 bool m_limitHasBeenSet = false;
88 };
89
90} // namespace Model
91} // namespace APIGateway
92} // 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