7#include <aws/apigatewayv2/ApiGatewayV2_EXPORTS.h>
8#include <aws/core/utils/memory/stl/AWSString.h>
9#include <aws/core/utils/memory/stl/AWSMap.h>
10#include <aws/apigatewayv2/model/ParameterConstraints.h>
51 inline void SetModelSelectionExpression(
const char* value) { m_modelSelectionExpressionHasBeenSet =
true; m_modelSelectionExpression.assign(value); }
73 inline RouteResponse&
AddResponseModels(
const char* key,
const char* value) { m_responseModelsHasBeenSet =
true; m_responseModels.emplace(key, value);
return *
this; }
102 inline void SetRouteResponseId(
const char* value) { m_routeResponseIdHasBeenSet =
true; m_routeResponseId.assign(value); }
116 inline void SetRouteResponseKey(
const char* value) { m_routeResponseKeyHasBeenSet =
true; m_routeResponseKey.assign(value); }
124 bool m_modelSelectionExpressionHasBeenSet =
false;
127 bool m_responseModelsHasBeenSet =
false;
130 bool m_responseParametersHasBeenSet =
false;
133 bool m_routeResponseIdHasBeenSet =
false;
136 bool m_routeResponseKeyHasBeenSet =
false;
bool RouteResponseKeyHasBeenSet() const
void SetModelSelectionExpression(const Aws::String &value)
void SetModelSelectionExpression(const char *value)
RouteResponse & AddResponseModels(Aws::String &&key, Aws::String &&value)
RouteResponse & AddResponseModels(Aws::String &&key, const Aws::String &value)
AWS_APIGATEWAYV2_API RouteResponse(Aws::Utils::Json::JsonView jsonValue)
RouteResponse & WithRouteResponseId(const char *value)
void SetRouteResponseId(Aws::String &&value)
void SetResponseModels(const Aws::Map< Aws::String, Aws::String > &value)
const Aws::String & GetRouteResponseId() const
AWS_APIGATEWAYV2_API RouteResponse()
RouteResponse & AddResponseParameters(const Aws::String &key, const ParameterConstraints &value)
void SetRouteResponseKey(const Aws::String &value)
RouteResponse & WithModelSelectionExpression(const Aws::String &value)
RouteResponse & AddResponseParameters(const Aws::String &key, ParameterConstraints &&value)
RouteResponse & AddResponseParameters(const char *key, ParameterConstraints &&value)
RouteResponse & WithRouteResponseKey(const char *value)
RouteResponse & WithResponseModels(const Aws::Map< Aws::String, Aws::String > &value)
void SetResponseModels(Aws::Map< Aws::String, Aws::String > &&value)
AWS_APIGATEWAYV2_API RouteResponse & operator=(Aws::Utils::Json::JsonView jsonValue)
void SetRouteResponseKey(const char *value)
RouteResponse & WithResponseModels(Aws::Map< Aws::String, Aws::String > &&value)
RouteResponse & WithRouteResponseId(Aws::String &&value)
void SetRouteResponseId(const Aws::String &value)
bool ResponseParametersHasBeenSet() const
bool ModelSelectionExpressionHasBeenSet() const
const Aws::String & GetRouteResponseKey() const
RouteResponse & WithModelSelectionExpression(const char *value)
RouteResponse & AddResponseParameters(Aws::String &&key, const ParameterConstraints &value)
RouteResponse & WithModelSelectionExpression(Aws::String &&value)
RouteResponse & WithRouteResponseKey(Aws::String &&value)
void SetRouteResponseKey(Aws::String &&value)
const Aws::Map< Aws::String, Aws::String > & GetResponseModels() const
RouteResponse & AddResponseModels(const Aws::String &key, const Aws::String &value)
bool ResponseModelsHasBeenSet() const
RouteResponse & WithRouteResponseKey(const Aws::String &value)
RouteResponse & AddResponseModels(const char *key, const char *value)
void SetResponseParameters(const Aws::Map< Aws::String, ParameterConstraints > &value)
RouteResponse & AddResponseModels(Aws::String &&key, const char *value)
void SetRouteResponseId(const char *value)
RouteResponse & WithRouteResponseId(const Aws::String &value)
void SetModelSelectionExpression(Aws::String &&value)
RouteResponse & WithResponseParameters(Aws::Map< Aws::String, ParameterConstraints > &&value)
const Aws::Map< Aws::String, ParameterConstraints > & GetResponseParameters() const
void SetResponseParameters(Aws::Map< Aws::String, ParameterConstraints > &&value)
RouteResponse & AddResponseModels(const char *key, Aws::String &&value)
RouteResponse & AddResponseParameters(const char *key, const ParameterConstraints &value)
AWS_APIGATEWAYV2_API Aws::Utils::Json::JsonValue Jsonize() const
const Aws::String & GetModelSelectionExpression() const
RouteResponse & WithResponseParameters(const Aws::Map< Aws::String, ParameterConstraints > &value)
RouteResponse & AddResponseParameters(Aws::String &&key, ParameterConstraints &&value)
bool RouteResponseIdHasBeenSet() const
RouteResponse & AddResponseModels(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
Aws::Utils::Json::JsonValue JsonValue