7#include <aws/bedrock-runtime/BedrockRuntime_EXPORTS.h>
8#include <aws/bedrock-runtime/model/GuardrailTopicPolicyAssessment.h>
9#include <aws/bedrock-runtime/model/GuardrailContentPolicyAssessment.h>
10#include <aws/bedrock-runtime/model/GuardrailWordPolicyAssessment.h>
11#include <aws/bedrock-runtime/model/GuardrailSensitiveInformationPolicyAssessment.h>
12#include <aws/bedrock-runtime/model/GuardrailContextualGroundingPolicyAssessment.h>
13#include <aws/bedrock-runtime/model/GuardrailInvocationMetrics.h>
26namespace BedrockRuntime
120 bool m_topicPolicyHasBeenSet =
false;
123 bool m_contentPolicyHasBeenSet =
false;
126 bool m_wordPolicyHasBeenSet =
false;
129 bool m_sensitiveInformationPolicyHasBeenSet =
false;
132 bool m_contextualGroundingPolicyHasBeenSet =
false;
135 bool m_invocationMetricsHasBeenSet =
false;
const GuardrailInvocationMetrics & GetInvocationMetrics() const
bool SensitiveInformationPolicyHasBeenSet() const
GuardrailAssessment & WithWordPolicy(const GuardrailWordPolicyAssessment &value)
void SetContentPolicy(const GuardrailContentPolicyAssessment &value)
void SetContextualGroundingPolicy(const GuardrailContextualGroundingPolicyAssessment &value)
void SetTopicPolicy(const GuardrailTopicPolicyAssessment &value)
AWS_BEDROCKRUNTIME_API Aws::Utils::Json::JsonValue Jsonize() const
GuardrailAssessment & WithSensitiveInformationPolicy(const GuardrailSensitiveInformationPolicyAssessment &value)
bool ContextualGroundingPolicyHasBeenSet() const
void SetWordPolicy(const GuardrailWordPolicyAssessment &value)
const GuardrailTopicPolicyAssessment & GetTopicPolicy() const
GuardrailAssessment & WithContextualGroundingPolicy(const GuardrailContextualGroundingPolicyAssessment &value)
GuardrailAssessment & WithInvocationMetrics(GuardrailInvocationMetrics &&value)
bool InvocationMetricsHasBeenSet() const
AWS_BEDROCKRUNTIME_API GuardrailAssessment()
AWS_BEDROCKRUNTIME_API GuardrailAssessment & operator=(Aws::Utils::Json::JsonView jsonValue)
void SetSensitiveInformationPolicy(GuardrailSensitiveInformationPolicyAssessment &&value)
GuardrailAssessment & WithWordPolicy(GuardrailWordPolicyAssessment &&value)
void SetInvocationMetrics(GuardrailInvocationMetrics &&value)
GuardrailAssessment & WithSensitiveInformationPolicy(GuardrailSensitiveInformationPolicyAssessment &&value)
GuardrailAssessment & WithContextualGroundingPolicy(GuardrailContextualGroundingPolicyAssessment &&value)
bool TopicPolicyHasBeenSet() const
GuardrailAssessment & WithContentPolicy(const GuardrailContentPolicyAssessment &value)
GuardrailAssessment & WithTopicPolicy(const GuardrailTopicPolicyAssessment &value)
void SetTopicPolicy(GuardrailTopicPolicyAssessment &&value)
const GuardrailSensitiveInformationPolicyAssessment & GetSensitiveInformationPolicy() const
GuardrailAssessment & WithTopicPolicy(GuardrailTopicPolicyAssessment &&value)
const GuardrailWordPolicyAssessment & GetWordPolicy() const
AWS_BEDROCKRUNTIME_API GuardrailAssessment(Aws::Utils::Json::JsonView jsonValue)
GuardrailAssessment & WithContentPolicy(GuardrailContentPolicyAssessment &&value)
void SetContextualGroundingPolicy(GuardrailContextualGroundingPolicyAssessment &&value)
const GuardrailContextualGroundingPolicyAssessment & GetContextualGroundingPolicy() const
const GuardrailContentPolicyAssessment & GetContentPolicy() const
void SetWordPolicy(GuardrailWordPolicyAssessment &&value)
void SetInvocationMetrics(const GuardrailInvocationMetrics &value)
void SetContentPolicy(GuardrailContentPolicyAssessment &&value)
void SetSensitiveInformationPolicy(const GuardrailSensitiveInformationPolicyAssessment &value)
bool WordPolicyHasBeenSet() const
GuardrailAssessment & WithInvocationMetrics(const GuardrailInvocationMetrics &value)
bool ContentPolicyHasBeenSet() const
Aws::Utils::Json::JsonValue JsonValue