7#include <aws/bedrock-runtime/BedrockRuntime_EXPORTS.h>
8#include <aws/bedrock-runtime/model/GuardrailWordPolicyAction.h>
9#include <aws/core/utils/memory/stl/AWSString.h>
20namespace BedrockRuntime {
41 template <
typename MatchT = Aws::String>
43 m_matchHasBeenSet =
true;
44 m_match = std::forward<MatchT>(value);
46 template <
typename MatchT = Aws::String>
48 SetMatch(std::forward<MatchT>(value));
60 m_actionHasBeenSet =
true;
77 m_detectedHasBeenSet =
true;
90 bool m_detected{
false};
91 bool m_matchHasBeenSet =
false;
92 bool m_actionHasBeenSet =
false;
93 bool m_detectedHasBeenSet =
false;
bool DetectedHasBeenSet() const
AWS_BEDROCKRUNTIME_API Aws::Utils::Json::JsonValue Jsonize() const
void SetDetected(bool value)
bool MatchHasBeenSet() const
AWS_BEDROCKRUNTIME_API GuardrailCustomWord & operator=(Aws::Utils::Json::JsonView jsonValue)
bool ActionHasBeenSet() const
GuardrailCustomWord & WithAction(GuardrailWordPolicyAction value)
AWS_BEDROCKRUNTIME_API GuardrailCustomWord()=default
void SetMatch(MatchT &&value)
GuardrailCustomWord & WithDetected(bool value)
const Aws::String & GetMatch() const
AWS_BEDROCKRUNTIME_API GuardrailCustomWord(Aws::Utils::Json::JsonView jsonValue)
GuardrailWordPolicyAction GetAction() const
GuardrailCustomWord & WithMatch(MatchT &&value)
void SetAction(GuardrailWordPolicyAction value)
GuardrailWordPolicyAction
std::shared_ptr< T > MakeShared(const char *allocationTag, ArgTypes &&... args)
std::basic_string< char, std::char_traits< char >, Aws::Allocator< char > > String
Aws::Utils::Json::JsonValue JsonValue