AWS SDK for C++  1.9.18
AWS SDK for C++
DeleteBasePathMappingRequest.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 "DeleteBasePathMapping"; }
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 DeleteBasePathMappingRequest& WithDomainName(const Aws::String& value) { SetDomainName(value); return *this;}
74 
79  inline DeleteBasePathMappingRequest& WithDomainName(Aws::String&& value) { SetDomainName(std::move(value)); return *this;}
80 
85  inline DeleteBasePathMappingRequest& WithDomainName(const char* value) { SetDomainName(value); return *this;}
86 
87 
93  inline const Aws::String& GetBasePath() const{ return m_basePath; }
94 
100  inline bool BasePathHasBeenSet() const { return m_basePathHasBeenSet; }
101 
107  inline void SetBasePath(const Aws::String& value) { m_basePathHasBeenSet = true; m_basePath = value; }
108 
114  inline void SetBasePath(Aws::String&& value) { m_basePathHasBeenSet = true; m_basePath = std::move(value); }
115 
121  inline void SetBasePath(const char* value) { m_basePathHasBeenSet = true; m_basePath.assign(value); }
122 
128  inline DeleteBasePathMappingRequest& WithBasePath(const Aws::String& value) { SetBasePath(value); return *this;}
129 
135  inline DeleteBasePathMappingRequest& WithBasePath(Aws::String&& value) { SetBasePath(std::move(value)); return *this;}
136 
142  inline DeleteBasePathMappingRequest& WithBasePath(const char* value) { SetBasePath(value); return *this;}
143 
144  private:
145 
146  Aws::String m_domainName;
147  bool m_domainNameHasBeenSet;
148 
149  Aws::String m_basePath;
150  bool m_basePathHasBeenSet;
151  };
152 
153 } // namespace Model
154 } // namespace APIGateway
155 } // namespace Aws
AWS_APIGATEWAY_API
#define AWS_APIGATEWAY_API
Definition: APIGateway_EXPORTS.h:28
Aws::APIGateway::Model::DeleteBasePathMappingRequest
Definition: DeleteBasePathMappingRequest.h:26
Aws::APIGateway::Model::DeleteBasePathMappingRequest::BasePathHasBeenSet
bool BasePathHasBeenSet() const
Definition: DeleteBasePathMappingRequest.h:100
APIGateway_EXPORTS.h
Aws::APIGateway::Model::DeleteBasePathMappingRequest::GetDomainName
const Aws::String & GetDomainName() const
Definition: DeleteBasePathMappingRequest.h:43
Aws::APIGateway::Model::DeleteBasePathMappingRequest::WithDomainName
DeleteBasePathMappingRequest & WithDomainName(const Aws::String &value)
Definition: DeleteBasePathMappingRequest.h:73
APIGatewayRequest.h
Aws::APIGateway::Model::DeleteBasePathMappingRequest::WithBasePath
DeleteBasePathMappingRequest & WithBasePath(Aws::String &&value)
Definition: DeleteBasePathMappingRequest.h:135
Aws::APIGateway::Model::DeleteBasePathMappingRequest::WithBasePath
DeleteBasePathMappingRequest & WithBasePath(const char *value)
Definition: DeleteBasePathMappingRequest.h:142
Aws::APIGateway::Model::DeleteBasePathMappingRequest::SetDomainName
void SetDomainName(Aws::String &&value)
Definition: DeleteBasePathMappingRequest.h:61
Aws::APIGateway::Model::DeleteBasePathMappingRequest::SerializePayload
Aws::String SerializePayload() const override
Aws::APIGateway::Model::DeleteBasePathMappingRequest::WithBasePath
DeleteBasePathMappingRequest & WithBasePath(const Aws::String &value)
Definition: DeleteBasePathMappingRequest.h:128
Aws::APIGateway::Model::DeleteBasePathMappingRequest::WithDomainName
DeleteBasePathMappingRequest & WithDomainName(Aws::String &&value)
Definition: DeleteBasePathMappingRequest.h:79
AWSString.h
Aws::APIGateway::Model::DeleteBasePathMappingRequest::WithDomainName
DeleteBasePathMappingRequest & WithDomainName(const char *value)
Definition: DeleteBasePathMappingRequest.h:85
Aws::APIGateway::Model::DeleteBasePathMappingRequest::GetServiceRequestName
virtual const char * GetServiceRequestName() const override
Definition: DeleteBasePathMappingRequest.h:34
Aws::APIGateway::Model::DeleteBasePathMappingRequest::DeleteBasePathMappingRequest
DeleteBasePathMappingRequest()
Aws::APIGateway::Model::DeleteBasePathMappingRequest::SetBasePath
void SetBasePath(Aws::String &&value)
Definition: DeleteBasePathMappingRequest.h:114
Aws::APIGateway::Model::DeleteBasePathMappingRequest::SetDomainName
void SetDomainName(const Aws::String &value)
Definition: DeleteBasePathMappingRequest.h:55
Aws::APIGateway::Model::DeleteBasePathMappingRequest::SetBasePath
void SetBasePath(const Aws::String &value)
Definition: DeleteBasePathMappingRequest.h:107
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::DeleteBasePathMappingRequest::SetBasePath
void SetBasePath(const char *value)
Definition: DeleteBasePathMappingRequest.h:121
Aws::APIGateway::Model::DeleteBasePathMappingRequest::DomainNameHasBeenSet
bool DomainNameHasBeenSet() const
Definition: DeleteBasePathMappingRequest.h:49
Aws::APIGateway::APIGatewayRequest
Definition: APIGatewayRequest.h:18
Aws::APIGateway::Model::DeleteBasePathMappingRequest::GetBasePath
const Aws::String & GetBasePath() const
Definition: DeleteBasePathMappingRequest.h:93
Aws::APIGateway::Model::DeleteBasePathMappingRequest::SetDomainName
void SetDomainName(const char *value)
Definition: DeleteBasePathMappingRequest.h:67