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