7#include <aws/bedrock-runtime/BedrockRuntime_EXPORTS.h>
8#include <aws/bedrock-runtime/model/GuardrailManagedWordType.h>
9#include <aws/bedrock-runtime/model/GuardrailWordPolicyAction.h>
10#include <aws/core/utils/memory/stl/AWSString.h>
21namespace BedrockRuntime {
42 template <
typename MatchT = Aws::String>
44 m_matchHasBeenSet =
true;
45 m_match = std::forward<MatchT>(value);
47 template <
typename MatchT = Aws::String>
49 SetMatch(std::forward<MatchT>(value));
61 m_typeHasBeenSet =
true;
77 m_actionHasBeenSet =
true;
94 m_detectedHasBeenSet =
true;
109 bool m_detected{
false};
110 bool m_matchHasBeenSet =
false;
111 bool m_typeHasBeenSet =
false;
112 bool m_actionHasBeenSet =
false;
113 bool m_detectedHasBeenSet =
false;
GuardrailManagedWord & WithDetected(bool value)
bool ActionHasBeenSet() const
bool TypeHasBeenSet() const
AWS_BEDROCKRUNTIME_API GuardrailManagedWord()=default
const Aws::String & GetMatch() const
void SetType(GuardrailManagedWordType value)
bool DetectedHasBeenSet() const
void SetDetected(bool value)
GuardrailWordPolicyAction GetAction() const
GuardrailManagedWord & WithAction(GuardrailWordPolicyAction value)
void SetAction(GuardrailWordPolicyAction value)
void SetMatch(MatchT &&value)
GuardrailManagedWord & WithType(GuardrailManagedWordType value)
GuardrailManagedWord & WithMatch(MatchT &&value)
AWS_BEDROCKRUNTIME_API GuardrailManagedWord(Aws::Utils::Json::JsonView jsonValue)
GuardrailManagedWordType GetType() const
bool MatchHasBeenSet() const
AWS_BEDROCKRUNTIME_API GuardrailManagedWord & operator=(Aws::Utils::Json::JsonView jsonValue)
AWS_BEDROCKRUNTIME_API Aws::Utils::Json::JsonValue Jsonize() const
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