7#include <aws/bedrock-runtime/BedrockRuntime_EXPORTS.h>
8#include <aws/core/utils/memory/stl/AWSString.h>
9#include <aws/bedrock-runtime/model/GuardrailWordPolicyAction.h>
22namespace BedrockRuntime
47 template<
typename MatchT = Aws::String>
48 void SetMatch(MatchT&& value) { m_matchHasBeenSet =
true; m_match = std::forward<MatchT>(value); }
49 template<
typename MatchT = Aws::String>
70 inline void SetDetected(
bool value) { m_detectedHasBeenSet =
true; m_detected = value; }
76 bool m_matchHasBeenSet =
false;
79 bool m_actionHasBeenSet =
false;
81 bool m_detected{
false};
82 bool m_detectedHasBeenSet =
false;
bool DetectedHasBeenSet() const
AWS_BEDROCKRUNTIME_API Aws::Utils::Json::JsonValue Jsonize() const
void SetDetected(bool value)
bool MatchHasBeenSet() const
AWS_BEDROCKRUNTIME_API GuardrailCustomWord & operator=(Aws::Utils::Json::JsonView jsonValue)
bool ActionHasBeenSet() const
GuardrailCustomWord & WithAction(GuardrailWordPolicyAction value)
AWS_BEDROCKRUNTIME_API GuardrailCustomWord()=default
void SetMatch(MatchT &&value)
GuardrailCustomWord & WithDetected(bool value)
const Aws::String & GetMatch() const
AWS_BEDROCKRUNTIME_API GuardrailCustomWord(Aws::Utils::Json::JsonView jsonValue)
GuardrailWordPolicyAction GetAction() const
GuardrailCustomWord & WithMatch(MatchT &&value)
void SetAction(GuardrailWordPolicyAction value)
GuardrailWordPolicyAction
std::basic_string< char, std::char_traits< char >, Aws::Allocator< char > > String
Aws::Utils::Json::JsonValue JsonValue