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