AWS SDK for C++

AWS SDK for C++ Version 1.11.440

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/FailureTrace.h>
9#include <aws/bedrock-agent-runtime/model/GuardrailTrace.h>
10#include <aws/bedrock-agent-runtime/model/OrchestrationTrace.h>
11#include <aws/bedrock-agent-runtime/model/PostProcessingTrace.h>
12#include <aws/bedrock-agent-runtime/model/PreProcessingTrace.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
40 class Trace
41 {
42 public:
43 AWS_BEDROCKAGENTRUNTIME_API Trace();
44 AWS_BEDROCKAGENTRUNTIME_API Trace(Aws::Utils::Json::JsonView jsonValue);
45 AWS_BEDROCKAGENTRUNTIME_API Trace& operator=(Aws::Utils::Json::JsonView jsonValue);
46 AWS_BEDROCKAGENTRUNTIME_API Aws::Utils::Json::JsonValue Jsonize() const;
47
48
50
53 inline const FailureTrace& GetFailureTrace() const{ return m_failureTrace; }
54 inline bool FailureTraceHasBeenSet() const { return m_failureTraceHasBeenSet; }
55 inline void SetFailureTrace(const FailureTrace& value) { m_failureTraceHasBeenSet = true; m_failureTrace = value; }
56 inline void SetFailureTrace(FailureTrace&& value) { m_failureTraceHasBeenSet = true; m_failureTrace = std::move(value); }
57 inline Trace& WithFailureTrace(const FailureTrace& value) { SetFailureTrace(value); return *this;}
58 inline Trace& WithFailureTrace(FailureTrace&& value) { SetFailureTrace(std::move(value)); return *this;}
60
62
65 inline const GuardrailTrace& GetGuardrailTrace() const{ return m_guardrailTrace; }
66 inline bool GuardrailTraceHasBeenSet() const { return m_guardrailTraceHasBeenSet; }
67 inline void SetGuardrailTrace(const GuardrailTrace& value) { m_guardrailTraceHasBeenSet = true; m_guardrailTrace = value; }
68 inline void SetGuardrailTrace(GuardrailTrace&& value) { m_guardrailTraceHasBeenSet = true; m_guardrailTrace = std::move(value); }
69 inline Trace& WithGuardrailTrace(const GuardrailTrace& value) { SetGuardrailTrace(value); return *this;}
70 inline Trace& WithGuardrailTrace(GuardrailTrace&& value) { SetGuardrailTrace(std::move(value)); return *this;}
72
74
78 inline const OrchestrationTrace& GetOrchestrationTrace() const{ return m_orchestrationTrace; }
79 inline bool OrchestrationTraceHasBeenSet() const { return m_orchestrationTraceHasBeenSet; }
80 inline void SetOrchestrationTrace(const OrchestrationTrace& value) { m_orchestrationTraceHasBeenSet = true; m_orchestrationTrace = value; }
81 inline void SetOrchestrationTrace(OrchestrationTrace&& value) { m_orchestrationTraceHasBeenSet = true; m_orchestrationTrace = std::move(value); }
82 inline Trace& WithOrchestrationTrace(const OrchestrationTrace& value) { SetOrchestrationTrace(value); return *this;}
83 inline Trace& WithOrchestrationTrace(OrchestrationTrace&& value) { SetOrchestrationTrace(std::move(value)); return *this;}
85
87
91 inline const PostProcessingTrace& GetPostProcessingTrace() const{ return m_postProcessingTrace; }
92 inline bool PostProcessingTraceHasBeenSet() const { return m_postProcessingTraceHasBeenSet; }
93 inline void SetPostProcessingTrace(const PostProcessingTrace& value) { m_postProcessingTraceHasBeenSet = true; m_postProcessingTrace = value; }
94 inline void SetPostProcessingTrace(PostProcessingTrace&& value) { m_postProcessingTraceHasBeenSet = true; m_postProcessingTrace = std::move(value); }
95 inline Trace& WithPostProcessingTrace(const PostProcessingTrace& value) { SetPostProcessingTrace(value); return *this;}
96 inline Trace& WithPostProcessingTrace(PostProcessingTrace&& value) { SetPostProcessingTrace(std::move(value)); return *this;}
98
100
104 inline const PreProcessingTrace& GetPreProcessingTrace() const{ return m_preProcessingTrace; }
105 inline bool PreProcessingTraceHasBeenSet() const { return m_preProcessingTraceHasBeenSet; }
106 inline void SetPreProcessingTrace(const PreProcessingTrace& value) { m_preProcessingTraceHasBeenSet = true; m_preProcessingTrace = value; }
107 inline void SetPreProcessingTrace(PreProcessingTrace&& value) { m_preProcessingTraceHasBeenSet = true; m_preProcessingTrace = std::move(value); }
108 inline Trace& WithPreProcessingTrace(const PreProcessingTrace& value) { SetPreProcessingTrace(value); return *this;}
109 inline Trace& WithPreProcessingTrace(PreProcessingTrace&& value) { SetPreProcessingTrace(std::move(value)); return *this;}
111 private:
112
113 FailureTrace m_failureTrace;
114 bool m_failureTraceHasBeenSet = false;
115
116 GuardrailTrace m_guardrailTrace;
117 bool m_guardrailTraceHasBeenSet = false;
118
119 OrchestrationTrace m_orchestrationTrace;
120 bool m_orchestrationTraceHasBeenSet = false;
121
122 PostProcessingTrace m_postProcessingTrace;
123 bool m_postProcessingTraceHasBeenSet = false;
124
125 PreProcessingTrace m_preProcessingTrace;
126 bool m_preProcessingTraceHasBeenSet = false;
127 };
128
129} // namespace Model
130} // namespace BedrockAgentRuntime
131} // namespace Aws
bool PostProcessingTraceHasBeenSet() const
Definition Trace.h:92
Trace & WithPostProcessingTrace(PostProcessingTrace &&value)
Definition Trace.h:96
bool OrchestrationTraceHasBeenSet() const
Definition Trace.h:79
void SetPostProcessingTrace(PostProcessingTrace &&value)
Definition Trace.h:94
Trace & WithPreProcessingTrace(PreProcessingTrace &&value)
Definition Trace.h:109
AWS_BEDROCKAGENTRUNTIME_API Trace()
const GuardrailTrace & GetGuardrailTrace() const
Definition Trace.h:65
const PostProcessingTrace & GetPostProcessingTrace() const
Definition Trace.h:91
const OrchestrationTrace & GetOrchestrationTrace() const
Definition Trace.h:78
const PreProcessingTrace & GetPreProcessingTrace() const
Definition Trace.h:104
void SetPostProcessingTrace(const PostProcessingTrace &value)
Definition Trace.h:93
void SetGuardrailTrace(GuardrailTrace &&value)
Definition Trace.h:68
Trace & WithFailureTrace(const FailureTrace &value)
Definition Trace.h:57
Trace & WithPostProcessingTrace(const PostProcessingTrace &value)
Definition Trace.h:95
void SetPreProcessingTrace(const PreProcessingTrace &value)
Definition Trace.h:106
Trace & WithOrchestrationTrace(const OrchestrationTrace &value)
Definition Trace.h:82
Trace & WithFailureTrace(FailureTrace &&value)
Definition Trace.h:58
Trace & WithPreProcessingTrace(const PreProcessingTrace &value)
Definition Trace.h:108
Trace & WithGuardrailTrace(GuardrailTrace &&value)
Definition Trace.h:70
void SetFailureTrace(FailureTrace &&value)
Definition Trace.h:56
void SetOrchestrationTrace(const OrchestrationTrace &value)
Definition Trace.h:80
const FailureTrace & GetFailureTrace() const
Definition Trace.h:53
Trace & WithGuardrailTrace(const GuardrailTrace &value)
Definition Trace.h:69
AWS_BEDROCKAGENTRUNTIME_API Aws::Utils::Json::JsonValue Jsonize() const
AWS_BEDROCKAGENTRUNTIME_API Trace(Aws::Utils::Json::JsonView jsonValue)
void SetFailureTrace(const FailureTrace &value)
Definition Trace.h:55
void SetOrchestrationTrace(OrchestrationTrace &&value)
Definition Trace.h:81
void SetGuardrailTrace(const GuardrailTrace &value)
Definition Trace.h:67
Trace & WithOrchestrationTrace(OrchestrationTrace &&value)
Definition Trace.h:83
void SetPreProcessingTrace(PreProcessingTrace &&value)
Definition Trace.h:107
AWS_BEDROCKAGENTRUNTIME_API Trace & operator=(Aws::Utils::Json::JsonView jsonValue)
Aws::Utils::Json::JsonValue JsonValue