AWS SDK for C++

AWS SDK for C++ Version 1.11.509

Loading...
Searching...
No Matches
ConverseStreamTrace.h
1
6#pragma once
7#include <aws/bedrock-runtime/BedrockRuntime_EXPORTS.h>
8#include <aws/bedrock-runtime/model/GuardrailTraceAssessment.h>
9#include <aws/bedrock-runtime/model/PromptRouterTrace.h>
10#include <utility>
11
12namespace Aws
13{
14namespace Utils
15{
16namespace Json
17{
18 class JsonValue;
19 class JsonView;
20} // namespace Json
21} // namespace Utils
22namespace BedrockRuntime
23{
24namespace Model
25{
26
35 {
36 public:
37 AWS_BEDROCKRUNTIME_API ConverseStreamTrace();
38 AWS_BEDROCKRUNTIME_API ConverseStreamTrace(Aws::Utils::Json::JsonView jsonValue);
39 AWS_BEDROCKRUNTIME_API ConverseStreamTrace& operator=(Aws::Utils::Json::JsonView jsonValue);
40 AWS_BEDROCKRUNTIME_API Aws::Utils::Json::JsonValue Jsonize() const;
41
42
44
47 inline const GuardrailTraceAssessment& GetGuardrail() const{ return m_guardrail; }
48 inline bool GuardrailHasBeenSet() const { return m_guardrailHasBeenSet; }
49 inline void SetGuardrail(const GuardrailTraceAssessment& value) { m_guardrailHasBeenSet = true; m_guardrail = value; }
50 inline void SetGuardrail(GuardrailTraceAssessment&& value) { m_guardrailHasBeenSet = true; m_guardrail = std::move(value); }
51 inline ConverseStreamTrace& WithGuardrail(const GuardrailTraceAssessment& value) { SetGuardrail(value); return *this;}
52 inline ConverseStreamTrace& WithGuardrail(GuardrailTraceAssessment&& value) { SetGuardrail(std::move(value)); return *this;}
54
56
59 inline const PromptRouterTrace& GetPromptRouter() const{ return m_promptRouter; }
60 inline bool PromptRouterHasBeenSet() const { return m_promptRouterHasBeenSet; }
61 inline void SetPromptRouter(const PromptRouterTrace& value) { m_promptRouterHasBeenSet = true; m_promptRouter = value; }
62 inline void SetPromptRouter(PromptRouterTrace&& value) { m_promptRouterHasBeenSet = true; m_promptRouter = std::move(value); }
63 inline ConverseStreamTrace& WithPromptRouter(const PromptRouterTrace& value) { SetPromptRouter(value); return *this;}
64 inline ConverseStreamTrace& WithPromptRouter(PromptRouterTrace&& value) { SetPromptRouter(std::move(value)); return *this;}
66 private:
67
68 GuardrailTraceAssessment m_guardrail;
69 bool m_guardrailHasBeenSet = false;
70
71 PromptRouterTrace m_promptRouter;
72 bool m_promptRouterHasBeenSet = false;
73 };
74
75} // namespace Model
76} // namespace BedrockRuntime
77} // namespace Aws
ConverseStreamTrace & WithGuardrail(GuardrailTraceAssessment &&value)
ConverseStreamTrace & WithPromptRouter(const PromptRouterTrace &value)
AWS_BEDROCKRUNTIME_API ConverseStreamTrace(Aws::Utils::Json::JsonView jsonValue)
void SetGuardrail(GuardrailTraceAssessment &&value)
ConverseStreamTrace & WithPromptRouter(PromptRouterTrace &&value)
ConverseStreamTrace & WithGuardrail(const GuardrailTraceAssessment &value)
void SetPromptRouter(const PromptRouterTrace &value)
const PromptRouterTrace & GetPromptRouter() const
void SetGuardrail(const GuardrailTraceAssessment &value)
AWS_BEDROCKRUNTIME_API ConverseStreamTrace & operator=(Aws::Utils::Json::JsonView jsonValue)
AWS_BEDROCKRUNTIME_API Aws::Utils::Json::JsonValue Jsonize() const
const GuardrailTraceAssessment & GetGuardrail() const
Aws::Utils::Json::JsonValue JsonValue