7#include <aws/bedrock/Bedrock_EXPORTS.h>
8#include <aws/core/utils/memory/stl/AWSString.h>
9#include <aws/bedrock/model/GuardrailSensitiveInformationAction.h>
48 template<
typename NameT = Aws::String>
49 void SetName(NameT&& value) { m_nameHasBeenSet =
true; m_name = std::forward<NameT>(value); }
50 template<
typename NameT = Aws::String>
60 template<
typename DescriptionT = Aws::String>
61 void SetDescription(DescriptionT&& value) { m_descriptionHasBeenSet =
true; m_description = std::forward<DescriptionT>(value); }
62 template<
typename DescriptionT = Aws::String>
72 template<
typename PatternT = Aws::String>
73 void SetPattern(PatternT&& value) { m_patternHasBeenSet =
true; m_pattern = std::forward<PatternT>(value); }
74 template<
typename PatternT = Aws::String>
125 inline void SetInputEnabled(
bool value) { m_inputEnabledHasBeenSet =
true; m_inputEnabled = value; }
137 inline void SetOutputEnabled(
bool value) { m_outputEnabledHasBeenSet =
true; m_outputEnabled = value; }
143 bool m_nameHasBeenSet =
false;
146 bool m_descriptionHasBeenSet =
false;
149 bool m_patternHasBeenSet =
false;
152 bool m_actionHasBeenSet =
false;
155 bool m_inputActionHasBeenSet =
false;
158 bool m_outputActionHasBeenSet =
false;
160 bool m_inputEnabled{
false};
161 bool m_inputEnabledHasBeenSet =
false;
163 bool m_outputEnabled{
false};
164 bool m_outputEnabledHasBeenSet =
false;
const Aws::String & GetName() const
GuardrailRegexConfig & WithOutputEnabled(bool value)
void SetOutputAction(GuardrailSensitiveInformationAction value)
AWS_BEDROCK_API Aws::Utils::Json::JsonValue Jsonize() const
void SetInputEnabled(bool value)
GuardrailSensitiveInformationAction GetInputAction() const
bool ActionHasBeenSet() const
GuardrailRegexConfig & WithInputEnabled(bool value)
bool NameHasBeenSet() const
const Aws::String & GetDescription() const
GuardrailSensitiveInformationAction GetOutputAction() const
void SetAction(GuardrailSensitiveInformationAction value)
bool GetOutputEnabled() const
bool InputActionHasBeenSet() const
void SetPattern(PatternT &&value)
bool OutputActionHasBeenSet() const
GuardrailRegexConfig & WithInputAction(GuardrailSensitiveInformationAction value)
bool PatternHasBeenSet() const
bool GetInputEnabled() const
GuardrailSensitiveInformationAction GetAction() const
bool DescriptionHasBeenSet() const
AWS_BEDROCK_API GuardrailRegexConfig & operator=(Aws::Utils::Json::JsonView jsonValue)
void SetOutputEnabled(bool value)
GuardrailRegexConfig & WithOutputAction(GuardrailSensitiveInformationAction value)
GuardrailRegexConfig & WithPattern(PatternT &&value)
const Aws::String & GetPattern() const
AWS_BEDROCK_API GuardrailRegexConfig(Aws::Utils::Json::JsonView jsonValue)
bool OutputEnabledHasBeenSet() const
void SetDescription(DescriptionT &&value)
void SetInputAction(GuardrailSensitiveInformationAction value)
GuardrailRegexConfig & WithDescription(DescriptionT &&value)
void SetName(NameT &&value)
GuardrailRegexConfig & WithName(NameT &&value)
AWS_BEDROCK_API GuardrailRegexConfig()=default
bool InputEnabledHasBeenSet() const
GuardrailRegexConfig & WithAction(GuardrailSensitiveInformationAction value)
GuardrailSensitiveInformationAction
std::basic_string< char, std::char_traits< char >, Aws::Allocator< char > > String
Aws::Utils::Json::JsonValue JsonValue