AWS SDK for C++

AWS SDK for C++ Version 1.11.607

Loading...
Searching...
No Matches
GetGatewayResponsesRequest.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
32 {
33 public:
34 AWS_APIGATEWAY_API GetGatewayResponsesRequest() = 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 "GetGatewayResponses"; }
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 GetGatewayResponsesRequest& WithRestApiId(RestApiIdT&& value) { SetRestApiId(std::forward<RestApiIdT>(value)); return *this;}
58
60
64 inline const Aws::String& GetPosition() const { return m_position; }
65 inline bool PositionHasBeenSet() const { return m_positionHasBeenSet; }
66 template<typename PositionT = Aws::String>
67 void SetPosition(PositionT&& value) { m_positionHasBeenSet = true; m_position = std::forward<PositionT>(value); }
68 template<typename PositionT = Aws::String>
69 GetGatewayResponsesRequest& WithPosition(PositionT&& value) { SetPosition(std::forward<PositionT>(value)); return *this;}
71
73
78 inline int GetLimit() const { return m_limit; }
79 inline bool LimitHasBeenSet() const { return m_limitHasBeenSet; }
80 inline void SetLimit(int value) { m_limitHasBeenSet = true; m_limit = value; }
81 inline GetGatewayResponsesRequest& WithLimit(int value) { SetLimit(value); return *this;}
83 private:
84
85 Aws::String m_restApiId;
86 bool m_restApiIdHasBeenSet = false;
87
88 Aws::String m_position;
89 bool m_positionHasBeenSet = false;
90
91 int m_limit{0};
92 bool m_limitHasBeenSet = false;
93 };
94
95} // namespace Model
96} // namespace APIGateway
97} // 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