AWS SDK for C++  1.9.20
AWS SDK for C++
UpdateMethodResponseResult.h
Go to the documentation of this file.
1 
6 #pragma once
10 #include <utility>
11 
12 namespace Aws
13 {
14 template<typename RESULT_TYPE>
15 class AmazonWebServiceResult;
16 
17 namespace Utils
18 {
19 namespace Json
20 {
21  class JsonValue;
22 } // namespace Json
23 } // namespace Utils
24 namespace APIGateway
25 {
26 namespace Model
27 {
59  {
60  public:
64 
65 
69  inline const Aws::String& GetStatusCode() const{ return m_statusCode; }
70 
74  inline void SetStatusCode(const Aws::String& value) { m_statusCode = value; }
75 
79  inline void SetStatusCode(Aws::String&& value) { m_statusCode = std::move(value); }
80 
84  inline void SetStatusCode(const char* value) { m_statusCode.assign(value); }
85 
89  inline UpdateMethodResponseResult& WithStatusCode(const Aws::String& value) { SetStatusCode(value); return *this;}
90 
94  inline UpdateMethodResponseResult& WithStatusCode(Aws::String&& value) { SetStatusCode(std::move(value)); return *this;}
95 
99  inline UpdateMethodResponseResult& WithStatusCode(const char* value) { SetStatusCode(value); return *this;}
100 
101 
119  inline const Aws::Map<Aws::String, bool>& GetResponseParameters() const{ return m_responseParameters; }
120 
138  inline void SetResponseParameters(const Aws::Map<Aws::String, bool>& value) { m_responseParameters = value; }
139 
157  inline void SetResponseParameters(Aws::Map<Aws::String, bool>&& value) { m_responseParameters = std::move(value); }
158 
176  inline UpdateMethodResponseResult& WithResponseParameters(const Aws::Map<Aws::String, bool>& value) { SetResponseParameters(value); return *this;}
177 
195  inline UpdateMethodResponseResult& WithResponseParameters(Aws::Map<Aws::String, bool>&& value) { SetResponseParameters(std::move(value)); return *this;}
196 
214  inline UpdateMethodResponseResult& AddResponseParameters(const Aws::String& key, bool value) { m_responseParameters.emplace(key, value); return *this; }
215 
233  inline UpdateMethodResponseResult& AddResponseParameters(Aws::String&& key, bool value) { m_responseParameters.emplace(std::move(key), value); return *this; }
234 
252  inline UpdateMethodResponseResult& AddResponseParameters(const char* key, bool value) { m_responseParameters.emplace(key, value); return *this; }
253 
254 
260  inline const Aws::Map<Aws::String, Aws::String>& GetResponseModels() const{ return m_responseModels; }
261 
267  inline void SetResponseModels(const Aws::Map<Aws::String, Aws::String>& value) { m_responseModels = value; }
268 
274  inline void SetResponseModels(Aws::Map<Aws::String, Aws::String>&& value) { m_responseModels = std::move(value); }
275 
281  inline UpdateMethodResponseResult& WithResponseModels(const Aws::Map<Aws::String, Aws::String>& value) { SetResponseModels(value); return *this;}
282 
288  inline UpdateMethodResponseResult& WithResponseModels(Aws::Map<Aws::String, Aws::String>&& value) { SetResponseModels(std::move(value)); return *this;}
289 
295  inline UpdateMethodResponseResult& AddResponseModels(const Aws::String& key, const Aws::String& value) { m_responseModels.emplace(key, value); return *this; }
296 
302  inline UpdateMethodResponseResult& AddResponseModels(Aws::String&& key, const Aws::String& value) { m_responseModels.emplace(std::move(key), value); return *this; }
303 
309  inline UpdateMethodResponseResult& AddResponseModels(const Aws::String& key, Aws::String&& value) { m_responseModels.emplace(key, std::move(value)); return *this; }
310 
316  inline UpdateMethodResponseResult& AddResponseModels(Aws::String&& key, Aws::String&& value) { m_responseModels.emplace(std::move(key), std::move(value)); return *this; }
317 
323  inline UpdateMethodResponseResult& AddResponseModels(const char* key, Aws::String&& value) { m_responseModels.emplace(key, std::move(value)); return *this; }
324 
330  inline UpdateMethodResponseResult& AddResponseModels(Aws::String&& key, const char* value) { m_responseModels.emplace(std::move(key), value); return *this; }
331 
337  inline UpdateMethodResponseResult& AddResponseModels(const char* key, const char* value) { m_responseModels.emplace(key, value); return *this; }
338 
339  private:
340 
341  Aws::String m_statusCode;
342 
343  Aws::Map<Aws::String, bool> m_responseParameters;
344 
345  Aws::Map<Aws::String, Aws::String> m_responseModels;
346  };
347 
348 } // namespace Model
349 } // namespace APIGateway
350 } // namespace Aws
Aws::AmazonWebServiceResult
Definition: AmazonWebServiceResult.h:19
Aws::APIGateway::Model::UpdateMethodResponseResult::SetStatusCode
void SetStatusCode(const char *value)
Definition: UpdateMethodResponseResult.h:84
AWS_APIGATEWAY_API
#define AWS_APIGATEWAY_API
Definition: APIGateway_EXPORTS.h:28
Aws::APIGateway::Model::UpdateMethodResponseResult::SetStatusCode
void SetStatusCode(const Aws::String &value)
Definition: UpdateMethodResponseResult.h:74
Aws::APIGateway::Model::UpdateMethodResponseResult::UpdateMethodResponseResult
UpdateMethodResponseResult(const Aws::AmazonWebServiceResult< Aws::Utils::Json::JsonValue > &result)
APIGateway_EXPORTS.h
Aws::APIGateway::Model::UpdateMethodResponseResult::operator=
UpdateMethodResponseResult & operator=(const Aws::AmazonWebServiceResult< Aws::Utils::Json::JsonValue > &result)
Aws::APIGateway::Model::UpdateMethodResponseResult::AddResponseParameters
UpdateMethodResponseResult & AddResponseParameters(const char *key, bool value)
Definition: UpdateMethodResponseResult.h:252
Aws::APIGateway::Model::UpdateMethodResponseResult::GetStatusCode
const Aws::String & GetStatusCode() const
Definition: UpdateMethodResponseResult.h:69
Aws::APIGateway::Model::UpdateMethodResponseResult::AddResponseParameters
UpdateMethodResponseResult & AddResponseParameters(Aws::String &&key, bool value)
Definition: UpdateMethodResponseResult.h:233
Aws::APIGateway::Model::UpdateMethodResponseResult::WithResponseParameters
UpdateMethodResponseResult & WithResponseParameters(const Aws::Map< Aws::String, bool > &value)
Definition: UpdateMethodResponseResult.h:176
Aws::APIGateway::Model::UpdateMethodResponseResult::GetResponseParameters
const Aws::Map< Aws::String, bool > & GetResponseParameters() const
Definition: UpdateMethodResponseResult.h:119
Aws::APIGateway::Model::UpdateMethodResponseResult::GetResponseModels
const Aws::Map< Aws::String, Aws::String > & GetResponseModels() const
Definition: UpdateMethodResponseResult.h:260
Aws::APIGateway::Model::UpdateMethodResponseResult::AddResponseModels
UpdateMethodResponseResult & AddResponseModels(Aws::String &&key, const char *value)
Definition: UpdateMethodResponseResult.h:330
Aws::APIGateway::Model::UpdateMethodResponseResult::SetResponseModels
void SetResponseModels(Aws::Map< Aws::String, Aws::String > &&value)
Definition: UpdateMethodResponseResult.h:274
Aws::APIGateway::Model::UpdateMethodResponseResult::AddResponseModels
UpdateMethodResponseResult & AddResponseModels(const char *key, const char *value)
Definition: UpdateMethodResponseResult.h:337
Aws::APIGateway::Model::UpdateMethodResponseResult
Definition: UpdateMethodResponseResult.h:59
Aws::APIGateway::Model::UpdateMethodResponseResult::SetStatusCode
void SetStatusCode(Aws::String &&value)
Definition: UpdateMethodResponseResult.h:79
AWSString.h
Aws::APIGateway::Model::UpdateMethodResponseResult::SetResponseParameters
void SetResponseParameters(Aws::Map< Aws::String, bool > &&value)
Definition: UpdateMethodResponseResult.h:157
Aws::APIGateway::Model::UpdateMethodResponseResult::WithResponseModels
UpdateMethodResponseResult & WithResponseModels(const Aws::Map< Aws::String, Aws::String > &value)
Definition: UpdateMethodResponseResult.h:281
Aws::APIGateway::Model::UpdateMethodResponseResult::UpdateMethodResponseResult
UpdateMethodResponseResult()
Aws::APIGateway::Model::UpdateMethodResponseResult::WithResponseParameters
UpdateMethodResponseResult & WithResponseParameters(Aws::Map< Aws::String, bool > &&value)
Definition: UpdateMethodResponseResult.h:195
Aws::APIGateway::Model::UpdateMethodResponseResult::AddResponseModels
UpdateMethodResponseResult & AddResponseModels(Aws::String &&key, Aws::String &&value)
Definition: UpdateMethodResponseResult.h:316
Aws::APIGateway::Model::UpdateMethodResponseResult::AddResponseModels
UpdateMethodResponseResult & AddResponseModels(const Aws::String &key, const Aws::String &value)
Definition: UpdateMethodResponseResult.h:295
Aws::APIGateway::Model::UpdateMethodResponseResult::WithResponseModels
UpdateMethodResponseResult & WithResponseModels(Aws::Map< Aws::String, Aws::String > &&value)
Definition: UpdateMethodResponseResult.h:288
Aws
Definition: AccessManagementClient.h:15
Aws::APIGateway::Model::UpdateMethodResponseResult::WithStatusCode
UpdateMethodResponseResult & WithStatusCode(const char *value)
Definition: UpdateMethodResponseResult.h:99
Aws::APIGateway::Model::UpdateMethodResponseResult::WithStatusCode
UpdateMethodResponseResult & WithStatusCode(Aws::String &&value)
Definition: UpdateMethodResponseResult.h:94
Aws::String
std::basic_string< char, std::char_traits< char >, Aws::Allocator< char > > String
Definition: AWSString.h:97
Aws::APIGateway::Model::UpdateMethodResponseResult::WithStatusCode
UpdateMethodResponseResult & WithStatusCode(const Aws::String &value)
Definition: UpdateMethodResponseResult.h:89
Aws::APIGateway::Model::UpdateMethodResponseResult::SetResponseModels
void SetResponseModels(const Aws::Map< Aws::String, Aws::String > &value)
Definition: UpdateMethodResponseResult.h:267
Aws::APIGateway::Model::UpdateMethodResponseResult::AddResponseModels
UpdateMethodResponseResult & AddResponseModels(const Aws::String &key, Aws::String &&value)
Definition: UpdateMethodResponseResult.h:309
Aws::APIGateway::Model::UpdateMethodResponseResult::AddResponseModels
UpdateMethodResponseResult & AddResponseModels(const char *key, Aws::String &&value)
Definition: UpdateMethodResponseResult.h:323
Aws::APIGateway::Model::UpdateMethodResponseResult::AddResponseModels
UpdateMethodResponseResult & AddResponseModels(Aws::String &&key, const Aws::String &value)
Definition: UpdateMethodResponseResult.h:302
Aws::APIGateway::Model::UpdateMethodResponseResult::SetResponseParameters
void SetResponseParameters(const Aws::Map< Aws::String, bool > &value)
Definition: UpdateMethodResponseResult.h:138
AWSMap.h
Aws::APIGateway::Model::UpdateMethodResponseResult::AddResponseParameters
UpdateMethodResponseResult & AddResponseParameters(const Aws::String &key, bool value)
Definition: UpdateMethodResponseResult.h:214
Aws::Map
std::map< K, V, std::less< K >, Aws::Allocator< std::pair< const K, V > > > Map
Definition: AWSMap.h:19