7#include <aws/bedrock-agent-runtime/BedrockAgentRuntime_EXPORTS.h>
8#include <aws/bedrock-agent-runtime/model/GuardrailWordPolicyAction.h>
9#include <aws/core/utils/memory/stl/AWSString.h>
22namespace BedrockAgentRuntime
62 inline void SetMatch(
const char* value) { m_matchHasBeenSet =
true; m_match.assign(value); }
70 bool m_actionHasBeenSet =
false;
73 bool m_matchHasBeenSet =
false;
void SetMatch(const char *value)
AWS_BEDROCKAGENTRUNTIME_API GuardrailCustomWord(Aws::Utils::Json::JsonView jsonValue)
GuardrailCustomWord & WithMatch(const Aws::String &value)
GuardrailCustomWord & WithMatch(Aws::String &&value)
void SetMatch(Aws::String &&value)
AWS_BEDROCKAGENTRUNTIME_API Aws::Utils::Json::JsonValue Jsonize() const
const Aws::String & GetMatch() const
bool ActionHasBeenSet() const
AWS_BEDROCKAGENTRUNTIME_API GuardrailCustomWord & operator=(Aws::Utils::Json::JsonView jsonValue)
AWS_BEDROCKAGENTRUNTIME_API GuardrailCustomWord()
GuardrailCustomWord & WithAction(GuardrailWordPolicyAction &&value)
void SetMatch(const Aws::String &value)
void SetAction(const GuardrailWordPolicyAction &value)
bool MatchHasBeenSet() const
const GuardrailWordPolicyAction & GetAction() const
void SetAction(GuardrailWordPolicyAction &&value)
GuardrailCustomWord & WithMatch(const char *value)
GuardrailCustomWord & WithAction(const GuardrailWordPolicyAction &value)
GuardrailWordPolicyAction
std::basic_string< char, std::char_traits< char >, Aws::Allocator< char > > String
Aws::Utils::Json::JsonValue JsonValue