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