7#include <aws/apigateway/APIGateway_EXPORTS.h>
8#include <aws/core/utils/memory/stl/AWSString.h>
9#include <aws/core/utils/memory/stl/AWSMap.h>
52 inline void SetStatusCode(
const char* value) { m_statusCodeHasBeenSet =
true; m_statusCode.assign(value); }
105 inline MethodResponse&
AddResponseModels(
const char* key,
const char* value) { m_responseModelsHasBeenSet =
true; m_responseModels.emplace(key, value);
return *
this; }
114 inline void SetRequestId(
const char* value) { m_requestIdHasBeenSet =
true; m_requestId.assign(value); }
122 bool m_statusCodeHasBeenSet =
false;
125 bool m_responseParametersHasBeenSet =
false;
128 bool m_responseModelsHasBeenSet =
false;
131 bool m_requestIdHasBeenSet =
false;
const Aws::Map< Aws::String, bool > & GetResponseParameters() const
MethodResponse & AddResponseModels(const char *key, Aws::String &&value)
void SetResponseModels(const Aws::Map< Aws::String, Aws::String > &value)
MethodResponse & AddResponseModels(const Aws::String &key, const Aws::String &value)
const Aws::String & GetStatusCode() const
MethodResponse & WithRequestId(const Aws::String &value)
MethodResponse & WithResponseModels(Aws::Map< Aws::String, Aws::String > &&value)
bool ResponseParametersHasBeenSet() const
MethodResponse & AddResponseModels(const Aws::String &key, Aws::String &&value)
void SetStatusCode(const char *value)
MethodResponse & AddResponseModels(const char *key, const char *value)
MethodResponse & AddResponseModels(Aws::String &&key, const Aws::String &value)
void SetStatusCode(Aws::String &&value)
void SetRequestId(const char *value)
MethodResponse & AddResponseModels(Aws::String &&key, Aws::String &&value)
void SetRequestId(Aws::String &&value)
const Aws::String & GetRequestId() const
MethodResponse & WithResponseParameters(const Aws::Map< Aws::String, bool > &value)
bool StatusCodeHasBeenSet() const
AWS_APIGATEWAY_API MethodResponse & operator=(Aws::Utils::Json::JsonView jsonValue)
bool RequestIdHasBeenSet() const
MethodResponse & AddResponseParameters(const char *key, bool value)
MethodResponse & WithRequestId(Aws::String &&value)
MethodResponse & AddResponseModels(Aws::String &&key, const char *value)
MethodResponse & WithStatusCode(const char *value)
AWS_APIGATEWAY_API Aws::Utils::Json::JsonValue Jsonize() const
MethodResponse & WithRequestId(const char *value)
MethodResponse & WithResponseModels(const Aws::Map< Aws::String, Aws::String > &value)
AWS_APIGATEWAY_API MethodResponse()
MethodResponse & WithResponseParameters(Aws::Map< Aws::String, bool > &&value)
MethodResponse & AddResponseParameters(const Aws::String &key, bool value)
void SetResponseModels(Aws::Map< Aws::String, Aws::String > &&value)
MethodResponse & WithStatusCode(const Aws::String &value)
void SetRequestId(const Aws::String &value)
AWS_APIGATEWAY_API MethodResponse(Aws::Utils::Json::JsonView jsonValue)
const Aws::Map< Aws::String, Aws::String > & GetResponseModels() const
void SetStatusCode(const Aws::String &value)
void SetResponseParameters(const Aws::Map< Aws::String, bool > &value)
bool ResponseModelsHasBeenSet() const
MethodResponse & WithStatusCode(Aws::String &&value)
void SetResponseParameters(Aws::Map< Aws::String, bool > &&value)
MethodResponse & AddResponseParameters(Aws::String &&key, bool 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