7#include <aws/apigateway/APIGateway_EXPORTS.h>
8#include <aws/core/utils/memory/stl/AWSString.h>
9#include <aws/core/utils/DateTime.h>
10#include <aws/core/utils/memory/stl/AWSVector.h>
11#include <aws/apigateway/model/ApiKeySourceType.h>
12#include <aws/apigateway/model/EndpointConfiguration.h>
13#include <aws/core/utils/memory/stl/AWSMap.h>
18template<
typename RESULT_TYPE>
19class AmazonWebServiceResult;
51 template<
typename IdT = Aws::String>
52 void SetId(IdT&& value) { m_idHasBeenSet =
true; m_id = std::forward<IdT>(value); }
53 template<
typename IdT = Aws::String>
62 template<
typename NameT = Aws::String>
63 void SetName(NameT&& value) { m_nameHasBeenSet =
true; m_name = std::forward<NameT>(value); }
64 template<
typename NameT = Aws::String>
73 template<
typename DescriptionT = Aws::String>
74 void SetDescription(DescriptionT&& value) { m_descriptionHasBeenSet =
true; m_description = std::forward<DescriptionT>(value); }
75 template<
typename DescriptionT = Aws::String>
84 template<
typename CreatedDateT = Aws::Utils::DateTime>
85 void SetCreatedDate(CreatedDateT&& value) { m_createdDateHasBeenSet =
true; m_createdDate = std::forward<CreatedDateT>(value); }
86 template<
typename CreatedDateT = Aws::Utils::DateTime>
95 template<
typename VersionT = Aws::String>
96 void SetVersion(VersionT&& value) { m_versionHasBeenSet =
true; m_version = std::forward<VersionT>(value); }
97 template<
typename VersionT = Aws::String>
107 template<
typename WarningsT = Aws::Vector<Aws::String>>
108 void SetWarnings(WarningsT&& value) { m_warningsHasBeenSet =
true; m_warnings = std::forward<WarningsT>(value); }
109 template<
typename WarningsT = Aws::Vector<Aws::String>>
111 template<
typename WarningsT = Aws::String>
121 template<
typename BinaryMediaTypesT = Aws::Vector<Aws::String>>
122 void SetBinaryMediaTypes(BinaryMediaTypesT&& value) { m_binaryMediaTypesHasBeenSet =
true; m_binaryMediaTypes = std::forward<BinaryMediaTypesT>(value); }
123 template<
typename BinaryMediaTypesT = Aws::Vector<Aws::String>>
125 template<
typename BinaryMediaTypesT = Aws::String>
160 template<
typename Endpo
intConfigurationT = Endpo
intConfiguration>
161 void SetEndpointConfiguration(EndpointConfigurationT&& value) { m_endpointConfigurationHasBeenSet =
true; m_endpointConfiguration = std::forward<EndpointConfigurationT>(value); }
162 template<
typename Endpo
intConfigurationT = Endpo
intConfiguration>
172 template<
typename PolicyT = Aws::String>
173 void SetPolicy(PolicyT&& value) { m_policyHasBeenSet =
true; m_policy = std::forward<PolicyT>(value); }
174 template<
typename PolicyT = Aws::String>
184 template<
typename TagsT = Aws::Map<Aws::String, Aws::String>>
185 void SetTags(TagsT&& value) { m_tagsHasBeenSet =
true; m_tags = std::forward<TagsT>(value); }
186 template<
typename TagsT = Aws::Map<Aws::String, Aws::String>>
188 template<
typename TagsKeyT = Aws::String,
typename TagsValueT = Aws::String>
190 m_tagsHasBeenSet =
true; m_tags.emplace(std::forward<TagsKeyT>(key), std::forward<TagsValueT>(value));
return *
this;
212 template<
typename RootResourceIdT = Aws::String>
213 void SetRootResourceId(RootResourceIdT&& value) { m_rootResourceIdHasBeenSet =
true; m_rootResourceId = std::forward<RootResourceIdT>(value); }
214 template<
typename RootResourceIdT = Aws::String>
221 template<
typename RequestIdT = Aws::String>
222 void SetRequestId(RequestIdT&& value) { m_requestIdHasBeenSet =
true; m_requestId = std::forward<RequestIdT>(value); }
223 template<
typename RequestIdT = Aws::String>
229 bool m_idHasBeenSet =
false;
232 bool m_nameHasBeenSet =
false;
235 bool m_descriptionHasBeenSet =
false;
238 bool m_createdDateHasBeenSet =
false;
241 bool m_versionHasBeenSet =
false;
244 bool m_warningsHasBeenSet =
false;
247 bool m_binaryMediaTypesHasBeenSet =
false;
249 int m_minimumCompressionSize{0};
250 bool m_minimumCompressionSizeHasBeenSet =
false;
253 bool m_apiKeySourceHasBeenSet =
false;
255 EndpointConfiguration m_endpointConfiguration;
256 bool m_endpointConfigurationHasBeenSet =
false;
259 bool m_policyHasBeenSet =
false;
262 bool m_tagsHasBeenSet =
false;
264 bool m_disableExecuteApiEndpoint{
false};
265 bool m_disableExecuteApiEndpointHasBeenSet =
false;
268 bool m_rootResourceIdHasBeenSet =
false;
271 bool m_requestIdHasBeenSet =
false;
UpdateRestApiResult & WithApiKeySource(ApiKeySourceType value)
const Aws::String & GetName() const
void SetRootResourceId(RootResourceIdT &&value)
UpdateRestApiResult & WithEndpointConfiguration(EndpointConfigurationT &&value)
const Aws::String & GetRootResourceId() const
void SetName(NameT &&value)
UpdateRestApiResult & AddBinaryMediaTypes(BinaryMediaTypesT &&value)
UpdateRestApiResult & WithWarnings(WarningsT &&value)
const Aws::Vector< Aws::String > & GetBinaryMediaTypes() const
const Aws::Utils::DateTime & GetCreatedDate() const
const Aws::String & GetId() const
AWS_APIGATEWAY_API UpdateRestApiResult & operator=(const Aws::AmazonWebServiceResult< Aws::Utils::Json::JsonValue > &result)
void SetApiKeySource(ApiKeySourceType value)
AWS_APIGATEWAY_API UpdateRestApiResult()=default
void SetEndpointConfiguration(EndpointConfigurationT &&value)
void SetTags(TagsT &&value)
UpdateRestApiResult & WithVersion(VersionT &&value)
UpdateRestApiResult & WithRequestId(RequestIdT &&value)
ApiKeySourceType GetApiKeySource() const
UpdateRestApiResult & WithTags(TagsT &&value)
void SetMinimumCompressionSize(int value)
const EndpointConfiguration & GetEndpointConfiguration() const
UpdateRestApiResult & AddWarnings(WarningsT &&value)
UpdateRestApiResult & AddTags(TagsKeyT &&key, TagsValueT &&value)
UpdateRestApiResult & WithDescription(DescriptionT &&value)
UpdateRestApiResult & WithId(IdT &&value)
UpdateRestApiResult & WithPolicy(PolicyT &&value)
const Aws::Map< Aws::String, Aws::String > & GetTags() const
void SetBinaryMediaTypes(BinaryMediaTypesT &&value)
AWS_APIGATEWAY_API UpdateRestApiResult(const Aws::AmazonWebServiceResult< Aws::Utils::Json::JsonValue > &result)
UpdateRestApiResult & WithMinimumCompressionSize(int value)
const Aws::String & GetVersion() const
bool GetDisableExecuteApiEndpoint() const
void SetCreatedDate(CreatedDateT &&value)
UpdateRestApiResult & WithBinaryMediaTypes(BinaryMediaTypesT &&value)
UpdateRestApiResult & WithDisableExecuteApiEndpoint(bool value)
void SetDescription(DescriptionT &&value)
UpdateRestApiResult & WithRootResourceId(RootResourceIdT &&value)
void SetWarnings(WarningsT &&value)
const Aws::String & GetDescription() const
const Aws::Vector< Aws::String > & GetWarnings() const
void SetRequestId(RequestIdT &&value)
void SetDisableExecuteApiEndpoint(bool value)
void SetPolicy(PolicyT &&value)
UpdateRestApiResult & WithName(NameT &&value)
int GetMinimumCompressionSize() const
const Aws::String & GetPolicy() const
void SetVersion(VersionT &&value)
const Aws::String & GetRequestId() const
UpdateRestApiResult & WithCreatedDate(CreatedDateT &&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