7#include <aws/bedrock-agent-runtime/BedrockAgentRuntime_EXPORTS.h>
8#include <aws/bedrock-agent-runtime/model/ActionGroupInvocationOutput.h>
9#include <aws/bedrock-agent-runtime/model/AgentCollaboratorInvocationOutput.h>
10#include <aws/bedrock-agent-runtime/model/CodeInterpreterInvocationOutput.h>
11#include <aws/bedrock-agent-runtime/model/FinalResponse.h>
12#include <aws/bedrock-agent-runtime/model/KnowledgeBaseLookupOutput.h>
13#include <aws/bedrock-agent-runtime/model/RepromptResponse.h>
14#include <aws/bedrock-agent-runtime/model/Type.h>
15#include <aws/core/utils/memory/stl/AWSString.h>
26namespace BedrockAgentRuntime {
49 template <
typename ActionGroupInvocationOutputT = ActionGroupInvocationOutput>
51 m_actionGroupInvocationOutputHasBeenSet =
true;
52 m_actionGroupInvocationOutput = std::forward<ActionGroupInvocationOutputT>(value);
54 template <
typename ActionGroupInvocationOutputT = ActionGroupInvocationOutput>
66 return m_agentCollaboratorInvocationOutput;
69 template <
typename AgentCollaboratorInvocationOutputT = AgentCollaboratorInvocationOutput>
71 m_agentCollaboratorInvocationOutputHasBeenSet =
true;
72 m_agentCollaboratorInvocationOutput = std::forward<AgentCollaboratorInvocationOutputT>(value);
74 template <
typename AgentCollaboratorInvocationOutputT = AgentCollaboratorInvocationOutput>
88 template <
typename CodeInterpreterInvocationOutputT = CodeInterpreterInvocationOutput>
90 m_codeInterpreterInvocationOutputHasBeenSet =
true;
91 m_codeInterpreterInvocationOutput = std::forward<CodeInterpreterInvocationOutputT>(value);
93 template <
typename CodeInterpreterInvocationOutputT = CodeInterpreterInvocationOutput>
106 template <
typename FinalResponseT = FinalResponse>
108 m_finalResponseHasBeenSet =
true;
109 m_finalResponse = std::forward<FinalResponseT>(value);
111 template <
typename FinalResponseT = FinalResponse>
124 template <
typename KnowledgeBaseLookupOutputT = KnowledgeBaseLookupOutput>
126 m_knowledgeBaseLookupOutputHasBeenSet =
true;
127 m_knowledgeBaseLookupOutput = std::forward<KnowledgeBaseLookupOutputT>(value);
129 template <
typename KnowledgeBaseLookupOutputT = KnowledgeBaseLookupOutput>
142 template <
typename RepromptResponseT = RepromptResponse>
144 m_repromptResponseHasBeenSet =
true;
145 m_repromptResponse = std::forward<RepromptResponseT>(value);
147 template <
typename RepromptResponseT = RepromptResponse>
160 template <
typename TraceIdT = Aws::String>
162 m_traceIdHasBeenSet =
true;
163 m_traceId = std::forward<TraceIdT>(value);
165 template <
typename TraceIdT = Aws::String>
186 m_typeHasBeenSet =
true;
210 bool m_actionGroupInvocationOutputHasBeenSet =
false;
211 bool m_agentCollaboratorInvocationOutputHasBeenSet =
false;
212 bool m_codeInterpreterInvocationOutputHasBeenSet =
false;
213 bool m_finalResponseHasBeenSet =
false;
214 bool m_knowledgeBaseLookupOutputHasBeenSet =
false;
215 bool m_repromptResponseHasBeenSet =
false;
216 bool m_traceIdHasBeenSet =
false;
217 bool m_typeHasBeenSet =
false;
void SetActionGroupInvocationOutput(ActionGroupInvocationOutputT &&value)
void SetKnowledgeBaseLookupOutput(KnowledgeBaseLookupOutputT &&value)
Observation & WithActionGroupInvocationOutput(ActionGroupInvocationOutputT &&value)
bool AgentCollaboratorInvocationOutputHasBeenSet() const
void SetRepromptResponse(RepromptResponseT &&value)
bool FinalResponseHasBeenSet() const
const RepromptResponse & GetRepromptResponse() const
Observation & WithTraceId(TraceIdT &&value)
Observation & WithCodeInterpreterInvocationOutput(CodeInterpreterInvocationOutputT &&value)
AWS_BEDROCKAGENTRUNTIME_API Observation()=default
const AgentCollaboratorInvocationOutput & GetAgentCollaboratorInvocationOutput() const
const Aws::String & GetTraceId() const
void SetFinalResponse(FinalResponseT &&value)
bool TraceIdHasBeenSet() const
const CodeInterpreterInvocationOutput & GetCodeInterpreterInvocationOutput() const
AWS_BEDROCKAGENTRUNTIME_API Observation(Aws::Utils::Json::JsonView jsonValue)
AWS_BEDROCKAGENTRUNTIME_API Aws::Utils::Json::JsonValue Jsonize() const
bool RepromptResponseHasBeenSet() const
AWS_BEDROCKAGENTRUNTIME_API Observation & operator=(Aws::Utils::Json::JsonView jsonValue)
bool ActionGroupInvocationOutputHasBeenSet() const
Observation & WithType(Type value)
Observation & WithFinalResponse(FinalResponseT &&value)
const KnowledgeBaseLookupOutput & GetKnowledgeBaseLookupOutput() const
const ActionGroupInvocationOutput & GetActionGroupInvocationOutput() const
Observation & WithAgentCollaboratorInvocationOutput(AgentCollaboratorInvocationOutputT &&value)
void SetTraceId(TraceIdT &&value)
Observation & WithKnowledgeBaseLookupOutput(KnowledgeBaseLookupOutputT &&value)
void SetCodeInterpreterInvocationOutput(CodeInterpreterInvocationOutputT &&value)
bool TypeHasBeenSet() const
bool KnowledgeBaseLookupOutputHasBeenSet() const
Observation & WithRepromptResponse(RepromptResponseT &&value)
const FinalResponse & GetFinalResponse() const
bool CodeInterpreterInvocationOutputHasBeenSet() const
void SetAgentCollaboratorInvocationOutput(AgentCollaboratorInvocationOutputT &&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