7#include <aws/bedrock-agent-runtime/BedrockAgentRuntime_EXPORTS.h>
8#include <aws/bedrock-agent-runtime/model/GuardrailManagedWordType.h>
9#include <aws/bedrock-agent-runtime/model/GuardrailWordPolicyAction.h>
10#include <aws/core/utils/memory/stl/AWSString.h>
21namespace BedrockAgentRuntime {
44 m_actionHasBeenSet =
true;
59 template <
typename MatchT = Aws::String>
61 m_matchHasBeenSet =
true;
62 m_match = std::forward<MatchT>(value);
64 template <
typename MatchT = Aws::String>
66 SetMatch(std::forward<MatchT>(value));
78 m_typeHasBeenSet =
true;
92 bool m_actionHasBeenSet =
false;
93 bool m_matchHasBeenSet =
false;
94 bool m_typeHasBeenSet =
false;
void SetMatch(MatchT &&value)
GuardrailManagedWordType GetType() const
void SetAction(GuardrailWordPolicyAction value)
const Aws::String & GetMatch() const
GuardrailManagedWord & WithMatch(MatchT &&value)
GuardrailManagedWord & WithAction(GuardrailWordPolicyAction value)
AWS_BEDROCKAGENTRUNTIME_API GuardrailManagedWord(Aws::Utils::Json::JsonView jsonValue)
GuardrailWordPolicyAction GetAction() const
bool ActionHasBeenSet() const
bool MatchHasBeenSet() const
AWS_BEDROCKAGENTRUNTIME_API GuardrailManagedWord()=default
void SetType(GuardrailManagedWordType value)
GuardrailManagedWord & WithType(GuardrailManagedWordType value)
AWS_BEDROCKAGENTRUNTIME_API Aws::Utils::Json::JsonValue Jsonize() const
AWS_BEDROCKAGENTRUNTIME_API GuardrailManagedWord & operator=(Aws::Utils::Json::JsonView jsonValue)
bool TypeHasBeenSet() 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