AWS SDK for C++

AWS SDK for C++ Version 1.11.440

Loading...
Searching...
No Matches
Api.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{
18namespace Utils
19{
20namespace Json
21{
22 class JsonValue;
23 class JsonView;
24} // namespace Json
25} // namespace Utils
26namespace ApiGatewayV2
27{
28namespace Model
29{
30
36 class Api
37 {
38 public:
39 AWS_APIGATEWAYV2_API Api();
40 AWS_APIGATEWAYV2_API Api(Aws::Utils::Json::JsonView jsonValue);
41 AWS_APIGATEWAYV2_API Api& operator=(Aws::Utils::Json::JsonView jsonValue);
42 AWS_APIGATEWAYV2_API Aws::Utils::Json::JsonValue Jsonize() const;
43
44
46
51 inline const Aws::String& GetApiEndpoint() const{ return m_apiEndpoint; }
52 inline bool ApiEndpointHasBeenSet() const { return m_apiEndpointHasBeenSet; }
53 inline void SetApiEndpoint(const Aws::String& value) { m_apiEndpointHasBeenSet = true; m_apiEndpoint = value; }
54 inline void SetApiEndpoint(Aws::String&& value) { m_apiEndpointHasBeenSet = true; m_apiEndpoint = std::move(value); }
55 inline void SetApiEndpoint(const char* value) { m_apiEndpointHasBeenSet = true; m_apiEndpoint.assign(value); }
56 inline Api& WithApiEndpoint(const Aws::String& value) { SetApiEndpoint(value); return *this;}
57 inline Api& WithApiEndpoint(Aws::String&& value) { SetApiEndpoint(std::move(value)); return *this;}
58 inline Api& WithApiEndpoint(const char* value) { SetApiEndpoint(value); return *this;}
60
62
67 inline bool GetApiGatewayManaged() const{ return m_apiGatewayManaged; }
68 inline bool ApiGatewayManagedHasBeenSet() const { return m_apiGatewayManagedHasBeenSet; }
69 inline void SetApiGatewayManaged(bool value) { m_apiGatewayManagedHasBeenSet = true; m_apiGatewayManaged = value; }
70 inline Api& WithApiGatewayManaged(bool value) { SetApiGatewayManaged(value); return *this;}
72
74
77 inline const Aws::String& GetApiId() const{ return m_apiId; }
78 inline bool ApiIdHasBeenSet() const { return m_apiIdHasBeenSet; }
79 inline void SetApiId(const Aws::String& value) { m_apiIdHasBeenSet = true; m_apiId = value; }
80 inline void SetApiId(Aws::String&& value) { m_apiIdHasBeenSet = true; m_apiId = std::move(value); }
81 inline void SetApiId(const char* value) { m_apiIdHasBeenSet = true; m_apiId.assign(value); }
82 inline Api& WithApiId(const Aws::String& value) { SetApiId(value); return *this;}
83 inline Api& WithApiId(Aws::String&& value) { SetApiId(std::move(value)); return *this;}
84 inline Api& WithApiId(const char* value) { SetApiId(value); return *this;}
86
88
93 inline const Aws::String& GetApiKeySelectionExpression() const{ return m_apiKeySelectionExpression; }
94 inline bool ApiKeySelectionExpressionHasBeenSet() const { return m_apiKeySelectionExpressionHasBeenSet; }
95 inline void SetApiKeySelectionExpression(const Aws::String& value) { m_apiKeySelectionExpressionHasBeenSet = true; m_apiKeySelectionExpression = value; }
96 inline void SetApiKeySelectionExpression(Aws::String&& value) { m_apiKeySelectionExpressionHasBeenSet = true; m_apiKeySelectionExpression = std::move(value); }
97 inline void SetApiKeySelectionExpression(const char* value) { m_apiKeySelectionExpressionHasBeenSet = true; m_apiKeySelectionExpression.assign(value); }
98 inline Api& WithApiKeySelectionExpression(const Aws::String& value) { SetApiKeySelectionExpression(value); return *this;}
99 inline Api& WithApiKeySelectionExpression(Aws::String&& value) { SetApiKeySelectionExpression(std::move(value)); return *this;}
100 inline Api& WithApiKeySelectionExpression(const char* value) { SetApiKeySelectionExpression(value); return *this;}
102
104
107 inline const Cors& GetCorsConfiguration() const{ return m_corsConfiguration; }
108 inline bool CorsConfigurationHasBeenSet() const { return m_corsConfigurationHasBeenSet; }
109 inline void SetCorsConfiguration(const Cors& value) { m_corsConfigurationHasBeenSet = true; m_corsConfiguration = value; }
110 inline void SetCorsConfiguration(Cors&& value) { m_corsConfigurationHasBeenSet = true; m_corsConfiguration = std::move(value); }
111 inline Api& WithCorsConfiguration(const Cors& value) { SetCorsConfiguration(value); return *this;}
112 inline Api& WithCorsConfiguration(Cors&& value) { SetCorsConfiguration(std::move(value)); return *this;}
114
116
119 inline const Aws::Utils::DateTime& GetCreatedDate() const{ return m_createdDate; }
120 inline bool CreatedDateHasBeenSet() const { return m_createdDateHasBeenSet; }
121 inline void SetCreatedDate(const Aws::Utils::DateTime& value) { m_createdDateHasBeenSet = true; m_createdDate = value; }
122 inline void SetCreatedDate(Aws::Utils::DateTime&& value) { m_createdDateHasBeenSet = true; m_createdDate = std::move(value); }
123 inline Api& WithCreatedDate(const Aws::Utils::DateTime& value) { SetCreatedDate(value); return *this;}
124 inline Api& WithCreatedDate(Aws::Utils::DateTime&& value) { SetCreatedDate(std::move(value)); return *this;}
126
128
131 inline const Aws::String& GetDescription() const{ return m_description; }
132 inline bool DescriptionHasBeenSet() const { return m_descriptionHasBeenSet; }
133 inline void SetDescription(const Aws::String& value) { m_descriptionHasBeenSet = true; m_description = value; }
134 inline void SetDescription(Aws::String&& value) { m_descriptionHasBeenSet = true; m_description = std::move(value); }
135 inline void SetDescription(const char* value) { m_descriptionHasBeenSet = true; m_description.assign(value); }
136 inline Api& WithDescription(const Aws::String& value) { SetDescription(value); return *this;}
137 inline Api& WithDescription(Aws::String&& value) { SetDescription(std::move(value)); return *this;}
138 inline Api& WithDescription(const char* value) { SetDescription(value); return *this;}
140
142
146 inline bool GetDisableSchemaValidation() const{ return m_disableSchemaValidation; }
147 inline bool DisableSchemaValidationHasBeenSet() const { return m_disableSchemaValidationHasBeenSet; }
148 inline void SetDisableSchemaValidation(bool value) { m_disableSchemaValidationHasBeenSet = true; m_disableSchemaValidation = value; }
149 inline Api& WithDisableSchemaValidation(bool value) { SetDisableSchemaValidation(value); return *this;}
151
153
160 inline bool GetDisableExecuteApiEndpoint() const{ return m_disableExecuteApiEndpoint; }
161 inline bool DisableExecuteApiEndpointHasBeenSet() const { return m_disableExecuteApiEndpointHasBeenSet; }
162 inline void SetDisableExecuteApiEndpoint(bool value) { m_disableExecuteApiEndpointHasBeenSet = true; m_disableExecuteApiEndpoint = value; }
163 inline Api& WithDisableExecuteApiEndpoint(bool value) { SetDisableExecuteApiEndpoint(value); return *this;}
165
167
172 inline const Aws::Vector<Aws::String>& GetImportInfo() const{ return m_importInfo; }
173 inline bool ImportInfoHasBeenSet() const { return m_importInfoHasBeenSet; }
174 inline void SetImportInfo(const Aws::Vector<Aws::String>& value) { m_importInfoHasBeenSet = true; m_importInfo = value; }
175 inline void SetImportInfo(Aws::Vector<Aws::String>&& value) { m_importInfoHasBeenSet = true; m_importInfo = std::move(value); }
176 inline Api& WithImportInfo(const Aws::Vector<Aws::String>& value) { SetImportInfo(value); return *this;}
177 inline Api& WithImportInfo(Aws::Vector<Aws::String>&& value) { SetImportInfo(std::move(value)); return *this;}
178 inline Api& AddImportInfo(const Aws::String& value) { m_importInfoHasBeenSet = true; m_importInfo.push_back(value); return *this; }
179 inline Api& AddImportInfo(Aws::String&& value) { m_importInfoHasBeenSet = true; m_importInfo.push_back(std::move(value)); return *this; }
180 inline Api& AddImportInfo(const char* value) { m_importInfoHasBeenSet = true; m_importInfo.push_back(value); return *this; }
182
184
187 inline const Aws::String& GetName() const{ return m_name; }
188 inline bool NameHasBeenSet() const { return m_nameHasBeenSet; }
189 inline void SetName(const Aws::String& value) { m_nameHasBeenSet = true; m_name = value; }
190 inline void SetName(Aws::String&& value) { m_nameHasBeenSet = true; m_name = std::move(value); }
191 inline void SetName(const char* value) { m_nameHasBeenSet = true; m_name.assign(value); }
192 inline Api& WithName(const Aws::String& value) { SetName(value); return *this;}
193 inline Api& WithName(Aws::String&& value) { SetName(std::move(value)); return *this;}
194 inline Api& WithName(const char* value) { SetName(value); return *this;}
196
198
201 inline const ProtocolType& GetProtocolType() const{ return m_protocolType; }
202 inline bool ProtocolTypeHasBeenSet() const { return m_protocolTypeHasBeenSet; }
203 inline void SetProtocolType(const ProtocolType& value) { m_protocolTypeHasBeenSet = true; m_protocolType = value; }
204 inline void SetProtocolType(ProtocolType&& value) { m_protocolTypeHasBeenSet = true; m_protocolType = std::move(value); }
205 inline Api& WithProtocolType(const ProtocolType& value) { SetProtocolType(value); return *this;}
206 inline Api& WithProtocolType(ProtocolType&& value) { SetProtocolType(std::move(value)); return *this;}
208
210
216 inline const Aws::String& GetRouteSelectionExpression() const{ return m_routeSelectionExpression; }
217 inline bool RouteSelectionExpressionHasBeenSet() const { return m_routeSelectionExpressionHasBeenSet; }
218 inline void SetRouteSelectionExpression(const Aws::String& value) { m_routeSelectionExpressionHasBeenSet = true; m_routeSelectionExpression = value; }
219 inline void SetRouteSelectionExpression(Aws::String&& value) { m_routeSelectionExpressionHasBeenSet = true; m_routeSelectionExpression = std::move(value); }
220 inline void SetRouteSelectionExpression(const char* value) { m_routeSelectionExpressionHasBeenSet = true; m_routeSelectionExpression.assign(value); }
221 inline Api& WithRouteSelectionExpression(const Aws::String& value) { SetRouteSelectionExpression(value); return *this;}
222 inline Api& WithRouteSelectionExpression(Aws::String&& value) { SetRouteSelectionExpression(std::move(value)); return *this;}
223 inline Api& WithRouteSelectionExpression(const char* value) { SetRouteSelectionExpression(value); return *this;}
225
227
230 inline const Aws::Map<Aws::String, Aws::String>& GetTags() const{ return m_tags; }
231 inline bool TagsHasBeenSet() const { return m_tagsHasBeenSet; }
232 inline void SetTags(const Aws::Map<Aws::String, Aws::String>& value) { m_tagsHasBeenSet = true; m_tags = value; }
233 inline void SetTags(Aws::Map<Aws::String, Aws::String>&& value) { m_tagsHasBeenSet = true; m_tags = std::move(value); }
234 inline Api& WithTags(const Aws::Map<Aws::String, Aws::String>& value) { SetTags(value); return *this;}
235 inline Api& WithTags(Aws::Map<Aws::String, Aws::String>&& value) { SetTags(std::move(value)); return *this;}
236 inline Api& AddTags(const Aws::String& key, const Aws::String& value) { m_tagsHasBeenSet = true; m_tags.emplace(key, value); return *this; }
237 inline Api& AddTags(Aws::String&& key, const Aws::String& value) { m_tagsHasBeenSet = true; m_tags.emplace(std::move(key), value); return *this; }
238 inline Api& AddTags(const Aws::String& key, Aws::String&& value) { m_tagsHasBeenSet = true; m_tags.emplace(key, std::move(value)); return *this; }
239 inline Api& AddTags(Aws::String&& key, Aws::String&& value) { m_tagsHasBeenSet = true; m_tags.emplace(std::move(key), std::move(value)); return *this; }
240 inline Api& AddTags(const char* key, Aws::String&& value) { m_tagsHasBeenSet = true; m_tags.emplace(key, std::move(value)); return *this; }
241 inline Api& AddTags(Aws::String&& key, const char* value) { m_tagsHasBeenSet = true; m_tags.emplace(std::move(key), value); return *this; }
242 inline Api& AddTags(const char* key, const char* value) { m_tagsHasBeenSet = true; m_tags.emplace(key, value); return *this; }
244
246
249 inline const Aws::String& GetVersion() const{ return m_version; }
250 inline bool VersionHasBeenSet() const { return m_versionHasBeenSet; }
251 inline void SetVersion(const Aws::String& value) { m_versionHasBeenSet = true; m_version = value; }
252 inline void SetVersion(Aws::String&& value) { m_versionHasBeenSet = true; m_version = std::move(value); }
253 inline void SetVersion(const char* value) { m_versionHasBeenSet = true; m_version.assign(value); }
254 inline Api& WithVersion(const Aws::String& value) { SetVersion(value); return *this;}
255 inline Api& WithVersion(Aws::String&& value) { SetVersion(std::move(value)); return *this;}
256 inline Api& WithVersion(const char* value) { SetVersion(value); return *this;}
258
260
264 inline const Aws::Vector<Aws::String>& GetWarnings() const{ return m_warnings; }
265 inline bool WarningsHasBeenSet() const { return m_warningsHasBeenSet; }
266 inline void SetWarnings(const Aws::Vector<Aws::String>& value) { m_warningsHasBeenSet = true; m_warnings = value; }
267 inline void SetWarnings(Aws::Vector<Aws::String>&& value) { m_warningsHasBeenSet = true; m_warnings = std::move(value); }
268 inline Api& WithWarnings(const Aws::Vector<Aws::String>& value) { SetWarnings(value); return *this;}
269 inline Api& WithWarnings(Aws::Vector<Aws::String>&& value) { SetWarnings(std::move(value)); return *this;}
270 inline Api& AddWarnings(const Aws::String& value) { m_warningsHasBeenSet = true; m_warnings.push_back(value); return *this; }
271 inline Api& AddWarnings(Aws::String&& value) { m_warningsHasBeenSet = true; m_warnings.push_back(std::move(value)); return *this; }
272 inline Api& AddWarnings(const char* value) { m_warningsHasBeenSet = true; m_warnings.push_back(value); return *this; }
274 private:
275
276 Aws::String m_apiEndpoint;
277 bool m_apiEndpointHasBeenSet = false;
278
279 bool m_apiGatewayManaged;
280 bool m_apiGatewayManagedHasBeenSet = false;
281
282 Aws::String m_apiId;
283 bool m_apiIdHasBeenSet = false;
284
285 Aws::String m_apiKeySelectionExpression;
286 bool m_apiKeySelectionExpressionHasBeenSet = false;
287
288 Cors m_corsConfiguration;
289 bool m_corsConfigurationHasBeenSet = false;
290
291 Aws::Utils::DateTime m_createdDate;
292 bool m_createdDateHasBeenSet = false;
293
294 Aws::String m_description;
295 bool m_descriptionHasBeenSet = false;
296
297 bool m_disableSchemaValidation;
298 bool m_disableSchemaValidationHasBeenSet = false;
299
300 bool m_disableExecuteApiEndpoint;
301 bool m_disableExecuteApiEndpointHasBeenSet = false;
302
303 Aws::Vector<Aws::String> m_importInfo;
304 bool m_importInfoHasBeenSet = false;
305
306 Aws::String m_name;
307 bool m_nameHasBeenSet = false;
308
309 ProtocolType m_protocolType;
310 bool m_protocolTypeHasBeenSet = false;
311
312 Aws::String m_routeSelectionExpression;
313 bool m_routeSelectionExpressionHasBeenSet = false;
314
316 bool m_tagsHasBeenSet = false;
317
318 Aws::String m_version;
319 bool m_versionHasBeenSet = false;
320
321 Aws::Vector<Aws::String> m_warnings;
322 bool m_warningsHasBeenSet = false;
323 };
324
325} // namespace Model
326} // namespace ApiGatewayV2
327} // namespace Aws
void SetRouteSelectionExpression(const char *value)
Definition Api.h:220
Api & WithApiId(const Aws::String &value)
Definition Api.h:82
bool DescriptionHasBeenSet() const
Definition Api.h:132
void SetProtocolType(const ProtocolType &value)
Definition Api.h:203
void SetRouteSelectionExpression(const Aws::String &value)
Definition Api.h:218
Api & WithApiEndpoint(Aws::String &&value)
Definition Api.h:57
Api & WithDisableSchemaValidation(bool value)
Definition Api.h:149
Api & AddImportInfo(const char *value)
Definition Api.h:180
bool GetDisableExecuteApiEndpoint() const
Definition Api.h:160
bool ApiIdHasBeenSet() const
Definition Api.h:78
Api & WithApiKeySelectionExpression(const char *value)
Definition Api.h:100
void SetTags(const Aws::Map< Aws::String, Aws::String > &value)
Definition Api.h:232
void SetDescription(const Aws::String &value)
Definition Api.h:133
void SetApiEndpoint(Aws::String &&value)
Definition Api.h:54
void SetWarnings(const Aws::Vector< Aws::String > &value)
Definition Api.h:266
Api & WithRouteSelectionExpression(const char *value)
Definition Api.h:223
void SetVersion(Aws::String &&value)
Definition Api.h:252
Api & WithDescription(const Aws::String &value)
Definition Api.h:136
bool ApiKeySelectionExpressionHasBeenSet() const
Definition Api.h:94
Api & AddTags(Aws::String &&key, Aws::String &&value)
Definition Api.h:239
bool ApiGatewayManagedHasBeenSet() const
Definition Api.h:68
void SetName(const Aws::String &value)
Definition Api.h:189
Api & WithApiEndpoint(const char *value)
Definition Api.h:58
void SetVersion(const Aws::String &value)
Definition Api.h:251
Api & WithProtocolType(ProtocolType &&value)
Definition Api.h:206
Api & WithApiKeySelectionExpression(Aws::String &&value)
Definition Api.h:99
bool VersionHasBeenSet() const
Definition Api.h:250
bool CorsConfigurationHasBeenSet() const
Definition Api.h:108
Api & WithApiEndpoint(const Aws::String &value)
Definition Api.h:56
const Aws::String & GetApiKeySelectionExpression() const
Definition Api.h:93
const Aws::String & GetVersion() const
Definition Api.h:249
void SetTags(Aws::Map< Aws::String, Aws::String > &&value)
Definition Api.h:233
bool WarningsHasBeenSet() const
Definition Api.h:265
bool ProtocolTypeHasBeenSet() const
Definition Api.h:202
void SetName(Aws::String &&value)
Definition Api.h:190
Api & WithVersion(Aws::String &&value)
Definition Api.h:255
bool DisableExecuteApiEndpointHasBeenSet() const
Definition Api.h:161
Api & AddTags(const Aws::String &key, const Aws::String &value)
Definition Api.h:236
Api & WithName(const Aws::String &value)
Definition Api.h:192
Api & WithApiGatewayManaged(bool value)
Definition Api.h:70
void SetProtocolType(ProtocolType &&value)
Definition Api.h:204
void SetImportInfo(const Aws::Vector< Aws::String > &value)
Definition Api.h:174
Api & AddTags(Aws::String &&key, const Aws::String &value)
Definition Api.h:237
Api & WithTags(Aws::Map< Aws::String, Aws::String > &&value)
Definition Api.h:235
const Aws::String & GetApiEndpoint() const
Definition Api.h:51
bool NameHasBeenSet() const
Definition Api.h:188
Api & WithVersion(const char *value)
Definition Api.h:256
const Cors & GetCorsConfiguration() const
Definition Api.h:107
Api & WithTags(const Aws::Map< Aws::String, Aws::String > &value)
Definition Api.h:234
AWS_APIGATEWAYV2_API Api(Aws::Utils::Json::JsonView jsonValue)
Api & WithApiKeySelectionExpression(const Aws::String &value)
Definition Api.h:98
const Aws::String & GetDescription() const
Definition Api.h:131
Api & AddWarnings(const char *value)
Definition Api.h:272
void SetWarnings(Aws::Vector< Aws::String > &&value)
Definition Api.h:267
void SetRouteSelectionExpression(Aws::String &&value)
Definition Api.h:219
Api & WithImportInfo(const Aws::Vector< Aws::String > &value)
Definition Api.h:176
bool TagsHasBeenSet() const
Definition Api.h:231
AWS_APIGATEWAYV2_API Api()
void SetDisableSchemaValidation(bool value)
Definition Api.h:148
Api & AddImportInfo(Aws::String &&value)
Definition Api.h:179
Api & WithDescription(Aws::String &&value)
Definition Api.h:137
AWS_APIGATEWAYV2_API Aws::Utils::Json::JsonValue Jsonize() const
Api & WithCreatedDate(const Aws::Utils::DateTime &value)
Definition Api.h:123
bool CreatedDateHasBeenSet() const
Definition Api.h:120
Api & WithCorsConfiguration(const Cors &value)
Definition Api.h:111
Api & WithCorsConfiguration(Cors &&value)
Definition Api.h:112
bool ApiEndpointHasBeenSet() const
Definition Api.h:52
const Aws::Map< Aws::String, Aws::String > & GetTags() const
Definition Api.h:230
Api & WithDisableExecuteApiEndpoint(bool value)
Definition Api.h:163
Api & WithImportInfo(Aws::Vector< Aws::String > &&value)
Definition Api.h:177
void SetApiId(const char *value)
Definition Api.h:81
Api & WithCreatedDate(Aws::Utils::DateTime &&value)
Definition Api.h:124
void SetCreatedDate(const Aws::Utils::DateTime &value)
Definition Api.h:121
void SetName(const char *value)
Definition Api.h:191
void SetApiGatewayManaged(bool value)
Definition Api.h:69
Api & WithRouteSelectionExpression(const Aws::String &value)
Definition Api.h:221
bool GetDisableSchemaValidation() const
Definition Api.h:146
Api & WithWarnings(const Aws::Vector< Aws::String > &value)
Definition Api.h:268
const Aws::String & GetApiId() const
Definition Api.h:77
Api & WithDescription(const char *value)
Definition Api.h:138
const Aws::Vector< Aws::String > & GetImportInfo() const
Definition Api.h:172
Api & WithName(const char *value)
Definition Api.h:194
Api & WithRouteSelectionExpression(Aws::String &&value)
Definition Api.h:222
Api & WithVersion(const Aws::String &value)
Definition Api.h:254
void SetApiKeySelectionExpression(const char *value)
Definition Api.h:97
void SetDescription(const char *value)
Definition Api.h:135
Api & WithApiId(const char *value)
Definition Api.h:84
const Aws::Vector< Aws::String > & GetWarnings() const
Definition Api.h:264
void SetCorsConfiguration(const Cors &value)
Definition Api.h:109
const Aws::String & GetName() const
Definition Api.h:187
Api & AddTags(const char *key, Aws::String &&value)
Definition Api.h:240
bool ImportInfoHasBeenSet() const
Definition Api.h:173
void SetApiEndpoint(const char *value)
Definition Api.h:55
AWS_APIGATEWAYV2_API Api & operator=(Aws::Utils::Json::JsonView jsonValue)
void SetDisableExecuteApiEndpoint(bool value)
Definition Api.h:162
void SetApiId(Aws::String &&value)
Definition Api.h:80
Api & AddWarnings(const Aws::String &value)
Definition Api.h:270
Api & AddTags(Aws::String &&key, const char *value)
Definition Api.h:241
Api & AddTags(const Aws::String &key, Aws::String &&value)
Definition Api.h:238
const Aws::Utils::DateTime & GetCreatedDate() const
Definition Api.h:119
bool DisableSchemaValidationHasBeenSet() const
Definition Api.h:147
void SetApiKeySelectionExpression(Aws::String &&value)
Definition Api.h:96
void SetDescription(Aws::String &&value)
Definition Api.h:134
bool GetApiGatewayManaged() const
Definition Api.h:67
Api & WithProtocolType(const ProtocolType &value)
Definition Api.h:205
void SetVersion(const char *value)
Definition Api.h:253
Api & WithWarnings(Aws::Vector< Aws::String > &&value)
Definition Api.h:269
void SetApiKeySelectionExpression(const Aws::String &value)
Definition Api.h:95
void SetApiEndpoint(const Aws::String &value)
Definition Api.h:53
Api & AddImportInfo(const Aws::String &value)
Definition Api.h:178
Api & AddTags(const char *key, const char *value)
Definition Api.h:242
const ProtocolType & GetProtocolType() const
Definition Api.h:201
void SetCreatedDate(Aws::Utils::DateTime &&value)
Definition Api.h:122
Api & WithName(Aws::String &&value)
Definition Api.h:193
const Aws::String & GetRouteSelectionExpression() const
Definition Api.h:216
Api & AddWarnings(Aws::String &&value)
Definition Api.h:271
Api & WithApiId(Aws::String &&value)
Definition Api.h:83
void SetCorsConfiguration(Cors &&value)
Definition Api.h:110
void SetApiId(const Aws::String &value)
Definition Api.h:79
void SetImportInfo(Aws::Vector< Aws::String > &&value)
Definition Api.h:175
bool RouteSelectionExpressionHasBeenSet() const
Definition Api.h:217
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