7#include <aws/bedrock-agent-runtime/BedrockAgentRuntime_EXPORTS.h>
8#include <aws/bedrock-agent-runtime/model/Metadata.h>
9#include <aws/bedrock-agent-runtime/model/PostProcessingParsedResponse.h>
10#include <aws/bedrock-agent-runtime/model/RawResponse.h>
11#include <aws/bedrock-agent-runtime/model/ReasoningContentBlock.h>
12#include <aws/core/utils/memory/stl/AWSString.h>
23namespace BedrockAgentRuntime {
46 template <
typename MetadataT = Metadata>
48 m_metadataHasBeenSet =
true;
49 m_metadata = std::forward<MetadataT>(value);
51 template <
typename MetadataT = Metadata>
65 template <
typename ParsedResponseT = PostProcessingParsedResponse>
67 m_parsedResponseHasBeenSet =
true;
68 m_parsedResponse = std::forward<ParsedResponseT>(value);
70 template <
typename ParsedResponseT = PostProcessingParsedResponse>
83 template <
typename RawResponseT = RawResponse>
85 m_rawResponseHasBeenSet =
true;
86 m_rawResponse = std::forward<RawResponseT>(value);
88 template <
typename RawResponseT = RawResponse>
102 template <
typename ReasoningContentT = ReasoningContentBlock>
104 m_reasoningContentHasBeenSet =
true;
105 m_reasoningContent = std::forward<ReasoningContentT>(value);
107 template <
typename ReasoningContentT = ReasoningContentBlock>
120 template <
typename TraceIdT = Aws::String>
122 m_traceIdHasBeenSet =
true;
123 m_traceId = std::forward<TraceIdT>(value);
125 template <
typename TraceIdT = Aws::String>
141 bool m_metadataHasBeenSet =
false;
142 bool m_parsedResponseHasBeenSet =
false;
143 bool m_rawResponseHasBeenSet =
false;
144 bool m_reasoningContentHasBeenSet =
false;
145 bool m_traceIdHasBeenSet =
false;
bool TraceIdHasBeenSet() const
PostProcessingModelInvocationOutput & WithReasoningContent(ReasoningContentT &&value)
void SetReasoningContent(ReasoningContentT &&value)
const RawResponse & GetRawResponse() const
void SetParsedResponse(ParsedResponseT &&value)
void SetTraceId(TraceIdT &&value)
bool RawResponseHasBeenSet() const
bool ParsedResponseHasBeenSet() const
PostProcessingModelInvocationOutput & WithParsedResponse(ParsedResponseT &&value)
PostProcessingModelInvocationOutput & WithMetadata(MetadataT &&value)
AWS_BEDROCKAGENTRUNTIME_API Aws::Utils::Json::JsonValue Jsonize() const
bool ReasoningContentHasBeenSet() const
void SetMetadata(MetadataT &&value)
const ReasoningContentBlock & GetReasoningContent() const
const PostProcessingParsedResponse & GetParsedResponse() const
void SetRawResponse(RawResponseT &&value)
PostProcessingModelInvocationOutput & WithRawResponse(RawResponseT &&value)
AWS_BEDROCKAGENTRUNTIME_API PostProcessingModelInvocationOutput & operator=(Aws::Utils::Json::JsonView jsonValue)
const Metadata & GetMetadata() const
PostProcessingModelInvocationOutput & WithTraceId(TraceIdT &&value)
AWS_BEDROCKAGENTRUNTIME_API PostProcessingModelInvocationOutput(Aws::Utils::Json::JsonView jsonValue)
AWS_BEDROCKAGENTRUNTIME_API PostProcessingModelInvocationOutput()=default
const Aws::String & GetTraceId() const
bool MetadataHasBeenSet() const
std::shared_ptr< T > MakeShared(const char *allocationTag, ArgTypes &&... args)
std::basic_string< char, std::char_traits< char >, Aws::Allocator< char > > String
Aws::Utils::Json::JsonValue JsonValue