AWS SDK for C++  1.9.21
AWS SDK for C++
CreateBasePathMappingResult.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 CreateBasePathMappingResult& WithBasePath(const Aws::String& value) { SetBasePath(value); return *this;}
74 
79  inline CreateBasePathMappingResult& WithBasePath(Aws::String&& value) { SetBasePath(std::move(value)); return *this;}
80 
85  inline CreateBasePathMappingResult& 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 CreateBasePathMappingResult& WithRestApiId(const Aws::String& value) { SetRestApiId(value); return *this;}
112 
116  inline CreateBasePathMappingResult& WithRestApiId(Aws::String&& value) { SetRestApiId(std::move(value)); return *this;}
117 
121  inline CreateBasePathMappingResult& 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 CreateBasePathMappingResult& WithStage(const Aws::String& value) { SetStage(value); return *this;}
148 
152  inline CreateBasePathMappingResult& WithStage(Aws::String&& value) { SetStage(std::move(value)); return *this;}
153 
157  inline CreateBasePathMappingResult& 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::CreateBasePathMappingResult::SetStage
void SetStage(const char *value)
Definition: CreateBasePathMappingResult.h:142
Aws::APIGateway::Model::CreateBasePathMappingResult::SetBasePath
void SetBasePath(const Aws::String &value)
Definition: CreateBasePathMappingResult.h:55
AWS_APIGATEWAY_API
#define AWS_APIGATEWAY_API
Definition: APIGateway_EXPORTS.h:28
Aws::APIGateway::Model::CreateBasePathMappingResult::SetRestApiId
void SetRestApiId(const char *value)
Definition: CreateBasePathMappingResult.h:106
Aws::APIGateway::Model::CreateBasePathMappingResult::SetStage
void SetStage(Aws::String &&value)
Definition: CreateBasePathMappingResult.h:137
Aws::APIGateway::Model::CreateBasePathMappingResult::WithStage
CreateBasePathMappingResult & WithStage(Aws::String &&value)
Definition: CreateBasePathMappingResult.h:152
Aws::APIGateway::Model::CreateBasePathMappingResult::GetStage
const Aws::String & GetStage() const
Definition: CreateBasePathMappingResult.h:127
APIGateway_EXPORTS.h
Aws::APIGateway::Model::CreateBasePathMappingResult::GetRestApiId
const Aws::String & GetRestApiId() const
Definition: CreateBasePathMappingResult.h:91
Aws::APIGateway::Model::CreateBasePathMappingResult
Definition: CreateBasePathMappingResult.h:38
Aws::APIGateway::Model::CreateBasePathMappingResult::WithBasePath
CreateBasePathMappingResult & WithBasePath(const Aws::String &value)
Definition: CreateBasePathMappingResult.h:73
Aws::APIGateway::Model::CreateBasePathMappingResult::GetBasePath
const Aws::String & GetBasePath() const
Definition: CreateBasePathMappingResult.h:49
Aws::APIGateway::Model::CreateBasePathMappingResult::WithRestApiId
CreateBasePathMappingResult & WithRestApiId(const Aws::String &value)
Definition: CreateBasePathMappingResult.h:111
Aws::APIGateway::Model::CreateBasePathMappingResult::WithBasePath
CreateBasePathMappingResult & WithBasePath(const char *value)
Definition: CreateBasePathMappingResult.h:85
Aws::APIGateway::Model::CreateBasePathMappingResult::operator=
CreateBasePathMappingResult & operator=(const Aws::AmazonWebServiceResult< Aws::Utils::Json::JsonValue > &result)
Aws::APIGateway::Model::CreateBasePathMappingResult::WithRestApiId
CreateBasePathMappingResult & WithRestApiId(Aws::String &&value)
Definition: CreateBasePathMappingResult.h:116
Aws::APIGateway::Model::CreateBasePathMappingResult::WithRestApiId
CreateBasePathMappingResult & WithRestApiId(const char *value)
Definition: CreateBasePathMappingResult.h:121
Aws::APIGateway::Model::CreateBasePathMappingResult::SetBasePath
void SetBasePath(Aws::String &&value)
Definition: CreateBasePathMappingResult.h:61
AWSString.h
Aws::APIGateway::Model::CreateBasePathMappingResult::WithStage
CreateBasePathMappingResult & WithStage(const char *value)
Definition: CreateBasePathMappingResult.h:157
Aws::APIGateway::Model::CreateBasePathMappingResult::SetRestApiId
void SetRestApiId(Aws::String &&value)
Definition: CreateBasePathMappingResult.h:101
Aws::APIGateway::Model::CreateBasePathMappingResult::WithBasePath
CreateBasePathMappingResult & WithBasePath(Aws::String &&value)
Definition: CreateBasePathMappingResult.h:79
Aws::APIGateway::Model::CreateBasePathMappingResult::SetRestApiId
void SetRestApiId(const Aws::String &value)
Definition: CreateBasePathMappingResult.h:96
Aws::APIGateway::Model::CreateBasePathMappingResult::SetStage
void SetStage(const Aws::String &value)
Definition: CreateBasePathMappingResult.h:132
Aws
Definition: AccessManagementClient.h:15
Aws::APIGateway::Model::CreateBasePathMappingResult::WithStage
CreateBasePathMappingResult & WithStage(const Aws::String &value)
Definition: CreateBasePathMappingResult.h:147
Aws::String
std::basic_string< char, std::char_traits< char >, Aws::Allocator< char > > String
Definition: AWSString.h:97
Aws::APIGateway::Model::CreateBasePathMappingResult::CreateBasePathMappingResult
CreateBasePathMappingResult()
Aws::APIGateway::Model::CreateBasePathMappingResult::CreateBasePathMappingResult
CreateBasePathMappingResult(const Aws::AmazonWebServiceResult< Aws::Utils::Json::JsonValue > &result)
Aws::APIGateway::Model::CreateBasePathMappingResult::SetBasePath
void SetBasePath(const char *value)
Definition: CreateBasePathMappingResult.h:67