AWS SDK for C++

AWS SDK for C++ Version 1.11.607

Loading...
Searching...
No Matches
GetRequestValidatorsRequest.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
30 {
31 public:
32 AWS_APIGATEWAY_API GetRequestValidatorsRequest() = default;
33
34 // Service request name is the Operation name which will send this request out,
35 // each operation should has unique request name, so that we can get operation's name from this request.
36 // Note: this is not true for response, multiple operations may have the same response name,
37 // so we can not get operation's name from response.
38 inline virtual const char* GetServiceRequestName() const override { return "GetRequestValidators"; }
39
40 AWS_APIGATEWAY_API Aws::String SerializePayload() const override;
41
42 AWS_APIGATEWAY_API void AddQueryStringParameters(Aws::Http::URI& uri) const override;
43
44
46
49 inline const Aws::String& GetRestApiId() const { return m_restApiId; }
50 inline bool RestApiIdHasBeenSet() const { return m_restApiIdHasBeenSet; }
51 template<typename RestApiIdT = Aws::String>
52 void SetRestApiId(RestApiIdT&& value) { m_restApiIdHasBeenSet = true; m_restApiId = std::forward<RestApiIdT>(value); }
53 template<typename RestApiIdT = Aws::String>
54 GetRequestValidatorsRequest& WithRestApiId(RestApiIdT&& value) { SetRestApiId(std::forward<RestApiIdT>(value)); return *this;}
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) { m_positionHasBeenSet = true; m_position = std::forward<PositionT>(value); }
65 template<typename PositionT = Aws::String>
66 GetRequestValidatorsRequest& WithPosition(PositionT&& value) { SetPosition(std::forward<PositionT>(value)); return *this;}
68
70
74 inline int GetLimit() const { return m_limit; }
75 inline bool LimitHasBeenSet() const { return m_limitHasBeenSet; }
76 inline void SetLimit(int value) { m_limitHasBeenSet = true; m_limit = value; }
77 inline GetRequestValidatorsRequest& WithLimit(int value) { SetLimit(value); return *this;}
79 private:
80
81 Aws::String m_restApiId;
82 bool m_restApiIdHasBeenSet = false;
83
84 Aws::String m_position;
85 bool m_positionHasBeenSet = false;
86
87 int m_limit{0};
88 bool m_limitHasBeenSet = false;
89 };
90
91} // namespace Model
92} // namespace APIGateway
93} // namespace Aws
AWS_APIGATEWAY_API void AddQueryStringParameters(Aws::Http::URI &uri) const override
GetRequestValidatorsRequest & WithPosition(PositionT &&value)
AWS_APIGATEWAY_API Aws::String SerializePayload() const override
AWS_APIGATEWAY_API GetRequestValidatorsRequest()=default
GetRequestValidatorsRequest & WithRestApiId(RestApiIdT &&value)
std::basic_string< char, std::char_traits< char >, Aws::Allocator< char > > String