AWS SDK for C++

AWS SDK for C++ Version 1.11.440

Loading...
Searching...
No Matches
UpdateMethodResponseResult.h
1
6#pragma once
7#include <aws/apigateway/APIGateway_EXPORTS.h>
8#include <aws/core/utils/memory/stl/AWSString.h>
9#include <aws/core/utils/memory/stl/AWSMap.h>
10#include <utility>
11
12namespace Aws
13{
14template<typename RESULT_TYPE>
15class AmazonWebServiceResult;
16
17namespace Utils
18{
19namespace Json
20{
21 class JsonValue;
22} // namespace Json
23} // namespace Utils
24namespace APIGateway
25{
26namespace Model
27{
37 {
38 public:
39 AWS_APIGATEWAY_API UpdateMethodResponseResult();
42
43
45
48 inline const Aws::String& GetStatusCode() const{ return m_statusCode; }
49 inline void SetStatusCode(const Aws::String& value) { m_statusCode = value; }
50 inline void SetStatusCode(Aws::String&& value) { m_statusCode = std::move(value); }
51 inline void SetStatusCode(const char* value) { m_statusCode.assign(value); }
52 inline UpdateMethodResponseResult& WithStatusCode(const Aws::String& value) { SetStatusCode(value); return *this;}
53 inline UpdateMethodResponseResult& WithStatusCode(Aws::String&& value) { SetStatusCode(std::move(value)); return *this;}
54 inline UpdateMethodResponseResult& WithStatusCode(const char* value) { SetStatusCode(value); return *this;}
56
58
75 inline const Aws::Map<Aws::String, bool>& GetResponseParameters() const{ return m_responseParameters; }
76 inline void SetResponseParameters(const Aws::Map<Aws::String, bool>& value) { m_responseParameters = value; }
77 inline void SetResponseParameters(Aws::Map<Aws::String, bool>&& value) { m_responseParameters = std::move(value); }
80 inline UpdateMethodResponseResult& AddResponseParameters(const Aws::String& key, bool value) { m_responseParameters.emplace(key, value); return *this; }
81 inline UpdateMethodResponseResult& AddResponseParameters(Aws::String&& key, bool value) { m_responseParameters.emplace(std::move(key), value); return *this; }
82 inline UpdateMethodResponseResult& AddResponseParameters(const char* key, bool value) { m_responseParameters.emplace(key, value); return *this; }
84
86
91 inline const Aws::Map<Aws::String, Aws::String>& GetResponseModels() const{ return m_responseModels; }
92 inline void SetResponseModels(const Aws::Map<Aws::String, Aws::String>& value) { m_responseModels = value; }
93 inline void SetResponseModels(Aws::Map<Aws::String, Aws::String>&& value) { m_responseModels = std::move(value); }
96 inline UpdateMethodResponseResult& AddResponseModels(const Aws::String& key, const Aws::String& value) { m_responseModels.emplace(key, value); return *this; }
97 inline UpdateMethodResponseResult& AddResponseModels(Aws::String&& key, const Aws::String& value) { m_responseModels.emplace(std::move(key), value); return *this; }
98 inline UpdateMethodResponseResult& AddResponseModels(const Aws::String& key, Aws::String&& value) { m_responseModels.emplace(key, std::move(value)); return *this; }
99 inline UpdateMethodResponseResult& AddResponseModels(Aws::String&& key, Aws::String&& value) { m_responseModels.emplace(std::move(key), std::move(value)); return *this; }
100 inline UpdateMethodResponseResult& AddResponseModels(const char* key, Aws::String&& value) { m_responseModels.emplace(key, std::move(value)); return *this; }
101 inline UpdateMethodResponseResult& AddResponseModels(Aws::String&& key, const char* value) { m_responseModels.emplace(std::move(key), value); return *this; }
102 inline UpdateMethodResponseResult& AddResponseModels(const char* key, const char* value) { m_responseModels.emplace(key, value); return *this; }
104
106
107 inline const Aws::String& GetRequestId() const{ return m_requestId; }
108 inline void SetRequestId(const Aws::String& value) { m_requestId = value; }
109 inline void SetRequestId(Aws::String&& value) { m_requestId = std::move(value); }
110 inline void SetRequestId(const char* value) { m_requestId.assign(value); }
111 inline UpdateMethodResponseResult& WithRequestId(const Aws::String& value) { SetRequestId(value); return *this;}
112 inline UpdateMethodResponseResult& WithRequestId(Aws::String&& value) { SetRequestId(std::move(value)); return *this;}
113 inline UpdateMethodResponseResult& WithRequestId(const char* value) { SetRequestId(value); return *this;}
115 private:
116
117 Aws::String m_statusCode;
118
119 Aws::Map<Aws::String, bool> m_responseParameters;
120
121 Aws::Map<Aws::String, Aws::String> m_responseModels;
122
123 Aws::String m_requestId;
124 };
125
126} // namespace Model
127} // namespace APIGateway
128} // namespace Aws
UpdateMethodResponseResult & AddResponseParameters(const Aws::String &key, bool value)
UpdateMethodResponseResult & AddResponseModels(const char *key, const char *value)
UpdateMethodResponseResult & WithRequestId(const char *value)
void SetResponseModels(const Aws::Map< Aws::String, Aws::String > &value)
UpdateMethodResponseResult & AddResponseModels(const char *key, Aws::String &&value)
AWS_APIGATEWAY_API UpdateMethodResponseResult & operator=(const Aws::AmazonWebServiceResult< Aws::Utils::Json::JsonValue > &result)
const Aws::Map< Aws::String, bool > & GetResponseParameters() const
UpdateMethodResponseResult & WithResponseParameters(const Aws::Map< Aws::String, bool > &value)
UpdateMethodResponseResult & WithResponseModels(const Aws::Map< Aws::String, Aws::String > &value)
UpdateMethodResponseResult & AddResponseParameters(const char *key, bool value)
UpdateMethodResponseResult & WithStatusCode(const char *value)
UpdateMethodResponseResult & AddResponseModels(Aws::String &&key, Aws::String &&value)
UpdateMethodResponseResult & AddResponseModels(Aws::String &&key, const Aws::String &value)
UpdateMethodResponseResult & AddResponseModels(Aws::String &&key, const char *value)
UpdateMethodResponseResult & AddResponseModels(const Aws::String &key, const Aws::String &value)
const Aws::Map< Aws::String, Aws::String > & GetResponseModels() const
void SetResponseParameters(const Aws::Map< Aws::String, bool > &value)
UpdateMethodResponseResult & WithResponseModels(Aws::Map< Aws::String, Aws::String > &&value)
void SetResponseParameters(Aws::Map< Aws::String, bool > &&value)
UpdateMethodResponseResult & WithStatusCode(Aws::String &&value)
UpdateMethodResponseResult & WithRequestId(Aws::String &&value)
void SetResponseModels(Aws::Map< Aws::String, Aws::String > &&value)
UpdateMethodResponseResult & AddResponseParameters(Aws::String &&key, bool value)
UpdateMethodResponseResult & WithResponseParameters(Aws::Map< Aws::String, bool > &&value)
UpdateMethodResponseResult & AddResponseModels(const Aws::String &key, Aws::String &&value)
UpdateMethodResponseResult & WithRequestId(const Aws::String &value)
AWS_APIGATEWAY_API UpdateMethodResponseResult(const Aws::AmazonWebServiceResult< Aws::Utils::Json::JsonValue > &result)
UpdateMethodResponseResult & WithStatusCode(const Aws::String &value)
std::map< K, V, std::less< K >, Aws::Allocator< std::pair< const K, V > > > Map
std::basic_string< char, std::char_traits< char >, Aws::Allocator< char > > String
Aws::Utils::Json::JsonValue JsonValue