7#include <aws/lambda/Lambda_EXPORTS.h>
8#include <aws/core/utils/stream/ResponseStream.h>
9#include <aws/core/utils/memory/stl/AWSString.h>
10#include <aws/core/utils/Array.h>
15template<
typename RESULT_TYPE>
16class AmazonWebServiceResult;
73 inline void SetLogResult(
const char* value) { m_logResult.assign(value); }
107 inline void SetRequestId(
const char* value) { m_requestId.assign(value); }
InvokeResult & WithFunctionError(Aws::String &&value)
void SetLogResult(const char *value)
void SetStatusCode(int value)
void SetFunctionError(const Aws::String &value)
void SetRequestId(const char *value)
void SetFunctionError(Aws::String &&value)
AWS_LAMBDA_API InvokeResult & operator=(Aws::AmazonWebServiceResult< Aws::Utils::Stream::ResponseStream > &&result)
InvokeResult & WithRequestId(Aws::String &&value)
const Aws::String & GetExecutedVersion() const
void ReplaceBody(Aws::IOStream *body)
AWS_LAMBDA_API InvokeResult()
void SetExecutedVersion(Aws::String &&value)
InvokeResult & WithFunctionError(const Aws::String &value)
const Aws::String & GetRequestId() const
const Aws::String & GetLogResult() const
int GetStatusCode() const
InvokeResult(const InvokeResult &)=delete
AWS_LAMBDA_API InvokeResult(Aws::AmazonWebServiceResult< Aws::Utils::Stream::ResponseStream > &&result)
void SetExecutedVersion(const char *value)
InvokeResult & operator=(const InvokeResult &)=delete
void SetLogResult(const Aws::String &value)
InvokeResult & WithExecutedVersion(Aws::String &&value)
void SetRequestId(Aws::String &&value)
InvokeResult & WithLogResult(const Aws::String &value)
InvokeResult & WithFunctionError(const char *value)
InvokeResult & WithExecutedVersion(const char *value)
AWS_LAMBDA_API InvokeResult & operator=(InvokeResult &&)
void SetExecutedVersion(const Aws::String &value)
InvokeResult & WithStatusCode(int value)
InvokeResult & WithLogResult(Aws::String &&value)
void SetRequestId(const Aws::String &value)
Aws::IOStream & GetPayload() const
InvokeResult & WithRequestId(const Aws::String &value)
void SetFunctionError(const char *value)
InvokeResult & WithRequestId(const char *value)
void SetLogResult(Aws::String &&value)
const Aws::String & GetFunctionError() const
InvokeResult & WithLogResult(const char *value)
InvokeResult & WithExecutedVersion(const Aws::String &value)
AWS_LAMBDA_API InvokeResult(InvokeResult &&)
Aws::IOStream & GetUnderlyingStream() const
std::basic_iostream< char, std::char_traits< char > > IOStream
std::basic_string< char, std::char_traits< char >, Aws::Allocator< char > > String