AWS SDK for C++  1.9.18
AWS SDK for C++
GetBasePathMappingsRequest.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 "GetBasePathMappings"; }
39 
40  Aws::String SerializePayload() const override;
41 
42  void AddQueryStringParameters(Aws::Http::URI& uri) const override;
43 
44 
48  inline const Aws::String& GetDomainName() const{ return m_domainName; }
49 
53  inline bool DomainNameHasBeenSet() const { return m_domainNameHasBeenSet; }
54 
58  inline void SetDomainName(const Aws::String& value) { m_domainNameHasBeenSet = true; m_domainName = value; }
59 
63  inline void SetDomainName(Aws::String&& value) { m_domainNameHasBeenSet = true; m_domainName = std::move(value); }
64 
68  inline void SetDomainName(const char* value) { m_domainNameHasBeenSet = true; m_domainName.assign(value); }
69 
73  inline GetBasePathMappingsRequest& WithDomainName(const Aws::String& value) { SetDomainName(value); return *this;}
74 
78  inline GetBasePathMappingsRequest& WithDomainName(Aws::String&& value) { SetDomainName(std::move(value)); return *this;}
79 
83  inline GetBasePathMappingsRequest& WithDomainName(const char* value) { SetDomainName(value); return *this;}
84 
85 
89  inline const Aws::String& GetPosition() const{ return m_position; }
90 
94  inline bool PositionHasBeenSet() const { return m_positionHasBeenSet; }
95 
99  inline void SetPosition(const Aws::String& value) { m_positionHasBeenSet = true; m_position = value; }
100 
104  inline void SetPosition(Aws::String&& value) { m_positionHasBeenSet = true; m_position = std::move(value); }
105 
109  inline void SetPosition(const char* value) { m_positionHasBeenSet = true; m_position.assign(value); }
110 
114  inline GetBasePathMappingsRequest& WithPosition(const Aws::String& value) { SetPosition(value); return *this;}
115 
119  inline GetBasePathMappingsRequest& WithPosition(Aws::String&& value) { SetPosition(std::move(value)); return *this;}
120 
124  inline GetBasePathMappingsRequest& WithPosition(const char* value) { SetPosition(value); return *this;}
125 
126 
131  inline int GetLimit() const{ return m_limit; }
132 
137  inline bool LimitHasBeenSet() const { return m_limitHasBeenSet; }
138 
143  inline void SetLimit(int value) { m_limitHasBeenSet = true; m_limit = value; }
144 
149  inline GetBasePathMappingsRequest& WithLimit(int value) { SetLimit(value); return *this;}
150 
151  private:
152 
153  Aws::String m_domainName;
154  bool m_domainNameHasBeenSet;
155 
156  Aws::String m_position;
157  bool m_positionHasBeenSet;
158 
159  int m_limit;
160  bool m_limitHasBeenSet;
161  };
162 
163 } // namespace Model
164 } // namespace APIGateway
165 } // namespace Aws
Aws::APIGateway::Model::GetBasePathMappingsRequest::WithLimit
GetBasePathMappingsRequest & WithLimit(int value)
Definition: GetBasePathMappingsRequest.h:149
Aws::Http::URI
Definition: URI.h:32
AWS_APIGATEWAY_API
#define AWS_APIGATEWAY_API
Definition: APIGateway_EXPORTS.h:28
Aws::APIGateway::Model::GetBasePathMappingsRequest::WithPosition
GetBasePathMappingsRequest & WithPosition(Aws::String &&value)
Definition: GetBasePathMappingsRequest.h:119
Aws::APIGateway::Model::GetBasePathMappingsRequest::SerializePayload
Aws::String SerializePayload() const override
Aws::APIGateway::Model::GetBasePathMappingsRequest::GetBasePathMappingsRequest
GetBasePathMappingsRequest()
Aws::APIGateway::Model::GetBasePathMappingsRequest::SetDomainName
void SetDomainName(const Aws::String &value)
Definition: GetBasePathMappingsRequest.h:58
Aws::APIGateway::Model::GetBasePathMappingsRequest::SetLimit
void SetLimit(int value)
Definition: GetBasePathMappingsRequest.h:143
APIGateway_EXPORTS.h
Aws::APIGateway::Model::GetBasePathMappingsRequest::WithDomainName
GetBasePathMappingsRequest & WithDomainName(Aws::String &&value)
Definition: GetBasePathMappingsRequest.h:78
Aws::APIGateway::Model::GetBasePathMappingsRequest::WithPosition
GetBasePathMappingsRequest & WithPosition(const char *value)
Definition: GetBasePathMappingsRequest.h:124
Aws::APIGateway::Model::GetBasePathMappingsRequest::SetPosition
void SetPosition(Aws::String &&value)
Definition: GetBasePathMappingsRequest.h:104
Aws::APIGateway::Model::GetBasePathMappingsRequest::GetPosition
const Aws::String & GetPosition() const
Definition: GetBasePathMappingsRequest.h:89
Aws::APIGateway::Model::GetBasePathMappingsRequest::GetLimit
int GetLimit() const
Definition: GetBasePathMappingsRequest.h:131
Aws::APIGateway::Model::GetBasePathMappingsRequest::WithPosition
GetBasePathMappingsRequest & WithPosition(const Aws::String &value)
Definition: GetBasePathMappingsRequest.h:114
APIGatewayRequest.h
Aws::APIGateway::Model::GetBasePathMappingsRequest::LimitHasBeenSet
bool LimitHasBeenSet() const
Definition: GetBasePathMappingsRequest.h:137
Aws::APIGateway::Model::GetBasePathMappingsRequest::GetDomainName
const Aws::String & GetDomainName() const
Definition: GetBasePathMappingsRequest.h:48
Aws::APIGateway::Model::GetBasePathMappingsRequest::AddQueryStringParameters
void AddQueryStringParameters(Aws::Http::URI &uri) const override
Aws::APIGateway::Model::GetBasePathMappingsRequest::DomainNameHasBeenSet
bool DomainNameHasBeenSet() const
Definition: GetBasePathMappingsRequest.h:53
Aws::APIGateway::Model::GetBasePathMappingsRequest::SetDomainName
void SetDomainName(Aws::String &&value)
Definition: GetBasePathMappingsRequest.h:63
Aws::APIGateway::Model::GetBasePathMappingsRequest::WithDomainName
GetBasePathMappingsRequest & WithDomainName(const Aws::String &value)
Definition: GetBasePathMappingsRequest.h:73
AWSString.h
Aws::APIGateway::Model::GetBasePathMappingsRequest::SetPosition
void SetPosition(const char *value)
Definition: GetBasePathMappingsRequest.h:109
Aws::APIGateway::Model::GetBasePathMappingsRequest::SetPosition
void SetPosition(const Aws::String &value)
Definition: GetBasePathMappingsRequest.h:99
Aws::APIGateway::Model::GetBasePathMappingsRequest
Definition: GetBasePathMappingsRequest.h:30
Aws::APIGateway::Model::GetBasePathMappingsRequest::GetServiceRequestName
virtual const char * GetServiceRequestName() const override
Definition: GetBasePathMappingsRequest.h:38
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::GetBasePathMappingsRequest::WithDomainName
GetBasePathMappingsRequest & WithDomainName(const char *value)
Definition: GetBasePathMappingsRequest.h:83
Aws::APIGateway::APIGatewayRequest
Definition: APIGatewayRequest.h:18
Aws::APIGateway::Model::GetBasePathMappingsRequest::PositionHasBeenSet
bool PositionHasBeenSet() const
Definition: GetBasePathMappingsRequest.h:94
Aws::APIGateway::Model::GetBasePathMappingsRequest::SetDomainName
void SetDomainName(const char *value)
Definition: GetBasePathMappingsRequest.h:68