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>
53 inline void SetId(
Aws::String&& value) { m_idHasBeenSet =
true; m_id = std::move(value); }
54 inline void SetId(
const char* value) { m_idHasBeenSet =
true; m_id.assign(value); }
68 inline void SetName(
const char* value) { m_nameHasBeenSet =
true; m_name.assign(value); }
82 inline void SetDescription(
const char* value) { m_descriptionHasBeenSet =
true; m_description.assign(value); }
108 inline void SetVersion(
const char* value) { m_versionHasBeenSet =
true; m_version.assign(value); }
127 inline RestApi&
AddWarnings(
const char* value) { m_warningsHasBeenSet =
true; m_warnings.push_back(value);
return *
this; }
143 inline RestApi&
AddBinaryMediaTypes(
const char* value) { m_binaryMediaTypesHasBeenSet =
true; m_binaryMediaTypes.push_back(value);
return *
this; }
197 inline void SetPolicy(
const char* value) { m_policyHasBeenSet =
true; m_policy.assign(value); }
218 inline RestApi&
AddTags(
const char* key,
Aws::String&& value) { m_tagsHasBeenSet =
true; m_tags.emplace(key, std::move(value));
return *
this; }
219 inline RestApi&
AddTags(
Aws::String&& key,
const char* value) { m_tagsHasBeenSet =
true; m_tags.emplace(std::move(key), value);
return *
this; }
220 inline RestApi&
AddTags(
const char* key,
const char* value) { m_tagsHasBeenSet =
true; m_tags.emplace(key, value);
return *
this; }
245 inline void SetRootResourceId(
const char* value) { m_rootResourceIdHasBeenSet =
true; m_rootResourceId.assign(value); }
257 inline void SetRequestId(
const char* value) { m_requestIdHasBeenSet =
true; m_requestId.assign(value); }
265 bool m_idHasBeenSet =
false;
268 bool m_nameHasBeenSet =
false;
271 bool m_descriptionHasBeenSet =
false;
274 bool m_createdDateHasBeenSet =
false;
277 bool m_versionHasBeenSet =
false;
280 bool m_warningsHasBeenSet =
false;
283 bool m_binaryMediaTypesHasBeenSet =
false;
285 int m_minimumCompressionSize;
286 bool m_minimumCompressionSizeHasBeenSet =
false;
289 bool m_apiKeySourceHasBeenSet =
false;
292 bool m_endpointConfigurationHasBeenSet =
false;
295 bool m_policyHasBeenSet =
false;
298 bool m_tagsHasBeenSet =
false;
300 bool m_disableExecuteApiEndpoint;
301 bool m_disableExecuteApiEndpointHasBeenSet =
false;
304 bool m_rootResourceIdHasBeenSet =
false;
307 bool m_requestIdHasBeenSet =
false;
RestApi & AddWarnings(const Aws::String &value)
void SetRequestId(Aws::String &&value)
bool DisableExecuteApiEndpointHasBeenSet() const
RestApi & WithTags(Aws::Map< Aws::String, Aws::String > &&value)
void SetDisableExecuteApiEndpoint(bool value)
void SetWarnings(Aws::Vector< Aws::String > &&value)
RestApi & WithVersion(const char *value)
RestApi & WithBinaryMediaTypes(Aws::Vector< Aws::String > &&value)
RestApi & WithWarnings(const Aws::Vector< Aws::String > &value)
RestApi & WithId(const char *value)
void SetId(Aws::String &&value)
RestApi & WithId(const Aws::String &value)
AWS_APIGATEWAY_API Aws::Utils::Json::JsonValue Jsonize() const
const Aws::String & GetDescription() const
bool IdHasBeenSet() const
int GetMinimumCompressionSize() const
RestApi & WithRequestId(const Aws::String &value)
RestApi & AddTags(Aws::String &&key, const char *value)
RestApi & WithCreatedDate(Aws::Utils::DateTime &&value)
const Aws::String & GetId() const
const Aws::String & GetVersion() const
bool MinimumCompressionSizeHasBeenSet() const
bool VersionHasBeenSet() const
const Aws::String & GetRequestId() const
bool TagsHasBeenSet() const
bool PolicyHasBeenSet() const
RestApi & WithRootResourceId(const Aws::String &value)
RestApi & WithEndpointConfiguration(EndpointConfiguration &&value)
bool RootResourceIdHasBeenSet() const
bool GetDisableExecuteApiEndpoint() const
AWS_APIGATEWAY_API RestApi(Aws::Utils::Json::JsonView jsonValue)
RestApi & WithVersion(const Aws::String &value)
RestApi & WithName(Aws::String &&value)
void SetId(const char *value)
RestApi & AddTags(const char *key, const char *value)
const Aws::Vector< Aws::String > & GetWarnings() const
RestApi & WithName(const Aws::String &value)
RestApi & WithPolicy(const Aws::String &value)
bool CreatedDateHasBeenSet() const
AWS_APIGATEWAY_API RestApi & operator=(Aws::Utils::Json::JsonView jsonValue)
void SetBinaryMediaTypes(Aws::Vector< Aws::String > &&value)
void SetPolicy(const Aws::String &value)
bool BinaryMediaTypesHasBeenSet() const
void SetApiKeySource(ApiKeySourceType &&value)
RestApi & WithPolicy(const char *value)
void SetDescription(Aws::String &&value)
bool WarningsHasBeenSet() const
void SetDescription(const Aws::String &value)
void SetCreatedDate(const Aws::Utils::DateTime &value)
RestApi & AddWarnings(const char *value)
void SetEndpointConfiguration(EndpointConfiguration &&value)
RestApi & WithRootResourceId(Aws::String &&value)
const Aws::String & GetPolicy() const
void SetRequestId(const char *value)
RestApi & WithRequestId(const char *value)
RestApi & WithRootResourceId(const char *value)
const ApiKeySourceType & GetApiKeySource() const
RestApi & AddTags(const char *key, Aws::String &&value)
void SetPolicy(Aws::String &&value)
RestApi & AddBinaryMediaTypes(Aws::String &&value)
RestApi & WithBinaryMediaTypes(const Aws::Vector< Aws::String > &value)
void SetName(const Aws::String &value)
void SetEndpointConfiguration(const EndpointConfiguration &value)
RestApi & WithTags(const Aws::Map< Aws::String, Aws::String > &value)
void SetRootResourceId(const char *value)
const Aws::String & GetName() const
bool ApiKeySourceHasBeenSet() const
RestApi & WithCreatedDate(const Aws::Utils::DateTime &value)
RestApi & AddTags(const Aws::String &key, const Aws::String &value)
RestApi & WithWarnings(Aws::Vector< Aws::String > &&value)
bool EndpointConfigurationHasBeenSet() const
const Aws::Utils::DateTime & GetCreatedDate() const
RestApi & AddWarnings(Aws::String &&value)
RestApi & WithDescription(const Aws::String &value)
void SetApiKeySource(const ApiKeySourceType &value)
RestApi & WithPolicy(Aws::String &&value)
void SetPolicy(const char *value)
void SetVersion(const char *value)
RestApi & WithApiKeySource(const ApiKeySourceType &value)
RestApi & WithDescription(Aws::String &&value)
void SetName(const char *value)
RestApi & AddBinaryMediaTypes(const char *value)
RestApi & WithName(const char *value)
AWS_APIGATEWAY_API RestApi()
RestApi & WithId(Aws::String &&value)
void SetVersion(Aws::String &&value)
void SetName(Aws::String &&value)
void SetRootResourceId(const Aws::String &value)
RestApi & AddTags(Aws::String &&key, Aws::String &&value)
void SetTags(Aws::Map< Aws::String, Aws::String > &&value)
void SetId(const Aws::String &value)
void SetCreatedDate(Aws::Utils::DateTime &&value)
const Aws::String & GetRootResourceId() const
RestApi & WithDescription(const char *value)
void SetWarnings(const Aws::Vector< Aws::String > &value)
RestApi & WithEndpointConfiguration(const EndpointConfiguration &value)
RestApi & WithApiKeySource(ApiKeySourceType &&value)
const Aws::Vector< Aws::String > & GetBinaryMediaTypes() const
const Aws::Map< Aws::String, Aws::String > & GetTags() const
void SetRootResourceId(Aws::String &&value)
void SetRequestId(const Aws::String &value)
RestApi & WithVersion(Aws::String &&value)
void SetBinaryMediaTypes(const Aws::Vector< Aws::String > &value)
RestApi & AddBinaryMediaTypes(const Aws::String &value)
bool RequestIdHasBeenSet() const
void SetMinimumCompressionSize(int value)
RestApi & WithMinimumCompressionSize(int value)
RestApi & AddTags(Aws::String &&key, const Aws::String &value)
bool NameHasBeenSet() const
RestApi & WithRequestId(Aws::String &&value)
const EndpointConfiguration & GetEndpointConfiguration() const
RestApi & WithDisableExecuteApiEndpoint(bool value)
void SetVersion(const Aws::String &value)
void SetDescription(const char *value)
bool DescriptionHasBeenSet() const
void SetTags(const Aws::Map< Aws::String, Aws::String > &value)
RestApi & AddTags(const Aws::String &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
Aws::Utils::Json::JsonValue JsonValue