7#include <aws/bedrock/Bedrock_EXPORTS.h>
8#include <aws/core/utils/memory/stl/AWSString.h>
9#include <aws/bedrock/model/GuardrailSensitiveInformationAction.h>
50 inline void SetName(
const char* value) { m_nameHasBeenSet =
true; m_name.assign(value); }
64 inline void SetDescription(
const char* value) { m_descriptionHasBeenSet =
true; m_description.assign(value); }
78 inline void SetPattern(
const char* value) { m_patternHasBeenSet =
true; m_pattern.assign(value); }
98 bool m_nameHasBeenSet =
false;
101 bool m_descriptionHasBeenSet =
false;
104 bool m_patternHasBeenSet =
false;
107 bool m_actionHasBeenSet =
false;
GuardrailRegex & WithAction(const GuardrailSensitiveInformationAction &value)
bool PatternHasBeenSet() const
bool NameHasBeenSet() const
GuardrailRegex & WithPattern(const Aws::String &value)
void SetPattern(Aws::String &&value)
const Aws::String & GetPattern() const
void SetAction(const GuardrailSensitiveInformationAction &value)
void SetName(const char *value)
GuardrailRegex & WithDescription(const Aws::String &value)
void SetPattern(const char *value)
void SetDescription(const Aws::String &value)
AWS_BEDROCK_API Aws::Utils::Json::JsonValue Jsonize() const
AWS_BEDROCK_API GuardrailRegex()
const GuardrailSensitiveInformationAction & GetAction() const
GuardrailRegex & WithAction(GuardrailSensitiveInformationAction &&value)
bool ActionHasBeenSet() const
GuardrailRegex & WithName(const Aws::String &value)
GuardrailRegex & WithName(const char *value)
const Aws::String & GetName() const
GuardrailRegex & WithName(Aws::String &&value)
void SetName(const Aws::String &value)
const Aws::String & GetDescription() const
GuardrailRegex & WithPattern(Aws::String &&value)
void SetDescription(Aws::String &&value)
void SetDescription(const char *value)
GuardrailRegex & WithPattern(const char *value)
AWS_BEDROCK_API GuardrailRegex(Aws::Utils::Json::JsonView jsonValue)
void SetAction(GuardrailSensitiveInformationAction &&value)
AWS_BEDROCK_API GuardrailRegex & operator=(Aws::Utils::Json::JsonView jsonValue)
GuardrailRegex & WithDescription(Aws::String &&value)
void SetName(Aws::String &&value)
void SetPattern(const Aws::String &value)
GuardrailRegex & WithDescription(const char *value)
bool DescriptionHasBeenSet() const
GuardrailSensitiveInformationAction
std::basic_string< char, std::char_traits< char >, Aws::Allocator< char > > String
Aws::Utils::Json::JsonValue JsonValue