7#include <aws/bedrock-runtime/BedrockRuntime_EXPORTS.h>
19namespace BedrockRuntime
44 inline void SetTopicPolicyUnits(
int value) { m_topicPolicyUnitsHasBeenSet =
true; m_topicPolicyUnits = value; }
54 inline void SetContentPolicyUnits(
int value) { m_contentPolicyUnitsHasBeenSet =
true; m_contentPolicyUnits = value; }
64 inline void SetWordPolicyUnits(
int value) { m_wordPolicyUnitsHasBeenSet =
true; m_wordPolicyUnits = value; }
99 int m_topicPolicyUnits;
100 bool m_topicPolicyUnitsHasBeenSet =
false;
102 int m_contentPolicyUnits;
103 bool m_contentPolicyUnitsHasBeenSet =
false;
105 int m_wordPolicyUnits;
106 bool m_wordPolicyUnitsHasBeenSet =
false;
108 int m_sensitiveInformationPolicyUnits;
109 bool m_sensitiveInformationPolicyUnitsHasBeenSet =
false;
111 int m_sensitiveInformationPolicyFreeUnits;
112 bool m_sensitiveInformationPolicyFreeUnitsHasBeenSet =
false;
114 int m_contextualGroundingPolicyUnits;
115 bool m_contextualGroundingPolicyUnitsHasBeenSet =
false;
GuardrailUsage & WithContextualGroundingPolicyUnits(int value)
AWS_BEDROCKRUNTIME_API GuardrailUsage()
int GetSensitiveInformationPolicyUnits() const
GuardrailUsage & WithWordPolicyUnits(int value)
int GetContextualGroundingPolicyUnits() const
int GetWordPolicyUnits() const
bool SensitiveInformationPolicyFreeUnitsHasBeenSet() const
AWS_BEDROCKRUNTIME_API GuardrailUsage(Aws::Utils::Json::JsonView jsonValue)
void SetContentPolicyUnits(int value)
AWS_BEDROCKRUNTIME_API GuardrailUsage & operator=(Aws::Utils::Json::JsonView jsonValue)
void SetWordPolicyUnits(int value)
void SetSensitiveInformationPolicyUnits(int value)
int GetContentPolicyUnits() const
AWS_BEDROCKRUNTIME_API Aws::Utils::Json::JsonValue Jsonize() const
GuardrailUsage & WithSensitiveInformationPolicyUnits(int value)
bool ContextualGroundingPolicyUnitsHasBeenSet() const
bool ContentPolicyUnitsHasBeenSet() const
void SetTopicPolicyUnits(int value)
bool WordPolicyUnitsHasBeenSet() const
void SetContextualGroundingPolicyUnits(int value)
bool TopicPolicyUnitsHasBeenSet() const
void SetSensitiveInformationPolicyFreeUnits(int value)
int GetTopicPolicyUnits() const
GuardrailUsage & WithContentPolicyUnits(int value)
int GetSensitiveInformationPolicyFreeUnits() const
GuardrailUsage & WithTopicPolicyUnits(int value)
GuardrailUsage & WithSensitiveInformationPolicyFreeUnits(int value)
bool SensitiveInformationPolicyUnitsHasBeenSet() const
Aws::Utils::Json::JsonValue JsonValue