AWS SDK for C++

AWS SDK for C++ Version 1.11.440

Loading...
Searching...
No Matches
Observation.h
1
6#pragma once
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>
15#include <utility>
16
17namespace Aws
18{
19namespace Utils
20{
21namespace Json
22{
23 class JsonValue;
24 class JsonView;
25} // namespace Json
26} // namespace Utils
27namespace BedrockAgentRuntime
28{
29namespace Model
30{
31
39 {
40 public:
41 AWS_BEDROCKAGENTRUNTIME_API Observation();
42 AWS_BEDROCKAGENTRUNTIME_API Observation(Aws::Utils::Json::JsonView jsonValue);
43 AWS_BEDROCKAGENTRUNTIME_API Observation& operator=(Aws::Utils::Json::JsonView jsonValue);
44 AWS_BEDROCKAGENTRUNTIME_API Aws::Utils::Json::JsonValue Jsonize() const;
45
46
48
52 inline const ActionGroupInvocationOutput& GetActionGroupInvocationOutput() const{ return m_actionGroupInvocationOutput; }
53 inline bool ActionGroupInvocationOutputHasBeenSet() const { return m_actionGroupInvocationOutputHasBeenSet; }
54 inline void SetActionGroupInvocationOutput(const ActionGroupInvocationOutput& value) { m_actionGroupInvocationOutputHasBeenSet = true; m_actionGroupInvocationOutput = value; }
55 inline void SetActionGroupInvocationOutput(ActionGroupInvocationOutput&& value) { m_actionGroupInvocationOutputHasBeenSet = true; m_actionGroupInvocationOutput = std::move(value); }
59
61
65 inline const CodeInterpreterInvocationOutput& GetCodeInterpreterInvocationOutput() const{ return m_codeInterpreterInvocationOutput; }
66 inline bool CodeInterpreterInvocationOutputHasBeenSet() const { return m_codeInterpreterInvocationOutputHasBeenSet; }
67 inline void SetCodeInterpreterInvocationOutput(const CodeInterpreterInvocationOutput& value) { m_codeInterpreterInvocationOutputHasBeenSet = true; m_codeInterpreterInvocationOutput = value; }
68 inline void SetCodeInterpreterInvocationOutput(CodeInterpreterInvocationOutput&& value) { m_codeInterpreterInvocationOutputHasBeenSet = true; m_codeInterpreterInvocationOutput = std::move(value); }
72
74
77 inline const FinalResponse& GetFinalResponse() const{ return m_finalResponse; }
78 inline bool FinalResponseHasBeenSet() const { return m_finalResponseHasBeenSet; }
79 inline void SetFinalResponse(const FinalResponse& value) { m_finalResponseHasBeenSet = true; m_finalResponse = value; }
80 inline void SetFinalResponse(FinalResponse&& value) { m_finalResponseHasBeenSet = true; m_finalResponse = std::move(value); }
81 inline Observation& WithFinalResponse(const FinalResponse& value) { SetFinalResponse(value); return *this;}
82 inline Observation& WithFinalResponse(FinalResponse&& value) { SetFinalResponse(std::move(value)); return *this;}
84
86
89 inline const KnowledgeBaseLookupOutput& GetKnowledgeBaseLookupOutput() const{ return m_knowledgeBaseLookupOutput; }
90 inline bool KnowledgeBaseLookupOutputHasBeenSet() const { return m_knowledgeBaseLookupOutputHasBeenSet; }
91 inline void SetKnowledgeBaseLookupOutput(const KnowledgeBaseLookupOutput& value) { m_knowledgeBaseLookupOutputHasBeenSet = true; m_knowledgeBaseLookupOutput = value; }
92 inline void SetKnowledgeBaseLookupOutput(KnowledgeBaseLookupOutput&& value) { m_knowledgeBaseLookupOutputHasBeenSet = true; m_knowledgeBaseLookupOutput = std::move(value); }
96
98
101 inline const RepromptResponse& GetRepromptResponse() const{ return m_repromptResponse; }
102 inline bool RepromptResponseHasBeenSet() const { return m_repromptResponseHasBeenSet; }
103 inline void SetRepromptResponse(const RepromptResponse& value) { m_repromptResponseHasBeenSet = true; m_repromptResponse = value; }
104 inline void SetRepromptResponse(RepromptResponse&& value) { m_repromptResponseHasBeenSet = true; m_repromptResponse = std::move(value); }
105 inline Observation& WithRepromptResponse(const RepromptResponse& value) { SetRepromptResponse(value); return *this;}
106 inline Observation& WithRepromptResponse(RepromptResponse&& value) { SetRepromptResponse(std::move(value)); return *this;}
108
110
113 inline const Aws::String& GetTraceId() const{ return m_traceId; }
114 inline bool TraceIdHasBeenSet() const { return m_traceIdHasBeenSet; }
115 inline void SetTraceId(const Aws::String& value) { m_traceIdHasBeenSet = true; m_traceId = value; }
116 inline void SetTraceId(Aws::String&& value) { m_traceIdHasBeenSet = true; m_traceId = std::move(value); }
117 inline void SetTraceId(const char* value) { m_traceIdHasBeenSet = true; m_traceId.assign(value); }
118 inline Observation& WithTraceId(const Aws::String& value) { SetTraceId(value); return *this;}
119 inline Observation& WithTraceId(Aws::String&& value) { SetTraceId(std::move(value)); return *this;}
120 inline Observation& WithTraceId(const char* value) { SetTraceId(value); return *this;}
122
124
134 inline const Type& GetType() const{ return m_type; }
135 inline bool TypeHasBeenSet() const { return m_typeHasBeenSet; }
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); }
138 inline Observation& WithType(const Type& value) { SetType(value); return *this;}
139 inline Observation& WithType(Type&& value) { SetType(std::move(value)); return *this;}
141 private:
142
143 ActionGroupInvocationOutput m_actionGroupInvocationOutput;
144 bool m_actionGroupInvocationOutputHasBeenSet = false;
145
146 CodeInterpreterInvocationOutput m_codeInterpreterInvocationOutput;
147 bool m_codeInterpreterInvocationOutputHasBeenSet = false;
148
149 FinalResponse m_finalResponse;
150 bool m_finalResponseHasBeenSet = false;
151
152 KnowledgeBaseLookupOutput m_knowledgeBaseLookupOutput;
153 bool m_knowledgeBaseLookupOutputHasBeenSet = false;
154
155 RepromptResponse m_repromptResponse;
156 bool m_repromptResponseHasBeenSet = false;
157
158 Aws::String m_traceId;
159 bool m_traceIdHasBeenSet = false;
160
161 Type m_type;
162 bool m_typeHasBeenSet = false;
163 };
164
165} // namespace Model
166} // namespace BedrockAgentRuntime
167} // namespace Aws
void SetActionGroupInvocationOutput(const ActionGroupInvocationOutput &value)
Definition Observation.h:54
Observation & WithRepromptResponse(RepromptResponse &&value)
Observation & WithTraceId(const char *value)
void SetKnowledgeBaseLookupOutput(KnowledgeBaseLookupOutput &&value)
Definition Observation.h:92
void SetFinalResponse(const FinalResponse &value)
Definition Observation.h:79
AWS_BEDROCKAGENTRUNTIME_API Observation()
void SetRepromptResponse(const RepromptResponse &value)
Observation & WithActionGroupInvocationOutput(ActionGroupInvocationOutput &&value)
Definition Observation.h:57
const RepromptResponse & GetRepromptResponse() const
void SetTraceId(const Aws::String &value)
Observation & WithRepromptResponse(const RepromptResponse &value)
Observation & WithKnowledgeBaseLookupOutput(KnowledgeBaseLookupOutput &&value)
Definition Observation.h:94
const Aws::String & GetTraceId() const
const CodeInterpreterInvocationOutput & GetCodeInterpreterInvocationOutput() const
Definition Observation.h:65
AWS_BEDROCKAGENTRUNTIME_API Observation(Aws::Utils::Json::JsonView jsonValue)
AWS_BEDROCKAGENTRUNTIME_API Aws::Utils::Json::JsonValue Jsonize() const
void SetFinalResponse(FinalResponse &&value)
Definition Observation.h:80
AWS_BEDROCKAGENTRUNTIME_API Observation & operator=(Aws::Utils::Json::JsonView jsonValue)
Observation & WithActionGroupInvocationOutput(const ActionGroupInvocationOutput &value)
Definition Observation.h:56
void SetCodeInterpreterInvocationOutput(const CodeInterpreterInvocationOutput &value)
Definition Observation.h:67
Observation & WithFinalResponse(const FinalResponse &value)
Definition Observation.h:81
void SetCodeInterpreterInvocationOutput(CodeInterpreterInvocationOutput &&value)
Definition Observation.h:68
void SetRepromptResponse(RepromptResponse &&value)
Observation & WithCodeInterpreterInvocationOutput(const CodeInterpreterInvocationOutput &value)
Definition Observation.h:69
const KnowledgeBaseLookupOutput & GetKnowledgeBaseLookupOutput() const
Definition Observation.h:89
const ActionGroupInvocationOutput & GetActionGroupInvocationOutput() const
Definition Observation.h:52
Observation & WithTraceId(const Aws::String &value)
Observation & WithCodeInterpreterInvocationOutput(CodeInterpreterInvocationOutput &&value)
Definition Observation.h:70
void SetKnowledgeBaseLookupOutput(const KnowledgeBaseLookupOutput &value)
Definition Observation.h:91
Observation & WithTraceId(Aws::String &&value)
Observation & WithType(const Type &value)
void SetActionGroupInvocationOutput(ActionGroupInvocationOutput &&value)
Definition Observation.h:55
Observation & WithFinalResponse(FinalResponse &&value)
Definition Observation.h:82
const FinalResponse & GetFinalResponse() const
Definition Observation.h:77
Observation & WithKnowledgeBaseLookupOutput(const KnowledgeBaseLookupOutput &value)
Definition Observation.h:93
std::basic_string< char, std::char_traits< char >, Aws::Allocator< char > > String
Aws::Utils::Json::JsonValue JsonValue