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>
124 inline void SetInputEnabled(
bool value) { m_inputEnabledHasBeenSet =
true; m_inputEnabled = value; }
136 inline void SetOutputEnabled(
bool value) { m_outputEnabledHasBeenSet =
true; m_outputEnabled = value; }
142 bool m_nameHasBeenSet =
false;
145 bool m_descriptionHasBeenSet =
false;
148 bool m_patternHasBeenSet =
false;
151 bool m_actionHasBeenSet =
false;
154 bool m_inputActionHasBeenSet =
false;
157 bool m_outputActionHasBeenSet =
false;
159 bool m_inputEnabled{
false};
160 bool m_inputEnabledHasBeenSet =
false;
162 bool m_outputEnabled{
false};
163 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::basic_string< char, std::char_traits< char >, Aws::Allocator< char > > String
Aws::Utils::Json::JsonValue JsonValue