7#include <aws/apigateway/APIGateway_EXPORTS.h>
8#include <aws/apigateway/APIGatewayRequest.h>
9#include <aws/core/utils/memory/stl/AWSString.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>
51 inline void SetName(
const char* value) { m_nameHasBeenSet =
true; m_name.assign(value); }
65 inline void SetDescription(
const char* value) { m_descriptionHasBeenSet =
true; m_description.assign(value); }
79 inline void SetVersion(
const char* value) { m_versionHasBeenSet =
true; m_version.assign(value); }
93 inline void SetCloneFrom(
const char* value) { m_cloneFromHasBeenSet =
true; m_cloneFrom.assign(value); }
166 inline void SetPolicy(
const char* value) { m_policyHasBeenSet =
true; m_policy.assign(value); }
209 bool m_nameHasBeenSet =
false;
212 bool m_descriptionHasBeenSet =
false;
215 bool m_versionHasBeenSet =
false;
218 bool m_cloneFromHasBeenSet =
false;
221 bool m_binaryMediaTypesHasBeenSet =
false;
223 int m_minimumCompressionSize;
224 bool m_minimumCompressionSizeHasBeenSet =
false;
227 bool m_apiKeySourceHasBeenSet =
false;
230 bool m_endpointConfigurationHasBeenSet =
false;
233 bool m_policyHasBeenSet =
false;
236 bool m_tagsHasBeenSet =
false;
238 bool m_disableExecuteApiEndpoint;
239 bool m_disableExecuteApiEndpointHasBeenSet =
false;
CreateRestApiRequest & WithDescription(const Aws::String &value)
CreateRestApiRequest & WithTags(const Aws::Map< Aws::String, Aws::String > &value)
void SetVersion(const char *value)
void SetCloneFrom(const Aws::String &value)
CreateRestApiRequest & WithCloneFrom(Aws::String &&value)
CreateRestApiRequest & WithApiKeySource(ApiKeySourceType &&value)
const Aws::String & GetVersion() const
CreateRestApiRequest & WithEndpointConfiguration(const EndpointConfiguration &value)
bool TagsHasBeenSet() const
CreateRestApiRequest & WithPolicy(const char *value)
CreateRestApiRequest & WithBinaryMediaTypes(Aws::Vector< Aws::String > &&value)
bool CloneFromHasBeenSet() const
int GetMinimumCompressionSize() const
const Aws::Map< Aws::String, Aws::String > & GetTags() const
void SetPolicy(const Aws::String &value)
void SetBinaryMediaTypes(const Aws::Vector< Aws::String > &value)
bool NameHasBeenSet() const
const ApiKeySourceType & GetApiKeySource() const
CreateRestApiRequest & AddTags(Aws::String &&key, const Aws::String &value)
CreateRestApiRequest & AddTags(Aws::String &&key, const char *value)
void SetCloneFrom(Aws::String &&value)
virtual const char * GetServiceRequestName() const override
void SetDescription(Aws::String &&value)
void SetDescription(const Aws::String &value)
void SetTags(Aws::Map< Aws::String, Aws::String > &&value)
CreateRestApiRequest & WithName(const Aws::String &value)
void SetVersion(const Aws::String &value)
void SetApiKeySource(const ApiKeySourceType &value)
const Aws::String & GetPolicy() const
void SetName(const Aws::String &value)
bool VersionHasBeenSet() const
bool MinimumCompressionSizeHasBeenSet() const
const Aws::Vector< Aws::String > & GetBinaryMediaTypes() const
void SetCloneFrom(const char *value)
const Aws::String & GetCloneFrom() const
CreateRestApiRequest & WithVersion(const char *value)
CreateRestApiRequest & WithVersion(Aws::String &&value)
CreateRestApiRequest & WithBinaryMediaTypes(const Aws::Vector< Aws::String > &value)
CreateRestApiRequest & WithDescription(const char *value)
CreateRestApiRequest & WithName(const char *value)
bool DisableExecuteApiEndpointHasBeenSet() const
CreateRestApiRequest & WithPolicy(const Aws::String &value)
bool GetDisableExecuteApiEndpoint() const
CreateRestApiRequest & AddBinaryMediaTypes(Aws::String &&value)
CreateRestApiRequest & AddBinaryMediaTypes(const Aws::String &value)
CreateRestApiRequest & WithDisableExecuteApiEndpoint(bool value)
void SetName(const char *value)
void SetPolicy(const char *value)
AWS_APIGATEWAY_API Aws::String SerializePayload() const override
bool PolicyHasBeenSet() const
CreateRestApiRequest & WithName(Aws::String &&value)
bool BinaryMediaTypesHasBeenSet() const
void SetName(Aws::String &&value)
CreateRestApiRequest & WithCloneFrom(const char *value)
const Aws::String & GetDescription() const
bool EndpointConfigurationHasBeenSet() const
CreateRestApiRequest & WithMinimumCompressionSize(int value)
void SetEndpointConfiguration(const EndpointConfiguration &value)
void SetVersion(Aws::String &&value)
AWS_APIGATEWAY_API CreateRestApiRequest()
CreateRestApiRequest & WithApiKeySource(const ApiKeySourceType &value)
CreateRestApiRequest & AddTags(Aws::String &&key, Aws::String &&value)
void SetBinaryMediaTypes(Aws::Vector< Aws::String > &&value)
CreateRestApiRequest & WithDescription(Aws::String &&value)
void SetDescription(const char *value)
CreateRestApiRequest & WithEndpointConfiguration(EndpointConfiguration &&value)
const EndpointConfiguration & GetEndpointConfiguration() const
void SetApiKeySource(ApiKeySourceType &&value)
CreateRestApiRequest & AddTags(const Aws::String &key, Aws::String &&value)
CreateRestApiRequest & WithVersion(const Aws::String &value)
void SetTags(const Aws::Map< Aws::String, Aws::String > &value)
CreateRestApiRequest & WithCloneFrom(const Aws::String &value)
CreateRestApiRequest & WithPolicy(Aws::String &&value)
void SetPolicy(Aws::String &&value)
CreateRestApiRequest & WithTags(Aws::Map< Aws::String, Aws::String > &&value)
void SetEndpointConfiguration(EndpointConfiguration &&value)
bool DescriptionHasBeenSet() const
CreateRestApiRequest & AddTags(const Aws::String &key, const Aws::String &value)
CreateRestApiRequest & AddBinaryMediaTypes(const char *value)
CreateRestApiRequest & AddTags(const char *key, const char *value)
void SetMinimumCompressionSize(int value)
void SetDisableExecuteApiEndpoint(bool value)
bool ApiKeySourceHasBeenSet() const
const Aws::String & GetName() const
CreateRestApiRequest & AddTags(const char *key, 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