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/CodeInterpreterInvocationOutput.h>
10#include <aws/bedrock-agent-runtime/model/FinalResponse.h>
11#include <aws/bedrock-agent-runtime/model/KnowledgeBaseLookupOutput.h>
12#include <aws/bedrock-agent-runtime/model/RepromptResponse.h>
13#include <aws/core/utils/memory/stl/AWSString.h>
14#include <aws/bedrock-agent-runtime/model/Type.h>
27namespace BedrockAgentRuntime
117 inline void SetTraceId(
const char* value) { m_traceIdHasBeenSet =
true; m_traceId.assign(value); }
136 inline void SetType(
const Type& value) { m_typeHasBeenSet =
true; m_type = value; }
137 inline void SetType(
Type&& value) { m_typeHasBeenSet =
true; m_type = std::move(value); }
144 bool m_actionGroupInvocationOutputHasBeenSet =
false;
147 bool m_codeInterpreterInvocationOutputHasBeenSet =
false;
150 bool m_finalResponseHasBeenSet =
false;
153 bool m_knowledgeBaseLookupOutputHasBeenSet =
false;
156 bool m_repromptResponseHasBeenSet =
false;
159 bool m_traceIdHasBeenSet =
false;
162 bool m_typeHasBeenSet =
false;
void SetTraceId(Aws::String &&value)
void SetActionGroupInvocationOutput(const ActionGroupInvocationOutput &value)
Observation & WithType(Type &&value)
Observation & WithRepromptResponse(RepromptResponse &&value)
Observation & WithTraceId(const char *value)
void SetKnowledgeBaseLookupOutput(KnowledgeBaseLookupOutput &&value)
void SetFinalResponse(const FinalResponse &value)
bool FinalResponseHasBeenSet() const
AWS_BEDROCKAGENTRUNTIME_API Observation()
void SetRepromptResponse(const RepromptResponse &value)
Observation & WithActionGroupInvocationOutput(ActionGroupInvocationOutput &&value)
const RepromptResponse & GetRepromptResponse() const
void SetTraceId(const Aws::String &value)
Observation & WithRepromptResponse(const RepromptResponse &value)
Observation & WithKnowledgeBaseLookupOutput(KnowledgeBaseLookupOutput &&value)
const Aws::String & GetTraceId() const
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
void SetFinalResponse(FinalResponse &&value)
bool RepromptResponseHasBeenSet() const
AWS_BEDROCKAGENTRUNTIME_API Observation & operator=(Aws::Utils::Json::JsonView jsonValue)
Observation & WithActionGroupInvocationOutput(const ActionGroupInvocationOutput &value)
void SetCodeInterpreterInvocationOutput(const CodeInterpreterInvocationOutput &value)
Observation & WithFinalResponse(const FinalResponse &value)
void SetCodeInterpreterInvocationOutput(CodeInterpreterInvocationOutput &&value)
bool ActionGroupInvocationOutputHasBeenSet() const
void SetTraceId(const char *value)
void SetRepromptResponse(RepromptResponse &&value)
Observation & WithCodeInterpreterInvocationOutput(const CodeInterpreterInvocationOutput &value)
const KnowledgeBaseLookupOutput & GetKnowledgeBaseLookupOutput() const
const ActionGroupInvocationOutput & GetActionGroupInvocationOutput() const
Observation & WithTraceId(const Aws::String &value)
void SetType(Type &&value)
Observation & WithCodeInterpreterInvocationOutput(CodeInterpreterInvocationOutput &&value)
void SetKnowledgeBaseLookupOutput(const KnowledgeBaseLookupOutput &value)
bool TypeHasBeenSet() const
bool KnowledgeBaseLookupOutputHasBeenSet() const
Observation & WithTraceId(Aws::String &&value)
Observation & WithType(const Type &value)
void SetType(const Type &value)
void SetActionGroupInvocationOutput(ActionGroupInvocationOutput &&value)
Observation & WithFinalResponse(FinalResponse &&value)
const FinalResponse & GetFinalResponse() const
const Type & GetType() const
bool CodeInterpreterInvocationOutputHasBeenSet() const
Observation & WithKnowledgeBaseLookupOutput(const KnowledgeBaseLookupOutput &value)
std::basic_string< char, std::char_traits< char >, Aws::Allocator< char > > String
Aws::Utils::Json::JsonValue JsonValue