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/apigateway/model/GatewayResponseType.h>
11#include <aws/core/utils/memory/stl/AWSMap.h>
49 inline void SetRestApiId(
const char* value) { m_restApiIdHasBeenSet =
true; m_restApiId.assign(value); }
75 inline void SetStatusCode(
const char* value) { m_statusCodeHasBeenSet =
true; m_statusCode.assign(value); }
123 bool m_restApiIdHasBeenSet =
false;
126 bool m_responseTypeHasBeenSet =
false;
129 bool m_statusCodeHasBeenSet =
false;
132 bool m_responseParametersHasBeenSet =
false;
135 bool m_responseTemplatesHasBeenSet =
false;
void SetResponseType(const GatewayResponseType &value)
PutGatewayResponseRequest & AddResponseParameters(Aws::String &&key, const char *value)
void SetResponseParameters(Aws::Map< Aws::String, Aws::String > &&value)
PutGatewayResponseRequest & AddResponseParameters(const char *key, Aws::String &&value)
PutGatewayResponseRequest & WithStatusCode(const Aws::String &value)
void SetRestApiId(Aws::String &&value)
void SetResponseTemplates(const Aws::Map< Aws::String, Aws::String > &value)
bool StatusCodeHasBeenSet() const
AWS_APIGATEWAY_API PutGatewayResponseRequest()
PutGatewayResponseRequest & AddResponseParameters(Aws::String &&key, const Aws::String &value)
PutGatewayResponseRequest & WithResponseParameters(Aws::Map< Aws::String, Aws::String > &&value)
PutGatewayResponseRequest & AddResponseParameters(const Aws::String &key, Aws::String &&value)
PutGatewayResponseRequest & WithStatusCode(Aws::String &&value)
PutGatewayResponseRequest & WithStatusCode(const char *value)
bool ResponseTypeHasBeenSet() const
PutGatewayResponseRequest & WithResponseType(const GatewayResponseType &value)
void SetResponseType(GatewayResponseType &&value)
PutGatewayResponseRequest & WithResponseTemplates(const Aws::Map< Aws::String, Aws::String > &value)
void SetRestApiId(const char *value)
void SetResponseTemplates(Aws::Map< Aws::String, Aws::String > &&value)
PutGatewayResponseRequest & WithResponseType(GatewayResponseType &&value)
PutGatewayResponseRequest & WithResponseParameters(const Aws::Map< Aws::String, Aws::String > &value)
PutGatewayResponseRequest & WithRestApiId(const char *value)
const Aws::String & GetStatusCode() const
void SetStatusCode(const char *value)
PutGatewayResponseRequest & AddResponseTemplates(Aws::String &&key, const Aws::String &value)
const Aws::Map< Aws::String, Aws::String > & GetResponseParameters() const
PutGatewayResponseRequest & WithRestApiId(Aws::String &&value)
PutGatewayResponseRequest & AddResponseParameters(const char *key, const char *value)
PutGatewayResponseRequest & WithResponseTemplates(Aws::Map< Aws::String, Aws::String > &&value)
PutGatewayResponseRequest & AddResponseTemplates(const Aws::String &key, Aws::String &&value)
bool RestApiIdHasBeenSet() const
void SetStatusCode(Aws::String &&value)
bool ResponseTemplatesHasBeenSet() const
void SetRestApiId(const Aws::String &value)
PutGatewayResponseRequest & AddResponseParameters(Aws::String &&key, Aws::String &&value)
const Aws::Map< Aws::String, Aws::String > & GetResponseTemplates() const
PutGatewayResponseRequest & AddResponseTemplates(Aws::String &&key, const char *value)
PutGatewayResponseRequest & AddResponseTemplates(Aws::String &&key, Aws::String &&value)
const GatewayResponseType & GetResponseType() const
void SetStatusCode(const Aws::String &value)
virtual const char * GetServiceRequestName() const override
void SetResponseParameters(const Aws::Map< Aws::String, Aws::String > &value)
PutGatewayResponseRequest & AddResponseTemplates(const Aws::String &key, const Aws::String &value)
PutGatewayResponseRequest & AddResponseTemplates(const char *key, Aws::String &&value)
PutGatewayResponseRequest & AddResponseTemplates(const char *key, const char *value)
PutGatewayResponseRequest & AddResponseParameters(const Aws::String &key, const Aws::String &value)
bool ResponseParametersHasBeenSet() const
PutGatewayResponseRequest & WithRestApiId(const Aws::String &value)
AWS_APIGATEWAY_API Aws::String SerializePayload() const override
const Aws::String & GetRestApiId() const
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