AWS SDK for C++

AWS SDK for C++ Version 1.11.612

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() = default;
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 template<typename InvocationInputT = InvocationInput>
54 void SetInvocationInput(InvocationInputT&& value) { m_invocationInputHasBeenSet = true; m_invocationInput = std::forward<InvocationInputT>(value); }
55 template<typename InvocationInputT = InvocationInput>
56 OrchestrationTrace& WithInvocationInput(InvocationInputT&& value) { SetInvocationInput(std::forward<InvocationInputT>(value)); return *this;}
58
60
69 inline const ModelInvocationInput& GetModelInvocationInput() const { return m_modelInvocationInput; }
70 inline bool ModelInvocationInputHasBeenSet() const { return m_modelInvocationInputHasBeenSet; }
71 template<typename ModelInvocationInputT = ModelInvocationInput>
72 void SetModelInvocationInput(ModelInvocationInputT&& value) { m_modelInvocationInputHasBeenSet = true; m_modelInvocationInput = std::forward<ModelInvocationInputT>(value); }
73 template<typename ModelInvocationInputT = ModelInvocationInput>
74 OrchestrationTrace& WithModelInvocationInput(ModelInvocationInputT&& value) { SetModelInvocationInput(std::forward<ModelInvocationInputT>(value)); return *this;}
76
78
82 inline const OrchestrationModelInvocationOutput& GetModelInvocationOutput() const { return m_modelInvocationOutput; }
83 inline bool ModelInvocationOutputHasBeenSet() const { return m_modelInvocationOutputHasBeenSet; }
84 template<typename ModelInvocationOutputT = OrchestrationModelInvocationOutput>
85 void SetModelInvocationOutput(ModelInvocationOutputT&& value) { m_modelInvocationOutputHasBeenSet = true; m_modelInvocationOutput = std::forward<ModelInvocationOutputT>(value); }
86 template<typename ModelInvocationOutputT = OrchestrationModelInvocationOutput>
87 OrchestrationTrace& WithModelInvocationOutput(ModelInvocationOutputT&& value) { SetModelInvocationOutput(std::forward<ModelInvocationOutputT>(value)); return *this;}
89
91
95 inline const Observation& GetObservation() const { return m_observation; }
96 inline bool ObservationHasBeenSet() const { return m_observationHasBeenSet; }
97 template<typename ObservationT = Observation>
98 void SetObservation(ObservationT&& value) { m_observationHasBeenSet = true; m_observation = std::forward<ObservationT>(value); }
99 template<typename ObservationT = Observation>
100 OrchestrationTrace& WithObservation(ObservationT&& value) { SetObservation(std::forward<ObservationT>(value)); return *this;}
102
104
109 inline const Rationale& GetRationale() const { return m_rationale; }
110 inline bool RationaleHasBeenSet() const { return m_rationaleHasBeenSet; }
111 template<typename RationaleT = Rationale>
112 void SetRationale(RationaleT&& value) { m_rationaleHasBeenSet = true; m_rationale = std::forward<RationaleT>(value); }
113 template<typename RationaleT = Rationale>
114 OrchestrationTrace& WithRationale(RationaleT&& value) { SetRationale(std::forward<RationaleT>(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
const OrchestrationModelInvocationOutput & GetModelInvocationOutput() const
const ModelInvocationInput & GetModelInvocationInput() const
AWS_BEDROCKAGENTRUNTIME_API OrchestrationTrace(Aws::Utils::Json::JsonView jsonValue)
OrchestrationTrace & WithModelInvocationOutput(ModelInvocationOutputT &&value)
void SetModelInvocationOutput(ModelInvocationOutputT &&value)
OrchestrationTrace & WithInvocationInput(InvocationInputT &&value)
AWS_BEDROCKAGENTRUNTIME_API OrchestrationTrace & operator=(Aws::Utils::Json::JsonView jsonValue)
OrchestrationTrace & WithRationale(RationaleT &&value)
AWS_BEDROCKAGENTRUNTIME_API OrchestrationTrace()=default
void SetModelInvocationInput(ModelInvocationInputT &&value)
OrchestrationTrace & WithObservation(ObservationT &&value)
OrchestrationTrace & WithModelInvocationInput(ModelInvocationInputT &&value)
Aws::Utils::Json::JsonValue JsonValue