AWS SDK for C++

AWS SDK for C++ Version 1.11.612

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:
42 AWS_COMPREHEND_API PiiEntitiesDetectionJobProperties() = default;
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 template<typename JobIdT = Aws::String>
55 void SetJobId(JobIdT&& value) { m_jobIdHasBeenSet = true; m_jobId = std::forward<JobIdT>(value); }
56 template<typename JobIdT = Aws::String>
57 PiiEntitiesDetectionJobProperties& WithJobId(JobIdT&& value) { SetJobId(std::forward<JobIdT>(value)); return *this;}
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) { m_jobArnHasBeenSet = true; m_jobArn = std::forward<JobArnT>(value); }
75 template<typename JobArnT = Aws::String>
76 PiiEntitiesDetectionJobProperties& WithJobArn(JobArnT&& value) { SetJobArn(std::forward<JobArnT>(value)); return *this;}
78
80
83 inline const Aws::String& GetJobName() const { return m_jobName; }
84 inline bool JobNameHasBeenSet() const { return m_jobNameHasBeenSet; }
85 template<typename JobNameT = Aws::String>
86 void SetJobName(JobNameT&& value) { m_jobNameHasBeenSet = true; m_jobName = std::forward<JobNameT>(value); }
87 template<typename JobNameT = Aws::String>
88 PiiEntitiesDetectionJobProperties& WithJobName(JobNameT&& value) { SetJobName(std::forward<JobNameT>(value)); return *this;}
90
92
97 inline JobStatus GetJobStatus() const { return m_jobStatus; }
98 inline bool JobStatusHasBeenSet() const { return m_jobStatusHasBeenSet; }
99 inline void SetJobStatus(JobStatus value) { m_jobStatusHasBeenSet = true; m_jobStatus = value; }
102
104
107 inline const Aws::String& GetMessage() const { return m_message; }
108 inline bool MessageHasBeenSet() const { return m_messageHasBeenSet; }
109 template<typename MessageT = Aws::String>
110 void SetMessage(MessageT&& value) { m_messageHasBeenSet = true; m_message = std::forward<MessageT>(value); }
111 template<typename MessageT = Aws::String>
112 PiiEntitiesDetectionJobProperties& WithMessage(MessageT&& value) { SetMessage(std::forward<MessageT>(value)); return *this;}
114
116
120 inline const Aws::Utils::DateTime& GetSubmitTime() const { return m_submitTime; }
121 inline bool SubmitTimeHasBeenSet() const { return m_submitTimeHasBeenSet; }
122 template<typename SubmitTimeT = Aws::Utils::DateTime>
123 void SetSubmitTime(SubmitTimeT&& value) { m_submitTimeHasBeenSet = true; m_submitTime = std::forward<SubmitTimeT>(value); }
124 template<typename SubmitTimeT = Aws::Utils::DateTime>
125 PiiEntitiesDetectionJobProperties& WithSubmitTime(SubmitTimeT&& value) { SetSubmitTime(std::forward<SubmitTimeT>(value)); return *this;}
127
129
132 inline const Aws::Utils::DateTime& GetEndTime() const { return m_endTime; }
133 inline bool EndTimeHasBeenSet() const { return m_endTimeHasBeenSet; }
134 template<typename EndTimeT = Aws::Utils::DateTime>
135 void SetEndTime(EndTimeT&& value) { m_endTimeHasBeenSet = true; m_endTime = std::forward<EndTimeT>(value); }
136 template<typename EndTimeT = Aws::Utils::DateTime>
137 PiiEntitiesDetectionJobProperties& WithEndTime(EndTimeT&& value) { SetEndTime(std::forward<EndTimeT>(value)); return *this;}
139
141
144 inline const InputDataConfig& GetInputDataConfig() const { return m_inputDataConfig; }
145 inline bool InputDataConfigHasBeenSet() const { return m_inputDataConfigHasBeenSet; }
146 template<typename InputDataConfigT = InputDataConfig>
147 void SetInputDataConfig(InputDataConfigT&& value) { m_inputDataConfigHasBeenSet = true; m_inputDataConfig = std::forward<InputDataConfigT>(value); }
148 template<typename InputDataConfigT = InputDataConfig>
149 PiiEntitiesDetectionJobProperties& WithInputDataConfig(InputDataConfigT&& value) { SetInputDataConfig(std::forward<InputDataConfigT>(value)); return *this;}
151
153
157 inline const PiiOutputDataConfig& GetOutputDataConfig() const { return m_outputDataConfig; }
158 inline bool OutputDataConfigHasBeenSet() const { return m_outputDataConfigHasBeenSet; }
159 template<typename OutputDataConfigT = PiiOutputDataConfig>
160 void SetOutputDataConfig(OutputDataConfigT&& value) { m_outputDataConfigHasBeenSet = true; m_outputDataConfig = std::forward<OutputDataConfigT>(value); }
161 template<typename OutputDataConfigT = PiiOutputDataConfig>
162 PiiEntitiesDetectionJobProperties& WithOutputDataConfig(OutputDataConfigT&& value) { SetOutputDataConfig(std::forward<OutputDataConfigT>(value)); return *this;}
164
166
173 inline const RedactionConfig& GetRedactionConfig() const { return m_redactionConfig; }
174 inline bool RedactionConfigHasBeenSet() const { return m_redactionConfigHasBeenSet; }
175 template<typename RedactionConfigT = RedactionConfig>
176 void SetRedactionConfig(RedactionConfigT&& value) { m_redactionConfigHasBeenSet = true; m_redactionConfig = std::forward<RedactionConfigT>(value); }
177 template<typename RedactionConfigT = RedactionConfig>
178 PiiEntitiesDetectionJobProperties& WithRedactionConfig(RedactionConfigT&& value) { SetRedactionConfig(std::forward<RedactionConfigT>(value)); return *this;}
180
182
185 inline LanguageCode GetLanguageCode() const { return m_languageCode; }
186 inline bool LanguageCodeHasBeenSet() const { return m_languageCodeHasBeenSet; }
187 inline void SetLanguageCode(LanguageCode value) { m_languageCodeHasBeenSet = true; m_languageCode = value; }
190
192
196 inline const Aws::String& GetDataAccessRoleArn() const { return m_dataAccessRoleArn; }
197 inline bool DataAccessRoleArnHasBeenSet() const { return m_dataAccessRoleArnHasBeenSet; }
198 template<typename DataAccessRoleArnT = Aws::String>
199 void SetDataAccessRoleArn(DataAccessRoleArnT&& value) { m_dataAccessRoleArnHasBeenSet = true; m_dataAccessRoleArn = std::forward<DataAccessRoleArnT>(value); }
200 template<typename DataAccessRoleArnT = Aws::String>
201 PiiEntitiesDetectionJobProperties& WithDataAccessRoleArn(DataAccessRoleArnT&& value) { SetDataAccessRoleArn(std::forward<DataAccessRoleArnT>(value)); return *this;}
203
205
209 inline PiiEntitiesDetectionMode GetMode() const { return m_mode; }
210 inline bool ModeHasBeenSet() const { return m_modeHasBeenSet; }
211 inline void SetMode(PiiEntitiesDetectionMode value) { m_modeHasBeenSet = true; m_mode = value; }
214 private:
215
216 Aws::String m_jobId;
217 bool m_jobIdHasBeenSet = false;
218
219 Aws::String m_jobArn;
220 bool m_jobArnHasBeenSet = false;
221
222 Aws::String m_jobName;
223 bool m_jobNameHasBeenSet = false;
224
225 JobStatus m_jobStatus{JobStatus::NOT_SET};
226 bool m_jobStatusHasBeenSet = false;
227
228 Aws::String m_message;
229 bool m_messageHasBeenSet = false;
230
231 Aws::Utils::DateTime m_submitTime{};
232 bool m_submitTimeHasBeenSet = false;
233
234 Aws::Utils::DateTime m_endTime{};
235 bool m_endTimeHasBeenSet = false;
236
237 InputDataConfig m_inputDataConfig;
238 bool m_inputDataConfigHasBeenSet = false;
239
240 PiiOutputDataConfig m_outputDataConfig;
241 bool m_outputDataConfigHasBeenSet = false;
242
243 RedactionConfig m_redactionConfig;
244 bool m_redactionConfigHasBeenSet = false;
245
246 LanguageCode m_languageCode{LanguageCode::NOT_SET};
247 bool m_languageCodeHasBeenSet = false;
248
249 Aws::String m_dataAccessRoleArn;
250 bool m_dataAccessRoleArnHasBeenSet = false;
251
253 bool m_modeHasBeenSet = false;
254 };
255
256} // namespace Model
257} // namespace Comprehend
258} // 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