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/core/utils/memory/stl/AWSString.h>
15#include <aws/bedrock-agent-runtime/model/Type.h>
28namespace BedrockAgentRuntime
55 template<
typename ActionGroupInvocationOutputT = ActionGroupInvocationOutput>
56 void SetActionGroupInvocationOutput(ActionGroupInvocationOutputT&& value) { m_actionGroupInvocationOutputHasBeenSet =
true; m_actionGroupInvocationOutput = std::forward<ActionGroupInvocationOutputT>(value); }
57 template<
typename ActionGroupInvocationOutputT = ActionGroupInvocationOutput>
67 template<
typename AgentCollaboratorInvocationOutputT = AgentCollaboratorInvocationOutput>
68 void SetAgentCollaboratorInvocationOutput(AgentCollaboratorInvocationOutputT&& value) { m_agentCollaboratorInvocationOutputHasBeenSet =
true; m_agentCollaboratorInvocationOutput = std::forward<AgentCollaboratorInvocationOutputT>(value); }
69 template<
typename AgentCollaboratorInvocationOutputT = AgentCollaboratorInvocationOutput>
80 template<
typename CodeInterpreterInvocationOutputT = CodeInterpreterInvocationOutput>
81 void SetCodeInterpreterInvocationOutput(CodeInterpreterInvocationOutputT&& value) { m_codeInterpreterInvocationOutputHasBeenSet =
true; m_codeInterpreterInvocationOutput = std::forward<CodeInterpreterInvocationOutputT>(value); }
82 template<
typename CodeInterpreterInvocationOutputT = CodeInterpreterInvocationOutput>
92 template<
typename FinalResponseT = FinalResponse>
93 void SetFinalResponse(FinalResponseT&& value) { m_finalResponseHasBeenSet =
true; m_finalResponse = std::forward<FinalResponseT>(value); }
94 template<
typename FinalResponseT = FinalResponse>
104 template<
typename KnowledgeBaseLookupOutputT = KnowledgeBaseLookupOutput>
105 void SetKnowledgeBaseLookupOutput(KnowledgeBaseLookupOutputT&& value) { m_knowledgeBaseLookupOutputHasBeenSet =
true; m_knowledgeBaseLookupOutput = std::forward<KnowledgeBaseLookupOutputT>(value); }
106 template<
typename KnowledgeBaseLookupOutputT = KnowledgeBaseLookupOutput>
116 template<
typename RepromptResponseT = RepromptResponse>
117 void SetRepromptResponse(RepromptResponseT&& value) { m_repromptResponseHasBeenSet =
true; m_repromptResponse = std::forward<RepromptResponseT>(value); }
118 template<
typename RepromptResponseT = RepromptResponse>
128 template<
typename TraceIdT = Aws::String>
129 void SetTraceId(TraceIdT&& value) { m_traceIdHasBeenSet =
true; m_traceId = std::forward<TraceIdT>(value); }
130 template<
typename TraceIdT = Aws::String>
147 inline void SetType(
Type value) { m_typeHasBeenSet =
true; m_type = value; }
153 bool m_actionGroupInvocationOutputHasBeenSet =
false;
156 bool m_agentCollaboratorInvocationOutputHasBeenSet =
false;
159 bool m_codeInterpreterInvocationOutputHasBeenSet =
false;
162 bool m_finalResponseHasBeenSet =
false;
165 bool m_knowledgeBaseLookupOutputHasBeenSet =
false;
168 bool m_repromptResponseHasBeenSet =
false;
171 bool m_traceIdHasBeenSet =
false;
174 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::basic_string< char, std::char_traits< char >, Aws::Allocator< char > > String
Aws::Utils::Json::JsonValue JsonValue