AWS SDK for C++

AWS SDK for C++ Version 1.11.606

Loading...
Searching...
No Matches
Trace.h
1
6#pragma once
7#include <aws/bedrock-agent-runtime/BedrockAgentRuntime_EXPORTS.h>
8#include <aws/bedrock-agent-runtime/model/CustomOrchestrationTrace.h>
9#include <aws/bedrock-agent-runtime/model/FailureTrace.h>
10#include <aws/bedrock-agent-runtime/model/GuardrailTrace.h>
11#include <aws/bedrock-agent-runtime/model/OrchestrationTrace.h>
12#include <aws/bedrock-agent-runtime/model/PostProcessingTrace.h>
13#include <aws/bedrock-agent-runtime/model/PreProcessingTrace.h>
14#include <aws/bedrock-agent-runtime/model/RoutingClassifierTrace.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
42 class Trace
43 {
44 public:
45 AWS_BEDROCKAGENTRUNTIME_API Trace() = default;
46 AWS_BEDROCKAGENTRUNTIME_API Trace(Aws::Utils::Json::JsonView jsonValue);
47 AWS_BEDROCKAGENTRUNTIME_API Trace& operator=(Aws::Utils::Json::JsonView jsonValue);
48 AWS_BEDROCKAGENTRUNTIME_API Aws::Utils::Json::JsonValue Jsonize() const;
49
50
52
56 inline const CustomOrchestrationTrace& GetCustomOrchestrationTrace() const { return m_customOrchestrationTrace; }
57 inline bool CustomOrchestrationTraceHasBeenSet() const { return m_customOrchestrationTraceHasBeenSet; }
58 template<typename CustomOrchestrationTraceT = CustomOrchestrationTrace>
59 void SetCustomOrchestrationTrace(CustomOrchestrationTraceT&& value) { m_customOrchestrationTraceHasBeenSet = true; m_customOrchestrationTrace = std::forward<CustomOrchestrationTraceT>(value); }
60 template<typename CustomOrchestrationTraceT = CustomOrchestrationTrace>
61 Trace& WithCustomOrchestrationTrace(CustomOrchestrationTraceT&& value) { SetCustomOrchestrationTrace(std::forward<CustomOrchestrationTraceT>(value)); return *this;}
63
65
68 inline const FailureTrace& GetFailureTrace() const { return m_failureTrace; }
69 inline bool FailureTraceHasBeenSet() const { return m_failureTraceHasBeenSet; }
70 template<typename FailureTraceT = FailureTrace>
71 void SetFailureTrace(FailureTraceT&& value) { m_failureTraceHasBeenSet = true; m_failureTrace = std::forward<FailureTraceT>(value); }
72 template<typename FailureTraceT = FailureTrace>
73 Trace& WithFailureTrace(FailureTraceT&& value) { SetFailureTrace(std::forward<FailureTraceT>(value)); return *this;}
75
77
80 inline const GuardrailTrace& GetGuardrailTrace() const { return m_guardrailTrace; }
81 inline bool GuardrailTraceHasBeenSet() const { return m_guardrailTraceHasBeenSet; }
82 template<typename GuardrailTraceT = GuardrailTrace>
83 void SetGuardrailTrace(GuardrailTraceT&& value) { m_guardrailTraceHasBeenSet = true; m_guardrailTrace = std::forward<GuardrailTraceT>(value); }
84 template<typename GuardrailTraceT = GuardrailTrace>
85 Trace& WithGuardrailTrace(GuardrailTraceT&& value) { SetGuardrailTrace(std::forward<GuardrailTraceT>(value)); return *this;}
87
89
93 inline const OrchestrationTrace& GetOrchestrationTrace() const { return m_orchestrationTrace; }
94 inline bool OrchestrationTraceHasBeenSet() const { return m_orchestrationTraceHasBeenSet; }
95 template<typename OrchestrationTraceT = OrchestrationTrace>
96 void SetOrchestrationTrace(OrchestrationTraceT&& value) { m_orchestrationTraceHasBeenSet = true; m_orchestrationTrace = std::forward<OrchestrationTraceT>(value); }
97 template<typename OrchestrationTraceT = OrchestrationTrace>
98 Trace& WithOrchestrationTrace(OrchestrationTraceT&& value) { SetOrchestrationTrace(std::forward<OrchestrationTraceT>(value)); return *this;}
100
102
106 inline const PostProcessingTrace& GetPostProcessingTrace() const { return m_postProcessingTrace; }
107 inline bool PostProcessingTraceHasBeenSet() const { return m_postProcessingTraceHasBeenSet; }
108 template<typename PostProcessingTraceT = PostProcessingTrace>
109 void SetPostProcessingTrace(PostProcessingTraceT&& value) { m_postProcessingTraceHasBeenSet = true; m_postProcessingTrace = std::forward<PostProcessingTraceT>(value); }
110 template<typename PostProcessingTraceT = PostProcessingTrace>
111 Trace& WithPostProcessingTrace(PostProcessingTraceT&& value) { SetPostProcessingTrace(std::forward<PostProcessingTraceT>(value)); return *this;}
113
115
119 inline const PreProcessingTrace& GetPreProcessingTrace() const { return m_preProcessingTrace; }
120 inline bool PreProcessingTraceHasBeenSet() const { return m_preProcessingTraceHasBeenSet; }
121 template<typename PreProcessingTraceT = PreProcessingTrace>
122 void SetPreProcessingTrace(PreProcessingTraceT&& value) { m_preProcessingTraceHasBeenSet = true; m_preProcessingTrace = std::forward<PreProcessingTraceT>(value); }
123 template<typename PreProcessingTraceT = PreProcessingTrace>
124 Trace& WithPreProcessingTrace(PreProcessingTraceT&& value) { SetPreProcessingTrace(std::forward<PreProcessingTraceT>(value)); return *this;}
126
128
131 inline const RoutingClassifierTrace& GetRoutingClassifierTrace() const { return m_routingClassifierTrace; }
132 inline bool RoutingClassifierTraceHasBeenSet() const { return m_routingClassifierTraceHasBeenSet; }
133 template<typename RoutingClassifierTraceT = RoutingClassifierTrace>
134 void SetRoutingClassifierTrace(RoutingClassifierTraceT&& value) { m_routingClassifierTraceHasBeenSet = true; m_routingClassifierTrace = std::forward<RoutingClassifierTraceT>(value); }
135 template<typename RoutingClassifierTraceT = RoutingClassifierTrace>
136 Trace& WithRoutingClassifierTrace(RoutingClassifierTraceT&& value) { SetRoutingClassifierTrace(std::forward<RoutingClassifierTraceT>(value)); return *this;}
138 private:
139
140 CustomOrchestrationTrace m_customOrchestrationTrace;
141 bool m_customOrchestrationTraceHasBeenSet = false;
142
143 FailureTrace m_failureTrace;
144 bool m_failureTraceHasBeenSet = false;
145
146 GuardrailTrace m_guardrailTrace;
147 bool m_guardrailTraceHasBeenSet = false;
148
149 OrchestrationTrace m_orchestrationTrace;
150 bool m_orchestrationTraceHasBeenSet = false;
151
152 PostProcessingTrace m_postProcessingTrace;
153 bool m_postProcessingTraceHasBeenSet = false;
154
155 PreProcessingTrace m_preProcessingTrace;
156 bool m_preProcessingTraceHasBeenSet = false;
157
158 RoutingClassifierTrace m_routingClassifierTrace;
159 bool m_routingClassifierTraceHasBeenSet = false;
160 };
161
162} // namespace Model
163} // namespace BedrockAgentRuntime
164} // namespace Aws
Trace & WithGuardrailTrace(GuardrailTraceT &&value)
Definition Trace.h:85
bool OrchestrationTraceHasBeenSet() const
Definition Trace.h:94
void SetPreProcessingTrace(PreProcessingTraceT &&value)
Definition Trace.h:122
const GuardrailTrace & GetGuardrailTrace() const
Definition Trace.h:80
const PostProcessingTrace & GetPostProcessingTrace() const
Definition Trace.h:106
const OrchestrationTrace & GetOrchestrationTrace() const
Definition Trace.h:93
const CustomOrchestrationTrace & GetCustomOrchestrationTrace() const
Definition Trace.h:56
bool RoutingClassifierTraceHasBeenSet() const
Definition Trace.h:132
const PreProcessingTrace & GetPreProcessingTrace() const
Definition Trace.h:119
void SetFailureTrace(FailureTraceT &&value)
Definition Trace.h:71
Trace & WithFailureTrace(FailureTraceT &&value)
Definition Trace.h:73
void SetGuardrailTrace(GuardrailTraceT &&value)
Definition Trace.h:83
Trace & WithPreProcessingTrace(PreProcessingTraceT &&value)
Definition Trace.h:124
Trace & WithOrchestrationTrace(OrchestrationTraceT &&value)
Definition Trace.h:98
Trace & WithRoutingClassifierTrace(RoutingClassifierTraceT &&value)
Definition Trace.h:136
void SetCustomOrchestrationTrace(CustomOrchestrationTraceT &&value)
Definition Trace.h:59
Trace & WithPostProcessingTrace(PostProcessingTraceT &&value)
Definition Trace.h:111
const RoutingClassifierTrace & GetRoutingClassifierTrace() const
Definition Trace.h:131
void SetRoutingClassifierTrace(RoutingClassifierTraceT &&value)
Definition Trace.h:134
AWS_BEDROCKAGENTRUNTIME_API Trace()=default
const FailureTrace & GetFailureTrace() const
Definition Trace.h:68
AWS_BEDROCKAGENTRUNTIME_API Aws::Utils::Json::JsonValue Jsonize() const
void SetOrchestrationTrace(OrchestrationTraceT &&value)
Definition Trace.h:96
Trace & WithCustomOrchestrationTrace(CustomOrchestrationTraceT &&value)
Definition Trace.h:61
AWS_BEDROCKAGENTRUNTIME_API Trace(Aws::Utils::Json::JsonView jsonValue)
void SetPostProcessingTrace(PostProcessingTraceT &&value)
Definition Trace.h:109
bool CustomOrchestrationTraceHasBeenSet() const
Definition Trace.h:57
AWS_BEDROCKAGENTRUNTIME_API Trace & operator=(Aws::Utils::Json::JsonView jsonValue)
Aws::Utils::Json::JsonValue JsonValue