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