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
63 inline void SetMatch(
const char* value) { m_matchHasBeenSet =
true; m_match.assign(value); }
83 bool m_actionHasBeenSet =
false;
86 bool m_matchHasBeenSet =
false;
89 bool m_typeHasBeenSet =
false;
void SetType(const GuardrailManagedWordType &value)
GuardrailManagedWord & WithMatch(const Aws::String &value)
GuardrailManagedWord & WithMatch(Aws::String &&value)
const GuardrailManagedWordType & GetType() const
void SetAction(const GuardrailWordPolicyAction &value)
GuardrailManagedWord & WithAction(GuardrailWordPolicyAction &&value)
const Aws::String & GetMatch() const
void SetAction(GuardrailWordPolicyAction &&value)
AWS_BEDROCKAGENTRUNTIME_API GuardrailManagedWord()
void SetMatch(const Aws::String &value)
AWS_BEDROCKAGENTRUNTIME_API GuardrailManagedWord(Aws::Utils::Json::JsonView jsonValue)
GuardrailManagedWord & WithMatch(const char *value)
bool ActionHasBeenSet() const
bool MatchHasBeenSet() const
GuardrailManagedWord & WithAction(const GuardrailWordPolicyAction &value)
GuardrailManagedWord & WithType(const GuardrailManagedWordType &value)
void SetMatch(const char *value)
void SetType(GuardrailManagedWordType &&value)
AWS_BEDROCKAGENTRUNTIME_API Aws::Utils::Json::JsonValue Jsonize() const
void SetMatch(Aws::String &&value)
AWS_BEDROCKAGENTRUNTIME_API GuardrailManagedWord & operator=(Aws::Utils::Json::JsonView jsonValue)
const GuardrailWordPolicyAction & GetAction() const
GuardrailManagedWord & WithType(GuardrailManagedWordType &&value)
bool TypeHasBeenSet() const
GuardrailWordPolicyAction
std::basic_string< char, std::char_traits< char >, Aws::Allocator< char > > String
Aws::Utils::Json::JsonValue JsonValue