7#include <aws/bedrock-runtime/BedrockRuntime_EXPORTS.h>
8#include <aws/bedrock-runtime/model/ConverseOutput.h>
9#include <aws/bedrock-runtime/model/StopReason.h>
10#include <aws/bedrock-runtime/model/TokenUsage.h>
11#include <aws/bedrock-runtime/model/ConverseMetrics.h>
12#include <aws/core/utils/Document.h>
13#include <aws/bedrock-runtime/model/ConverseTrace.h>
14#include <aws/core/utils/memory/stl/AWSString.h>
19template<
typename RESULT_TYPE>
20class AmazonWebServiceResult;
29namespace BedrockRuntime
114 inline void SetRequestId(
const char* value) { m_requestId.assign(value); }
ConverseResult & WithAdditionalModelResponseFields(const Aws::Utils::Document &value)
AWS_BEDROCKRUNTIME_API ConverseResult & operator=(const Aws::AmazonWebServiceResult< Aws::Utils::Json::JsonValue > &result)
void SetRequestId(const char *value)
void SetUsage(TokenUsage &&value)
void SetMetrics(const ConverseMetrics &value)
const ConverseMetrics & GetMetrics() const
void SetMetrics(ConverseMetrics &&value)
ConverseResult & WithRequestId(Aws::String &&value)
ConverseResult & WithAdditionalModelResponseFields(Aws::Utils::Document &&value)
const StopReason & GetStopReason() const
ConverseResult & WithMetrics(ConverseMetrics &&value)
AWS_BEDROCKRUNTIME_API ConverseResult(const Aws::AmazonWebServiceResult< Aws::Utils::Json::JsonValue > &result)
const ConverseOutput & GetOutput() const
ConverseResult & WithUsage(TokenUsage &&value)
void SetAdditionalModelResponseFields(Aws::Utils::Document &&value)
void SetStopReason(const StopReason &value)
void SetOutput(ConverseOutput &&value)
void SetOutput(const ConverseOutput &value)
const TokenUsage & GetUsage() const
ConverseResult & WithRequestId(const Aws::String &value)
ConverseResult & WithStopReason(StopReason &&value)
void SetTrace(ConverseTrace &&value)
ConverseResult & WithTrace(const ConverseTrace &value)
const Aws::String & GetRequestId() const
ConverseResult & WithUsage(const TokenUsage &value)
ConverseResult & WithStopReason(const StopReason &value)
void SetAdditionalModelResponseFields(const Aws::Utils::Document &value)
void SetRequestId(const Aws::String &value)
ConverseResult & WithOutput(ConverseOutput &&value)
void SetTrace(const ConverseTrace &value)
ConverseResult & WithMetrics(const ConverseMetrics &value)
const ConverseTrace & GetTrace() const
void SetUsage(const TokenUsage &value)
ConverseResult & WithTrace(ConverseTrace &&value)
void SetRequestId(Aws::String &&value)
ConverseResult & WithRequestId(const char *value)
Aws::Utils::DocumentView GetAdditionalModelResponseFields() const
ConverseResult & WithOutput(const ConverseOutput &value)
AWS_BEDROCKRUNTIME_API ConverseResult()
void SetStopReason(StopReason &&value)
std::basic_string< char, std::char_traits< char >, Aws::Allocator< char > > String
Aws::Utils::Json::JsonValue JsonValue