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
48 template<
typename MatchT = Aws::String>
49 void SetMatch(MatchT&& value) { m_matchHasBeenSet =
true; m_match = std::forward<MatchT>(value); }
50 template<
typename MatchT = Aws::String>
81 inline void SetDetected(
bool value) { m_detectedHasBeenSet =
true; m_detected = value; }
87 bool m_matchHasBeenSet =
false;
90 bool m_typeHasBeenSet =
false;
93 bool m_actionHasBeenSet =
false;
95 bool m_detected{
false};
96 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::basic_string< char, std::char_traits< char >, Aws::Allocator< char > > String
Aws::Utils::Json::JsonValue JsonValue