AWS SDK for C++

AWS SDK for C++ Version 1.11.767

Loading...
Searching...
No Matches
GetGatewayResponsesRequest.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
29 public:
30 AWS_APIGATEWAY_API GetGatewayResponsesRequest() = 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 "GetGatewayResponses"; }
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
65 inline const Aws::String& GetPosition() const { return m_position; }
66 inline bool PositionHasBeenSet() const { return m_positionHasBeenSet; }
67 template <typename PositionT = Aws::String>
68 void SetPosition(PositionT&& value) {
69 m_positionHasBeenSet = true;
70 m_position = std::forward<PositionT>(value);
71 }
72 template <typename PositionT = Aws::String>
74 SetPosition(std::forward<PositionT>(value));
75 return *this;
76 }
78
80
85 inline int GetLimit() const { return m_limit; }
86 inline bool LimitHasBeenSet() const { return m_limitHasBeenSet; }
87 inline void SetLimit(int value) {
88 m_limitHasBeenSet = true;
89 m_limit = value;
90 }
92 SetLimit(value);
93 return *this;
94 }
96 private:
97 Aws::String m_restApiId;
98
99 Aws::String m_position;
100
101 int m_limit{0};
102 bool m_restApiIdHasBeenSet = false;
103 bool m_positionHasBeenSet = false;
104 bool m_limitHasBeenSet = false;
105};
106
107} // namespace Model
108} // namespace APIGateway
109} // namespace Aws
AWS_APIGATEWAY_API void AddQueryStringParameters(Aws::Http::URI &uri) const override
virtual const char * GetServiceRequestName() const override
GetGatewayResponsesRequest & WithRestApiId(RestApiIdT &&value)
AWS_APIGATEWAY_API Aws::String SerializePayload() const override
GetGatewayResponsesRequest & WithPosition(PositionT &&value)
AWS_APIGATEWAY_API GetGatewayResponsesRequest()=default
std::basic_string< char, std::char_traits< char >, Aws::Allocator< char > > String