AWS SDK for C++

AWS SDK for C++ Version 1.11.440

Loading...
Searching...
No Matches
ReimportApiResult.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 ReimportApiResult();
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 ReimportApiResult& WithApiEndpoint(const Aws::String& value) { SetApiEndpoint(value); return *this;}
51 inline ReimportApiResult& WithApiEndpoint(Aws::String&& value) { SetApiEndpoint(std::move(value)); return *this;}
52 inline ReimportApiResult& 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 ReimportApiResult& 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 ReimportApiResult& WithApiId(const Aws::String& value) { SetApiId(value); return *this;}
75 inline ReimportApiResult& WithApiId(Aws::String&& value) { SetApiId(std::move(value)); return *this;}
76 inline ReimportApiResult& 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 ReimportApiResult& 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 ReimportApiResult& WithCorsConfiguration(const Cors& value) { SetCorsConfiguration(value); return *this;}
102 inline ReimportApiResult& 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 ReimportApiResult& WithCreatedDate(const Aws::Utils::DateTime& value) { SetCreatedDate(value); return *this;}
113 inline ReimportApiResult& 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 ReimportApiResult& WithDescription(const Aws::String& value) { SetDescription(value); return *this;}
125 inline ReimportApiResult& WithDescription(Aws::String&& value) { SetDescription(std::move(value)); return *this;}
126 inline ReimportApiResult& 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; }
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 ReimportApiResult& WithImportInfo(const Aws::Vector<Aws::String>& value) { SetImportInfo(value); return *this;}
162 inline ReimportApiResult& WithImportInfo(Aws::Vector<Aws::String>&& value) { SetImportInfo(std::move(value)); return *this;}
163 inline ReimportApiResult& AddImportInfo(const Aws::String& value) { m_importInfo.push_back(value); return *this; }
164 inline ReimportApiResult& AddImportInfo(Aws::String&& value) { m_importInfo.push_back(std::move(value)); return *this; }
165 inline ReimportApiResult& 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 ReimportApiResult& WithName(const Aws::String& value) { SetName(value); return *this;}
177 inline ReimportApiResult& WithName(Aws::String&& value) { SetName(std::move(value)); return *this;}
178 inline ReimportApiResult& 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 ReimportApiResult& WithProtocolType(const ProtocolType& value) { SetProtocolType(value); return *this;}
189 inline ReimportApiResult& 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); }
205 inline ReimportApiResult& 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 ReimportApiResult& WithTags(const Aws::Map<Aws::String, Aws::String>& value) { SetTags(value); return *this;}
216 inline ReimportApiResult& WithTags(Aws::Map<Aws::String, Aws::String>&& value) { SetTags(std::move(value)); return *this;}
217 inline ReimportApiResult& AddTags(const Aws::String& key, const Aws::String& value) { m_tags.emplace(key, value); return *this; }
218 inline ReimportApiResult& AddTags(Aws::String&& key, const Aws::String& value) { m_tags.emplace(std::move(key), value); return *this; }
219 inline ReimportApiResult& AddTags(const Aws::String& key, Aws::String&& value) { m_tags.emplace(key, std::move(value)); return *this; }
220 inline ReimportApiResult& AddTags(Aws::String&& key, Aws::String&& value) { m_tags.emplace(std::move(key), std::move(value)); return *this; }
221 inline ReimportApiResult& AddTags(const char* key, Aws::String&& value) { m_tags.emplace(key, std::move(value)); return *this; }
222 inline ReimportApiResult& AddTags(Aws::String&& key, const char* value) { m_tags.emplace(std::move(key), value); return *this; }
223 inline ReimportApiResult& 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 ReimportApiResult& WithVersion(const Aws::String& value) { SetVersion(value); return *this;}
235 inline ReimportApiResult& WithVersion(Aws::String&& value) { SetVersion(std::move(value)); return *this;}
236 inline ReimportApiResult& 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 ReimportApiResult& WithWarnings(const Aws::Vector<Aws::String>& value) { SetWarnings(value); return *this;}
248 inline ReimportApiResult& WithWarnings(Aws::Vector<Aws::String>&& value) { SetWarnings(std::move(value)); return *this;}
249 inline ReimportApiResult& AddWarnings(const Aws::String& value) { m_warnings.push_back(value); return *this; }
250 inline ReimportApiResult& AddWarnings(Aws::String&& value) { m_warnings.push_back(std::move(value)); return *this; }
251 inline ReimportApiResult& 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 ReimportApiResult& WithRequestId(const Aws::String& value) { SetRequestId(value); return *this;}
261 inline ReimportApiResult& WithRequestId(Aws::String&& value) { SetRequestId(std::move(value)); return *this;}
262 inline ReimportApiResult& 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
ReimportApiResult & AddTags(const Aws::String &key, Aws::String &&value)
ReimportApiResult & AddImportInfo(Aws::String &&value)
ReimportApiResult & AddWarnings(const char *value)
ReimportApiResult & AddTags(const Aws::String &key, const Aws::String &value)
ReimportApiResult & WithApiEndpoint(const Aws::String &value)
ReimportApiResult & WithDescription(const Aws::String &value)
ReimportApiResult & WithCreatedDate(Aws::Utils::DateTime &&value)
ReimportApiResult & AddTags(const char *key, Aws::String &&value)
void SetApiKeySelectionExpression(const Aws::String &value)
AWS_APIGATEWAYV2_API ReimportApiResult(const Aws::AmazonWebServiceResult< Aws::Utils::Json::JsonValue > &result)
void SetTags(const Aws::Map< Aws::String, Aws::String > &value)
ReimportApiResult & WithApiGatewayManaged(bool value)
ReimportApiResult & WithDescription(Aws::String &&value)
ReimportApiResult & WithName(const Aws::String &value)
ReimportApiResult & WithApiId(const Aws::String &value)
ReimportApiResult & WithName(Aws::String &&value)
ReimportApiResult & AddTags(Aws::String &&key, const Aws::String &value)
void SetApiEndpoint(const Aws::String &value)
ReimportApiResult & AddImportInfo(const Aws::String &value)
ReimportApiResult & WithVersion(Aws::String &&value)
ReimportApiResult & WithWarnings(const Aws::Vector< Aws::String > &value)
void SetRequestId(const Aws::String &value)
ReimportApiResult & WithProtocolType(ProtocolType &&value)
AWS_APIGATEWAYV2_API ReimportApiResult & operator=(const Aws::AmazonWebServiceResult< Aws::Utils::Json::JsonValue > &result)
ReimportApiResult & WithApiEndpoint(Aws::String &&value)
ReimportApiResult & WithDisableExecuteApiEndpoint(bool value)
ReimportApiResult & WithApiKeySelectionExpression(const Aws::String &value)
ReimportApiResult & AddImportInfo(const char *value)
ReimportApiResult & WithTags(Aws::Map< Aws::String, Aws::String > &&value)
ReimportApiResult & WithName(const char *value)
ReimportApiResult & WithTags(const Aws::Map< Aws::String, Aws::String > &value)
ReimportApiResult & WithCorsConfiguration(Cors &&value)
ReimportApiResult & WithRequestId(const char *value)
ReimportApiResult & WithRouteSelectionExpression(Aws::String &&value)
ReimportApiResult & WithVersion(const char *value)
void SetRouteSelectionExpression(Aws::String &&value)
void SetCreatedDate(const Aws::Utils::DateTime &value)
ReimportApiResult & WithApiKeySelectionExpression(Aws::String &&value)
ReimportApiResult & WithRequestId(Aws::String &&value)
ReimportApiResult & AddWarnings(const Aws::String &value)
ReimportApiResult & WithRouteSelectionExpression(const char *value)
ReimportApiResult & AddTags(Aws::String &&key, const char *value)
void SetRouteSelectionExpression(const Aws::String &value)
ReimportApiResult & WithProtocolType(const ProtocolType &value)
ReimportApiResult & WithRouteSelectionExpression(const Aws::String &value)
void SetProtocolType(const ProtocolType &value)
ReimportApiResult & WithCreatedDate(const Aws::Utils::DateTime &value)
ReimportApiResult & WithApiId(const char *value)
ReimportApiResult & WithImportInfo(const Aws::Vector< Aws::String > &value)
const Aws::Map< Aws::String, Aws::String > & GetTags() const
const Aws::Vector< Aws::String > & GetWarnings() const
ReimportApiResult & WithWarnings(Aws::Vector< Aws::String > &&value)
void SetVersion(const Aws::String &value)
const Aws::Vector< Aws::String > & GetImportInfo() const
ReimportApiResult & WithVersion(const Aws::String &value)
void SetCreatedDate(Aws::Utils::DateTime &&value)
void SetWarnings(const Aws::Vector< Aws::String > &value)
void SetImportInfo(const Aws::Vector< Aws::String > &value)
void SetImportInfo(Aws::Vector< Aws::String > &&value)
ReimportApiResult & WithApiId(Aws::String &&value)
ReimportApiResult & AddWarnings(Aws::String &&value)
void SetApiId(const Aws::String &value)
const Aws::String & GetRouteSelectionExpression() const
ReimportApiResult & WithApiEndpoint(const char *value)
ReimportApiResult & WithDisableSchemaValidation(bool value)
ReimportApiResult & WithRequestId(const Aws::String &value)
const Aws::Utils::DateTime & GetCreatedDate() const
ReimportApiResult & WithApiKeySelectionExpression(const char *value)
void SetTags(Aws::Map< Aws::String, Aws::String > &&value)
void SetApiKeySelectionExpression(Aws::String &&value)
void SetWarnings(Aws::Vector< Aws::String > &&value)
ReimportApiResult & WithDescription(const char *value)
ReimportApiResult & AddTags(const char *key, const char *value)
ReimportApiResult & WithCorsConfiguration(const Cors &value)
ReimportApiResult & AddTags(Aws::String &&key, Aws::String &&value)
void SetDescription(const Aws::String &value)
const Aws::String & GetApiKeySelectionExpression() const
ReimportApiResult & WithImportInfo(Aws::Vector< 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