AWS SDK for C++

AWS SDK for C++ Version 1.11.719

Loading...
Searching...
No Matches
PiiEntitiesDetectionJobProperties.h
1
6#pragma once
7#include <aws/comprehend/Comprehend_EXPORTS.h>
8#include <aws/comprehend/model/InputDataConfig.h>
9#include <aws/comprehend/model/JobStatus.h>
10#include <aws/comprehend/model/LanguageCode.h>
11#include <aws/comprehend/model/PiiEntitiesDetectionMode.h>
12#include <aws/comprehend/model/PiiOutputDataConfig.h>
13#include <aws/comprehend/model/RedactionConfig.h>
14#include <aws/core/utils/DateTime.h>
15#include <aws/core/utils/memory/stl/AWSString.h>
16
17#include <utility>
18
19namespace Aws {
20namespace Utils {
21namespace Json {
22class JsonValue;
23class JsonView;
24} // namespace Json
25} // namespace Utils
26namespace Comprehend {
27namespace Model {
28
36 public:
37 AWS_COMPREHEND_API PiiEntitiesDetectionJobProperties() = default;
40 AWS_COMPREHEND_API Aws::Utils::Json::JsonValue Jsonize() const;
41
43
46 inline const Aws::String& GetJobId() const { return m_jobId; }
47 inline bool JobIdHasBeenSet() const { return m_jobIdHasBeenSet; }
48 template <typename JobIdT = Aws::String>
49 void SetJobId(JobIdT&& value) {
50 m_jobIdHasBeenSet = true;
51 m_jobId = std::forward<JobIdT>(value);
52 }
53 template <typename JobIdT = Aws::String>
55 SetJobId(std::forward<JobIdT>(value));
56 return *this;
57 }
59
61
71 inline const Aws::String& GetJobArn() const { return m_jobArn; }
72 inline bool JobArnHasBeenSet() const { return m_jobArnHasBeenSet; }
73 template <typename JobArnT = Aws::String>
74 void SetJobArn(JobArnT&& value) {
75 m_jobArnHasBeenSet = true;
76 m_jobArn = std::forward<JobArnT>(value);
77 }
78 template <typename JobArnT = Aws::String>
80 SetJobArn(std::forward<JobArnT>(value));
81 return *this;
82 }
84
86
89 inline const Aws::String& GetJobName() const { return m_jobName; }
90 inline bool JobNameHasBeenSet() const { return m_jobNameHasBeenSet; }
91 template <typename JobNameT = Aws::String>
92 void SetJobName(JobNameT&& value) {
93 m_jobNameHasBeenSet = true;
94 m_jobName = std::forward<JobNameT>(value);
95 }
96 template <typename JobNameT = Aws::String>
98 SetJobName(std::forward<JobNameT>(value));
99 return *this;
100 }
102
104
109 inline JobStatus GetJobStatus() const { return m_jobStatus; }
110 inline bool JobStatusHasBeenSet() const { return m_jobStatusHasBeenSet; }
111 inline void SetJobStatus(JobStatus value) {
112 m_jobStatusHasBeenSet = true;
113 m_jobStatus = value;
114 }
116 SetJobStatus(value);
117 return *this;
118 }
120
122
125 inline const Aws::String& GetMessage() const { return m_message; }
126 inline bool MessageHasBeenSet() const { return m_messageHasBeenSet; }
127 template <typename MessageT = Aws::String>
128 void SetMessage(MessageT&& value) {
129 m_messageHasBeenSet = true;
130 m_message = std::forward<MessageT>(value);
131 }
132 template <typename MessageT = Aws::String>
134 SetMessage(std::forward<MessageT>(value));
135 return *this;
136 }
138
140
144 inline const Aws::Utils::DateTime& GetSubmitTime() const { return m_submitTime; }
145 inline bool SubmitTimeHasBeenSet() const { return m_submitTimeHasBeenSet; }
146 template <typename SubmitTimeT = Aws::Utils::DateTime>
147 void SetSubmitTime(SubmitTimeT&& value) {
148 m_submitTimeHasBeenSet = true;
149 m_submitTime = std::forward<SubmitTimeT>(value);
150 }
151 template <typename SubmitTimeT = Aws::Utils::DateTime>
153 SetSubmitTime(std::forward<SubmitTimeT>(value));
154 return *this;
155 }
157
159
162 inline const Aws::Utils::DateTime& GetEndTime() const { return m_endTime; }
163 inline bool EndTimeHasBeenSet() const { return m_endTimeHasBeenSet; }
164 template <typename EndTimeT = Aws::Utils::DateTime>
165 void SetEndTime(EndTimeT&& value) {
166 m_endTimeHasBeenSet = true;
167 m_endTime = std::forward<EndTimeT>(value);
168 }
169 template <typename EndTimeT = Aws::Utils::DateTime>
171 SetEndTime(std::forward<EndTimeT>(value));
172 return *this;
173 }
175
177
180 inline const InputDataConfig& GetInputDataConfig() const { return m_inputDataConfig; }
181 inline bool InputDataConfigHasBeenSet() const { return m_inputDataConfigHasBeenSet; }
182 template <typename InputDataConfigT = InputDataConfig>
183 void SetInputDataConfig(InputDataConfigT&& value) {
184 m_inputDataConfigHasBeenSet = true;
185 m_inputDataConfig = std::forward<InputDataConfigT>(value);
186 }
187 template <typename InputDataConfigT = InputDataConfig>
189 SetInputDataConfig(std::forward<InputDataConfigT>(value));
190 return *this;
191 }
193
195
199 inline const PiiOutputDataConfig& GetOutputDataConfig() const { return m_outputDataConfig; }
200 inline bool OutputDataConfigHasBeenSet() const { return m_outputDataConfigHasBeenSet; }
201 template <typename OutputDataConfigT = PiiOutputDataConfig>
202 void SetOutputDataConfig(OutputDataConfigT&& value) {
203 m_outputDataConfigHasBeenSet = true;
204 m_outputDataConfig = std::forward<OutputDataConfigT>(value);
205 }
206 template <typename OutputDataConfigT = PiiOutputDataConfig>
208 SetOutputDataConfig(std::forward<OutputDataConfigT>(value));
209 return *this;
210 }
212
214
221 inline const RedactionConfig& GetRedactionConfig() const { return m_redactionConfig; }
222 inline bool RedactionConfigHasBeenSet() const { return m_redactionConfigHasBeenSet; }
223 template <typename RedactionConfigT = RedactionConfig>
224 void SetRedactionConfig(RedactionConfigT&& value) {
225 m_redactionConfigHasBeenSet = true;
226 m_redactionConfig = std::forward<RedactionConfigT>(value);
227 }
228 template <typename RedactionConfigT = RedactionConfig>
230 SetRedactionConfig(std::forward<RedactionConfigT>(value));
231 return *this;
232 }
234
236
239 inline LanguageCode GetLanguageCode() const { return m_languageCode; }
240 inline bool LanguageCodeHasBeenSet() const { return m_languageCodeHasBeenSet; }
241 inline void SetLanguageCode(LanguageCode value) {
242 m_languageCodeHasBeenSet = true;
243 m_languageCode = value;
244 }
246 SetLanguageCode(value);
247 return *this;
248 }
250
252
256 inline const Aws::String& GetDataAccessRoleArn() const { return m_dataAccessRoleArn; }
257 inline bool DataAccessRoleArnHasBeenSet() const { return m_dataAccessRoleArnHasBeenSet; }
258 template <typename DataAccessRoleArnT = Aws::String>
259 void SetDataAccessRoleArn(DataAccessRoleArnT&& value) {
260 m_dataAccessRoleArnHasBeenSet = true;
261 m_dataAccessRoleArn = std::forward<DataAccessRoleArnT>(value);
262 }
263 template <typename DataAccessRoleArnT = Aws::String>
265 SetDataAccessRoleArn(std::forward<DataAccessRoleArnT>(value));
266 return *this;
267 }
269
271
275 inline PiiEntitiesDetectionMode GetMode() const { return m_mode; }
276 inline bool ModeHasBeenSet() const { return m_modeHasBeenSet; }
278 m_modeHasBeenSet = true;
279 m_mode = value;
280 }
282 SetMode(value);
283 return *this;
284 }
286 private:
287 Aws::String m_jobId;
288
289 Aws::String m_jobArn;
290
291 Aws::String m_jobName;
292
293 JobStatus m_jobStatus{JobStatus::NOT_SET};
294
295 Aws::String m_message;
296
297 Aws::Utils::DateTime m_submitTime{};
298
299 Aws::Utils::DateTime m_endTime{};
300
301 InputDataConfig m_inputDataConfig;
302
303 PiiOutputDataConfig m_outputDataConfig;
304
305 RedactionConfig m_redactionConfig;
306
307 LanguageCode m_languageCode{LanguageCode::NOT_SET};
308
309 Aws::String m_dataAccessRoleArn;
310
312 bool m_jobIdHasBeenSet = false;
313 bool m_jobArnHasBeenSet = false;
314 bool m_jobNameHasBeenSet = false;
315 bool m_jobStatusHasBeenSet = false;
316 bool m_messageHasBeenSet = false;
317 bool m_submitTimeHasBeenSet = false;
318 bool m_endTimeHasBeenSet = false;
319 bool m_inputDataConfigHasBeenSet = false;
320 bool m_outputDataConfigHasBeenSet = false;
321 bool m_redactionConfigHasBeenSet = false;
322 bool m_languageCodeHasBeenSet = false;
323 bool m_dataAccessRoleArnHasBeenSet = false;
324 bool m_modeHasBeenSet = false;
325};
326
327} // namespace Model
328} // namespace Comprehend
329} // namespace Aws
AWS_COMPREHEND_API PiiEntitiesDetectionJobProperties()=default
AWS_COMPREHEND_API PiiEntitiesDetectionJobProperties(Aws::Utils::Json::JsonView jsonValue)
PiiEntitiesDetectionJobProperties & WithEndTime(EndTimeT &&value)
PiiEntitiesDetectionJobProperties & WithJobId(JobIdT &&value)
PiiEntitiesDetectionJobProperties & WithSubmitTime(SubmitTimeT &&value)
AWS_COMPREHEND_API Aws::Utils::Json::JsonValue Jsonize() const
AWS_COMPREHEND_API PiiEntitiesDetectionJobProperties & operator=(Aws::Utils::Json::JsonView jsonValue)
PiiEntitiesDetectionJobProperties & WithMode(PiiEntitiesDetectionMode value)
PiiEntitiesDetectionJobProperties & WithDataAccessRoleArn(DataAccessRoleArnT &&value)
PiiEntitiesDetectionJobProperties & WithJobName(JobNameT &&value)
PiiEntitiesDetectionJobProperties & WithLanguageCode(LanguageCode value)
PiiEntitiesDetectionJobProperties & WithInputDataConfig(InputDataConfigT &&value)
PiiEntitiesDetectionJobProperties & WithRedactionConfig(RedactionConfigT &&value)
PiiEntitiesDetectionJobProperties & WithMessage(MessageT &&value)
PiiEntitiesDetectionJobProperties & WithJobArn(JobArnT &&value)
PiiEntitiesDetectionJobProperties & WithOutputDataConfig(OutputDataConfigT &&value)
PiiEntitiesDetectionJobProperties & WithJobStatus(JobStatus value)
std::basic_string< char, std::char_traits< char >, Aws::Allocator< char > > String
Aws::Utils::Json::JsonValue JsonValue