AWS SDK for C++

AWS SDK for C++ Version 1.11.440

Loading...
Searching...
No Matches
OrchestrationTrace.h
1
6#pragma once
7#include <aws/bedrock-agent-runtime/BedrockAgentRuntime_EXPORTS.h>
8#include <aws/bedrock-agent-runtime/model/InvocationInput.h>
9#include <aws/bedrock-agent-runtime/model/ModelInvocationInput.h>
10#include <aws/bedrock-agent-runtime/model/OrchestrationModelInvocationOutput.h>
11#include <aws/bedrock-agent-runtime/model/Observation.h>
12#include <aws/bedrock-agent-runtime/model/Rationale.h>
13#include <utility>
14
15namespace Aws
16{
17namespace Utils
18{
19namespace Json
20{
21 class JsonValue;
22 class JsonView;
23} // namespace Json
24} // namespace Utils
25namespace BedrockAgentRuntime
26{
27namespace Model
28{
29
38 {
39 public:
40 AWS_BEDROCKAGENTRUNTIME_API OrchestrationTrace();
41 AWS_BEDROCKAGENTRUNTIME_API OrchestrationTrace(Aws::Utils::Json::JsonView jsonValue);
42 AWS_BEDROCKAGENTRUNTIME_API OrchestrationTrace& operator=(Aws::Utils::Json::JsonView jsonValue);
43 AWS_BEDROCKAGENTRUNTIME_API Aws::Utils::Json::JsonValue Jsonize() const;
44
45
47
51 inline const InvocationInput& GetInvocationInput() const{ return m_invocationInput; }
52 inline bool InvocationInputHasBeenSet() const { return m_invocationInputHasBeenSet; }
53 inline void SetInvocationInput(const InvocationInput& value) { m_invocationInputHasBeenSet = true; m_invocationInput = value; }
54 inline void SetInvocationInput(InvocationInput&& value) { m_invocationInputHasBeenSet = true; m_invocationInput = std::move(value); }
55 inline OrchestrationTrace& WithInvocationInput(const InvocationInput& value) { SetInvocationInput(value); return *this;}
56 inline OrchestrationTrace& WithInvocationInput(InvocationInput&& value) { SetInvocationInput(std::move(value)); return *this;}
58
60
69 inline const ModelInvocationInput& GetModelInvocationInput() const{ return m_modelInvocationInput; }
70 inline bool ModelInvocationInputHasBeenSet() const { return m_modelInvocationInputHasBeenSet; }
71 inline void SetModelInvocationInput(const ModelInvocationInput& value) { m_modelInvocationInputHasBeenSet = true; m_modelInvocationInput = value; }
72 inline void SetModelInvocationInput(ModelInvocationInput&& value) { m_modelInvocationInputHasBeenSet = true; m_modelInvocationInput = std::move(value); }
76
78
82 inline const OrchestrationModelInvocationOutput& GetModelInvocationOutput() const{ return m_modelInvocationOutput; }
83 inline bool ModelInvocationOutputHasBeenSet() const { return m_modelInvocationOutputHasBeenSet; }
84 inline void SetModelInvocationOutput(const OrchestrationModelInvocationOutput& value) { m_modelInvocationOutputHasBeenSet = true; m_modelInvocationOutput = value; }
85 inline void SetModelInvocationOutput(OrchestrationModelInvocationOutput&& value) { m_modelInvocationOutputHasBeenSet = true; m_modelInvocationOutput = std::move(value); }
89
91
95 inline const Observation& GetObservation() const{ return m_observation; }
96 inline bool ObservationHasBeenSet() const { return m_observationHasBeenSet; }
97 inline void SetObservation(const Observation& value) { m_observationHasBeenSet = true; m_observation = value; }
98 inline void SetObservation(Observation&& value) { m_observationHasBeenSet = true; m_observation = std::move(value); }
99 inline OrchestrationTrace& WithObservation(const Observation& value) { SetObservation(value); return *this;}
100 inline OrchestrationTrace& WithObservation(Observation&& value) { SetObservation(std::move(value)); return *this;}
102
104
109 inline const Rationale& GetRationale() const{ return m_rationale; }
110 inline bool RationaleHasBeenSet() const { return m_rationaleHasBeenSet; }
111 inline void SetRationale(const Rationale& value) { m_rationaleHasBeenSet = true; m_rationale = value; }
112 inline void SetRationale(Rationale&& value) { m_rationaleHasBeenSet = true; m_rationale = std::move(value); }
113 inline OrchestrationTrace& WithRationale(const Rationale& value) { SetRationale(value); return *this;}
114 inline OrchestrationTrace& WithRationale(Rationale&& value) { SetRationale(std::move(value)); return *this;}
116 private:
117
118 InvocationInput m_invocationInput;
119 bool m_invocationInputHasBeenSet = false;
120
121 ModelInvocationInput m_modelInvocationInput;
122 bool m_modelInvocationInputHasBeenSet = false;
123
124 OrchestrationModelInvocationOutput m_modelInvocationOutput;
125 bool m_modelInvocationOutputHasBeenSet = false;
126
127 Observation m_observation;
128 bool m_observationHasBeenSet = false;
129
130 Rationale m_rationale;
131 bool m_rationaleHasBeenSet = false;
132 };
133
134} // namespace Model
135} // namespace BedrockAgentRuntime
136} // namespace Aws
AWS_BEDROCKAGENTRUNTIME_API Aws::Utils::Json::JsonValue Jsonize() const
void SetModelInvocationInput(ModelInvocationInput &&value)
void SetModelInvocationOutput(OrchestrationModelInvocationOutput &&value)
const OrchestrationModelInvocationOutput & GetModelInvocationOutput() const
const ModelInvocationInput & GetModelInvocationInput() const
AWS_BEDROCKAGENTRUNTIME_API OrchestrationTrace(Aws::Utils::Json::JsonView jsonValue)
OrchestrationTrace & WithObservation(Observation &&value)
OrchestrationTrace & WithModelInvocationInput(const ModelInvocationInput &value)
AWS_BEDROCKAGENTRUNTIME_API OrchestrationTrace & operator=(Aws::Utils::Json::JsonView jsonValue)
OrchestrationTrace & WithInvocationInput(InvocationInput &&value)
OrchestrationTrace & WithObservation(const Observation &value)
OrchestrationTrace & WithRationale(Rationale &&value)
void SetModelInvocationOutput(const OrchestrationModelInvocationOutput &value)
OrchestrationTrace & WithRationale(const Rationale &value)
OrchestrationTrace & WithModelInvocationOutput(OrchestrationModelInvocationOutput &&value)
void SetInvocationInput(const InvocationInput &value)
AWS_BEDROCKAGENTRUNTIME_API OrchestrationTrace()
OrchestrationTrace & WithModelInvocationOutput(const OrchestrationModelInvocationOutput &value)
void SetModelInvocationInput(const ModelInvocationInput &value)
OrchestrationTrace & WithInvocationInput(const InvocationInput &value)
OrchestrationTrace & WithModelInvocationInput(ModelInvocationInput &&value)
Aws::Utils::Json::JsonValue JsonValue