AWS SDK for C++

AWS SDK for C++ Version 1.11.759

Loading...
Searching...
No Matches
PreProcessingModelInvocationOutput.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/PreProcessingParsedResponse.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>
13
14#include <utility>
15
16namespace Aws {
17namespace Utils {
18namespace Json {
19class JsonValue;
20class JsonView;
21} // namespace Json
22} // namespace Utils
23namespace BedrockAgentRuntime {
24namespace Model {
25
33 public:
34 AWS_BEDROCKAGENTRUNTIME_API PreProcessingModelInvocationOutput() = default;
37 AWS_BEDROCKAGENTRUNTIME_API Aws::Utils::Json::JsonValue Jsonize() const;
38
40
44 inline const Metadata& GetMetadata() const { return m_metadata; }
45 inline bool MetadataHasBeenSet() const { return m_metadataHasBeenSet; }
46 template <typename MetadataT = Metadata>
47 void SetMetadata(MetadataT&& value) {
48 m_metadataHasBeenSet = true;
49 m_metadata = std::forward<MetadataT>(value);
50 }
51 template <typename MetadataT = Metadata>
53 SetMetadata(std::forward<MetadataT>(value));
54 return *this;
55 }
57
59
63 inline const PreProcessingParsedResponse& GetParsedResponse() const { return m_parsedResponse; }
64 inline bool ParsedResponseHasBeenSet() const { return m_parsedResponseHasBeenSet; }
65 template <typename ParsedResponseT = PreProcessingParsedResponse>
67 m_parsedResponseHasBeenSet = true;
68 m_parsedResponse = std::forward<ParsedResponseT>(value);
69 }
70 template <typename ParsedResponseT = PreProcessingParsedResponse>
72 SetParsedResponse(std::forward<ParsedResponseT>(value));
73 return *this;
74 }
76
78
81 inline const RawResponse& GetRawResponse() const { return m_rawResponse; }
82 inline bool RawResponseHasBeenSet() const { return m_rawResponseHasBeenSet; }
83 template <typename RawResponseT = RawResponse>
85 m_rawResponseHasBeenSet = true;
86 m_rawResponse = std::forward<RawResponseT>(value);
87 }
88 template <typename RawResponseT = RawResponse>
90 SetRawResponse(std::forward<RawResponseT>(value));
91 return *this;
92 }
94
96
100 inline const ReasoningContentBlock& GetReasoningContent() const { return m_reasoningContent; }
101 inline bool ReasoningContentHasBeenSet() const { return m_reasoningContentHasBeenSet; }
102 template <typename ReasoningContentT = ReasoningContentBlock>
104 m_reasoningContentHasBeenSet = true;
105 m_reasoningContent = std::forward<ReasoningContentT>(value);
106 }
107 template <typename ReasoningContentT = ReasoningContentBlock>
109 SetReasoningContent(std::forward<ReasoningContentT>(value));
110 return *this;
111 }
113
115
118 inline const Aws::String& GetTraceId() const { return m_traceId; }
119 inline bool TraceIdHasBeenSet() const { return m_traceIdHasBeenSet; }
120 template <typename TraceIdT = Aws::String>
121 void SetTraceId(TraceIdT&& value) {
122 m_traceIdHasBeenSet = true;
123 m_traceId = std::forward<TraceIdT>(value);
124 }
125 template <typename TraceIdT = Aws::String>
127 SetTraceId(std::forward<TraceIdT>(value));
128 return *this;
129 }
131 private:
132 Metadata m_metadata;
133
134 PreProcessingParsedResponse m_parsedResponse;
135
136 RawResponse m_rawResponse;
137
138 ReasoningContentBlock m_reasoningContent;
139
140 Aws::String m_traceId;
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;
146};
147
148} // namespace Model
149} // namespace BedrockAgentRuntime
150} // namespace Aws
AWS_BEDROCKAGENTRUNTIME_API PreProcessingModelInvocationOutput(Aws::Utils::Json::JsonView jsonValue)
PreProcessingModelInvocationOutput & WithParsedResponse(ParsedResponseT &&value)
AWS_BEDROCKAGENTRUNTIME_API Aws::Utils::Json::JsonValue Jsonize() const
AWS_BEDROCKAGENTRUNTIME_API PreProcessingModelInvocationOutput()=default
PreProcessingModelInvocationOutput & WithReasoningContent(ReasoningContentT &&value)
AWS_BEDROCKAGENTRUNTIME_API PreProcessingModelInvocationOutput & operator=(Aws::Utils::Json::JsonView jsonValue)
PreProcessingModelInvocationOutput & WithRawResponse(RawResponseT &&value)
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