AWS SDK for C++

AWS SDK for C++ Version 1.11.607

Loading...
Searching...
No Matches
OrchestrationModelInvocationOutput.h
1
6#pragma once
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/RawResponse.h>
10#include <aws/bedrock-agent-runtime/model/ReasoningContentBlock.h>
11#include <aws/core/utils/memory/stl/AWSString.h>
12#include <utility>
13
14namespace Aws
15{
16namespace Utils
17{
18namespace Json
19{
20 class JsonValue;
21 class JsonView;
22} // namespace Json
23} // namespace Utils
24namespace BedrockAgentRuntime
25{
26namespace Model
27{
28
36 {
37 public:
38 AWS_BEDROCKAGENTRUNTIME_API OrchestrationModelInvocationOutput() = default;
39 AWS_BEDROCKAGENTRUNTIME_API OrchestrationModelInvocationOutput(Aws::Utils::Json::JsonView jsonValue);
41 AWS_BEDROCKAGENTRUNTIME_API Aws::Utils::Json::JsonValue Jsonize() const;
42
43
45
49 inline const Metadata& GetMetadata() const { return m_metadata; }
50 inline bool MetadataHasBeenSet() const { return m_metadataHasBeenSet; }
51 template<typename MetadataT = Metadata>
52 void SetMetadata(MetadataT&& value) { m_metadataHasBeenSet = true; m_metadata = std::forward<MetadataT>(value); }
53 template<typename MetadataT = Metadata>
54 OrchestrationModelInvocationOutput& WithMetadata(MetadataT&& value) { SetMetadata(std::forward<MetadataT>(value)); return *this;}
56
58
61 inline const RawResponse& GetRawResponse() const { return m_rawResponse; }
62 inline bool RawResponseHasBeenSet() const { return m_rawResponseHasBeenSet; }
63 template<typename RawResponseT = RawResponse>
64 void SetRawResponse(RawResponseT&& value) { m_rawResponseHasBeenSet = true; m_rawResponse = std::forward<RawResponseT>(value); }
65 template<typename RawResponseT = RawResponse>
66 OrchestrationModelInvocationOutput& WithRawResponse(RawResponseT&& value) { SetRawResponse(std::forward<RawResponseT>(value)); return *this;}
68
70
74 inline const ReasoningContentBlock& GetReasoningContent() const { return m_reasoningContent; }
75 inline bool ReasoningContentHasBeenSet() const { return m_reasoningContentHasBeenSet; }
76 template<typename ReasoningContentT = ReasoningContentBlock>
77 void SetReasoningContent(ReasoningContentT&& value) { m_reasoningContentHasBeenSet = true; m_reasoningContent = std::forward<ReasoningContentT>(value); }
78 template<typename ReasoningContentT = ReasoningContentBlock>
79 OrchestrationModelInvocationOutput& WithReasoningContent(ReasoningContentT&& value) { SetReasoningContent(std::forward<ReasoningContentT>(value)); return *this;}
81
83
86 inline const Aws::String& GetTraceId() const { return m_traceId; }
87 inline bool TraceIdHasBeenSet() const { return m_traceIdHasBeenSet; }
88 template<typename TraceIdT = Aws::String>
89 void SetTraceId(TraceIdT&& value) { m_traceIdHasBeenSet = true; m_traceId = std::forward<TraceIdT>(value); }
90 template<typename TraceIdT = Aws::String>
91 OrchestrationModelInvocationOutput& WithTraceId(TraceIdT&& value) { SetTraceId(std::forward<TraceIdT>(value)); return *this;}
93 private:
94
95 Metadata m_metadata;
96 bool m_metadataHasBeenSet = false;
97
98 RawResponse m_rawResponse;
99 bool m_rawResponseHasBeenSet = false;
100
101 ReasoningContentBlock m_reasoningContent;
102 bool m_reasoningContentHasBeenSet = false;
103
104 Aws::String m_traceId;
105 bool m_traceIdHasBeenSet = false;
106 };
107
108} // namespace Model
109} // namespace BedrockAgentRuntime
110} // namespace Aws
AWS_BEDROCKAGENTRUNTIME_API OrchestrationModelInvocationOutput()=default
OrchestrationModelInvocationOutput & WithRawResponse(RawResponseT &&value)
AWS_BEDROCKAGENTRUNTIME_API OrchestrationModelInvocationOutput & operator=(Aws::Utils::Json::JsonView jsonValue)
AWS_BEDROCKAGENTRUNTIME_API OrchestrationModelInvocationOutput(Aws::Utils::Json::JsonView jsonValue)
OrchestrationModelInvocationOutput & WithReasoningContent(ReasoningContentT &&value)
AWS_BEDROCKAGENTRUNTIME_API Aws::Utils::Json::JsonValue Jsonize() const
std::basic_string< char, std::char_traits< char >, Aws::Allocator< char > > String
Aws::Utils::Json::JsonValue JsonValue