7#include <aws/glue/Glue_EXPORTS.h>
8#include <aws/core/utils/memory/stl/AWSString.h>
9#include <aws/core/utils/memory/stl/AWSVector.h>
10#include <aws/glue/model/PiiType.h>
49 template<
typename NameT = Aws::String>
50 void SetName(NameT&& value) { m_nameHasBeenSet =
true; m_name = std::forward<NameT>(value); }
51 template<
typename NameT = Aws::String>
61 template<
typename InputsT = Aws::Vector<Aws::String>>
62 void SetInputs(InputsT&& value) { m_inputsHasBeenSet =
true; m_inputs = std::forward<InputsT>(value); }
63 template<
typename InputsT = Aws::Vector<Aws::String>>
65 template<
typename InputsT = Aws::String>
66 PIIDetection&
AddInputs(InputsT&& value) { m_inputsHasBeenSet =
true; m_inputs.emplace_back(std::forward<InputsT>(value));
return *
this; }
91 template<
typename EntityTypesToDetectT = Aws::Vector<Aws::String>>
92 void SetEntityTypesToDetect(EntityTypesToDetectT&& value) { m_entityTypesToDetectHasBeenSet =
true; m_entityTypesToDetect = std::forward<EntityTypesToDetectT>(value); }
93 template<
typename EntityTypesToDetectT = Aws::Vector<Aws::String>>
95 template<
typename EntityTypesToDetectT = Aws::String>
96 PIIDetection&
AddEntityTypesToDetect(EntityTypesToDetectT&& value) { m_entityTypesToDetectHasBeenSet =
true; m_entityTypesToDetect.emplace_back(std::forward<EntityTypesToDetectT>(value));
return *
this; }
106 template<
typename OutputColumnNameT = Aws::String>
107 void SetOutputColumnName(OutputColumnNameT&& value) { m_outputColumnNameHasBeenSet =
true; m_outputColumnName = std::forward<OutputColumnNameT>(value); }
108 template<
typename OutputColumnNameT = Aws::String>
119 inline void SetSampleFraction(
double value) { m_sampleFractionHasBeenSet =
true; m_sampleFraction = value; }
130 inline void SetThresholdFraction(
double value) { m_thresholdFractionHasBeenSet =
true; m_thresholdFraction = value; }
140 template<
typename MaskValueT = Aws::String>
141 void SetMaskValue(MaskValueT&& value) { m_maskValueHasBeenSet =
true; m_maskValue = std::forward<MaskValueT>(value); }
142 template<
typename MaskValueT = Aws::String>
153 template<
typename RedactTextT = Aws::String>
154 void SetRedactText(RedactTextT&& value) { m_redactTextHasBeenSet =
true; m_redactText = std::forward<RedactTextT>(value); }
155 template<
typename RedactTextT = Aws::String>
166 template<
typename RedactCharT = Aws::String>
167 void SetRedactChar(RedactCharT&& value) { m_redactCharHasBeenSet =
true; m_redactChar = std::forward<RedactCharT>(value); }
168 template<
typename RedactCharT = Aws::String>
179 template<
typename MatchPatternT = Aws::String>
180 void SetMatchPattern(MatchPatternT&& value) { m_matchPatternHasBeenSet =
true; m_matchPattern = std::forward<MatchPatternT>(value); }
181 template<
typename MatchPatternT = Aws::String>
216 template<
typename DetectionParametersT = Aws::String>
217 void SetDetectionParameters(DetectionParametersT&& value) { m_detectionParametersHasBeenSet =
true; m_detectionParameters = std::forward<DetectionParametersT>(value); }
218 template<
typename DetectionParametersT = Aws::String>
229 template<
typename DetectionSensitivityT = Aws::String>
230 void SetDetectionSensitivity(DetectionSensitivityT&& value) { m_detectionSensitivityHasBeenSet =
true; m_detectionSensitivity = std::forward<DetectionSensitivityT>(value); }
231 template<
typename DetectionSensitivityT = Aws::String>
237 bool m_nameHasBeenSet =
false;
240 bool m_inputsHasBeenSet =
false;
243 bool m_piiTypeHasBeenSet =
false;
246 bool m_entityTypesToDetectHasBeenSet =
false;
249 bool m_outputColumnNameHasBeenSet =
false;
251 double m_sampleFraction{0.0};
252 bool m_sampleFractionHasBeenSet =
false;
254 double m_thresholdFraction{0.0};
255 bool m_thresholdFractionHasBeenSet =
false;
258 bool m_maskValueHasBeenSet =
false;
261 bool m_redactTextHasBeenSet =
false;
264 bool m_redactCharHasBeenSet =
false;
267 bool m_matchPatternHasBeenSet =
false;
269 int m_numLeftCharsToExclude{0};
270 bool m_numLeftCharsToExcludeHasBeenSet =
false;
272 int m_numRightCharsToExclude{0};
273 bool m_numRightCharsToExcludeHasBeenSet =
false;
276 bool m_detectionParametersHasBeenSet =
false;
279 bool m_detectionSensitivityHasBeenSet =
false;
const Aws::Vector< Aws::String > & GetEntityTypesToDetect() const
PIIDetection & WithOutputColumnName(OutputColumnNameT &&value)
bool OutputColumnNameHasBeenSet() const
AWS_GLUE_API PIIDetection(Aws::Utils::Json::JsonView jsonValue)
bool NumRightCharsToExcludeHasBeenSet() const
PIIDetection & WithRedactText(RedactTextT &&value)
PIIDetection & WithPiiType(PiiType value)
void SetMatchPattern(MatchPatternT &&value)
void SetName(NameT &&value)
void SetDetectionParameters(DetectionParametersT &&value)
bool PiiTypeHasBeenSet() const
PIIDetection & WithDetectionParameters(DetectionParametersT &&value)
void SetMaskValue(MaskValueT &&value)
PIIDetection & WithSampleFraction(double value)
void SetDetectionSensitivity(DetectionSensitivityT &&value)
void SetThresholdFraction(double value)
PIIDetection & WithMatchPattern(MatchPatternT &&value)
const Aws::String & GetMatchPattern() const
AWS_GLUE_API Aws::Utils::Json::JsonValue Jsonize() const
const Aws::String & GetRedactChar() const
double GetSampleFraction() const
const Aws::String & GetDetectionParameters() const
const Aws::String & GetMaskValue() const
void SetSampleFraction(double value)
AWS_GLUE_API PIIDetection()=default
bool MatchPatternHasBeenSet() const
PIIDetection & WithMaskValue(MaskValueT &&value)
void SetNumLeftCharsToExclude(int value)
bool NameHasBeenSet() const
int GetNumLeftCharsToExclude() const
PIIDetection & WithNumLeftCharsToExclude(int value)
void SetRedactText(RedactTextT &&value)
bool RedactCharHasBeenSet() const
AWS_GLUE_API PIIDetection & operator=(Aws::Utils::Json::JsonView jsonValue)
PIIDetection & AddEntityTypesToDetect(EntityTypesToDetectT &&value)
void SetPiiType(PiiType value)
void SetNumRightCharsToExclude(int value)
const Aws::String & GetName() const
bool SampleFractionHasBeenSet() const
const Aws::String & GetDetectionSensitivity() const
const Aws::String & GetOutputColumnName() const
bool ThresholdFractionHasBeenSet() const
PIIDetection & AddInputs(InputsT &&value)
PIIDetection & WithRedactChar(RedactCharT &&value)
void SetOutputColumnName(OutputColumnNameT &&value)
void SetEntityTypesToDetect(EntityTypesToDetectT &&value)
bool MaskValueHasBeenSet() const
double GetThresholdFraction() const
void SetRedactChar(RedactCharT &&value)
int GetNumRightCharsToExclude() const
const Aws::String & GetRedactText() const
PIIDetection & WithNumRightCharsToExclude(int value)
bool NumLeftCharsToExcludeHasBeenSet() const
PIIDetection & WithName(NameT &&value)
bool EntityTypesToDetectHasBeenSet() const
PiiType GetPiiType() const
void SetInputs(InputsT &&value)
PIIDetection & WithInputs(InputsT &&value)
PIIDetection & WithDetectionSensitivity(DetectionSensitivityT &&value)
const Aws::Vector< Aws::String > & GetInputs() const
PIIDetection & WithEntityTypesToDetect(EntityTypesToDetectT &&value)
bool RedactTextHasBeenSet() const
bool DetectionParametersHasBeenSet() const
bool InputsHasBeenSet() const
bool DetectionSensitivityHasBeenSet() const
PIIDetection & WithThresholdFraction(double value)
std::basic_string< char, std::char_traits< char >, Aws::Allocator< char > > String
std::vector< T, Aws::Allocator< T > > Vector
Aws::Utils::Json::JsonValue JsonValue