AWS SDK for C++

AWS SDK for C++ Version 1.11.748

Loading...
Searching...
No Matches
GuardrailTextCharactersCoverage.h
1
6#pragma once
7#include <aws/bedrock-runtime/BedrockRuntime_EXPORTS.h>
8
9namespace Aws {
10namespace Utils {
11namespace Json {
12class JsonValue;
13class JsonView;
14} // namespace Json
15} // namespace Utils
16namespace BedrockRuntime {
17namespace Model {
18
25 public:
26 AWS_BEDROCKRUNTIME_API GuardrailTextCharactersCoverage() = default;
29 AWS_BEDROCKRUNTIME_API Aws::Utils::Json::JsonValue Jsonize() const;
30
32
35 inline int GetGuarded() const { return m_guarded; }
36 inline bool GuardedHasBeenSet() const { return m_guardedHasBeenSet; }
37 inline void SetGuarded(int value) {
38 m_guardedHasBeenSet = true;
39 m_guarded = value;
40 }
42 SetGuarded(value);
43 return *this;
44 }
46
48
51 inline int GetTotal() const { return m_total; }
52 inline bool TotalHasBeenSet() const { return m_totalHasBeenSet; }
53 inline void SetTotal(int value) {
54 m_totalHasBeenSet = true;
55 m_total = value;
56 }
58 SetTotal(value);
59 return *this;
60 }
62 private:
63 int m_guarded{0};
64
65 int m_total{0};
66 bool m_guardedHasBeenSet = false;
67 bool m_totalHasBeenSet = false;
68};
69
70} // namespace Model
71} // namespace BedrockRuntime
72} // 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_BEDROCKRUNTIME_API GuardrailTextCharactersCoverage()=default
std::shared_ptr< T > MakeShared(const char *allocationTag, ArgTypes &&... args)
Aws::Utils::Json::JsonValue JsonValue