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>
18template<
typename RESULT_TYPE>
19class AmazonWebServiceResult;
49 inline void SetApiEndpoint(
const char* value) { m_apiEndpoint.assign(value); }
73 inline void SetApiId(
const char* value) { m_apiId.assign(value); }
175 inline void SetName(
const char* value) { m_name.assign(value); }
223 inline GetApiResult&
AddTags(
const char* key,
const char* value) { m_tags.emplace(key, value);
return *
this; }
233 inline void SetVersion(
const char* value) { m_version.assign(value); }
259 inline void SetRequestId(
const char* value) { m_requestId.assign(value); }
268 bool m_apiGatewayManaged;
274 Cors m_corsConfiguration;
280 bool m_disableSchemaValidation;
282 bool m_disableExecuteApiEndpoint;
GetApiResult & AddImportInfo(const Aws::String &value)
const Aws::Map< Aws::String, Aws::String > & GetTags() const
const Aws::String & GetRouteSelectionExpression() const
void SetDisableExecuteApiEndpoint(bool value)
GetApiResult & WithApiEndpoint(Aws::String &&value)
GetApiResult & WithApiEndpoint(const char *value)
GetApiResult & WithApiId(Aws::String &&value)
GetApiResult & AddWarnings(const Aws::String &value)
GetApiResult & AddImportInfo(Aws::String &&value)
void SetVersion(const char *value)
void SetName(const Aws::String &value)
GetApiResult & WithImportInfo(const Aws::Vector< Aws::String > &value)
GetApiResult & WithWarnings(const Aws::Vector< Aws::String > &value)
const Aws::String & GetApiId() const
GetApiResult & AddWarnings(const char *value)
void SetApiEndpoint(Aws::String &&value)
GetApiResult & WithApiId(const char *value)
GetApiResult & AddTags(const char *key, const char *value)
GetApiResult & WithRouteSelectionExpression(const char *value)
GetApiResult & AddTags(const Aws::String &key, Aws::String &&value)
void SetDisableSchemaValidation(bool value)
GetApiResult & WithRouteSelectionExpression(Aws::String &&value)
const Aws::Vector< Aws::String > & GetImportInfo() const
GetApiResult & WithRequestId(Aws::String &&value)
const ProtocolType & GetProtocolType() const
GetApiResult & WithProtocolType(ProtocolType &&value)
void SetVersion(const Aws::String &value)
const Aws::String & GetName() const
GetApiResult & AddTags(const Aws::String &key, const Aws::String &value)
GetApiResult & WithApiGatewayManaged(bool value)
void SetDescription(const char *value)
void SetApiId(const Aws::String &value)
GetApiResult & WithDescription(const Aws::String &value)
GetApiResult & WithApiEndpoint(const Aws::String &value)
GetApiResult & WithVersion(const Aws::String &value)
void SetApiEndpoint(const char *value)
AWS_APIGATEWAYV2_API GetApiResult()
void SetRouteSelectionExpression(Aws::String &&value)
GetApiResult & WithCreatedDate(Aws::Utils::DateTime &&value)
void SetApiId(Aws::String &&value)
const Aws::String & GetDescription() const
void SetApiEndpoint(const Aws::String &value)
AWS_APIGATEWAYV2_API GetApiResult & operator=(const Aws::AmazonWebServiceResult< Aws::Utils::Json::JsonValue > &result)
GetApiResult & WithTags(const Aws::Map< Aws::String, Aws::String > &value)
void SetImportInfo(Aws::Vector< Aws::String > &&value)
bool GetApiGatewayManaged() const
GetApiResult & AddTags(Aws::String &&key, const char *value)
GetApiResult & WithProtocolType(const ProtocolType &value)
void SetCorsConfiguration(const Cors &value)
GetApiResult & AddTags(const char *key, Aws::String &&value)
GetApiResult & WithDescription(const char *value)
void SetApiKeySelectionExpression(Aws::String &&value)
void SetApiId(const char *value)
void SetRequestId(const char *value)
void SetApiKeySelectionExpression(const Aws::String &value)
void SetCreatedDate(Aws::Utils::DateTime &&value)
GetApiResult & WithImportInfo(Aws::Vector< Aws::String > &&value)
const Aws::String & GetRequestId() const
void SetProtocolType(const ProtocolType &value)
GetApiResult & WithCorsConfiguration(const Cors &value)
GetApiResult & WithVersion(Aws::String &&value)
GetApiResult & WithDescription(Aws::String &&value)
void SetWarnings(Aws::Vector< Aws::String > &&value)
GetApiResult & WithApiKeySelectionExpression(const Aws::String &value)
void SetRequestId(Aws::String &&value)
void SetImportInfo(const Aws::Vector< Aws::String > &value)
GetApiResult & WithRequestId(const char *value)
GetApiResult & WithApiKeySelectionExpression(const char *value)
void SetRouteSelectionExpression(const char *value)
AWS_APIGATEWAYV2_API GetApiResult(const Aws::AmazonWebServiceResult< Aws::Utils::Json::JsonValue > &result)
void SetTags(Aws::Map< Aws::String, Aws::String > &&value)
GetApiResult & WithRouteSelectionExpression(const Aws::String &value)
void SetRequestId(const Aws::String &value)
void SetApiGatewayManaged(bool value)
GetApiResult & AddTags(Aws::String &&key, Aws::String &&value)
bool GetDisableExecuteApiEndpoint() const
void SetName(Aws::String &&value)
GetApiResult & WithVersion(const char *value)
GetApiResult & WithRequestId(const Aws::String &value)
GetApiResult & AddTags(Aws::String &&key, const Aws::String &value)
GetApiResult & WithDisableExecuteApiEndpoint(bool value)
GetApiResult & AddWarnings(Aws::String &&value)
bool GetDisableSchemaValidation() const
GetApiResult & WithApiKeySelectionExpression(Aws::String &&value)
GetApiResult & WithName(const Aws::String &value)
void SetCorsConfiguration(Cors &&value)
const Aws::String & GetApiKeySelectionExpression() const
GetApiResult & WithCreatedDate(const Aws::Utils::DateTime &value)
GetApiResult & WithApiId(const Aws::String &value)
GetApiResult & WithDisableSchemaValidation(bool value)
const Aws::String & GetApiEndpoint() const
const Aws::String & GetVersion() const
GetApiResult & WithCorsConfiguration(Cors &&value)
GetApiResult & WithWarnings(Aws::Vector< Aws::String > &&value)
GetApiResult & WithName(const char *value)
void SetDescription(Aws::String &&value)
const Aws::Utils::DateTime & GetCreatedDate() const
const Cors & GetCorsConfiguration() const
void SetDescription(const Aws::String &value)
GetApiResult & WithName(Aws::String &&value)
void SetProtocolType(ProtocolType &&value)
void SetName(const char *value)
const Aws::Vector< Aws::String > & GetWarnings() const
GetApiResult & WithTags(Aws::Map< Aws::String, Aws::String > &&value)
void SetTags(const Aws::Map< Aws::String, Aws::String > &value)
GetApiResult & AddImportInfo(const char *value)
void SetRouteSelectionExpression(const Aws::String &value)
void SetCreatedDate(const Aws::Utils::DateTime &value)
void SetWarnings(const Aws::Vector< Aws::String > &value)
void SetApiKeySelectionExpression(const char *value)
void SetVersion(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