AWS SDK for C++

AWS SDK for C++ Version 1.11.440

Loading...
Searching...
No Matches
GuardrailUsage.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 GuardrailUsage();
33 AWS_BEDROCKRUNTIME_API GuardrailUsage(Aws::Utils::Json::JsonView jsonValue);
34 AWS_BEDROCKRUNTIME_API GuardrailUsage& operator=(Aws::Utils::Json::JsonView jsonValue);
35 AWS_BEDROCKRUNTIME_API Aws::Utils::Json::JsonValue Jsonize() const;
36
37
39
42 inline int GetTopicPolicyUnits() const{ return m_topicPolicyUnits; }
43 inline bool TopicPolicyUnitsHasBeenSet() const { return m_topicPolicyUnitsHasBeenSet; }
44 inline void SetTopicPolicyUnits(int value) { m_topicPolicyUnitsHasBeenSet = true; m_topicPolicyUnits = value; }
45 inline GuardrailUsage& WithTopicPolicyUnits(int value) { SetTopicPolicyUnits(value); return *this;}
47
49
52 inline int GetContentPolicyUnits() const{ return m_contentPolicyUnits; }
53 inline bool ContentPolicyUnitsHasBeenSet() const { return m_contentPolicyUnitsHasBeenSet; }
54 inline void SetContentPolicyUnits(int value) { m_contentPolicyUnitsHasBeenSet = true; m_contentPolicyUnits = value; }
55 inline GuardrailUsage& WithContentPolicyUnits(int value) { SetContentPolicyUnits(value); return *this;}
57
59
62 inline int GetWordPolicyUnits() const{ return m_wordPolicyUnits; }
63 inline bool WordPolicyUnitsHasBeenSet() const { return m_wordPolicyUnitsHasBeenSet; }
64 inline void SetWordPolicyUnits(int value) { m_wordPolicyUnitsHasBeenSet = true; m_wordPolicyUnits = value; }
65 inline GuardrailUsage& WithWordPolicyUnits(int value) { SetWordPolicyUnits(value); return *this;}
67
69
72 inline int GetSensitiveInformationPolicyUnits() const{ return m_sensitiveInformationPolicyUnits; }
73 inline bool SensitiveInformationPolicyUnitsHasBeenSet() const { return m_sensitiveInformationPolicyUnitsHasBeenSet; }
74 inline void SetSensitiveInformationPolicyUnits(int value) { m_sensitiveInformationPolicyUnitsHasBeenSet = true; m_sensitiveInformationPolicyUnits = value; }
77
79
82 inline int GetSensitiveInformationPolicyFreeUnits() const{ return m_sensitiveInformationPolicyFreeUnits; }
83 inline bool SensitiveInformationPolicyFreeUnitsHasBeenSet() const { return m_sensitiveInformationPolicyFreeUnitsHasBeenSet; }
84 inline void SetSensitiveInformationPolicyFreeUnits(int value) { m_sensitiveInformationPolicyFreeUnitsHasBeenSet = true; m_sensitiveInformationPolicyFreeUnits = value; }
87
89
92 inline int GetContextualGroundingPolicyUnits() const{ return m_contextualGroundingPolicyUnits; }
93 inline bool ContextualGroundingPolicyUnitsHasBeenSet() const { return m_contextualGroundingPolicyUnitsHasBeenSet; }
94 inline void SetContextualGroundingPolicyUnits(int value) { m_contextualGroundingPolicyUnitsHasBeenSet = true; m_contextualGroundingPolicyUnits = value; }
97 private:
98
99 int m_topicPolicyUnits;
100 bool m_topicPolicyUnitsHasBeenSet = false;
101
102 int m_contentPolicyUnits;
103 bool m_contentPolicyUnitsHasBeenSet = false;
104
105 int m_wordPolicyUnits;
106 bool m_wordPolicyUnitsHasBeenSet = false;
107
108 int m_sensitiveInformationPolicyUnits;
109 bool m_sensitiveInformationPolicyUnitsHasBeenSet = false;
110
111 int m_sensitiveInformationPolicyFreeUnits;
112 bool m_sensitiveInformationPolicyFreeUnitsHasBeenSet = false;
113
114 int m_contextualGroundingPolicyUnits;
115 bool m_contextualGroundingPolicyUnitsHasBeenSet = false;
116 };
117
118} // namespace Model
119} // namespace BedrockRuntime
120} // namespace Aws
GuardrailUsage & WithContextualGroundingPolicyUnits(int value)
AWS_BEDROCKRUNTIME_API GuardrailUsage()
GuardrailUsage & WithWordPolicyUnits(int value)
AWS_BEDROCKRUNTIME_API GuardrailUsage(Aws::Utils::Json::JsonView jsonValue)
AWS_BEDROCKRUNTIME_API GuardrailUsage & operator=(Aws::Utils::Json::JsonView jsonValue)
AWS_BEDROCKRUNTIME_API Aws::Utils::Json::JsonValue Jsonize() const
GuardrailUsage & WithSensitiveInformationPolicyUnits(int value)
GuardrailUsage & WithContentPolicyUnits(int value)
GuardrailUsage & WithTopicPolicyUnits(int value)
GuardrailUsage & WithSensitiveInformationPolicyFreeUnits(int value)
Aws::Utils::Json::JsonValue JsonValue