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
58 template<
typename MatchT = Aws::String>
59 void SetMatch(MatchT&& value) { m_matchHasBeenSet =
true; m_match = std::forward<MatchT>(value); }
60 template<
typename MatchT = Aws::String>
66 bool m_actionHasBeenSet =
false;
69 bool m_matchHasBeenSet =
false;
AWS_BEDROCKAGENTRUNTIME_API GuardrailCustomWord(Aws::Utils::Json::JsonView jsonValue)
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()=default
GuardrailCustomWord & WithMatch(MatchT &&value)
GuardrailWordPolicyAction GetAction() const
void SetAction(GuardrailWordPolicyAction value)
bool MatchHasBeenSet() const
GuardrailCustomWord & WithAction(GuardrailWordPolicyAction value)
void SetMatch(MatchT &&value)
GuardrailWordPolicyAction
std::basic_string< char, std::char_traits< char >, Aws::Allocator< char > > String
Aws::Utils::Json::JsonValue JsonValue