AWS SDK for C++

AWS SDK for C++ Version 1.11.509

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();
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 inline void SetCustomOrchestrationTrace(const CustomOrchestrationTrace& value) { m_customOrchestrationTraceHasBeenSet = true; m_customOrchestrationTrace = value; }
59 inline void SetCustomOrchestrationTrace(CustomOrchestrationTrace&& value) { m_customOrchestrationTraceHasBeenSet = true; m_customOrchestrationTrace = std::move(value); }
63
65
68 inline const FailureTrace& GetFailureTrace() const{ return m_failureTrace; }
69 inline bool FailureTraceHasBeenSet() const { return m_failureTraceHasBeenSet; }
70 inline void SetFailureTrace(const FailureTrace& value) { m_failureTraceHasBeenSet = true; m_failureTrace = value; }
71 inline void SetFailureTrace(FailureTrace&& value) { m_failureTraceHasBeenSet = true; m_failureTrace = std::move(value); }
72 inline Trace& WithFailureTrace(const FailureTrace& value) { SetFailureTrace(value); return *this;}
73 inline Trace& WithFailureTrace(FailureTrace&& value) { SetFailureTrace(std::move(value)); return *this;}
75
77
80 inline const GuardrailTrace& GetGuardrailTrace() const{ return m_guardrailTrace; }
81 inline bool GuardrailTraceHasBeenSet() const { return m_guardrailTraceHasBeenSet; }
82 inline void SetGuardrailTrace(const GuardrailTrace& value) { m_guardrailTraceHasBeenSet = true; m_guardrailTrace = value; }
83 inline void SetGuardrailTrace(GuardrailTrace&& value) { m_guardrailTraceHasBeenSet = true; m_guardrailTrace = std::move(value); }
84 inline Trace& WithGuardrailTrace(const GuardrailTrace& value) { SetGuardrailTrace(value); return *this;}
85 inline Trace& WithGuardrailTrace(GuardrailTrace&& value) { SetGuardrailTrace(std::move(value)); return *this;}
87
89
93 inline const OrchestrationTrace& GetOrchestrationTrace() const{ return m_orchestrationTrace; }
94 inline bool OrchestrationTraceHasBeenSet() const { return m_orchestrationTraceHasBeenSet; }
95 inline void SetOrchestrationTrace(const OrchestrationTrace& value) { m_orchestrationTraceHasBeenSet = true; m_orchestrationTrace = value; }
96 inline void SetOrchestrationTrace(OrchestrationTrace&& value) { m_orchestrationTraceHasBeenSet = true; m_orchestrationTrace = std::move(value); }
97 inline Trace& WithOrchestrationTrace(const OrchestrationTrace& value) { SetOrchestrationTrace(value); return *this;}
98 inline Trace& WithOrchestrationTrace(OrchestrationTrace&& value) { SetOrchestrationTrace(std::move(value)); return *this;}
100
102
106 inline const PostProcessingTrace& GetPostProcessingTrace() const{ return m_postProcessingTrace; }
107 inline bool PostProcessingTraceHasBeenSet() const { return m_postProcessingTraceHasBeenSet; }
108 inline void SetPostProcessingTrace(const PostProcessingTrace& value) { m_postProcessingTraceHasBeenSet = true; m_postProcessingTrace = value; }
109 inline void SetPostProcessingTrace(PostProcessingTrace&& value) { m_postProcessingTraceHasBeenSet = true; m_postProcessingTrace = std::move(value); }
110 inline Trace& WithPostProcessingTrace(const PostProcessingTrace& value) { SetPostProcessingTrace(value); return *this;}
111 inline Trace& WithPostProcessingTrace(PostProcessingTrace&& value) { SetPostProcessingTrace(std::move(value)); return *this;}
113
115
119 inline const PreProcessingTrace& GetPreProcessingTrace() const{ return m_preProcessingTrace; }
120 inline bool PreProcessingTraceHasBeenSet() const { return m_preProcessingTraceHasBeenSet; }
121 inline void SetPreProcessingTrace(const PreProcessingTrace& value) { m_preProcessingTraceHasBeenSet = true; m_preProcessingTrace = value; }
122 inline void SetPreProcessingTrace(PreProcessingTrace&& value) { m_preProcessingTraceHasBeenSet = true; m_preProcessingTrace = std::move(value); }
123 inline Trace& WithPreProcessingTrace(const PreProcessingTrace& value) { SetPreProcessingTrace(value); return *this;}
124 inline Trace& WithPreProcessingTrace(PreProcessingTrace&& value) { SetPreProcessingTrace(std::move(value)); return *this;}
126
128
131 inline const RoutingClassifierTrace& GetRoutingClassifierTrace() const{ return m_routingClassifierTrace; }
132 inline bool RoutingClassifierTraceHasBeenSet() const { return m_routingClassifierTraceHasBeenSet; }
133 inline void SetRoutingClassifierTrace(const RoutingClassifierTrace& value) { m_routingClassifierTraceHasBeenSet = true; m_routingClassifierTrace = value; }
134 inline void SetRoutingClassifierTrace(RoutingClassifierTrace&& value) { m_routingClassifierTraceHasBeenSet = true; m_routingClassifierTrace = std::move(value); }
136 inline Trace& WithRoutingClassifierTrace(RoutingClassifierTrace&& value) { SetRoutingClassifierTrace(std::move(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 & WithPostProcessingTrace(PostProcessingTrace &&value)
Definition Trace.h:111
bool OrchestrationTraceHasBeenSet() const
Definition Trace.h:94
void SetPostProcessingTrace(PostProcessingTrace &&value)
Definition Trace.h:109
Trace & WithPreProcessingTrace(PreProcessingTrace &&value)
Definition Trace.h:124
Trace & WithRoutingClassifierTrace(RoutingClassifierTrace &&value)
Definition Trace.h:136
AWS_BEDROCKAGENTRUNTIME_API Trace()
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 SetPostProcessingTrace(const PostProcessingTrace &value)
Definition Trace.h:108
void SetGuardrailTrace(GuardrailTrace &&value)
Definition Trace.h:83
void SetCustomOrchestrationTrace(CustomOrchestrationTrace &&value)
Definition Trace.h:59
void SetCustomOrchestrationTrace(const CustomOrchestrationTrace &value)
Definition Trace.h:58
Trace & WithFailureTrace(const FailureTrace &value)
Definition Trace.h:72
Trace & WithCustomOrchestrationTrace(CustomOrchestrationTrace &&value)
Definition Trace.h:61
Trace & WithPostProcessingTrace(const PostProcessingTrace &value)
Definition Trace.h:110
void SetPreProcessingTrace(const PreProcessingTrace &value)
Definition Trace.h:121
Trace & WithOrchestrationTrace(const OrchestrationTrace &value)
Definition Trace.h:97
void SetRoutingClassifierTrace(RoutingClassifierTrace &&value)
Definition Trace.h:134
Trace & WithFailureTrace(FailureTrace &&value)
Definition Trace.h:73
Trace & WithPreProcessingTrace(const PreProcessingTrace &value)
Definition Trace.h:123
Trace & WithGuardrailTrace(GuardrailTrace &&value)
Definition Trace.h:85
void SetFailureTrace(FailureTrace &&value)
Definition Trace.h:71
const RoutingClassifierTrace & GetRoutingClassifierTrace() const
Definition Trace.h:131
void SetOrchestrationTrace(const OrchestrationTrace &value)
Definition Trace.h:95
const FailureTrace & GetFailureTrace() const
Definition Trace.h:68
Trace & WithCustomOrchestrationTrace(const CustomOrchestrationTrace &value)
Definition Trace.h:60
Trace & WithGuardrailTrace(const GuardrailTrace &value)
Definition Trace.h:84
AWS_BEDROCKAGENTRUNTIME_API Aws::Utils::Json::JsonValue Jsonize() const
AWS_BEDROCKAGENTRUNTIME_API Trace(Aws::Utils::Json::JsonView jsonValue)
Trace & WithRoutingClassifierTrace(const RoutingClassifierTrace &value)
Definition Trace.h:135
void SetFailureTrace(const FailureTrace &value)
Definition Trace.h:70
void SetOrchestrationTrace(OrchestrationTrace &&value)
Definition Trace.h:96
void SetGuardrailTrace(const GuardrailTrace &value)
Definition Trace.h:82
Trace & WithOrchestrationTrace(OrchestrationTrace &&value)
Definition Trace.h:98
void SetRoutingClassifierTrace(const RoutingClassifierTrace &value)
Definition Trace.h:133
bool CustomOrchestrationTraceHasBeenSet() const
Definition Trace.h:57
void SetPreProcessingTrace(PreProcessingTrace &&value)
Definition Trace.h:122
AWS_BEDROCKAGENTRUNTIME_API Trace & operator=(Aws::Utils::Json::JsonView jsonValue)
Aws::Utils::Json::JsonValue JsonValue