AWS SDK for C++

AWS SDK for C++ Version 1.11.440

Loading...
Searching...
No Matches
PIIDetection.h
1
6#pragma once
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>
11#include <utility>
12
13namespace Aws
14{
15namespace Utils
16{
17namespace Json
18{
19 class JsonValue;
20 class JsonView;
21} // namespace Json
22} // namespace Utils
23namespace Glue
24{
25namespace Model
26{
27
35 {
36 public:
37 AWS_GLUE_API PIIDetection();
41
42
44
47 inline const Aws::String& GetName() const{ return m_name; }
48 inline bool NameHasBeenSet() const { return m_nameHasBeenSet; }
49 inline void SetName(const Aws::String& value) { m_nameHasBeenSet = true; m_name = value; }
50 inline void SetName(Aws::String&& value) { m_nameHasBeenSet = true; m_name = std::move(value); }
51 inline void SetName(const char* value) { m_nameHasBeenSet = true; m_name.assign(value); }
52 inline PIIDetection& WithName(const Aws::String& value) { SetName(value); return *this;}
53 inline PIIDetection& WithName(Aws::String&& value) { SetName(std::move(value)); return *this;}
54 inline PIIDetection& WithName(const char* value) { SetName(value); return *this;}
56
58
61 inline const Aws::Vector<Aws::String>& GetInputs() const{ return m_inputs; }
62 inline bool InputsHasBeenSet() const { return m_inputsHasBeenSet; }
63 inline void SetInputs(const Aws::Vector<Aws::String>& value) { m_inputsHasBeenSet = true; m_inputs = value; }
64 inline void SetInputs(Aws::Vector<Aws::String>&& value) { m_inputsHasBeenSet = true; m_inputs = std::move(value); }
65 inline PIIDetection& WithInputs(const Aws::Vector<Aws::String>& value) { SetInputs(value); return *this;}
66 inline PIIDetection& WithInputs(Aws::Vector<Aws::String>&& value) { SetInputs(std::move(value)); return *this;}
67 inline PIIDetection& AddInputs(const Aws::String& value) { m_inputsHasBeenSet = true; m_inputs.push_back(value); return *this; }
68 inline PIIDetection& AddInputs(Aws::String&& value) { m_inputsHasBeenSet = true; m_inputs.push_back(std::move(value)); return *this; }
69 inline PIIDetection& AddInputs(const char* value) { m_inputsHasBeenSet = true; m_inputs.push_back(value); return *this; }
71
73
76 inline const PiiType& GetPiiType() const{ return m_piiType; }
77 inline bool PiiTypeHasBeenSet() const { return m_piiTypeHasBeenSet; }
78 inline void SetPiiType(const PiiType& value) { m_piiTypeHasBeenSet = true; m_piiType = value; }
79 inline void SetPiiType(PiiType&& value) { m_piiTypeHasBeenSet = true; m_piiType = std::move(value); }
80 inline PIIDetection& WithPiiType(const PiiType& value) { SetPiiType(value); return *this;}
81 inline PIIDetection& WithPiiType(PiiType&& value) { SetPiiType(std::move(value)); return *this;}
83
85
94 inline const Aws::Vector<Aws::String>& GetEntityTypesToDetect() const{ return m_entityTypesToDetect; }
95 inline bool EntityTypesToDetectHasBeenSet() const { return m_entityTypesToDetectHasBeenSet; }
96 inline void SetEntityTypesToDetect(const Aws::Vector<Aws::String>& value) { m_entityTypesToDetectHasBeenSet = true; m_entityTypesToDetect = value; }
97 inline void SetEntityTypesToDetect(Aws::Vector<Aws::String>&& value) { m_entityTypesToDetectHasBeenSet = true; m_entityTypesToDetect = std::move(value); }
99 inline PIIDetection& WithEntityTypesToDetect(Aws::Vector<Aws::String>&& value) { SetEntityTypesToDetect(std::move(value)); return *this;}
100 inline PIIDetection& AddEntityTypesToDetect(const Aws::String& value) { m_entityTypesToDetectHasBeenSet = true; m_entityTypesToDetect.push_back(value); return *this; }
101 inline PIIDetection& AddEntityTypesToDetect(Aws::String&& value) { m_entityTypesToDetectHasBeenSet = true; m_entityTypesToDetect.push_back(std::move(value)); return *this; }
102 inline PIIDetection& AddEntityTypesToDetect(const char* value) { m_entityTypesToDetectHasBeenSet = true; m_entityTypesToDetect.push_back(value); return *this; }
104
106
110 inline const Aws::String& GetOutputColumnName() const{ return m_outputColumnName; }
111 inline bool OutputColumnNameHasBeenSet() const { return m_outputColumnNameHasBeenSet; }
112 inline void SetOutputColumnName(const Aws::String& value) { m_outputColumnNameHasBeenSet = true; m_outputColumnName = value; }
113 inline void SetOutputColumnName(Aws::String&& value) { m_outputColumnNameHasBeenSet = true; m_outputColumnName = std::move(value); }
114 inline void SetOutputColumnName(const char* value) { m_outputColumnNameHasBeenSet = true; m_outputColumnName.assign(value); }
115 inline PIIDetection& WithOutputColumnName(const Aws::String& value) { SetOutputColumnName(value); return *this;}
116 inline PIIDetection& WithOutputColumnName(Aws::String&& value) { SetOutputColumnName(std::move(value)); return *this;}
117 inline PIIDetection& WithOutputColumnName(const char* value) { SetOutputColumnName(value); return *this;}
119
121
125 inline double GetSampleFraction() const{ return m_sampleFraction; }
126 inline bool SampleFractionHasBeenSet() const { return m_sampleFractionHasBeenSet; }
127 inline void SetSampleFraction(double value) { m_sampleFractionHasBeenSet = true; m_sampleFraction = value; }
128 inline PIIDetection& WithSampleFraction(double value) { SetSampleFraction(value); return *this;}
130
132
136 inline double GetThresholdFraction() const{ return m_thresholdFraction; }
137 inline bool ThresholdFractionHasBeenSet() const { return m_thresholdFractionHasBeenSet; }
138 inline void SetThresholdFraction(double value) { m_thresholdFractionHasBeenSet = true; m_thresholdFraction = value; }
139 inline PIIDetection& WithThresholdFraction(double value) { SetThresholdFraction(value); return *this;}
141
143
146 inline const Aws::String& GetMaskValue() const{ return m_maskValue; }
147 inline bool MaskValueHasBeenSet() const { return m_maskValueHasBeenSet; }
148 inline void SetMaskValue(const Aws::String& value) { m_maskValueHasBeenSet = true; m_maskValue = value; }
149 inline void SetMaskValue(Aws::String&& value) { m_maskValueHasBeenSet = true; m_maskValue = std::move(value); }
150 inline void SetMaskValue(const char* value) { m_maskValueHasBeenSet = true; m_maskValue.assign(value); }
151 inline PIIDetection& WithMaskValue(const Aws::String& value) { SetMaskValue(value); return *this;}
152 inline PIIDetection& WithMaskValue(Aws::String&& value) { SetMaskValue(std::move(value)); return *this;}
153 inline PIIDetection& WithMaskValue(const char* value) { SetMaskValue(value); return *this;}
155 private:
156
157 Aws::String m_name;
158 bool m_nameHasBeenSet = false;
159
161 bool m_inputsHasBeenSet = false;
162
163 PiiType m_piiType;
164 bool m_piiTypeHasBeenSet = false;
165
166 Aws::Vector<Aws::String> m_entityTypesToDetect;
167 bool m_entityTypesToDetectHasBeenSet = false;
168
169 Aws::String m_outputColumnName;
170 bool m_outputColumnNameHasBeenSet = false;
171
172 double m_sampleFraction;
173 bool m_sampleFractionHasBeenSet = false;
174
175 double m_thresholdFraction;
176 bool m_thresholdFractionHasBeenSet = false;
177
178 Aws::String m_maskValue;
179 bool m_maskValueHasBeenSet = false;
180 };
181
182} // namespace Model
183} // namespace Glue
184} // namespace Aws
const Aws::Vector< Aws::String > & GetEntityTypesToDetect() const
PIIDetection & WithName(const Aws::String &value)
void SetInputs(Aws::Vector< Aws::String > &&value)
AWS_GLUE_API PIIDetection(Aws::Utils::Json::JsonView jsonValue)
PIIDetection & AddInputs(const char *value)
PIIDetection & AddEntityTypesToDetect(Aws::String &&value)
void SetName(const char *value)
PIIDetection & WithOutputColumnName(const char *value)
void SetName(const Aws::String &value)
void SetEntityTypesToDetect(const Aws::Vector< Aws::String > &value)
void SetName(Aws::String &&value)
PIIDetection & WithPiiType(PiiType &&value)
PIIDetection & WithPiiType(const PiiType &value)
PIIDetection & AddEntityTypesToDetect(const Aws::String &value)
PIIDetection & WithSampleFraction(double value)
void SetThresholdFraction(double value)
PIIDetection & WithOutputColumnName(Aws::String &&value)
PIIDetection & WithMaskValue(const char *value)
void SetMaskValue(const char *value)
AWS_GLUE_API Aws::Utils::Json::JsonValue Jsonize() const
PIIDetection & AddInputs(const Aws::String &value)
PIIDetection & WithEntityTypesToDetect(Aws::Vector< Aws::String > &&value)
void SetMaskValue(Aws::String &&value)
PIIDetection & WithOutputColumnName(const Aws::String &value)
void SetEntityTypesToDetect(Aws::Vector< Aws::String > &&value)
const Aws::String & GetMaskValue() const
void SetSampleFraction(double value)
PIIDetection & WithEntityTypesToDetect(const Aws::Vector< Aws::String > &value)
PIIDetection & WithMaskValue(Aws::String &&value)
PIIDetection & WithName(const char *value)
AWS_GLUE_API PIIDetection & operator=(Aws::Utils::Json::JsonView jsonValue)
const Aws::String & GetName() const
PIIDetection & AddInputs(Aws::String &&value)
const Aws::String & GetOutputColumnName() const
void SetMaskValue(const Aws::String &value)
PIIDetection & WithMaskValue(const Aws::String &value)
PIIDetection & AddEntityTypesToDetect(const char *value)
void SetOutputColumnName(const Aws::String &value)
void SetInputs(const Aws::Vector< Aws::String > &value)
void SetOutputColumnName(const char *value)
PIIDetection & WithInputs(Aws::Vector< Aws::String > &&value)
void SetPiiType(PiiType &&value)
const PiiType & GetPiiType() const
bool EntityTypesToDetectHasBeenSet() const
PIIDetection & WithName(Aws::String &&value)
const Aws::Vector< Aws::String > & GetInputs() const
PIIDetection & WithInputs(const Aws::Vector< Aws::String > &value)
void SetOutputColumnName(Aws::String &&value)
void SetPiiType(const PiiType &value)
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