AWS SDK for C++

AWS SDK for C++ Version 1.11.440

Loading...
Searching...
No Matches
UpdateApiResult.h
1
6#pragma once
7#include <aws/apigatewayv2/ApiGatewayV2_EXPORTS.h>
8#include <aws/core/utils/memory/stl/AWSString.h>
9#include <aws/apigatewayv2/model/Cors.h>
10#include <aws/core/utils/DateTime.h>
11#include <aws/core/utils/memory/stl/AWSVector.h>
12#include <aws/apigatewayv2/model/ProtocolType.h>
13#include <aws/core/utils/memory/stl/AWSMap.h>
14#include <utility>
15
16namespace Aws
17{
18template<typename RESULT_TYPE>
19class AmazonWebServiceResult;
20
21namespace Utils
22{
23namespace Json
24{
25 class JsonValue;
26} // namespace Json
27} // namespace Utils
28namespace ApiGatewayV2
29{
30namespace Model
31{
33 {
34 public:
35 AWS_APIGATEWAYV2_API UpdateApiResult();
38
39
41
46 inline const Aws::String& GetApiEndpoint() const{ return m_apiEndpoint; }
47 inline void SetApiEndpoint(const Aws::String& value) { m_apiEndpoint = value; }
48 inline void SetApiEndpoint(Aws::String&& value) { m_apiEndpoint = std::move(value); }
49 inline void SetApiEndpoint(const char* value) { m_apiEndpoint.assign(value); }
50 inline UpdateApiResult& WithApiEndpoint(const Aws::String& value) { SetApiEndpoint(value); return *this;}
51 inline UpdateApiResult& WithApiEndpoint(Aws::String&& value) { SetApiEndpoint(std::move(value)); return *this;}
52 inline UpdateApiResult& WithApiEndpoint(const char* value) { SetApiEndpoint(value); return *this;}
54
56
61 inline bool GetApiGatewayManaged() const{ return m_apiGatewayManaged; }
62 inline void SetApiGatewayManaged(bool value) { m_apiGatewayManaged = value; }
63 inline UpdateApiResult& WithApiGatewayManaged(bool value) { SetApiGatewayManaged(value); return *this;}
65
67
70 inline const Aws::String& GetApiId() const{ return m_apiId; }
71 inline void SetApiId(const Aws::String& value) { m_apiId = value; }
72 inline void SetApiId(Aws::String&& value) { m_apiId = std::move(value); }
73 inline void SetApiId(const char* value) { m_apiId.assign(value); }
74 inline UpdateApiResult& WithApiId(const Aws::String& value) { SetApiId(value); return *this;}
75 inline UpdateApiResult& WithApiId(Aws::String&& value) { SetApiId(std::move(value)); return *this;}
76 inline UpdateApiResult& WithApiId(const char* value) { SetApiId(value); return *this;}
78
80
85 inline const Aws::String& GetApiKeySelectionExpression() const{ return m_apiKeySelectionExpression; }
86 inline void SetApiKeySelectionExpression(const Aws::String& value) { m_apiKeySelectionExpression = value; }
87 inline void SetApiKeySelectionExpression(Aws::String&& value) { m_apiKeySelectionExpression = std::move(value); }
88 inline void SetApiKeySelectionExpression(const char* value) { m_apiKeySelectionExpression.assign(value); }
91 inline UpdateApiResult& WithApiKeySelectionExpression(const char* value) { SetApiKeySelectionExpression(value); return *this;}
93
95
98 inline const Cors& GetCorsConfiguration() const{ return m_corsConfiguration; }
99 inline void SetCorsConfiguration(const Cors& value) { m_corsConfiguration = value; }
100 inline void SetCorsConfiguration(Cors&& value) { m_corsConfiguration = std::move(value); }
101 inline UpdateApiResult& WithCorsConfiguration(const Cors& value) { SetCorsConfiguration(value); return *this;}
102 inline UpdateApiResult& WithCorsConfiguration(Cors&& value) { SetCorsConfiguration(std::move(value)); return *this;}
104
106
109 inline const Aws::Utils::DateTime& GetCreatedDate() const{ return m_createdDate; }
110 inline void SetCreatedDate(const Aws::Utils::DateTime& value) { m_createdDate = value; }
111 inline void SetCreatedDate(Aws::Utils::DateTime&& value) { m_createdDate = std::move(value); }
112 inline UpdateApiResult& WithCreatedDate(const Aws::Utils::DateTime& value) { SetCreatedDate(value); return *this;}
113 inline UpdateApiResult& WithCreatedDate(Aws::Utils::DateTime&& value) { SetCreatedDate(std::move(value)); return *this;}
115
117
120 inline const Aws::String& GetDescription() const{ return m_description; }
121 inline void SetDescription(const Aws::String& value) { m_description = value; }
122 inline void SetDescription(Aws::String&& value) { m_description = std::move(value); }
123 inline void SetDescription(const char* value) { m_description.assign(value); }
124 inline UpdateApiResult& WithDescription(const Aws::String& value) { SetDescription(value); return *this;}
125 inline UpdateApiResult& WithDescription(Aws::String&& value) { SetDescription(std::move(value)); return *this;}
126 inline UpdateApiResult& WithDescription(const char* value) { SetDescription(value); return *this;}
128
130
134 inline bool GetDisableSchemaValidation() const{ return m_disableSchemaValidation; }
135 inline void SetDisableSchemaValidation(bool value) { m_disableSchemaValidation = value; }
136 inline UpdateApiResult& WithDisableSchemaValidation(bool value) { SetDisableSchemaValidation(value); return *this;}
138
140
147 inline bool GetDisableExecuteApiEndpoint() const{ return m_disableExecuteApiEndpoint; }
148 inline void SetDisableExecuteApiEndpoint(bool value) { m_disableExecuteApiEndpoint = value; }
151
153
158 inline const Aws::Vector<Aws::String>& GetImportInfo() const{ return m_importInfo; }
159 inline void SetImportInfo(const Aws::Vector<Aws::String>& value) { m_importInfo = value; }
160 inline void SetImportInfo(Aws::Vector<Aws::String>&& value) { m_importInfo = std::move(value); }
161 inline UpdateApiResult& WithImportInfo(const Aws::Vector<Aws::String>& value) { SetImportInfo(value); return *this;}
162 inline UpdateApiResult& WithImportInfo(Aws::Vector<Aws::String>&& value) { SetImportInfo(std::move(value)); return *this;}
163 inline UpdateApiResult& AddImportInfo(const Aws::String& value) { m_importInfo.push_back(value); return *this; }
164 inline UpdateApiResult& AddImportInfo(Aws::String&& value) { m_importInfo.push_back(std::move(value)); return *this; }
165 inline UpdateApiResult& AddImportInfo(const char* value) { m_importInfo.push_back(value); return *this; }
167
169
172 inline const Aws::String& GetName() const{ return m_name; }
173 inline void SetName(const Aws::String& value) { m_name = value; }
174 inline void SetName(Aws::String&& value) { m_name = std::move(value); }
175 inline void SetName(const char* value) { m_name.assign(value); }
176 inline UpdateApiResult& WithName(const Aws::String& value) { SetName(value); return *this;}
177 inline UpdateApiResult& WithName(Aws::String&& value) { SetName(std::move(value)); return *this;}
178 inline UpdateApiResult& WithName(const char* value) { SetName(value); return *this;}
180
182
185 inline const ProtocolType& GetProtocolType() const{ return m_protocolType; }
186 inline void SetProtocolType(const ProtocolType& value) { m_protocolType = value; }
187 inline void SetProtocolType(ProtocolType&& value) { m_protocolType = std::move(value); }
188 inline UpdateApiResult& WithProtocolType(const ProtocolType& value) { SetProtocolType(value); return *this;}
189 inline UpdateApiResult& WithProtocolType(ProtocolType&& value) { SetProtocolType(std::move(value)); return *this;}
191
193
199 inline const Aws::String& GetRouteSelectionExpression() const{ return m_routeSelectionExpression; }
200 inline void SetRouteSelectionExpression(const Aws::String& value) { m_routeSelectionExpression = value; }
201 inline void SetRouteSelectionExpression(Aws::String&& value) { m_routeSelectionExpression = std::move(value); }
202 inline void SetRouteSelectionExpression(const char* value) { m_routeSelectionExpression.assign(value); }
204 inline UpdateApiResult& WithRouteSelectionExpression(Aws::String&& value) { SetRouteSelectionExpression(std::move(value)); return *this;}
205 inline UpdateApiResult& WithRouteSelectionExpression(const char* value) { SetRouteSelectionExpression(value); return *this;}
207
209
212 inline const Aws::Map<Aws::String, Aws::String>& GetTags() const{ return m_tags; }
213 inline void SetTags(const Aws::Map<Aws::String, Aws::String>& value) { m_tags = value; }
214 inline void SetTags(Aws::Map<Aws::String, Aws::String>&& value) { m_tags = std::move(value); }
215 inline UpdateApiResult& WithTags(const Aws::Map<Aws::String, Aws::String>& value) { SetTags(value); return *this;}
216 inline UpdateApiResult& WithTags(Aws::Map<Aws::String, Aws::String>&& value) { SetTags(std::move(value)); return *this;}
217 inline UpdateApiResult& AddTags(const Aws::String& key, const Aws::String& value) { m_tags.emplace(key, value); return *this; }
218 inline UpdateApiResult& AddTags(Aws::String&& key, const Aws::String& value) { m_tags.emplace(std::move(key), value); return *this; }
219 inline UpdateApiResult& AddTags(const Aws::String& key, Aws::String&& value) { m_tags.emplace(key, std::move(value)); return *this; }
220 inline UpdateApiResult& AddTags(Aws::String&& key, Aws::String&& value) { m_tags.emplace(std::move(key), std::move(value)); return *this; }
221 inline UpdateApiResult& AddTags(const char* key, Aws::String&& value) { m_tags.emplace(key, std::move(value)); return *this; }
222 inline UpdateApiResult& AddTags(Aws::String&& key, const char* value) { m_tags.emplace(std::move(key), value); return *this; }
223 inline UpdateApiResult& AddTags(const char* key, const char* value) { m_tags.emplace(key, value); return *this; }
225
227
230 inline const Aws::String& GetVersion() const{ return m_version; }
231 inline void SetVersion(const Aws::String& value) { m_version = value; }
232 inline void SetVersion(Aws::String&& value) { m_version = std::move(value); }
233 inline void SetVersion(const char* value) { m_version.assign(value); }
234 inline UpdateApiResult& WithVersion(const Aws::String& value) { SetVersion(value); return *this;}
235 inline UpdateApiResult& WithVersion(Aws::String&& value) { SetVersion(std::move(value)); return *this;}
236 inline UpdateApiResult& WithVersion(const char* value) { SetVersion(value); return *this;}
238
240
244 inline const Aws::Vector<Aws::String>& GetWarnings() const{ return m_warnings; }
245 inline void SetWarnings(const Aws::Vector<Aws::String>& value) { m_warnings = value; }
246 inline void SetWarnings(Aws::Vector<Aws::String>&& value) { m_warnings = std::move(value); }
247 inline UpdateApiResult& WithWarnings(const Aws::Vector<Aws::String>& value) { SetWarnings(value); return *this;}
248 inline UpdateApiResult& WithWarnings(Aws::Vector<Aws::String>&& value) { SetWarnings(std::move(value)); return *this;}
249 inline UpdateApiResult& AddWarnings(const Aws::String& value) { m_warnings.push_back(value); return *this; }
250 inline UpdateApiResult& AddWarnings(Aws::String&& value) { m_warnings.push_back(std::move(value)); return *this; }
251 inline UpdateApiResult& AddWarnings(const char* value) { m_warnings.push_back(value); return *this; }
253
255
256 inline const Aws::String& GetRequestId() const{ return m_requestId; }
257 inline void SetRequestId(const Aws::String& value) { m_requestId = value; }
258 inline void SetRequestId(Aws::String&& value) { m_requestId = std::move(value); }
259 inline void SetRequestId(const char* value) { m_requestId.assign(value); }
260 inline UpdateApiResult& WithRequestId(const Aws::String& value) { SetRequestId(value); return *this;}
261 inline UpdateApiResult& WithRequestId(Aws::String&& value) { SetRequestId(std::move(value)); return *this;}
262 inline UpdateApiResult& WithRequestId(const char* value) { SetRequestId(value); return *this;}
264 private:
265
266 Aws::String m_apiEndpoint;
267
268 bool m_apiGatewayManaged;
269
270 Aws::String m_apiId;
271
272 Aws::String m_apiKeySelectionExpression;
273
274 Cors m_corsConfiguration;
275
276 Aws::Utils::DateTime m_createdDate;
277
278 Aws::String m_description;
279
280 bool m_disableSchemaValidation;
281
282 bool m_disableExecuteApiEndpoint;
283
284 Aws::Vector<Aws::String> m_importInfo;
285
286 Aws::String m_name;
287
288 ProtocolType m_protocolType;
289
290 Aws::String m_routeSelectionExpression;
291
293
294 Aws::String m_version;
295
296 Aws::Vector<Aws::String> m_warnings;
297
298 Aws::String m_requestId;
299 };
300
301} // namespace Model
302} // namespace ApiGatewayV2
303} // namespace Aws
UpdateApiResult & WithName(const char *value)
UpdateApiResult & WithVersion(const Aws::String &value)
void SetRequestId(const Aws::String &value)
UpdateApiResult & AddWarnings(Aws::String &&value)
UpdateApiResult & WithApiKeySelectionExpression(Aws::String &&value)
UpdateApiResult & WithDisableSchemaValidation(bool value)
UpdateApiResult & AddWarnings(const char *value)
void SetCreatedDate(const Aws::Utils::DateTime &value)
UpdateApiResult & WithVersion(Aws::String &&value)
UpdateApiResult & WithApiId(const Aws::String &value)
UpdateApiResult & WithCorsConfiguration(const Cors &value)
UpdateApiResult & WithVersion(const char *value)
UpdateApiResult & WithApiEndpoint(Aws::String &&value)
UpdateApiResult & AddImportInfo(const Aws::String &value)
UpdateApiResult & WithDescription(Aws::String &&value)
void SetVersion(const Aws::String &value)
void SetProtocolType(const ProtocolType &value)
void SetName(const Aws::String &value)
UpdateApiResult & WithDisableExecuteApiEndpoint(bool value)
UpdateApiResult & WithProtocolType(ProtocolType &&value)
UpdateApiResult & AddTags(Aws::String &&key, Aws::String &&value)
const Aws::String & GetDescription() const
UpdateApiResult & WithRequestId(const Aws::String &value)
void SetApiKeySelectionExpression(Aws::String &&value)
const Aws::String & GetRequestId() const
UpdateApiResult & WithCreatedDate(const Aws::Utils::DateTime &value)
void SetApiKeySelectionExpression(const char *value)
const Aws::String & GetRouteSelectionExpression() const
UpdateApiResult & WithName(const Aws::String &value)
UpdateApiResult & AddTags(const Aws::String &key, Aws::String &&value)
UpdateApiResult & WithTags(const Aws::Map< Aws::String, Aws::String > &value)
UpdateApiResult & WithCorsConfiguration(Cors &&value)
UpdateApiResult & WithCreatedDate(Aws::Utils::DateTime &&value)
void SetApiKeySelectionExpression(const Aws::String &value)
UpdateApiResult & WithTags(Aws::Map< Aws::String, Aws::String > &&value)
void SetTags(const Aws::Map< Aws::String, Aws::String > &value)
void SetRouteSelectionExpression(const Aws::String &value)
void SetCreatedDate(Aws::Utils::DateTime &&value)
void SetImportInfo(const Aws::Vector< Aws::String > &value)
AWS_APIGATEWAYV2_API UpdateApiResult & operator=(const Aws::AmazonWebServiceResult< Aws::Utils::Json::JsonValue > &result)
UpdateApiResult & WithApiKeySelectionExpression(const char *value)
UpdateApiResult & WithRouteSelectionExpression(const char *value)
UpdateApiResult & WithImportInfo(const Aws::Vector< Aws::String > &value)
void SetTags(Aws::Map< Aws::String, Aws::String > &&value)
UpdateApiResult & WithRequestId(Aws::String &&value)
void SetApiEndpoint(const Aws::String &value)
UpdateApiResult & WithDescription(const char *value)
UpdateApiResult & AddTags(Aws::String &&key, const Aws::String &value)
UpdateApiResult & AddImportInfo(Aws::String &&value)
UpdateApiResult & AddTags(Aws::String &&key, const char *value)
const Aws::Vector< Aws::String > & GetWarnings() const
UpdateApiResult & AddTags(const char *key, const char *value)
UpdateApiResult & WithApiEndpoint(const char *value)
void SetRouteSelectionExpression(Aws::String &&value)
void SetWarnings(const Aws::Vector< Aws::String > &value)
const Aws::String & GetApiEndpoint() const
UpdateApiResult & WithRequestId(const char *value)
UpdateApiResult & WithDescription(const Aws::String &value)
UpdateApiResult & WithApiKeySelectionExpression(const Aws::String &value)
UpdateApiResult & WithRouteSelectionExpression(Aws::String &&value)
const Aws::Map< Aws::String, Aws::String > & GetTags() const
UpdateApiResult & WithProtocolType(const ProtocolType &value)
const Aws::String & GetApiKeySelectionExpression() const
void SetImportInfo(Aws::Vector< Aws::String > &&value)
UpdateApiResult & WithWarnings(Aws::Vector< Aws::String > &&value)
void SetProtocolType(ProtocolType &&value)
const ProtocolType & GetProtocolType() const
void SetDescription(const Aws::String &value)
const Aws::Utils::DateTime & GetCreatedDate() const
AWS_APIGATEWAYV2_API UpdateApiResult(const Aws::AmazonWebServiceResult< Aws::Utils::Json::JsonValue > &result)
UpdateApiResult & WithApiId(Aws::String &&value)
void SetRouteSelectionExpression(const char *value)
UpdateApiResult & WithApiId(const char *value)
void SetApiId(const Aws::String &value)
UpdateApiResult & WithApiEndpoint(const Aws::String &value)
UpdateApiResult & WithWarnings(const Aws::Vector< Aws::String > &value)
UpdateApiResult & WithApiGatewayManaged(bool value)
UpdateApiResult & WithImportInfo(Aws::Vector< Aws::String > &&value)
UpdateApiResult & AddImportInfo(const char *value)
UpdateApiResult & WithName(Aws::String &&value)
UpdateApiResult & AddTags(const char *key, Aws::String &&value)
UpdateApiResult & AddTags(const Aws::String &key, const Aws::String &value)
const Aws::Vector< Aws::String > & GetImportInfo() const
UpdateApiResult & WithRouteSelectionExpression(const Aws::String &value)
void SetWarnings(Aws::Vector< Aws::String > &&value)
UpdateApiResult & AddWarnings(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
std::vector< T, Aws::Allocator< T > > Vector
Aws::Utils::Json::JsonValue JsonValue