7#include <aws/bedrock-runtime/BedrockRuntime_EXPORTS.h>
8#include <aws/bedrock-runtime/model/GuardrailChecksContentFilterUsage.h>
9#include <aws/bedrock-runtime/model/GuardrailChecksPromptAttackUsage.h>
10#include <aws/bedrock-runtime/model/GuardrailChecksSensitiveInformationUsage.h>
21namespace BedrockRuntime {
43 template <
typename ContentFilterT = GuardrailChecksContentFilterUsage>
45 m_contentFilterHasBeenSet =
true;
46 m_contentFilter = std::forward<ContentFilterT>(value);
48 template <
typename ContentFilterT = GuardrailChecksContentFilterUsage>
61 template <
typename PromptAttackT = GuardrailChecksPromptAttackUsage>
63 m_promptAttackHasBeenSet =
true;
64 m_promptAttack = std::forward<PromptAttackT>(value);
66 template <
typename PromptAttackT = GuardrailChecksPromptAttackUsage>
79 template <
typename SensitiveInformationT = GuardrailChecksSensitiveInformationUsage>
81 m_sensitiveInformationHasBeenSet =
true;
82 m_sensitiveInformation = std::forward<SensitiveInformationT>(value);
84 template <
typename SensitiveInformationT = GuardrailChecksSensitiveInformationUsage>
96 bool m_contentFilterHasBeenSet =
false;
97 bool m_promptAttackHasBeenSet =
false;
98 bool m_sensitiveInformationHasBeenSet =
false;
GuardrailChecksUsageResults & WithContentFilter(ContentFilterT &&value)
void SetSensitiveInformation(SensitiveInformationT &&value)
void SetPromptAttack(PromptAttackT &&value)
AWS_BEDROCKRUNTIME_API GuardrailChecksUsageResults()=default
AWS_BEDROCKRUNTIME_API Aws::Utils::Json::JsonValue Jsonize() const
AWS_BEDROCKRUNTIME_API GuardrailChecksUsageResults & operator=(Aws::Utils::Json::JsonView jsonValue)
GuardrailChecksUsageResults & WithSensitiveInformation(SensitiveInformationT &&value)
AWS_BEDROCKRUNTIME_API GuardrailChecksUsageResults(Aws::Utils::Json::JsonView jsonValue)
bool PromptAttackHasBeenSet() const
GuardrailChecksUsageResults & WithPromptAttack(PromptAttackT &&value)
const GuardrailChecksPromptAttackUsage & GetPromptAttack() const
void SetContentFilter(ContentFilterT &&value)
bool SensitiveInformationHasBeenSet() const
const GuardrailChecksContentFilterUsage & GetContentFilter() const
const GuardrailChecksSensitiveInformationUsage & GetSensitiveInformation() const
bool ContentFilterHasBeenSet() const
std::shared_ptr< T > MakeShared(const char *allocationTag, ArgTypes &&... args)
Aws::Utils::Json::JsonValue JsonValue