AWS SDK for C++  1.9.44
AWS SDK for C++
GetRestApisRequest.h
Go to the documentation of this file.
1 
6 #pragma once
10 #include <utility>
11 
12 namespace Aws
13 {
14 namespace Http
15 {
16  class URI;
17 } //namespace Http
18 namespace APIGateway
19 {
20 namespace Model
21 {
22 
30  {
31  public:
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 "GetRestApis"; }
39 
40  Aws::String SerializePayload() const override;
41 
42  void AddQueryStringParameters(Aws::Http::URI& uri) const override;
43 
44 
48  inline const Aws::String& GetPosition() const{ return m_position; }
49 
53  inline bool PositionHasBeenSet() const { return m_positionHasBeenSet; }
54 
58  inline void SetPosition(const Aws::String& value) { m_positionHasBeenSet = true; m_position = value; }
59 
63  inline void SetPosition(Aws::String&& value) { m_positionHasBeenSet = true; m_position = std::move(value); }
64 
68  inline void SetPosition(const char* value) { m_positionHasBeenSet = true; m_position.assign(value); }
69 
73  inline GetRestApisRequest& WithPosition(const Aws::String& value) { SetPosition(value); return *this;}
74 
78  inline GetRestApisRequest& WithPosition(Aws::String&& value) { SetPosition(std::move(value)); return *this;}
79 
83  inline GetRestApisRequest& WithPosition(const char* value) { SetPosition(value); return *this;}
84 
85 
90  inline int GetLimit() const{ return m_limit; }
91 
96  inline bool LimitHasBeenSet() const { return m_limitHasBeenSet; }
97 
102  inline void SetLimit(int value) { m_limitHasBeenSet = true; m_limit = value; }
103 
108  inline GetRestApisRequest& WithLimit(int value) { SetLimit(value); return *this;}
109 
110  private:
111 
112  Aws::String m_position;
113  bool m_positionHasBeenSet;
114 
115  int m_limit;
116  bool m_limitHasBeenSet;
117  };
118 
119 } // namespace Model
120 } // namespace APIGateway
121 } // namespace Aws
Aws::APIGateway::Model::GetRestApisRequest::WithPosition
GetRestApisRequest & WithPosition(const Aws::String &value)
Definition: GetRestApisRequest.h:73
Aws::Http::URI
Definition: URI.h:32
Aws::APIGateway::Model::GetRestApisRequest::SetLimit
void SetLimit(int value)
Definition: GetRestApisRequest.h:102
Aws::APIGateway::Model::GetRestApisRequest::WithPosition
GetRestApisRequest & WithPosition(Aws::String &&value)
Definition: GetRestApisRequest.h:78
AWS_APIGATEWAY_API
#define AWS_APIGATEWAY_API
Definition: APIGateway_EXPORTS.h:28
Aws::APIGateway::Model::GetRestApisRequest::GetRestApisRequest
GetRestApisRequest()
Aws::APIGateway::Model::GetRestApisRequest::SetPosition
void SetPosition(Aws::String &&value)
Definition: GetRestApisRequest.h:63
APIGateway_EXPORTS.h
Aws::APIGateway::Model::GetRestApisRequest::PositionHasBeenSet
bool PositionHasBeenSet() const
Definition: GetRestApisRequest.h:53
Aws::APIGateway::Model::GetRestApisRequest::WithPosition
GetRestApisRequest & WithPosition(const char *value)
Definition: GetRestApisRequest.h:83
APIGatewayRequest.h
Aws::APIGateway::Model::GetRestApisRequest
Definition: GetRestApisRequest.h:30
Aws::APIGateway::Model::GetRestApisRequest::SetPosition
void SetPosition(const char *value)
Definition: GetRestApisRequest.h:68
Aws::APIGateway::Model::GetRestApisRequest::GetPosition
const Aws::String & GetPosition() const
Definition: GetRestApisRequest.h:48
Aws::APIGateway::Model::GetRestApisRequest::AddQueryStringParameters
void AddQueryStringParameters(Aws::Http::URI &uri) const override
AWSString.h
Aws::APIGateway::Model::GetRestApisRequest::GetLimit
int GetLimit() const
Definition: GetRestApisRequest.h:90
Aws::APIGateway::Model::GetRestApisRequest::SerializePayload
Aws::String SerializePayload() const override
Aws::APIGateway::Model::GetRestApisRequest::LimitHasBeenSet
bool LimitHasBeenSet() const
Definition: GetRestApisRequest.h:96
Aws::APIGateway::Model::GetRestApisRequest::WithLimit
GetRestApisRequest & WithLimit(int value)
Definition: GetRestApisRequest.h:108
Aws
Definition: AccessManagementClient.h:15
Aws::String
std::basic_string< char, std::char_traits< char >, Aws::Allocator< char > > String
Definition: AWSString.h:97
Aws::APIGateway::Model::GetRestApisRequest::SetPosition
void SetPosition(const Aws::String &value)
Definition: GetRestApisRequest.h:58
Aws::APIGateway::Model::GetRestApisRequest::GetServiceRequestName
virtual const char * GetServiceRequestName() const override
Definition: GetRestApisRequest.h:38
Aws::APIGateway::APIGatewayRequest
Definition: APIGatewayRequest.h:18