7#include <aws/bedrock/Bedrock_EXPORTS.h>
8#include <aws/bedrock/model/GuardrailSensitiveInformationAction.h>
9#include <aws/core/utils/memory/stl/AWSString.h>
42 template <
typename NameT = Aws::String>
44 m_nameHasBeenSet =
true;
45 m_name = std::forward<NameT>(value);
47 template <
typename NameT = Aws::String>
49 SetName(std::forward<NameT>(value));
60 template <
typename DescriptionT = Aws::String>
62 m_descriptionHasBeenSet =
true;
63 m_description = std::forward<DescriptionT>(value);
65 template <
typename DescriptionT = Aws::String>
78 template <
typename PatternT = Aws::String>
80 m_patternHasBeenSet =
true;
81 m_pattern = std::forward<PatternT>(value);
83 template <
typename PatternT = Aws::String>
97 m_actionHasBeenSet =
true;
117 m_inputActionHasBeenSet =
true;
118 m_inputAction = value;
137 m_outputActionHasBeenSet =
true;
138 m_outputAction = value;
155 m_inputEnabledHasBeenSet =
true;
156 m_inputEnabled = value;
173 m_outputEnabledHasBeenSet =
true;
174 m_outputEnabled = value;
194 bool m_inputEnabled{
false};
196 bool m_outputEnabled{
false};
197 bool m_nameHasBeenSet =
false;
198 bool m_descriptionHasBeenSet =
false;
199 bool m_patternHasBeenSet =
false;
200 bool m_actionHasBeenSet =
false;
201 bool m_inputActionHasBeenSet =
false;
202 bool m_outputActionHasBeenSet =
false;
203 bool m_inputEnabledHasBeenSet =
false;
204 bool m_outputEnabledHasBeenSet =
false;
bool PatternHasBeenSet() const
GuardrailRegex & WithOutputAction(GuardrailSensitiveInformationAction value)
bool NameHasBeenSet() const
GuardrailRegex & WithAction(GuardrailSensitiveInformationAction value)
bool InputEnabledHasBeenSet() const
const Aws::String & GetPattern() const
void SetName(NameT &&value)
void SetOutputAction(GuardrailSensitiveInformationAction value)
bool GetOutputEnabled() const
GuardrailRegex & WithInputAction(GuardrailSensitiveInformationAction value)
bool GetInputEnabled() const
bool OutputActionHasBeenSet() const
void SetInputAction(GuardrailSensitiveInformationAction value)
void SetOutputEnabled(bool value)
void SetInputEnabled(bool value)
AWS_BEDROCK_API Aws::Utils::Json::JsonValue Jsonize() const
bool ActionHasBeenSet() const
const Aws::String & GetName() const
const Aws::String & GetDescription() const
GuardrailRegex & WithName(NameT &&value)
bool OutputEnabledHasBeenSet() const
GuardrailSensitiveInformationAction GetAction() const
void SetAction(GuardrailSensitiveInformationAction value)
AWS_BEDROCK_API GuardrailRegex(Aws::Utils::Json::JsonView jsonValue)
GuardrailRegex & WithInputEnabled(bool value)
GuardrailSensitiveInformationAction GetInputAction() const
GuardrailSensitiveInformationAction GetOutputAction() const
bool InputActionHasBeenSet() const
GuardrailRegex & WithOutputEnabled(bool value)
GuardrailRegex & WithPattern(PatternT &&value)
AWS_BEDROCK_API GuardrailRegex & operator=(Aws::Utils::Json::JsonView jsonValue)
void SetDescription(DescriptionT &&value)
GuardrailRegex & WithDescription(DescriptionT &&value)
AWS_BEDROCK_API GuardrailRegex()=default
bool DescriptionHasBeenSet() const
void SetPattern(PatternT &&value)
GuardrailSensitiveInformationAction
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