7#include <aws/apigateway/APIGateway_EXPORTS.h>
8#include <aws/apigateway/model/ApiKeySourceType.h>
9#include <aws/apigateway/model/ApiStatus.h>
10#include <aws/apigateway/model/EndpointAccessMode.h>
11#include <aws/apigateway/model/EndpointConfiguration.h>
12#include <aws/apigateway/model/SecurityPolicy.h>
13#include <aws/core/utils/DateTime.h>
14#include <aws/core/utils/memory/stl/AWSMap.h>
15#include <aws/core/utils/memory/stl/AWSString.h>
16#include <aws/core/utils/memory/stl/AWSVector.h>
49 template <
typename IdT = Aws::String>
51 m_idHasBeenSet =
true;
52 m_id = std::forward<IdT>(value);
54 template <
typename IdT = Aws::String>
56 SetId(std::forward<IdT>(value));
67 template <
typename NameT = Aws::String>
69 m_nameHasBeenSet =
true;
70 m_name = std::forward<NameT>(value);
72 template <
typename NameT = Aws::String>
74 SetName(std::forward<NameT>(value));
85 template <
typename DescriptionT = Aws::String>
87 m_descriptionHasBeenSet =
true;
88 m_description = std::forward<DescriptionT>(value);
90 template <
typename DescriptionT = Aws::String>
103 template <
typename CreatedDateT = Aws::Utils::DateTime>
105 m_createdDateHasBeenSet =
true;
106 m_createdDate = std::forward<CreatedDateT>(value);
108 template <
typename CreatedDateT = Aws::Utils::DateTime>
121 template <
typename VersionT = Aws::String>
123 m_versionHasBeenSet =
true;
124 m_version = std::forward<VersionT>(value);
126 template <
typename VersionT = Aws::String>
140 template <
typename WarningsT = Aws::Vector<Aws::String>>
142 m_warningsHasBeenSet =
true;
143 m_warnings = std::forward<WarningsT>(value);
145 template <
typename WarningsT = Aws::Vector<Aws::String>>
150 template <
typename WarningsT = Aws::String>
152 m_warningsHasBeenSet =
true;
153 m_warnings.emplace_back(std::forward<WarningsT>(value));
165 template <
typename BinaryMediaTypesT = Aws::Vector<Aws::String>>
167 m_binaryMediaTypesHasBeenSet =
true;
168 m_binaryMediaTypes = std::forward<BinaryMediaTypesT>(value);
170 template <
typename BinaryMediaTypesT = Aws::Vector<Aws::String>>
175 template <
typename BinaryMediaTypesT = Aws::String>
177 m_binaryMediaTypesHasBeenSet =
true;
178 m_binaryMediaTypes.emplace_back(std::forward<BinaryMediaTypesT>(value));
194 m_minimumCompressionSizeHasBeenSet =
true;
195 m_minimumCompressionSize = value;
213 m_apiKeySourceHasBeenSet =
true;
214 m_apiKeySource = value;
229 template <
typename Endpo
intConfigurationT = Endpo
intConfiguration>
231 m_endpointConfigurationHasBeenSet =
true;
232 m_endpointConfiguration = std::forward<EndpointConfigurationT>(value);
234 template <
typename Endpo
intConfigurationT = Endpo
intConfiguration>
248 template <
typename PolicyT = Aws::String>
250 m_policyHasBeenSet =
true;
251 m_policy = std::forward<PolicyT>(value);
253 template <
typename PolicyT = Aws::String>
267 template <
typename TagsT = Aws::Map<Aws::String, Aws::String>>
269 m_tagsHasBeenSet =
true;
270 m_tags = std::forward<TagsT>(value);
272 template <
typename TagsT = Aws::Map<Aws::String, Aws::String>>
274 SetTags(std::forward<TagsT>(value));
277 template <
typename TagsKeyT = Aws::String,
typename TagsValueT = Aws::String>
279 m_tagsHasBeenSet =
true;
280 m_tags.emplace(std::forward<TagsKeyT>(key), std::forward<TagsValueT>(value));
296 m_disableExecuteApiEndpointHasBeenSet =
true;
297 m_disableExecuteApiEndpoint = value;
311 template <
typename RootResourceIdT = Aws::String>
313 m_rootResourceIdHasBeenSet =
true;
314 m_rootResourceId = std::forward<RootResourceIdT>(value);
316 template <
typename RootResourceIdT = Aws::String>
331 m_securityPolicyHasBeenSet =
true;
332 m_securityPolicy = value;
347 m_endpointAccessModeHasBeenSet =
true;
348 m_endpointAccessMode = value;
363 m_apiStatusHasBeenSet =
true;
379 template <
typename ApiStatusMessageT = Aws::String>
381 m_apiStatusMessageHasBeenSet =
true;
382 m_apiStatusMessage = std::forward<ApiStatusMessageT>(value);
384 template <
typename ApiStatusMessageT = Aws::String>
395 template <
typename RequestIdT = Aws::String>
397 m_requestIdHasBeenSet =
true;
398 m_requestId = std::forward<RequestIdT>(value);
400 template <
typename RequestIdT = Aws::String>
421 int m_minimumCompressionSize{0};
425 EndpointConfiguration m_endpointConfiguration;
431 bool m_disableExecuteApiEndpoint{
false};
444 bool m_idHasBeenSet =
false;
445 bool m_nameHasBeenSet =
false;
446 bool m_descriptionHasBeenSet =
false;
447 bool m_createdDateHasBeenSet =
false;
448 bool m_versionHasBeenSet =
false;
449 bool m_warningsHasBeenSet =
false;
450 bool m_binaryMediaTypesHasBeenSet =
false;
451 bool m_minimumCompressionSizeHasBeenSet =
false;
452 bool m_apiKeySourceHasBeenSet =
false;
453 bool m_endpointConfigurationHasBeenSet =
false;
454 bool m_policyHasBeenSet =
false;
455 bool m_tagsHasBeenSet =
false;
456 bool m_disableExecuteApiEndpointHasBeenSet =
false;
457 bool m_rootResourceIdHasBeenSet =
false;
458 bool m_securityPolicyHasBeenSet =
false;
459 bool m_endpointAccessModeHasBeenSet =
false;
460 bool m_apiStatusHasBeenSet =
false;
461 bool m_apiStatusMessageHasBeenSet =
false;
462 bool m_requestIdHasBeenSet =
false;
SecurityPolicy GetSecurityPolicy() const
bool DisableExecuteApiEndpointHasBeenSet() const
RestApi & AddTags(TagsKeyT &&key, TagsValueT &&value)
void SetDisableExecuteApiEndpoint(bool value)
AWS_APIGATEWAY_API Aws::Utils::Json::JsonValue Jsonize() const
const Aws::String & GetDescription() const
bool IdHasBeenSet() const
int GetMinimumCompressionSize() const
const Aws::String & GetId() const
const Aws::String & GetVersion() const
void SetApiStatus(ApiStatus value)
bool MinimumCompressionSizeHasBeenSet() const
void SetVersion(VersionT &&value)
bool VersionHasBeenSet() const
void SetApiKeySource(ApiKeySourceType value)
RestApi & AddWarnings(WarningsT &&value)
const Aws::String & GetRequestId() const
bool TagsHasBeenSet() const
bool PolicyHasBeenSet() const
void SetCreatedDate(CreatedDateT &&value)
void SetRootResourceId(RootResourceIdT &&value)
bool RootResourceIdHasBeenSet() const
bool GetDisableExecuteApiEndpoint() const
AWS_APIGATEWAY_API RestApi(Aws::Utils::Json::JsonView jsonValue)
bool EndpointAccessModeHasBeenSet() const
RestApi & WithId(IdT &&value)
const Aws::Vector< Aws::String > & GetWarnings() const
ApiStatus GetApiStatus() const
bool CreatedDateHasBeenSet() const
AWS_APIGATEWAY_API RestApi & operator=(Aws::Utils::Json::JsonView jsonValue)
RestApi & WithApiKeySource(ApiKeySourceType value)
void SetEndpointAccessMode(EndpointAccessMode value)
bool BinaryMediaTypesHasBeenSet() const
bool WarningsHasBeenSet() const
AWS_APIGATEWAY_API RestApi()=default
void SetEndpointConfiguration(EndpointConfigurationT &&value)
RestApi & AddBinaryMediaTypes(BinaryMediaTypesT &&value)
const Aws::String & GetPolicy() const
RestApi & WithRootResourceId(RootResourceIdT &&value)
void SetWarnings(WarningsT &&value)
bool SecurityPolicyHasBeenSet() const
void SetBinaryMediaTypes(BinaryMediaTypesT &&value)
void SetPolicy(PolicyT &&value)
EndpointAccessMode GetEndpointAccessMode() const
RestApi & WithCreatedDate(CreatedDateT &&value)
const Aws::String & GetName() const
RestApi & WithWarnings(WarningsT &&value)
bool ApiKeySourceHasBeenSet() const
RestApi & WithApiStatus(ApiStatus value)
RestApi & WithApiStatusMessage(ApiStatusMessageT &&value)
ApiKeySourceType GetApiKeySource() const
bool EndpointConfigurationHasBeenSet() const
bool ApiStatusHasBeenSet() const
const Aws::Utils::DateTime & GetCreatedDate() const
void SetRequestId(RequestIdT &&value)
RestApi & WithSecurityPolicy(SecurityPolicy value)
void SetApiStatusMessage(ApiStatusMessageT &&value)
RestApi & WithBinaryMediaTypes(BinaryMediaTypesT &&value)
const Aws::String & GetApiStatusMessage() const
RestApi & WithVersion(VersionT &&value)
RestApi & WithRequestId(RequestIdT &&value)
void SetDescription(DescriptionT &&value)
void SetTags(TagsT &&value)
const Aws::String & GetRootResourceId() const
void SetName(NameT &&value)
RestApi & WithDescription(DescriptionT &&value)
RestApi & WithEndpointAccessMode(EndpointAccessMode value)
const Aws::Vector< Aws::String > & GetBinaryMediaTypes() const
const Aws::Map< Aws::String, Aws::String > & GetTags() const
RestApi & WithPolicy(PolicyT &&value)
RestApi & WithName(NameT &&value)
bool RequestIdHasBeenSet() const
RestApi & WithEndpointConfiguration(EndpointConfigurationT &&value)
void SetMinimumCompressionSize(int value)
RestApi & WithMinimumCompressionSize(int value)
RestApi & WithTags(TagsT &&value)
bool NameHasBeenSet() const
const EndpointConfiguration & GetEndpointConfiguration() const
RestApi & WithDisableExecuteApiEndpoint(bool value)
bool ApiStatusMessageHasBeenSet() const
bool DescriptionHasBeenSet() const
void SetSecurityPolicy(SecurityPolicy 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