7#include <aws/apigateway/APIGateway_EXPORTS.h>
8#include <aws/apigateway/model/GatewayResponseType.h>
9#include <aws/core/utils/memory/stl/AWSString.h>
10#include <aws/core/utils/memory/stl/AWSMap.h>
63 inline void SetStatusCode(
const char* value) { m_statusCodeHasBeenSet =
true; m_statusCode.assign(value); }
118 inline void SetDefaultResponse(
bool value) { m_defaultResponseHasBeenSet =
true; m_defaultResponse = value; }
128 inline void SetRequestId(
const char* value) { m_requestIdHasBeenSet =
true; m_requestId.assign(value); }
136 bool m_responseTypeHasBeenSet =
false;
139 bool m_statusCodeHasBeenSet =
false;
142 bool m_responseParametersHasBeenSet =
false;
145 bool m_responseTemplatesHasBeenSet =
false;
147 bool m_defaultResponse;
148 bool m_defaultResponseHasBeenSet =
false;
151 bool m_requestIdHasBeenSet =
false;
GatewayResponse & AddResponseTemplates(const char *key, Aws::String &&value)
void SetStatusCode(const char *value)
bool ResponseParametersHasBeenSet() const
GatewayResponse & AddResponseParameters(const char *key, Aws::String &&value)
GatewayResponse & WithRequestId(Aws::String &&value)
GatewayResponse & AddResponseParameters(const char *key, const char *value)
GatewayResponse & WithStatusCode(const Aws::String &value)
void SetRequestId(Aws::String &&value)
GatewayResponse & AddResponseTemplates(const char *key, const char *value)
void SetResponseParameters(const Aws::Map< Aws::String, Aws::String > &value)
void SetStatusCode(Aws::String &&value)
const Aws::Map< Aws::String, Aws::String > & GetResponseParameters() const
void SetResponseTemplates(Aws::Map< Aws::String, Aws::String > &&value)
GatewayResponse & WithRequestId(const Aws::String &value)
bool ResponseTemplatesHasBeenSet() const
bool RequestIdHasBeenSet() const
GatewayResponse & AddResponseParameters(const Aws::String &key, const Aws::String &value)
GatewayResponse & WithResponseParameters(const Aws::Map< Aws::String, Aws::String > &value)
const GatewayResponseType & GetResponseType() const
GatewayResponse & AddResponseParameters(Aws::String &&key, const char *value)
GatewayResponse & AddResponseParameters(Aws::String &&key, const Aws::String &value)
bool GetDefaultResponse() const
void SetDefaultResponse(bool value)
void SetRequestId(const char *value)
GatewayResponse & WithDefaultResponse(bool value)
bool StatusCodeHasBeenSet() const
GatewayResponse & WithResponseTemplates(Aws::Map< Aws::String, Aws::String > &&value)
GatewayResponse & AddResponseTemplates(const Aws::String &key, Aws::String &&value)
GatewayResponse & WithResponseParameters(Aws::Map< Aws::String, Aws::String > &&value)
void SetResponseType(GatewayResponseType &&value)
GatewayResponse & AddResponseTemplates(Aws::String &&key, const char *value)
const Aws::String & GetStatusCode() const
void SetStatusCode(const Aws::String &value)
void SetResponseTemplates(const Aws::Map< Aws::String, Aws::String > &value)
GatewayResponse & WithResponseType(const GatewayResponseType &value)
GatewayResponse & AddResponseTemplates(const Aws::String &key, const Aws::String &value)
GatewayResponse & WithResponseTemplates(const Aws::Map< Aws::String, Aws::String > &value)
GatewayResponse & WithResponseType(GatewayResponseType &&value)
AWS_APIGATEWAY_API GatewayResponse & operator=(Aws::Utils::Json::JsonView jsonValue)
AWS_APIGATEWAY_API GatewayResponse()
GatewayResponse & AddResponseTemplates(Aws::String &&key, Aws::String &&value)
GatewayResponse & WithStatusCode(Aws::String &&value)
void SetResponseParameters(Aws::Map< Aws::String, Aws::String > &&value)
void SetRequestId(const Aws::String &value)
GatewayResponse & AddResponseTemplates(Aws::String &&key, const Aws::String &value)
bool DefaultResponseHasBeenSet() const
GatewayResponse & WithRequestId(const char *value)
void SetResponseType(const GatewayResponseType &value)
const Aws::String & GetRequestId() const
bool ResponseTypeHasBeenSet() const
AWS_APIGATEWAY_API Aws::Utils::Json::JsonValue Jsonize() const
GatewayResponse & AddResponseParameters(const Aws::String &key, Aws::String &&value)
GatewayResponse & WithStatusCode(const char *value)
AWS_APIGATEWAY_API GatewayResponse(Aws::Utils::Json::JsonView jsonValue)
const Aws::Map< Aws::String, Aws::String > & GetResponseTemplates() const
GatewayResponse & AddResponseParameters(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