7#include <aws/bedrock-runtime/BedrockRuntime_EXPORTS.h>
8#include <aws/core/utils/memory/stl/AWSString.h>
9#include <aws/bedrock-runtime/model/GuardrailManagedWordType.h>
10#include <aws/bedrock-runtime/model/GuardrailWordPolicyAction.h>
23namespace BedrockRuntime
50 inline void SetMatch(
const char* value) { m_matchHasBeenSet =
true; m_match.assign(value); }
82 bool m_matchHasBeenSet =
false;
85 bool m_typeHasBeenSet =
false;
88 bool m_actionHasBeenSet =
false;
void SetAction(GuardrailWordPolicyAction &&value)
GuardrailManagedWord & WithType(const GuardrailManagedWordType &value)
bool ActionHasBeenSet() const
GuardrailManagedWord & WithMatch(Aws::String &&value)
bool TypeHasBeenSet() const
const Aws::String & GetMatch() const
GuardrailManagedWord & WithAction(GuardrailWordPolicyAction &&value)
void SetMatch(Aws::String &&value)
void SetMatch(const char *value)
void SetAction(const GuardrailWordPolicyAction &value)
GuardrailManagedWord & WithMatch(const Aws::String &value)
const GuardrailWordPolicyAction & GetAction() const
void SetType(GuardrailManagedWordType &&value)
GuardrailManagedWord & WithType(GuardrailManagedWordType &&value)
const GuardrailManagedWordType & GetType() const
AWS_BEDROCKRUNTIME_API GuardrailManagedWord()
AWS_BEDROCKRUNTIME_API GuardrailManagedWord(Aws::Utils::Json::JsonView jsonValue)
GuardrailManagedWord & WithAction(const GuardrailWordPolicyAction &value)
GuardrailManagedWord & WithMatch(const char *value)
bool MatchHasBeenSet() const
AWS_BEDROCKRUNTIME_API GuardrailManagedWord & operator=(Aws::Utils::Json::JsonView jsonValue)
AWS_BEDROCKRUNTIME_API Aws::Utils::Json::JsonValue Jsonize() const
void SetType(const GuardrailManagedWordType &value)
void SetMatch(const Aws::String &value)
GuardrailWordPolicyAction
std::basic_string< char, std::char_traits< char >, Aws::Allocator< char > > String
Aws::Utils::Json::JsonValue JsonValue