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>
10#include <aws/core/utils/memory/stl/AWSVector.h>
15template<
typename RESULT_TYPE>
16class AmazonWebServiceResult;
48 inline void SetStatus(
int value) { m_status = value; }
59 inline void SetBody(
const char* value) { m_body.assign(value); }
107 inline void SetLog(
const char* value) { m_log.assign(value); }
118 inline void SetLatency(
long long value) { m_latency = value; }
127 inline void SetRequestId(
const char* value) { m_requestId.assign(value); }
void SetBody(const char *value)
TestInvokeMethodResult & AddHeaders(const char *key, Aws::String &&value)
TestInvokeMethodResult & WithLatency(long long value)
AWS_APIGATEWAY_API TestInvokeMethodResult(const Aws::AmazonWebServiceResult< Aws::Utils::Json::JsonValue > &result)
TestInvokeMethodResult & AddMultiValueHeaders(const Aws::String &key, Aws::Vector< Aws::String > &&value)
TestInvokeMethodResult & AddHeaders(const Aws::String &key, Aws::String &&value)
TestInvokeMethodResult & WithLog(Aws::String &&value)
void SetStatus(int value)
void SetRequestId(const Aws::String &value)
void SetMultiValueHeaders(Aws::Map< Aws::String, Aws::Vector< Aws::String > > &&value)
void SetHeaders(const Aws::Map< Aws::String, Aws::String > &value)
TestInvokeMethodResult & AddHeaders(Aws::String &&key, Aws::String &&value)
TestInvokeMethodResult & WithLog(const char *value)
const Aws::String & GetRequestId() const
void SetLog(const char *value)
TestInvokeMethodResult & WithBody(const Aws::String &value)
TestInvokeMethodResult & WithHeaders(const Aws::Map< Aws::String, Aws::String > &value)
const Aws::String & GetBody() const
TestInvokeMethodResult & AddMultiValueHeaders(Aws::String &&key, Aws::Vector< Aws::String > &&value)
TestInvokeMethodResult & WithMultiValueHeaders(Aws::Map< Aws::String, Aws::Vector< Aws::String > > &&value)
TestInvokeMethodResult & AddMultiValueHeaders(Aws::String &&key, const Aws::Vector< Aws::String > &value)
void SetBody(const Aws::String &value)
TestInvokeMethodResult & AddMultiValueHeaders(const char *key, const Aws::Vector< Aws::String > &value)
TestInvokeMethodResult & AddMultiValueHeaders(const Aws::String &key, const Aws::Vector< Aws::String > &value)
TestInvokeMethodResult & WithRequestId(Aws::String &&value)
void SetRequestId(Aws::String &&value)
TestInvokeMethodResult & AddHeaders(const Aws::String &key, const Aws::String &value)
long long GetLatency() const
TestInvokeMethodResult & WithLog(const Aws::String &value)
TestInvokeMethodResult & WithHeaders(Aws::Map< Aws::String, Aws::String > &&value)
TestInvokeMethodResult & AddHeaders(Aws::String &&key, const char *value)
void SetLog(const Aws::String &value)
const Aws::String & GetLog() const
TestInvokeMethodResult & WithBody(const char *value)
AWS_APIGATEWAY_API TestInvokeMethodResult()
AWS_APIGATEWAY_API TestInvokeMethodResult & operator=(const Aws::AmazonWebServiceResult< Aws::Utils::Json::JsonValue > &result)
TestInvokeMethodResult & WithRequestId(const Aws::String &value)
void SetMultiValueHeaders(const Aws::Map< Aws::String, Aws::Vector< Aws::String > > &value)
const Aws::Map< Aws::String, Aws::String > & GetHeaders() const
void SetLog(Aws::String &&value)
void SetHeaders(Aws::Map< Aws::String, Aws::String > &&value)
void SetRequestId(const char *value)
void SetLatency(long long value)
TestInvokeMethodResult & WithStatus(int value)
TestInvokeMethodResult & AddHeaders(Aws::String &&key, const Aws::String &value)
TestInvokeMethodResult & WithBody(Aws::String &&value)
const Aws::Map< Aws::String, Aws::Vector< Aws::String > > & GetMultiValueHeaders() const
void SetBody(Aws::String &&value)
TestInvokeMethodResult & WithRequestId(const char *value)
TestInvokeMethodResult & AddMultiValueHeaders(const char *key, Aws::Vector< Aws::String > &&value)
TestInvokeMethodResult & AddHeaders(const char *key, const char *value)
TestInvokeMethodResult & WithMultiValueHeaders(const Aws::Map< Aws::String, Aws::Vector< 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
std::vector< T, Aws::Allocator< T > > Vector
Aws::Utils::Json::JsonValue JsonValue