AWS SDK for C++

AWS SDK for C++ Version 1.11.440

Loading...
Searching...
No Matches
PiiEntitiesDetectionJobProperties.h
1
6#pragma once
7#include <aws/comprehend/Comprehend_EXPORTS.h>
8#include <aws/core/utils/memory/stl/AWSString.h>
9#include <aws/comprehend/model/JobStatus.h>
10#include <aws/core/utils/DateTime.h>
11#include <aws/comprehend/model/InputDataConfig.h>
12#include <aws/comprehend/model/PiiOutputDataConfig.h>
13#include <aws/comprehend/model/RedactionConfig.h>
14#include <aws/comprehend/model/LanguageCode.h>
15#include <aws/comprehend/model/PiiEntitiesDetectionMode.h>
16#include <utility>
17
18namespace Aws
19{
20namespace Utils
21{
22namespace Json
23{
24 class JsonValue;
25 class JsonView;
26} // namespace Json
27} // namespace Utils
28namespace Comprehend
29{
30namespace Model
31{
32
40 {
41 public:
45 AWS_COMPREHEND_API Aws::Utils::Json::JsonValue Jsonize() const;
46
47
49
52 inline const Aws::String& GetJobId() const{ return m_jobId; }
53 inline bool JobIdHasBeenSet() const { return m_jobIdHasBeenSet; }
54 inline void SetJobId(const Aws::String& value) { m_jobIdHasBeenSet = true; m_jobId = value; }
55 inline void SetJobId(Aws::String&& value) { m_jobIdHasBeenSet = true; m_jobId = std::move(value); }
56 inline void SetJobId(const char* value) { m_jobIdHasBeenSet = true; m_jobId.assign(value); }
57 inline PiiEntitiesDetectionJobProperties& WithJobId(const Aws::String& value) { SetJobId(value); return *this;}
58 inline PiiEntitiesDetectionJobProperties& WithJobId(Aws::String&& value) { SetJobId(std::move(value)); return *this;}
59 inline PiiEntitiesDetectionJobProperties& WithJobId(const char* value) { SetJobId(value); return *this;}
61
63
73 inline const Aws::String& GetJobArn() const{ return m_jobArn; }
74 inline bool JobArnHasBeenSet() const { return m_jobArnHasBeenSet; }
75 inline void SetJobArn(const Aws::String& value) { m_jobArnHasBeenSet = true; m_jobArn = value; }
76 inline void SetJobArn(Aws::String&& value) { m_jobArnHasBeenSet = true; m_jobArn = std::move(value); }
77 inline void SetJobArn(const char* value) { m_jobArnHasBeenSet = true; m_jobArn.assign(value); }
78 inline PiiEntitiesDetectionJobProperties& WithJobArn(const Aws::String& value) { SetJobArn(value); return *this;}
79 inline PiiEntitiesDetectionJobProperties& WithJobArn(Aws::String&& value) { SetJobArn(std::move(value)); return *this;}
80 inline PiiEntitiesDetectionJobProperties& WithJobArn(const char* value) { SetJobArn(value); return *this;}
82
84
87 inline const Aws::String& GetJobName() const{ return m_jobName; }
88 inline bool JobNameHasBeenSet() const { return m_jobNameHasBeenSet; }
89 inline void SetJobName(const Aws::String& value) { m_jobNameHasBeenSet = true; m_jobName = value; }
90 inline void SetJobName(Aws::String&& value) { m_jobNameHasBeenSet = true; m_jobName = std::move(value); }
91 inline void SetJobName(const char* value) { m_jobNameHasBeenSet = true; m_jobName.assign(value); }
92 inline PiiEntitiesDetectionJobProperties& WithJobName(const Aws::String& value) { SetJobName(value); return *this;}
93 inline PiiEntitiesDetectionJobProperties& WithJobName(Aws::String&& value) { SetJobName(std::move(value)); return *this;}
94 inline PiiEntitiesDetectionJobProperties& WithJobName(const char* value) { SetJobName(value); return *this;}
96
98
103 inline const JobStatus& GetJobStatus() const{ return m_jobStatus; }
104 inline bool JobStatusHasBeenSet() const { return m_jobStatusHasBeenSet; }
105 inline void SetJobStatus(const JobStatus& value) { m_jobStatusHasBeenSet = true; m_jobStatus = value; }
106 inline void SetJobStatus(JobStatus&& value) { m_jobStatusHasBeenSet = true; m_jobStatus = std::move(value); }
107 inline PiiEntitiesDetectionJobProperties& WithJobStatus(const JobStatus& value) { SetJobStatus(value); return *this;}
108 inline PiiEntitiesDetectionJobProperties& WithJobStatus(JobStatus&& value) { SetJobStatus(std::move(value)); return *this;}
110
112
115 inline const Aws::String& GetMessage() const{ return m_message; }
116 inline bool MessageHasBeenSet() const { return m_messageHasBeenSet; }
117 inline void SetMessage(const Aws::String& value) { m_messageHasBeenSet = true; m_message = value; }
118 inline void SetMessage(Aws::String&& value) { m_messageHasBeenSet = true; m_message = std::move(value); }
119 inline void SetMessage(const char* value) { m_messageHasBeenSet = true; m_message.assign(value); }
120 inline PiiEntitiesDetectionJobProperties& WithMessage(const Aws::String& value) { SetMessage(value); return *this;}
121 inline PiiEntitiesDetectionJobProperties& WithMessage(Aws::String&& value) { SetMessage(std::move(value)); return *this;}
122 inline PiiEntitiesDetectionJobProperties& WithMessage(const char* value) { SetMessage(value); return *this;}
124
126
130 inline const Aws::Utils::DateTime& GetSubmitTime() const{ return m_submitTime; }
131 inline bool SubmitTimeHasBeenSet() const { return m_submitTimeHasBeenSet; }
132 inline void SetSubmitTime(const Aws::Utils::DateTime& value) { m_submitTimeHasBeenSet = true; m_submitTime = value; }
133 inline void SetSubmitTime(Aws::Utils::DateTime&& value) { m_submitTimeHasBeenSet = true; m_submitTime = std::move(value); }
135 inline PiiEntitiesDetectionJobProperties& WithSubmitTime(Aws::Utils::DateTime&& value) { SetSubmitTime(std::move(value)); return *this;}
137
139
142 inline const Aws::Utils::DateTime& GetEndTime() const{ return m_endTime; }
143 inline bool EndTimeHasBeenSet() const { return m_endTimeHasBeenSet; }
144 inline void SetEndTime(const Aws::Utils::DateTime& value) { m_endTimeHasBeenSet = true; m_endTime = value; }
145 inline void SetEndTime(Aws::Utils::DateTime&& value) { m_endTimeHasBeenSet = true; m_endTime = std::move(value); }
147 inline PiiEntitiesDetectionJobProperties& WithEndTime(Aws::Utils::DateTime&& value) { SetEndTime(std::move(value)); return *this;}
149
151
154 inline const InputDataConfig& GetInputDataConfig() const{ return m_inputDataConfig; }
155 inline bool InputDataConfigHasBeenSet() const { return m_inputDataConfigHasBeenSet; }
156 inline void SetInputDataConfig(const InputDataConfig& value) { m_inputDataConfigHasBeenSet = true; m_inputDataConfig = value; }
157 inline void SetInputDataConfig(InputDataConfig&& value) { m_inputDataConfigHasBeenSet = true; m_inputDataConfig = std::move(value); }
161
163
167 inline const PiiOutputDataConfig& GetOutputDataConfig() const{ return m_outputDataConfig; }
168 inline bool OutputDataConfigHasBeenSet() const { return m_outputDataConfigHasBeenSet; }
169 inline void SetOutputDataConfig(const PiiOutputDataConfig& value) { m_outputDataConfigHasBeenSet = true; m_outputDataConfig = value; }
170 inline void SetOutputDataConfig(PiiOutputDataConfig&& value) { m_outputDataConfigHasBeenSet = true; m_outputDataConfig = std::move(value); }
174
176
183 inline const RedactionConfig& GetRedactionConfig() const{ return m_redactionConfig; }
184 inline bool RedactionConfigHasBeenSet() const { return m_redactionConfigHasBeenSet; }
185 inline void SetRedactionConfig(const RedactionConfig& value) { m_redactionConfigHasBeenSet = true; m_redactionConfig = value; }
186 inline void SetRedactionConfig(RedactionConfig&& value) { m_redactionConfigHasBeenSet = true; m_redactionConfig = std::move(value); }
190
192
195 inline const LanguageCode& GetLanguageCode() const{ return m_languageCode; }
196 inline bool LanguageCodeHasBeenSet() const { return m_languageCodeHasBeenSet; }
197 inline void SetLanguageCode(const LanguageCode& value) { m_languageCodeHasBeenSet = true; m_languageCode = value; }
198 inline void SetLanguageCode(LanguageCode&& value) { m_languageCodeHasBeenSet = true; m_languageCode = std::move(value); }
200 inline PiiEntitiesDetectionJobProperties& WithLanguageCode(LanguageCode&& value) { SetLanguageCode(std::move(value)); return *this;}
202
204
208 inline const Aws::String& GetDataAccessRoleArn() const{ return m_dataAccessRoleArn; }
209 inline bool DataAccessRoleArnHasBeenSet() const { return m_dataAccessRoleArnHasBeenSet; }
210 inline void SetDataAccessRoleArn(const Aws::String& value) { m_dataAccessRoleArnHasBeenSet = true; m_dataAccessRoleArn = value; }
211 inline void SetDataAccessRoleArn(Aws::String&& value) { m_dataAccessRoleArnHasBeenSet = true; m_dataAccessRoleArn = std::move(value); }
212 inline void SetDataAccessRoleArn(const char* value) { m_dataAccessRoleArnHasBeenSet = true; m_dataAccessRoleArn.assign(value); }
215 inline PiiEntitiesDetectionJobProperties& WithDataAccessRoleArn(const char* value) { SetDataAccessRoleArn(value); return *this;}
217
219
223 inline const PiiEntitiesDetectionMode& GetMode() const{ return m_mode; }
224 inline bool ModeHasBeenSet() const { return m_modeHasBeenSet; }
225 inline void SetMode(const PiiEntitiesDetectionMode& value) { m_modeHasBeenSet = true; m_mode = value; }
226 inline void SetMode(PiiEntitiesDetectionMode&& value) { m_modeHasBeenSet = true; m_mode = std::move(value); }
227 inline PiiEntitiesDetectionJobProperties& WithMode(const PiiEntitiesDetectionMode& value) { SetMode(value); return *this;}
228 inline PiiEntitiesDetectionJobProperties& WithMode(PiiEntitiesDetectionMode&& value) { SetMode(std::move(value)); return *this;}
230 private:
231
232 Aws::String m_jobId;
233 bool m_jobIdHasBeenSet = false;
234
235 Aws::String m_jobArn;
236 bool m_jobArnHasBeenSet = false;
237
238 Aws::String m_jobName;
239 bool m_jobNameHasBeenSet = false;
240
241 JobStatus m_jobStatus;
242 bool m_jobStatusHasBeenSet = false;
243
244 Aws::String m_message;
245 bool m_messageHasBeenSet = false;
246
247 Aws::Utils::DateTime m_submitTime;
248 bool m_submitTimeHasBeenSet = false;
249
250 Aws::Utils::DateTime m_endTime;
251 bool m_endTimeHasBeenSet = false;
252
253 InputDataConfig m_inputDataConfig;
254 bool m_inputDataConfigHasBeenSet = false;
255
256 PiiOutputDataConfig m_outputDataConfig;
257 bool m_outputDataConfigHasBeenSet = false;
258
259 RedactionConfig m_redactionConfig;
260 bool m_redactionConfigHasBeenSet = false;
261
262 LanguageCode m_languageCode;
263 bool m_languageCodeHasBeenSet = false;
264
265 Aws::String m_dataAccessRoleArn;
266 bool m_dataAccessRoleArnHasBeenSet = false;
267
269 bool m_modeHasBeenSet = false;
270 };
271
272} // namespace Model
273} // namespace Comprehend
274} // namespace Aws
PiiEntitiesDetectionJobProperties & WithDataAccessRoleArn(const char *value)
AWS_COMPREHEND_API PiiEntitiesDetectionJobProperties(Aws::Utils::Json::JsonView jsonValue)
PiiEntitiesDetectionJobProperties & WithMessage(const Aws::String &value)
PiiEntitiesDetectionJobProperties & WithSubmitTime(Aws::Utils::DateTime &&value)
PiiEntitiesDetectionJobProperties & WithMessage(Aws::String &&value)
PiiEntitiesDetectionJobProperties & WithInputDataConfig(InputDataConfig &&value)
PiiEntitiesDetectionJobProperties & WithInputDataConfig(const InputDataConfig &value)
PiiEntitiesDetectionJobProperties & WithRedactionConfig(RedactionConfig &&value)
PiiEntitiesDetectionJobProperties & WithDataAccessRoleArn(const Aws::String &value)
AWS_COMPREHEND_API Aws::Utils::Json::JsonValue Jsonize() const
AWS_COMPREHEND_API PiiEntitiesDetectionJobProperties & operator=(Aws::Utils::Json::JsonView jsonValue)
PiiEntitiesDetectionJobProperties & WithJobId(const char *value)
PiiEntitiesDetectionJobProperties & WithJobName(const char *value)
PiiEntitiesDetectionJobProperties & WithMode(PiiEntitiesDetectionMode &&value)
PiiEntitiesDetectionJobProperties & WithJobArn(const Aws::String &value)
PiiEntitiesDetectionJobProperties & WithOutputDataConfig(const PiiOutputDataConfig &value)
PiiEntitiesDetectionJobProperties & WithJobName(const Aws::String &value)
PiiEntitiesDetectionJobProperties & WithOutputDataConfig(PiiOutputDataConfig &&value)
PiiEntitiesDetectionJobProperties & WithJobStatus(const JobStatus &value)
PiiEntitiesDetectionJobProperties & WithSubmitTime(const Aws::Utils::DateTime &value)
PiiEntitiesDetectionJobProperties & WithJobName(Aws::String &&value)
PiiEntitiesDetectionJobProperties & WithEndTime(Aws::Utils::DateTime &&value)
PiiEntitiesDetectionJobProperties & WithJobStatus(JobStatus &&value)
PiiEntitiesDetectionJobProperties & WithLanguageCode(const LanguageCode &value)
PiiEntitiesDetectionJobProperties & WithLanguageCode(LanguageCode &&value)
PiiEntitiesDetectionJobProperties & WithDataAccessRoleArn(Aws::String &&value)
PiiEntitiesDetectionJobProperties & WithJobId(Aws::String &&value)
PiiEntitiesDetectionJobProperties & WithJobArn(const char *value)
PiiEntitiesDetectionJobProperties & WithJobArn(Aws::String &&value)
PiiEntitiesDetectionJobProperties & WithMode(const PiiEntitiesDetectionMode &value)
PiiEntitiesDetectionJobProperties & WithRedactionConfig(const RedactionConfig &value)
PiiEntitiesDetectionJobProperties & WithEndTime(const Aws::Utils::DateTime &value)
PiiEntitiesDetectionJobProperties & WithJobId(const Aws::String &value)
PiiEntitiesDetectionJobProperties & WithMessage(const char *value)
std::basic_string< char, std::char_traits< char >, Aws::Allocator< char > > String
Aws::Utils::Json::JsonValue JsonValue