AWS SDK for C++  0.14.3
AWS SDK for C++
CreateBasePathMappingResult.h
Go to the documentation of this file.
1 /*
2 * Copyright 2010-2016 Amazon.com, Inc. or its affiliates. All Rights Reserved.
3 *
4 * Licensed under the Apache License, Version 2.0 (the "License").
5 * You may not use this file except in compliance with the License.
6 * A copy of the License is located at
7 *
8 * http://aws.amazon.com/apache2.0
9 *
10 * or in the "license" file accompanying this file. This file is distributed
11 * on an "AS IS" BASIS, WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either
12 * express or implied. See the License for the specific language governing
13 * permissions and limitations under the License.
14 */
15 #pragma once
18 
19 namespace Aws
20 {
21 template<typename RESULT_TYPE>
22 class AmazonWebServiceResult;
23 
24 namespace Utils
25 {
26 namespace Json
27 {
28  class JsonValue;
29 } // namespace Json
30 } // namespace Utils
31 namespace APIGateway
32 {
33 namespace Model
34 {
40  {
41  public:
45 
50  inline const Aws::String& GetBasePath() const{ return m_basePath; }
51 
56  inline void SetBasePath(const Aws::String& value) { m_basePath = value; }
57 
62  inline void SetBasePath(Aws::String&& value) { m_basePath = value; }
63 
68  inline void SetBasePath(const char* value) { m_basePath.assign(value); }
69 
74  inline CreateBasePathMappingResult& WithBasePath(const Aws::String& value) { SetBasePath(value); return *this;}
75 
80  inline CreateBasePathMappingResult& WithBasePath(Aws::String&& value) { SetBasePath(value); return *this;}
81 
86  inline CreateBasePathMappingResult& WithBasePath(const char* value) { SetBasePath(value); return *this;}
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 = 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(value); return *this;}
117 
121  inline CreateBasePathMappingResult& WithRestApiId(const char* value) { SetRestApiId(value); return *this;}
122 
126  inline const Aws::String& GetStage() const{ return m_stage; }
127 
131  inline void SetStage(const Aws::String& value) { m_stage = value; }
132 
136  inline void SetStage(Aws::String&& value) { m_stage = value; }
137 
141  inline void SetStage(const char* value) { m_stage.assign(value); }
142 
146  inline CreateBasePathMappingResult& WithStage(const Aws::String& value) { SetStage(value); return *this;}
147 
151  inline CreateBasePathMappingResult& WithStage(Aws::String&& value) { SetStage(value); return *this;}
152 
156  inline CreateBasePathMappingResult& WithStage(const char* value) { SetStage(value); return *this;}
157 
158  private:
159  Aws::String m_basePath;
160  Aws::String m_restApiId;
161  Aws::String m_stage;
162  };
163 
164 } // namespace Model
165 } // namespace APIGateway
166 } // namespace Aws
CreateBasePathMappingResult & WithStage(Aws::String &&value)
CreateBasePathMappingResult & WithStage(const char *value)
CreateBasePathMappingResult & WithBasePath(Aws::String &&value)
CreateBasePathMappingResult & WithBasePath(const char *value)
CreateBasePathMappingResult & WithBasePath(const Aws::String &value)
CreateBasePathMappingResult & WithStage(const Aws::String &value)
CreateBasePathMappingResult & WithRestApiId(const char *value)
CreateBasePathMappingResult & WithRestApiId(const Aws::String &value)
std::basic_string< char, std::char_traits< char >, Aws::Allocator< char > > String
Definition: AWSString.h:97
#define AWS_APIGATEWAY_API
CreateBasePathMappingResult & WithRestApiId(Aws::String &&value)
JSON (JavaScript Object Notation).