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>
11#include <aws/bedrock-runtime/model/PerformanceConfigLatency.h>
16template<
typename RESULT_TYPE>
17class AmazonWebServiceResult;
19namespace BedrockRuntime
61 inline void SetContentType(
const char* value) { m_contentType.assign(value); }
83 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 & WithPerformanceConfigLatency(PerformanceConfigLatency &&value)
InvokeModelResult & WithRequestId(Aws::String &&value)
InvokeModelResult & WithPerformanceConfigLatency(const PerformanceConfigLatency &value)
void ReplaceBody(Aws::IOStream *body)
AWS_BEDROCKRUNTIME_API InvokeModelResult(Aws::AmazonWebServiceResult< Aws::Utils::Stream::ResponseStream > &&result)
const Aws::String & GetRequestId() const
void SetPerformanceConfigLatency(const PerformanceConfigLatency &value)
InvokeModelResult & WithRequestId(const char *value)
const PerformanceConfigLatency & GetPerformanceConfigLatency() const
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 SetPerformanceConfigLatency(PerformanceConfigLatency &&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