AWS SDK for C++

AWS SDK for C++ Version 1.11.440

Loading...
Searching...
No Matches
ConverseTrace.h
1
6#pragma once
7#include <aws/bedrock-runtime/BedrockRuntime_EXPORTS.h>
8#include <aws/bedrock-runtime/model/GuardrailTraceAssessment.h>
9#include <utility>
10
11namespace Aws
12{
13namespace Utils
14{
15namespace Json
16{
17 class JsonValue;
18 class JsonView;
19} // namespace Json
20} // namespace Utils
21namespace BedrockRuntime
22{
23namespace Model
24{
25
34 {
35 public:
36 AWS_BEDROCKRUNTIME_API ConverseTrace();
37 AWS_BEDROCKRUNTIME_API ConverseTrace(Aws::Utils::Json::JsonView jsonValue);
38 AWS_BEDROCKRUNTIME_API ConverseTrace& operator=(Aws::Utils::Json::JsonView jsonValue);
39 AWS_BEDROCKRUNTIME_API Aws::Utils::Json::JsonValue Jsonize() const;
40
41
43
46 inline const GuardrailTraceAssessment& GetGuardrail() const{ return m_guardrail; }
47 inline bool GuardrailHasBeenSet() const { return m_guardrailHasBeenSet; }
48 inline void SetGuardrail(const GuardrailTraceAssessment& value) { m_guardrailHasBeenSet = true; m_guardrail = value; }
49 inline void SetGuardrail(GuardrailTraceAssessment&& value) { m_guardrailHasBeenSet = true; m_guardrail = std::move(value); }
50 inline ConverseTrace& WithGuardrail(const GuardrailTraceAssessment& value) { SetGuardrail(value); return *this;}
51 inline ConverseTrace& WithGuardrail(GuardrailTraceAssessment&& value) { SetGuardrail(std::move(value)); return *this;}
53 private:
54
55 GuardrailTraceAssessment m_guardrail;
56 bool m_guardrailHasBeenSet = false;
57 };
58
59} // namespace Model
60} // namespace BedrockRuntime
61} // namespace Aws
ConverseTrace & WithGuardrail(const GuardrailTraceAssessment &value)
void SetGuardrail(const GuardrailTraceAssessment &value)
const GuardrailTraceAssessment & GetGuardrail() const
AWS_BEDROCKRUNTIME_API ConverseTrace(Aws::Utils::Json::JsonView jsonValue)
ConverseTrace & WithGuardrail(GuardrailTraceAssessment &&value)
AWS_BEDROCKRUNTIME_API ConverseTrace()
AWS_BEDROCKRUNTIME_API Aws::Utils::Json::JsonValue Jsonize() const
void SetGuardrail(GuardrailTraceAssessment &&value)
AWS_BEDROCKRUNTIME_API ConverseTrace & operator=(Aws::Utils::Json::JsonView jsonValue)
Aws::Utils::Json::JsonValue JsonValue