AWS SDK for C++  1.9.14
AWS SDK for C++
GetBasePathMappingResult.h
Go to the documentation of this file.
1 
6 #pragma once
9 #include <utility>
10 
11 namespace Aws
12 {
13 template<typename RESULT_TYPE>
14 class AmazonWebServiceResult;
15 
16 namespace Utils
17 {
18 namespace Json
19 {
20  class JsonValue;
21 } // namespace Json
22 } // namespace Utils
23 namespace APIGateway
24 {
25 namespace Model
26 {
38  {
39  public:
43 
44 
49  inline const Aws::String& GetBasePath() const{ return m_basePath; }
50 
55  inline void SetBasePath(const Aws::String& value) { m_basePath = value; }
56 
61  inline void SetBasePath(Aws::String&& value) { m_basePath = std::move(value); }
62 
67  inline void SetBasePath(const char* value) { m_basePath.assign(value); }
68 
73  inline GetBasePathMappingResult& WithBasePath(const Aws::String& value) { SetBasePath(value); return *this;}
74 
79  inline GetBasePathMappingResult& WithBasePath(Aws::String&& value) { SetBasePath(std::move(value)); return *this;}
80 
85  inline GetBasePathMappingResult& WithBasePath(const char* value) { SetBasePath(value); return *this;}
86 
87 
91  inline const Aws::String& GetRestApiId() const{ return m_restApiId; }
92 
96  inline void SetRestApiId(const Aws::String& value) { m_restApiId = value; }
97 
101  inline void SetRestApiId(Aws::String&& value) { m_restApiId = std::move(value); }
102 
106  inline void SetRestApiId(const char* value) { m_restApiId.assign(value); }
107 
111  inline GetBasePathMappingResult& WithRestApiId(const Aws::String& value) { SetRestApiId(value); return *this;}
112 
116  inline GetBasePathMappingResult& WithRestApiId(Aws::String&& value) { SetRestApiId(std::move(value)); return *this;}
117 
121  inline GetBasePathMappingResult& WithRestApiId(const char* value) { SetRestApiId(value); return *this;}
122 
123 
127  inline const Aws::String& GetStage() const{ return m_stage; }
128 
132  inline void SetStage(const Aws::String& value) { m_stage = value; }
133 
137  inline void SetStage(Aws::String&& value) { m_stage = std::move(value); }
138 
142  inline void SetStage(const char* value) { m_stage.assign(value); }
143 
147  inline GetBasePathMappingResult& WithStage(const Aws::String& value) { SetStage(value); return *this;}
148 
152  inline GetBasePathMappingResult& WithStage(Aws::String&& value) { SetStage(std::move(value)); return *this;}
153 
157  inline GetBasePathMappingResult& WithStage(const char* value) { SetStage(value); return *this;}
158 
159  private:
160 
161  Aws::String m_basePath;
162 
163  Aws::String m_restApiId;
164 
165  Aws::String m_stage;
166  };
167 
168 } // namespace Model
169 } // namespace APIGateway
170 } // namespace Aws
Aws::AmazonWebServiceResult
Definition: AmazonWebServiceResult.h:19
Aws::APIGateway::Model::GetBasePathMappingResult::GetBasePath
const Aws::String & GetBasePath() const
Definition: GetBasePathMappingResult.h:49
Aws::APIGateway::Model::GetBasePathMappingResult::WithStage
GetBasePathMappingResult & WithStage(const Aws::String &value)
Definition: GetBasePathMappingResult.h:147
Aws::APIGateway::Model::GetBasePathMappingResult::WithRestApiId
GetBasePathMappingResult & WithRestApiId(const char *value)
Definition: GetBasePathMappingResult.h:121
AWS_APIGATEWAY_API
#define AWS_APIGATEWAY_API
Definition: APIGateway_EXPORTS.h:28
Aws::APIGateway::Model::GetBasePathMappingResult::SetBasePath
void SetBasePath(Aws::String &&value)
Definition: GetBasePathMappingResult.h:61
Aws::APIGateway::Model::GetBasePathMappingResult::operator=
GetBasePathMappingResult & operator=(const Aws::AmazonWebServiceResult< Aws::Utils::Json::JsonValue > &result)
Aws::APIGateway::Model::GetBasePathMappingResult::GetBasePathMappingResult
GetBasePathMappingResult(const Aws::AmazonWebServiceResult< Aws::Utils::Json::JsonValue > &result)
APIGateway_EXPORTS.h
Aws::APIGateway::Model::GetBasePathMappingResult::SetBasePath
void SetBasePath(const Aws::String &value)
Definition: GetBasePathMappingResult.h:55
Aws::APIGateway::Model::GetBasePathMappingResult::SetBasePath
void SetBasePath(const char *value)
Definition: GetBasePathMappingResult.h:67
Aws::APIGateway::Model::GetBasePathMappingResult::GetRestApiId
const Aws::String & GetRestApiId() const
Definition: GetBasePathMappingResult.h:91
Aws::APIGateway::Model::GetBasePathMappingResult::WithStage
GetBasePathMappingResult & WithStage(const char *value)
Definition: GetBasePathMappingResult.h:157
Aws::APIGateway::Model::GetBasePathMappingResult::SetRestApiId
void SetRestApiId(const char *value)
Definition: GetBasePathMappingResult.h:106
Aws::APIGateway::Model::GetBasePathMappingResult::SetStage
void SetStage(Aws::String &&value)
Definition: GetBasePathMappingResult.h:137
Aws::APIGateway::Model::GetBasePathMappingResult::WithBasePath
GetBasePathMappingResult & WithBasePath(const Aws::String &value)
Definition: GetBasePathMappingResult.h:73
AWSString.h
Aws::APIGateway::Model::GetBasePathMappingResult::WithBasePath
GetBasePathMappingResult & WithBasePath(const char *value)
Definition: GetBasePathMappingResult.h:85
Aws::APIGateway::Model::GetBasePathMappingResult
Definition: GetBasePathMappingResult.h:38
Aws::APIGateway::Model::GetBasePathMappingResult::WithBasePath
GetBasePathMappingResult & WithBasePath(Aws::String &&value)
Definition: GetBasePathMappingResult.h:79
Aws::APIGateway::Model::GetBasePathMappingResult::SetRestApiId
void SetRestApiId(const Aws::String &value)
Definition: GetBasePathMappingResult.h:96
Aws::APIGateway::Model::GetBasePathMappingResult::SetRestApiId
void SetRestApiId(Aws::String &&value)
Definition: GetBasePathMappingResult.h:101
Aws::APIGateway::Model::GetBasePathMappingResult::WithStage
GetBasePathMappingResult & WithStage(Aws::String &&value)
Definition: GetBasePathMappingResult.h:152
Aws::APIGateway::Model::GetBasePathMappingResult::WithRestApiId
GetBasePathMappingResult & WithRestApiId(const Aws::String &value)
Definition: GetBasePathMappingResult.h:111
Aws
Definition: AccessManagementClient.h:15
Aws::APIGateway::Model::GetBasePathMappingResult::SetStage
void SetStage(const Aws::String &value)
Definition: GetBasePathMappingResult.h:132
Aws::APIGateway::Model::GetBasePathMappingResult::SetStage
void SetStage(const char *value)
Definition: GetBasePathMappingResult.h:142
Aws::String
std::basic_string< char, std::char_traits< char >, Aws::Allocator< char > > String
Definition: AWSString.h:97
Aws::APIGateway::Model::GetBasePathMappingResult::GetBasePathMappingResult
GetBasePathMappingResult()
Aws::APIGateway::Model::GetBasePathMappingResult::WithRestApiId
GetBasePathMappingResult & WithRestApiId(Aws::String &&value)
Definition: GetBasePathMappingResult.h:116
Aws::APIGateway::Model::GetBasePathMappingResult::GetStage
const Aws::String & GetStage() const
Definition: GetBasePathMappingResult.h:127