AWS SDK for C++

AWS SDK for C++ Version 1.11.440

Loading...
Searching...
No Matches
GuardrailTextCharactersCoverage.h
1
6#pragma once
7#include <aws/bedrock-runtime/BedrockRuntime_EXPORTS.h>
8
9namespace Aws
10{
11namespace Utils
12{
13namespace Json
14{
15 class JsonValue;
16 class JsonView;
17} // namespace Json
18} // namespace Utils
19namespace BedrockRuntime
20{
21namespace Model
22{
23
30 {
31 public:
32 AWS_BEDROCKRUNTIME_API GuardrailTextCharactersCoverage();
35 AWS_BEDROCKRUNTIME_API Aws::Utils::Json::JsonValue Jsonize() const;
36
37
39
42 inline int GetGuarded() const{ return m_guarded; }
43 inline bool GuardedHasBeenSet() const { return m_guardedHasBeenSet; }
44 inline void SetGuarded(int value) { m_guardedHasBeenSet = true; m_guarded = value; }
45 inline GuardrailTextCharactersCoverage& WithGuarded(int value) { SetGuarded(value); return *this;}
47
49
52 inline int GetTotal() const{ return m_total; }
53 inline bool TotalHasBeenSet() const { return m_totalHasBeenSet; }
54 inline void SetTotal(int value) { m_totalHasBeenSet = true; m_total = value; }
55 inline GuardrailTextCharactersCoverage& WithTotal(int value) { SetTotal(value); return *this;}
57 private:
58
59 int m_guarded;
60 bool m_guardedHasBeenSet = false;
61
62 int m_total;
63 bool m_totalHasBeenSet = false;
64 };
65
66} // namespace Model
67} // namespace BedrockRuntime
68} // namespace Aws
AWS_BEDROCKRUNTIME_API GuardrailTextCharactersCoverage(Aws::Utils::Json::JsonView jsonValue)
AWS_BEDROCKRUNTIME_API Aws::Utils::Json::JsonValue Jsonize() const
AWS_BEDROCKRUNTIME_API GuardrailTextCharactersCoverage & operator=(Aws::Utils::Json::JsonView jsonValue)
Aws::Utils::Json::JsonValue JsonValue