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/core/utils/memory/stl/AWSMap.h>
48 inline void SetRestApiId(
const char* value) { m_restApiIdHasBeenSet =
true; m_restApiId.assign(value); }
62 inline void SetResourceId(
const char* value) { m_resourceIdHasBeenSet =
true; m_resourceId.assign(value); }
76 inline void SetHttpMethod(
const char* value) { m_httpMethodHasBeenSet =
true; m_httpMethod.assign(value); }
90 inline void SetStatusCode(
const char* value) { m_statusCodeHasBeenSet =
true; m_statusCode.assign(value); }
147 bool m_restApiIdHasBeenSet =
false;
150 bool m_resourceIdHasBeenSet =
false;
153 bool m_httpMethodHasBeenSet =
false;
156 bool m_statusCodeHasBeenSet =
false;
159 bool m_responseParametersHasBeenSet =
false;
162 bool m_responseModelsHasBeenSet =
false;
void SetStatusCode(const char *value)
PutMethodResponseRequest & WithResourceId(Aws::String &&value)
void SetResponseParameters(const Aws::Map< Aws::String, bool > &value)
PutMethodResponseRequest & AddResponseModels(const char *key, const char *value)
AWS_APIGATEWAY_API Aws::String SerializePayload() const override
void SetStatusCode(const Aws::String &value)
void SetRestApiId(const Aws::String &value)
PutMethodResponseRequest & AddResponseModels(const Aws::String &key, const Aws::String &value)
AWS_APIGATEWAY_API PutMethodResponseRequest()
PutMethodResponseRequest & WithResponseModels(const Aws::Map< Aws::String, Aws::String > &value)
PutMethodResponseRequest & AddResponseModels(Aws::String &&key, const char *value)
void SetResourceId(const char *value)
void SetResourceId(Aws::String &&value)
bool RestApiIdHasBeenSet() const
void SetHttpMethod(const Aws::String &value)
PutMethodResponseRequest & WithResponseParameters(const Aws::Map< Aws::String, bool > &value)
PutMethodResponseRequest & WithResourceId(const Aws::String &value)
PutMethodResponseRequest & WithResourceId(const char *value)
const Aws::String & GetRestApiId() const
void SetResponseModels(Aws::Map< Aws::String, Aws::String > &&value)
void SetResponseModels(const Aws::Map< Aws::String, Aws::String > &value)
void SetResourceId(const Aws::String &value)
PutMethodResponseRequest & AddResponseParameters(Aws::String &&key, bool value)
bool ResourceIdHasBeenSet() const
PutMethodResponseRequest & WithStatusCode(const Aws::String &value)
bool ResponseModelsHasBeenSet() const
PutMethodResponseRequest & AddResponseParameters(const char *key, bool value)
PutMethodResponseRequest & WithRestApiId(const Aws::String &value)
const Aws::Map< Aws::String, bool > & GetResponseParameters() const
PutMethodResponseRequest & WithResponseParameters(Aws::Map< Aws::String, bool > &&value)
bool StatusCodeHasBeenSet() const
void SetStatusCode(Aws::String &&value)
PutMethodResponseRequest & AddResponseModels(const Aws::String &key, Aws::String &&value)
const Aws::String & GetStatusCode() const
PutMethodResponseRequest & WithResponseModels(Aws::Map< Aws::String, Aws::String > &&value)
const Aws::String & GetHttpMethod() const
void SetHttpMethod(const char *value)
void SetResponseParameters(Aws::Map< Aws::String, bool > &&value)
PutMethodResponseRequest & WithHttpMethod(const Aws::String &value)
PutMethodResponseRequest & WithRestApiId(const char *value)
bool HttpMethodHasBeenSet() const
bool ResponseParametersHasBeenSet() const
PutMethodResponseRequest & WithStatusCode(Aws::String &&value)
const Aws::Map< Aws::String, Aws::String > & GetResponseModels() const
void SetHttpMethod(Aws::String &&value)
virtual const char * GetServiceRequestName() const override
const Aws::String & GetResourceId() const
PutMethodResponseRequest & AddResponseModels(Aws::String &&key, Aws::String &&value)
PutMethodResponseRequest & WithRestApiId(Aws::String &&value)
PutMethodResponseRequest & AddResponseModels(Aws::String &&key, const Aws::String &value)
PutMethodResponseRequest & AddResponseModels(const char *key, Aws::String &&value)
PutMethodResponseRequest & WithStatusCode(const char *value)
void SetRestApiId(Aws::String &&value)
PutMethodResponseRequest & WithHttpMethod(const char *value)
PutMethodResponseRequest & WithHttpMethod(Aws::String &&value)
PutMethodResponseRequest & AddResponseParameters(const Aws::String &key, bool value)
void SetRestApiId(const char *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