AWS SDK for C++

AWS SDK for C++ Version 1.11.759

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/Observation.h>
11#include <aws/bedrock-agent-runtime/model/RoutingClassifierModelInvocationOutput.h>
12
13#include <utility>
14
15namespace Aws {
16namespace Utils {
17namespace Json {
18class JsonValue;
19class JsonView;
20} // namespace Json
21} // namespace Utils
22namespace BedrockAgentRuntime {
23namespace Model {
24
31 public:
32 AWS_BEDROCKAGENTRUNTIME_API RoutingClassifierTrace() = default;
35 AWS_BEDROCKAGENTRUNTIME_API Aws::Utils::Json::JsonValue Jsonize() const;
36
38
41 inline const InvocationInput& GetInvocationInput() const { return m_invocationInput; }
42 inline bool InvocationInputHasBeenSet() const { return m_invocationInputHasBeenSet; }
43 template <typename InvocationInputT = InvocationInput>
45 m_invocationInputHasBeenSet = true;
46 m_invocationInput = std::forward<InvocationInputT>(value);
47 }
48 template <typename InvocationInputT = InvocationInput>
50 SetInvocationInput(std::forward<InvocationInputT>(value));
51 return *this;
52 }
54
56
59 inline const ModelInvocationInput& GetModelInvocationInput() const { return m_modelInvocationInput; }
60 inline bool ModelInvocationInputHasBeenSet() const { return m_modelInvocationInputHasBeenSet; }
61 template <typename ModelInvocationInputT = ModelInvocationInput>
63 m_modelInvocationInputHasBeenSet = true;
64 m_modelInvocationInput = std::forward<ModelInvocationInputT>(value);
65 }
66 template <typename ModelInvocationInputT = ModelInvocationInput>
68 SetModelInvocationInput(std::forward<ModelInvocationInputT>(value));
69 return *this;
70 }
72
74
77 inline const RoutingClassifierModelInvocationOutput& GetModelInvocationOutput() const { return m_modelInvocationOutput; }
78 inline bool ModelInvocationOutputHasBeenSet() const { return m_modelInvocationOutputHasBeenSet; }
79 template <typename ModelInvocationOutputT = RoutingClassifierModelInvocationOutput>
81 m_modelInvocationOutputHasBeenSet = true;
82 m_modelInvocationOutput = std::forward<ModelInvocationOutputT>(value);
83 }
84 template <typename ModelInvocationOutputT = RoutingClassifierModelInvocationOutput>
86 SetModelInvocationOutput(std::forward<ModelInvocationOutputT>(value));
87 return *this;
88 }
90
92
95 inline const Observation& GetObservation() const { return m_observation; }
96 inline bool ObservationHasBeenSet() const { return m_observationHasBeenSet; }
97 template <typename ObservationT = Observation>
99 m_observationHasBeenSet = true;
100 m_observation = std::forward<ObservationT>(value);
101 }
102 template <typename ObservationT = Observation>
104 SetObservation(std::forward<ObservationT>(value));
105 return *this;
106 }
108 private:
109 InvocationInput m_invocationInput;
110
111 ModelInvocationInput m_modelInvocationInput;
112
113 RoutingClassifierModelInvocationOutput m_modelInvocationOutput;
114
115 Observation m_observation;
116 bool m_invocationInputHasBeenSet = false;
117 bool m_modelInvocationInputHasBeenSet = false;
118 bool m_modelInvocationOutputHasBeenSet = false;
119 bool m_observationHasBeenSet = false;
120};
121
122} // namespace Model
123} // namespace BedrockAgentRuntime
124} // 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
std::shared_ptr< T > MakeShared(const char *allocationTag, ArgTypes &&... args)
Aws::Utils::Json::JsonValue JsonValue