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>
15template<
typename RESULT_TYPE>
16class AmazonWebServiceResult;
61 inline void SetStatusCode(
const char* value) { m_statusCode.assign(value); }
122 inline void SetRequestId(
const char* value) { m_requestId.assign(value); }
137 bool m_defaultResponse;
const Aws::String & GetRequestId() const
PutGatewayResponseResult & AddResponseParameters(Aws::String &&key, const char *value)
PutGatewayResponseResult & AddResponseTemplates(Aws::String &&key, Aws::String &&value)
PutGatewayResponseResult & AddResponseTemplates(const char *key, const char *value)
void SetRequestId(const char *value)
PutGatewayResponseResult & WithDefaultResponse(bool value)
void SetResponseType(GatewayResponseType &&value)
PutGatewayResponseResult & AddResponseParameters(Aws::String &&key, const Aws::String &value)
void SetDefaultResponse(bool value)
void SetResponseTemplates(Aws::Map< Aws::String, Aws::String > &&value)
PutGatewayResponseResult & AddResponseTemplates(Aws::String &&key, const Aws::String &value)
void SetStatusCode(Aws::String &&value)
const GatewayResponseType & GetResponseType() const
PutGatewayResponseResult & WithResponseType(const GatewayResponseType &value)
PutGatewayResponseResult & WithStatusCode(const char *value)
void SetStatusCode(const char *value)
PutGatewayResponseResult & WithResponseParameters(Aws::Map< Aws::String, Aws::String > &&value)
const Aws::Map< Aws::String, Aws::String > & GetResponseParameters() const
void SetResponseTemplates(const Aws::Map< Aws::String, Aws::String > &value)
void SetResponseType(const GatewayResponseType &value)
PutGatewayResponseResult & AddResponseTemplates(const char *key, Aws::String &&value)
void SetRequestId(const Aws::String &value)
PutGatewayResponseResult & AddResponseParameters(Aws::String &&key, Aws::String &&value)
PutGatewayResponseResult & WithRequestId(const char *value)
PutGatewayResponseResult & AddResponseTemplates(const Aws::String &key, Aws::String &&value)
PutGatewayResponseResult & WithResponseTemplates(Aws::Map< Aws::String, Aws::String > &&value)
PutGatewayResponseResult & WithResponseType(GatewayResponseType &&value)
PutGatewayResponseResult & AddResponseTemplates(Aws::String &&key, const char *value)
void SetStatusCode(const Aws::String &value)
PutGatewayResponseResult & WithResponseParameters(const Aws::Map< Aws::String, Aws::String > &value)
PutGatewayResponseResult & AddResponseParameters(const Aws::String &key, const Aws::String &value)
PutGatewayResponseResult & WithRequestId(Aws::String &&value)
PutGatewayResponseResult & WithStatusCode(const Aws::String &value)
PutGatewayResponseResult & AddResponseParameters(const Aws::String &key, Aws::String &&value)
PutGatewayResponseResult & WithRequestId(const Aws::String &value)
PutGatewayResponseResult & AddResponseParameters(const char *key, Aws::String &&value)
void SetRequestId(Aws::String &&value)
void SetResponseParameters(Aws::Map< Aws::String, Aws::String > &&value)
AWS_APIGATEWAY_API PutGatewayResponseResult & operator=(const Aws::AmazonWebServiceResult< Aws::Utils::Json::JsonValue > &result)
PutGatewayResponseResult & AddResponseTemplates(const Aws::String &key, const Aws::String &value)
PutGatewayResponseResult & AddResponseParameters(const char *key, const char *value)
AWS_APIGATEWAY_API PutGatewayResponseResult(const Aws::AmazonWebServiceResult< Aws::Utils::Json::JsonValue > &result)
void SetResponseParameters(const Aws::Map< Aws::String, Aws::String > &value)
PutGatewayResponseResult & WithStatusCode(Aws::String &&value)
AWS_APIGATEWAY_API PutGatewayResponseResult()
const Aws::String & GetStatusCode() const
bool GetDefaultResponse() const
const Aws::Map< Aws::String, Aws::String > & GetResponseTemplates() const
PutGatewayResponseResult & WithResponseTemplates(const Aws::Map< Aws::String, 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