7#include <aws/core/utils/memory/stl/AWSString.h>
8#include <aws/core/utils/memory/stl/AWSVector.h>
9#include <aws/glue/Glue_EXPORTS.h>
10#include <aws/glue/model/PiiType.h>
43 template <
typename NameT = Aws::String>
45 m_nameHasBeenSet =
true;
46 m_name = std::forward<NameT>(value);
48 template <
typename NameT = Aws::String>
50 SetName(std::forward<NameT>(value));
61 template <
typename InputsT = Aws::Vector<Aws::String>>
63 m_inputsHasBeenSet =
true;
64 m_inputs = std::forward<InputsT>(value);
66 template <
typename InputsT = Aws::Vector<Aws::String>>
71 template <
typename InputsT = Aws::String>
73 m_inputsHasBeenSet =
true;
74 m_inputs.emplace_back(std::forward<InputsT>(value));
86 m_piiTypeHasBeenSet =
true;
107 template <
typename EntityTypesToDetectT = Aws::Vector<Aws::String>>
109 m_entityTypesToDetectHasBeenSet =
true;
110 m_entityTypesToDetect = std::forward<EntityTypesToDetectT>(value);
112 template <
typename EntityTypesToDetectT = Aws::Vector<Aws::String>>
117 template <
typename EntityTypesToDetectT = Aws::String>
119 m_entityTypesToDetectHasBeenSet =
true;
120 m_entityTypesToDetect.emplace_back(std::forward<EntityTypesToDetectT>(value));
132 template <
typename OutputColumnNameT = Aws::String>
134 m_outputColumnNameHasBeenSet =
true;
135 m_outputColumnName = std::forward<OutputColumnNameT>(value);
137 template <
typename OutputColumnNameT = Aws::String>
152 m_sampleFractionHasBeenSet =
true;
153 m_sampleFraction = value;
169 m_thresholdFractionHasBeenSet =
true;
170 m_thresholdFraction = value;
184 template <
typename MaskValueT = Aws::String>
186 m_maskValueHasBeenSet =
true;
187 m_maskValue = std::forward<MaskValueT>(value);
189 template <
typename MaskValueT = Aws::String>
203 template <
typename RedactTextT = Aws::String>
205 m_redactTextHasBeenSet =
true;
206 m_redactText = std::forward<RedactTextT>(value);
208 template <
typename RedactTextT = Aws::String>
222 template <
typename RedactCharT = Aws::String>
224 m_redactCharHasBeenSet =
true;
225 m_redactChar = std::forward<RedactCharT>(value);
227 template <
typename RedactCharT = Aws::String>
241 template <
typename MatchPatternT = Aws::String>
243 m_matchPatternHasBeenSet =
true;
244 m_matchPattern = std::forward<MatchPatternT>(value);
246 template <
typename MatchPatternT = Aws::String>
262 m_numLeftCharsToExcludeHasBeenSet =
true;
263 m_numLeftCharsToExclude = value;
280 m_numRightCharsToExcludeHasBeenSet =
true;
281 m_numRightCharsToExclude = value;
296 template <
typename DetectionParametersT = Aws::String>
298 m_detectionParametersHasBeenSet =
true;
299 m_detectionParameters = std::forward<DetectionParametersT>(value);
301 template <
typename DetectionParametersT = Aws::String>
315 template <
typename DetectionSensitivityT = Aws::String>
317 m_detectionSensitivityHasBeenSet =
true;
318 m_detectionSensitivity = std::forward<DetectionSensitivityT>(value);
320 template <
typename DetectionSensitivityT = Aws::String>
337 double m_sampleFraction{0.0};
339 double m_thresholdFraction{0.0};
349 int m_numLeftCharsToExclude{0};
351 int m_numRightCharsToExclude{0};
356 bool m_nameHasBeenSet =
false;
357 bool m_inputsHasBeenSet =
false;
358 bool m_piiTypeHasBeenSet =
false;
359 bool m_entityTypesToDetectHasBeenSet =
false;
360 bool m_outputColumnNameHasBeenSet =
false;
361 bool m_sampleFractionHasBeenSet =
false;
362 bool m_thresholdFractionHasBeenSet =
false;
363 bool m_maskValueHasBeenSet =
false;
364 bool m_redactTextHasBeenSet =
false;
365 bool m_redactCharHasBeenSet =
false;
366 bool m_matchPatternHasBeenSet =
false;
367 bool m_numLeftCharsToExcludeHasBeenSet =
false;
368 bool m_numRightCharsToExcludeHasBeenSet =
false;
369 bool m_detectionParametersHasBeenSet =
false;
370 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