AWS SDK for C++  1.9.20
AWS SDK for C++
GetBasePathMappingRequest.h
Go to the documentation of this file.
1 
6 #pragma once
10 #include <utility>
11 
12 namespace Aws
13 {
14 namespace APIGateway
15 {
16 namespace Model
17 {
18 
26  {
27  public:
29 
30  // Service request name is the Operation name which will send this request out,
31  // each operation should has unique request name, so that we can get operation's name from this request.
32  // Note: this is not true for response, multiple operations may have the same response name,
33  // so we can not get operation's name from response.
34  inline virtual const char* GetServiceRequestName() const override { return "GetBasePathMapping"; }
35 
36  Aws::String SerializePayload() const override;
37 
38 
43  inline const Aws::String& GetDomainName() const{ return m_domainName; }
44 
49  inline bool DomainNameHasBeenSet() const { return m_domainNameHasBeenSet; }
50 
55  inline void SetDomainName(const Aws::String& value) { m_domainNameHasBeenSet = true; m_domainName = value; }
56 
61  inline void SetDomainName(Aws::String&& value) { m_domainNameHasBeenSet = true; m_domainName = std::move(value); }
62 
67  inline void SetDomainName(const char* value) { m_domainNameHasBeenSet = true; m_domainName.assign(value); }
68 
73  inline GetBasePathMappingRequest& WithDomainName(const Aws::String& value) { SetDomainName(value); return *this;}
74 
79  inline GetBasePathMappingRequest& WithDomainName(Aws::String&& value) { SetDomainName(std::move(value)); return *this;}
80 
85  inline GetBasePathMappingRequest& WithDomainName(const char* value) { SetDomainName(value); return *this;}
86 
87 
94  inline const Aws::String& GetBasePath() const{ return m_basePath; }
95 
102  inline bool BasePathHasBeenSet() const { return m_basePathHasBeenSet; }
103 
110  inline void SetBasePath(const Aws::String& value) { m_basePathHasBeenSet = true; m_basePath = value; }
111 
118  inline void SetBasePath(Aws::String&& value) { m_basePathHasBeenSet = true; m_basePath = std::move(value); }
119 
126  inline void SetBasePath(const char* value) { m_basePathHasBeenSet = true; m_basePath.assign(value); }
127 
134  inline GetBasePathMappingRequest& WithBasePath(const Aws::String& value) { SetBasePath(value); return *this;}
135 
142  inline GetBasePathMappingRequest& WithBasePath(Aws::String&& value) { SetBasePath(std::move(value)); return *this;}
143 
150  inline GetBasePathMappingRequest& WithBasePath(const char* value) { SetBasePath(value); return *this;}
151 
152  private:
153 
154  Aws::String m_domainName;
155  bool m_domainNameHasBeenSet;
156 
157  Aws::String m_basePath;
158  bool m_basePathHasBeenSet;
159  };
160 
161 } // namespace Model
162 } // namespace APIGateway
163 } // namespace Aws
Aws::APIGateway::Model::GetBasePathMappingRequest::BasePathHasBeenSet
bool BasePathHasBeenSet() const
Definition: GetBasePathMappingRequest.h:102
AWS_APIGATEWAY_API
#define AWS_APIGATEWAY_API
Definition: APIGateway_EXPORTS.h:28
Aws::APIGateway::Model::GetBasePathMappingRequest::WithDomainName
GetBasePathMappingRequest & WithDomainName(const Aws::String &value)
Definition: GetBasePathMappingRequest.h:73
Aws::APIGateway::Model::GetBasePathMappingRequest::SetDomainName
void SetDomainName(Aws::String &&value)
Definition: GetBasePathMappingRequest.h:61
APIGateway_EXPORTS.h
Aws::APIGateway::Model::GetBasePathMappingRequest::WithBasePath
GetBasePathMappingRequest & WithBasePath(Aws::String &&value)
Definition: GetBasePathMappingRequest.h:142
Aws::APIGateway::Model::GetBasePathMappingRequest::WithBasePath
GetBasePathMappingRequest & WithBasePath(const char *value)
Definition: GetBasePathMappingRequest.h:150
Aws::APIGateway::Model::GetBasePathMappingRequest::GetBasePathMappingRequest
GetBasePathMappingRequest()
APIGatewayRequest.h
Aws::APIGateway::Model::GetBasePathMappingRequest
Definition: GetBasePathMappingRequest.h:26
Aws::APIGateway::Model::GetBasePathMappingRequest::SerializePayload
Aws::String SerializePayload() const override
Aws::APIGateway::Model::GetBasePathMappingRequest::WithDomainName
GetBasePathMappingRequest & WithDomainName(Aws::String &&value)
Definition: GetBasePathMappingRequest.h:79
Aws::APIGateway::Model::GetBasePathMappingRequest::WithDomainName
GetBasePathMappingRequest & WithDomainName(const char *value)
Definition: GetBasePathMappingRequest.h:85
Aws::APIGateway::Model::GetBasePathMappingRequest::GetBasePath
const Aws::String & GetBasePath() const
Definition: GetBasePathMappingRequest.h:94
AWSString.h
Aws::APIGateway::Model::GetBasePathMappingRequest::SetDomainName
void SetDomainName(const char *value)
Definition: GetBasePathMappingRequest.h:67
Aws::APIGateway::Model::GetBasePathMappingRequest::DomainNameHasBeenSet
bool DomainNameHasBeenSet() const
Definition: GetBasePathMappingRequest.h:49
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::GetBasePathMappingRequest::WithBasePath
GetBasePathMappingRequest & WithBasePath(const Aws::String &value)
Definition: GetBasePathMappingRequest.h:134
Aws::APIGateway::Model::GetBasePathMappingRequest::SetBasePath
void SetBasePath(Aws::String &&value)
Definition: GetBasePathMappingRequest.h:118
Aws::APIGateway::Model::GetBasePathMappingRequest::SetDomainName
void SetDomainName(const Aws::String &value)
Definition: GetBasePathMappingRequest.h:55
Aws::APIGateway::Model::GetBasePathMappingRequest::GetServiceRequestName
virtual const char * GetServiceRequestName() const override
Definition: GetBasePathMappingRequest.h:34
Aws::APIGateway::APIGatewayRequest
Definition: APIGatewayRequest.h:18
Aws::APIGateway::Model::GetBasePathMappingRequest::SetBasePath
void SetBasePath(const char *value)
Definition: GetBasePathMappingRequest.h:126
Aws::APIGateway::Model::GetBasePathMappingRequest::GetDomainName
const Aws::String & GetDomainName() const
Definition: GetBasePathMappingRequest.h:43
Aws::APIGateway::Model::GetBasePathMappingRequest::SetBasePath
void SetBasePath(const Aws::String &value)
Definition: GetBasePathMappingRequest.h:110