AWS SDK for C++

AWS SDK for C++ Version 1.11.612

Loading...
Searching...
No Matches
RoutingClassifierTrace.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/RoutingClassifierModelInvocationOutput.h>
11#include <aws/bedrock-agent-runtime/model/Observation.h>
12#include <utility>
13
14namespace Aws
15{
16namespace Utils
17{
18namespace Json
19{
20 class JsonValue;
21 class JsonView;
22} // namespace Json
23} // namespace Utils
24namespace BedrockAgentRuntime
25{
26namespace Model
27{
28
35 {
36 public:
37 AWS_BEDROCKAGENTRUNTIME_API RoutingClassifierTrace() = default;
38 AWS_BEDROCKAGENTRUNTIME_API RoutingClassifierTrace(Aws::Utils::Json::JsonView jsonValue);
39 AWS_BEDROCKAGENTRUNTIME_API RoutingClassifierTrace& operator=(Aws::Utils::Json::JsonView jsonValue);
40 AWS_BEDROCKAGENTRUNTIME_API Aws::Utils::Json::JsonValue Jsonize() const;
41
42
44
47 inline const InvocationInput& GetInvocationInput() const { return m_invocationInput; }
48 inline bool InvocationInputHasBeenSet() const { return m_invocationInputHasBeenSet; }
49 template<typename InvocationInputT = InvocationInput>
50 void SetInvocationInput(InvocationInputT&& value) { m_invocationInputHasBeenSet = true; m_invocationInput = std::forward<InvocationInputT>(value); }
51 template<typename InvocationInputT = InvocationInput>
52 RoutingClassifierTrace& WithInvocationInput(InvocationInputT&& value) { SetInvocationInput(std::forward<InvocationInputT>(value)); return *this;}
54
56
59 inline const ModelInvocationInput& GetModelInvocationInput() const { return m_modelInvocationInput; }
60 inline bool ModelInvocationInputHasBeenSet() const { return m_modelInvocationInputHasBeenSet; }
61 template<typename ModelInvocationInputT = ModelInvocationInput>
62 void SetModelInvocationInput(ModelInvocationInputT&& value) { m_modelInvocationInputHasBeenSet = true; m_modelInvocationInput = std::forward<ModelInvocationInputT>(value); }
63 template<typename ModelInvocationInputT = ModelInvocationInput>
64 RoutingClassifierTrace& WithModelInvocationInput(ModelInvocationInputT&& value) { SetModelInvocationInput(std::forward<ModelInvocationInputT>(value)); return *this;}
66
68
71 inline const RoutingClassifierModelInvocationOutput& GetModelInvocationOutput() const { return m_modelInvocationOutput; }
72 inline bool ModelInvocationOutputHasBeenSet() const { return m_modelInvocationOutputHasBeenSet; }
73 template<typename ModelInvocationOutputT = RoutingClassifierModelInvocationOutput>
74 void SetModelInvocationOutput(ModelInvocationOutputT&& value) { m_modelInvocationOutputHasBeenSet = true; m_modelInvocationOutput = std::forward<ModelInvocationOutputT>(value); }
75 template<typename ModelInvocationOutputT = RoutingClassifierModelInvocationOutput>
76 RoutingClassifierTrace& WithModelInvocationOutput(ModelInvocationOutputT&& value) { SetModelInvocationOutput(std::forward<ModelInvocationOutputT>(value)); return *this;}
78
80
83 inline const Observation& GetObservation() const { return m_observation; }
84 inline bool ObservationHasBeenSet() const { return m_observationHasBeenSet; }
85 template<typename ObservationT = Observation>
86 void SetObservation(ObservationT&& value) { m_observationHasBeenSet = true; m_observation = std::forward<ObservationT>(value); }
87 template<typename ObservationT = Observation>
88 RoutingClassifierTrace& WithObservation(ObservationT&& value) { SetObservation(std::forward<ObservationT>(value)); return *this;}
90 private:
91
92 InvocationInput m_invocationInput;
93 bool m_invocationInputHasBeenSet = false;
94
95 ModelInvocationInput m_modelInvocationInput;
96 bool m_modelInvocationInputHasBeenSet = false;
97
98 RoutingClassifierModelInvocationOutput m_modelInvocationOutput;
99 bool m_modelInvocationOutputHasBeenSet = false;
100
101 Observation m_observation;
102 bool m_observationHasBeenSet = false;
103 };
104
105} // namespace Model
106} // namespace BedrockAgentRuntime
107} // namespace Aws
RoutingClassifierTrace & WithModelInvocationOutput(ModelInvocationOutputT &&value)
RoutingClassifierTrace & WithModelInvocationInput(ModelInvocationInputT &&value)
RoutingClassifierTrace & WithInvocationInput(InvocationInputT &&value)
RoutingClassifierTrace & WithObservation(ObservationT &&value)
AWS_BEDROCKAGENTRUNTIME_API RoutingClassifierTrace()=default
const RoutingClassifierModelInvocationOutput & GetModelInvocationOutput() const
AWS_BEDROCKAGENTRUNTIME_API RoutingClassifierTrace(Aws::Utils::Json::JsonView jsonValue)
void SetModelInvocationOutput(ModelInvocationOutputT &&value)
AWS_BEDROCKAGENTRUNTIME_API RoutingClassifierTrace & operator=(Aws::Utils::Json::JsonView jsonValue)
AWS_BEDROCKAGENTRUNTIME_API Aws::Utils::Json::JsonValue Jsonize() const
Aws::Utils::Json::JsonValue JsonValue