7#include <aws/bedrock-runtime/BedrockRuntime_EXPORTS.h>
8#include <aws/core/utils/stream/ResponseStream.h>
9#include <aws/core/utils/Array.h>
10#include <aws/core/utils/memory/stl/AWSString.h>
15template<
typename RESULT_TYPE>
16class AmazonWebServiceResult;
18namespace BedrockRuntime
60 inline void SetContentType(
const char* value) { m_contentType.assign(value); }
71 inline void SetRequestId(
const char* value) { m_requestId.assign(value); }
Aws::IOStream & GetBody() const
const Aws::String & GetContentType() const
void SetContentType(const char *value)
InvokeModelResult & WithContentType(const Aws::String &value)
AWS_BEDROCKRUNTIME_API InvokeModelResult & operator=(InvokeModelResult &&)
AWS_BEDROCKRUNTIME_API InvokeModelResult & operator=(Aws::AmazonWebServiceResult< Aws::Utils::Stream::ResponseStream > &&result)
InvokeModelResult & WithRequestId(Aws::String &&value)
void ReplaceBody(Aws::IOStream *body)
AWS_BEDROCKRUNTIME_API InvokeModelResult(Aws::AmazonWebServiceResult< Aws::Utils::Stream::ResponseStream > &&result)
const Aws::String & GetRequestId() const
InvokeModelResult & WithRequestId(const char *value)
void SetRequestId(const char *value)
void SetContentType(const Aws::String &value)
InvokeModelResult(const InvokeModelResult &)=delete
AWS_BEDROCKRUNTIME_API InvokeModelResult()
void SetContentType(Aws::String &&value)
InvokeModelResult & WithContentType(Aws::String &&value)
InvokeModelResult & WithContentType(const char *value)
InvokeModelResult & operator=(const InvokeModelResult &)=delete
void SetRequestId(const Aws::String &value)
InvokeModelResult & WithRequestId(const Aws::String &value)
void SetRequestId(Aws::String &&value)
AWS_BEDROCKRUNTIME_API InvokeModelResult(InvokeModelResult &&)
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