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>
10#include <aws/bedrock-agent-runtime/model/GuardrailManagedWordType.h>
23namespace BedrockAgentRuntime
59 template<
typename MatchT = Aws::String>
60 void SetMatch(MatchT&& value) { m_matchHasBeenSet =
true; m_match = std::forward<MatchT>(value); }
61 template<
typename MatchT = Aws::String>
77 bool m_actionHasBeenSet =
false;
80 bool m_matchHasBeenSet =
false;
83 bool m_typeHasBeenSet =
false;
void SetMatch(MatchT &&value)
GuardrailManagedWordType GetType() const
void SetAction(GuardrailWordPolicyAction value)
const Aws::String & GetMatch() const
GuardrailManagedWord & WithMatch(MatchT &&value)
GuardrailManagedWord & WithAction(GuardrailWordPolicyAction value)
AWS_BEDROCKAGENTRUNTIME_API GuardrailManagedWord(Aws::Utils::Json::JsonView jsonValue)
GuardrailWordPolicyAction GetAction() const
bool ActionHasBeenSet() const
bool MatchHasBeenSet() const
AWS_BEDROCKAGENTRUNTIME_API GuardrailManagedWord()=default
void SetType(GuardrailManagedWordType value)
GuardrailManagedWord & WithType(GuardrailManagedWordType value)
AWS_BEDROCKAGENTRUNTIME_API Aws::Utils::Json::JsonValue Jsonize() const
AWS_BEDROCKAGENTRUNTIME_API GuardrailManagedWord & operator=(Aws::Utils::Json::JsonView jsonValue)
bool TypeHasBeenSet() const
GuardrailWordPolicyAction
std::basic_string< char, std::char_traits< char >, Aws::Allocator< char > > String
Aws::Utils::Json::JsonValue JsonValue