AWS SDK for C++

AWS SDK for C++ Version 1.11.759

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
13#include <utility>
14
15namespace Aws {
16namespace Utils {
17namespace Json {
18class JsonValue;
19class JsonView;
20} // namespace Json
21} // namespace Utils
22namespace BedrockAgentRuntime {
23namespace Model {
24
32 public:
33 AWS_BEDROCKAGENTRUNTIME_API OrchestrationModelInvocationOutput() = default;
36 AWS_BEDROCKAGENTRUNTIME_API Aws::Utils::Json::JsonValue Jsonize() const;
37
39
43 inline const Metadata& GetMetadata() const { return m_metadata; }
44 inline bool MetadataHasBeenSet() const { return m_metadataHasBeenSet; }
45 template <typename MetadataT = Metadata>
46 void SetMetadata(MetadataT&& value) {
47 m_metadataHasBeenSet = true;
48 m_metadata = std::forward<MetadataT>(value);
49 }
50 template <typename MetadataT = Metadata>
52 SetMetadata(std::forward<MetadataT>(value));
53 return *this;
54 }
56
58
61 inline const RawResponse& GetRawResponse() const { return m_rawResponse; }
62 inline bool RawResponseHasBeenSet() const { return m_rawResponseHasBeenSet; }
63 template <typename RawResponseT = RawResponse>
65 m_rawResponseHasBeenSet = true;
66 m_rawResponse = std::forward<RawResponseT>(value);
67 }
68 template <typename RawResponseT = RawResponse>
70 SetRawResponse(std::forward<RawResponseT>(value));
71 return *this;
72 }
74
76
80 inline const ReasoningContentBlock& GetReasoningContent() const { return m_reasoningContent; }
81 inline bool ReasoningContentHasBeenSet() const { return m_reasoningContentHasBeenSet; }
82 template <typename ReasoningContentT = ReasoningContentBlock>
84 m_reasoningContentHasBeenSet = true;
85 m_reasoningContent = std::forward<ReasoningContentT>(value);
86 }
87 template <typename ReasoningContentT = ReasoningContentBlock>
89 SetReasoningContent(std::forward<ReasoningContentT>(value));
90 return *this;
91 }
93
95
98 inline const Aws::String& GetTraceId() const { return m_traceId; }
99 inline bool TraceIdHasBeenSet() const { return m_traceIdHasBeenSet; }
100 template <typename TraceIdT = Aws::String>
101 void SetTraceId(TraceIdT&& value) {
102 m_traceIdHasBeenSet = true;
103 m_traceId = std::forward<TraceIdT>(value);
104 }
105 template <typename TraceIdT = Aws::String>
107 SetTraceId(std::forward<TraceIdT>(value));
108 return *this;
109 }
111 private:
112 Metadata m_metadata;
113
114 RawResponse m_rawResponse;
115
116 ReasoningContentBlock m_reasoningContent;
117
118 Aws::String m_traceId;
119 bool m_metadataHasBeenSet = false;
120 bool m_rawResponseHasBeenSet = false;
121 bool m_reasoningContentHasBeenSet = false;
122 bool m_traceIdHasBeenSet = false;
123};
124
125} // namespace Model
126} // namespace BedrockAgentRuntime
127} // 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::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