7#include <aws/bedrock-agent-runtime/BedrockAgentRuntime_EXPORTS.h>
8#include <aws/bedrock-agent-runtime/model/GuardrailWordPolicyAction.h>
9#include <aws/core/utils/memory/stl/AWSString.h>
20namespace BedrockAgentRuntime {
43 m_actionHasBeenSet =
true;
58 template <
typename MatchT = Aws::String>
60 m_matchHasBeenSet =
true;
61 m_match = std::forward<MatchT>(value);
63 template <
typename MatchT = Aws::String>
65 SetMatch(std::forward<MatchT>(value));
73 bool m_actionHasBeenSet =
false;
74 bool m_matchHasBeenSet =
false;
AWS_BEDROCKAGENTRUNTIME_API GuardrailCustomWord(Aws::Utils::Json::JsonView jsonValue)
AWS_BEDROCKAGENTRUNTIME_API Aws::Utils::Json::JsonValue Jsonize() const
const Aws::String & GetMatch() const
bool ActionHasBeenSet() const
AWS_BEDROCKAGENTRUNTIME_API GuardrailCustomWord & operator=(Aws::Utils::Json::JsonView jsonValue)
AWS_BEDROCKAGENTRUNTIME_API GuardrailCustomWord()=default
GuardrailCustomWord & WithMatch(MatchT &&value)
GuardrailWordPolicyAction GetAction() const
void SetAction(GuardrailWordPolicyAction value)
bool MatchHasBeenSet() const
GuardrailCustomWord & WithAction(GuardrailWordPolicyAction value)
void SetMatch(MatchT &&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