AWS SDK for C++

AWS SDK for C++ Version 1.11.612

Loading...
Searching...
No Matches
EntitiesDetectionJobProperties.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/OutputDataConfig.h>
13#include <aws/comprehend/model/LanguageCode.h>
14#include <aws/comprehend/model/VpcConfig.h>
15#include <utility>
16
17namespace Aws
18{
19namespace Utils
20{
21namespace Json
22{
23 class JsonValue;
24 class JsonView;
25} // namespace Json
26} // namespace Utils
27namespace Comprehend
28{
29namespace Model
30{
31
39 {
40 public:
41 AWS_COMPREHEND_API EntitiesDetectionJobProperties() = default;
44 AWS_COMPREHEND_API Aws::Utils::Json::JsonValue Jsonize() const;
45
46
48
51 inline const Aws::String& GetJobId() const { return m_jobId; }
52 inline bool JobIdHasBeenSet() const { return m_jobIdHasBeenSet; }
53 template<typename JobIdT = Aws::String>
54 void SetJobId(JobIdT&& value) { m_jobIdHasBeenSet = true; m_jobId = std::forward<JobIdT>(value); }
55 template<typename JobIdT = Aws::String>
56 EntitiesDetectionJobProperties& WithJobId(JobIdT&& value) { SetJobId(std::forward<JobIdT>(value)); return *this;}
58
60
70 inline const Aws::String& GetJobArn() const { return m_jobArn; }
71 inline bool JobArnHasBeenSet() const { return m_jobArnHasBeenSet; }
72 template<typename JobArnT = Aws::String>
73 void SetJobArn(JobArnT&& value) { m_jobArnHasBeenSet = true; m_jobArn = std::forward<JobArnT>(value); }
74 template<typename JobArnT = Aws::String>
75 EntitiesDetectionJobProperties& WithJobArn(JobArnT&& value) { SetJobArn(std::forward<JobArnT>(value)); return *this;}
77
79
82 inline const Aws::String& GetJobName() const { return m_jobName; }
83 inline bool JobNameHasBeenSet() const { return m_jobNameHasBeenSet; }
84 template<typename JobNameT = Aws::String>
85 void SetJobName(JobNameT&& value) { m_jobNameHasBeenSet = true; m_jobName = std::forward<JobNameT>(value); }
86 template<typename JobNameT = Aws::String>
87 EntitiesDetectionJobProperties& WithJobName(JobNameT&& value) { SetJobName(std::forward<JobNameT>(value)); return *this;}
89
91
96 inline JobStatus GetJobStatus() const { return m_jobStatus; }
97 inline bool JobStatusHasBeenSet() const { return m_jobStatusHasBeenSet; }
98 inline void SetJobStatus(JobStatus value) { m_jobStatusHasBeenSet = true; m_jobStatus = value; }
101
103
106 inline const Aws::String& GetMessage() const { return m_message; }
107 inline bool MessageHasBeenSet() const { return m_messageHasBeenSet; }
108 template<typename MessageT = Aws::String>
109 void SetMessage(MessageT&& value) { m_messageHasBeenSet = true; m_message = std::forward<MessageT>(value); }
110 template<typename MessageT = Aws::String>
111 EntitiesDetectionJobProperties& WithMessage(MessageT&& value) { SetMessage(std::forward<MessageT>(value)); return *this;}
113
115
118 inline const Aws::Utils::DateTime& GetSubmitTime() const { return m_submitTime; }
119 inline bool SubmitTimeHasBeenSet() const { return m_submitTimeHasBeenSet; }
120 template<typename SubmitTimeT = Aws::Utils::DateTime>
121 void SetSubmitTime(SubmitTimeT&& value) { m_submitTimeHasBeenSet = true; m_submitTime = std::forward<SubmitTimeT>(value); }
122 template<typename SubmitTimeT = Aws::Utils::DateTime>
123 EntitiesDetectionJobProperties& WithSubmitTime(SubmitTimeT&& value) { SetSubmitTime(std::forward<SubmitTimeT>(value)); return *this;}
125
127
130 inline const Aws::Utils::DateTime& GetEndTime() const { return m_endTime; }
131 inline bool EndTimeHasBeenSet() const { return m_endTimeHasBeenSet; }
132 template<typename EndTimeT = Aws::Utils::DateTime>
133 void SetEndTime(EndTimeT&& value) { m_endTimeHasBeenSet = true; m_endTime = std::forward<EndTimeT>(value); }
134 template<typename EndTimeT = Aws::Utils::DateTime>
135 EntitiesDetectionJobProperties& WithEndTime(EndTimeT&& value) { SetEndTime(std::forward<EndTimeT>(value)); return *this;}
137
139
142 inline const Aws::String& GetEntityRecognizerArn() const { return m_entityRecognizerArn; }
143 inline bool EntityRecognizerArnHasBeenSet() const { return m_entityRecognizerArnHasBeenSet; }
144 template<typename EntityRecognizerArnT = Aws::String>
145 void SetEntityRecognizerArn(EntityRecognizerArnT&& value) { m_entityRecognizerArnHasBeenSet = true; m_entityRecognizerArn = std::forward<EntityRecognizerArnT>(value); }
146 template<typename EntityRecognizerArnT = Aws::String>
147 EntitiesDetectionJobProperties& WithEntityRecognizerArn(EntityRecognizerArnT&& value) { SetEntityRecognizerArn(std::forward<EntityRecognizerArnT>(value)); return *this;}
149
151
155 inline const InputDataConfig& GetInputDataConfig() const { return m_inputDataConfig; }
156 inline bool InputDataConfigHasBeenSet() const { return m_inputDataConfigHasBeenSet; }
157 template<typename InputDataConfigT = InputDataConfig>
158 void SetInputDataConfig(InputDataConfigT&& value) { m_inputDataConfigHasBeenSet = true; m_inputDataConfig = std::forward<InputDataConfigT>(value); }
159 template<typename InputDataConfigT = InputDataConfig>
160 EntitiesDetectionJobProperties& WithInputDataConfig(InputDataConfigT&& value) { SetInputDataConfig(std::forward<InputDataConfigT>(value)); return *this;}
162
164
168 inline const OutputDataConfig& GetOutputDataConfig() const { return m_outputDataConfig; }
169 inline bool OutputDataConfigHasBeenSet() const { return m_outputDataConfigHasBeenSet; }
170 template<typename OutputDataConfigT = OutputDataConfig>
171 void SetOutputDataConfig(OutputDataConfigT&& value) { m_outputDataConfigHasBeenSet = true; m_outputDataConfig = std::forward<OutputDataConfigT>(value); }
172 template<typename OutputDataConfigT = OutputDataConfig>
173 EntitiesDetectionJobProperties& WithOutputDataConfig(OutputDataConfigT&& value) { SetOutputDataConfig(std::forward<OutputDataConfigT>(value)); return *this;}
175
177
180 inline LanguageCode GetLanguageCode() const { return m_languageCode; }
181 inline bool LanguageCodeHasBeenSet() const { return m_languageCodeHasBeenSet; }
182 inline void SetLanguageCode(LanguageCode value) { m_languageCodeHasBeenSet = true; m_languageCode = value; }
185
187
191 inline const Aws::String& GetDataAccessRoleArn() const { return m_dataAccessRoleArn; }
192 inline bool DataAccessRoleArnHasBeenSet() const { return m_dataAccessRoleArnHasBeenSet; }
193 template<typename DataAccessRoleArnT = Aws::String>
194 void SetDataAccessRoleArn(DataAccessRoleArnT&& value) { m_dataAccessRoleArnHasBeenSet = true; m_dataAccessRoleArn = std::forward<DataAccessRoleArnT>(value); }
195 template<typename DataAccessRoleArnT = Aws::String>
196 EntitiesDetectionJobProperties& WithDataAccessRoleArn(DataAccessRoleArnT&& value) { SetDataAccessRoleArn(std::forward<DataAccessRoleArnT>(value)); return *this;}
198
200
210 inline const Aws::String& GetVolumeKmsKeyId() const { return m_volumeKmsKeyId; }
211 inline bool VolumeKmsKeyIdHasBeenSet() const { return m_volumeKmsKeyIdHasBeenSet; }
212 template<typename VolumeKmsKeyIdT = Aws::String>
213 void SetVolumeKmsKeyId(VolumeKmsKeyIdT&& value) { m_volumeKmsKeyIdHasBeenSet = true; m_volumeKmsKeyId = std::forward<VolumeKmsKeyIdT>(value); }
214 template<typename VolumeKmsKeyIdT = Aws::String>
215 EntitiesDetectionJobProperties& WithVolumeKmsKeyId(VolumeKmsKeyIdT&& value) { SetVolumeKmsKeyId(std::forward<VolumeKmsKeyIdT>(value)); return *this;}
217
219
226 inline const VpcConfig& GetVpcConfig() const { return m_vpcConfig; }
227 inline bool VpcConfigHasBeenSet() const { return m_vpcConfigHasBeenSet; }
228 template<typename VpcConfigT = VpcConfig>
229 void SetVpcConfig(VpcConfigT&& value) { m_vpcConfigHasBeenSet = true; m_vpcConfig = std::forward<VpcConfigT>(value); }
230 template<typename VpcConfigT = VpcConfig>
231 EntitiesDetectionJobProperties& WithVpcConfig(VpcConfigT&& value) { SetVpcConfig(std::forward<VpcConfigT>(value)); return *this;}
233
235
238 inline const Aws::String& GetFlywheelArn() const { return m_flywheelArn; }
239 inline bool FlywheelArnHasBeenSet() const { return m_flywheelArnHasBeenSet; }
240 template<typename FlywheelArnT = Aws::String>
241 void SetFlywheelArn(FlywheelArnT&& value) { m_flywheelArnHasBeenSet = true; m_flywheelArn = std::forward<FlywheelArnT>(value); }
242 template<typename FlywheelArnT = Aws::String>
243 EntitiesDetectionJobProperties& WithFlywheelArn(FlywheelArnT&& value) { SetFlywheelArn(std::forward<FlywheelArnT>(value)); return *this;}
245 private:
246
247 Aws::String m_jobId;
248 bool m_jobIdHasBeenSet = false;
249
250 Aws::String m_jobArn;
251 bool m_jobArnHasBeenSet = false;
252
253 Aws::String m_jobName;
254 bool m_jobNameHasBeenSet = false;
255
256 JobStatus m_jobStatus{JobStatus::NOT_SET};
257 bool m_jobStatusHasBeenSet = false;
258
259 Aws::String m_message;
260 bool m_messageHasBeenSet = false;
261
262 Aws::Utils::DateTime m_submitTime{};
263 bool m_submitTimeHasBeenSet = false;
264
265 Aws::Utils::DateTime m_endTime{};
266 bool m_endTimeHasBeenSet = false;
267
268 Aws::String m_entityRecognizerArn;
269 bool m_entityRecognizerArnHasBeenSet = false;
270
271 InputDataConfig m_inputDataConfig;
272 bool m_inputDataConfigHasBeenSet = false;
273
274 OutputDataConfig m_outputDataConfig;
275 bool m_outputDataConfigHasBeenSet = false;
276
277 LanguageCode m_languageCode{LanguageCode::NOT_SET};
278 bool m_languageCodeHasBeenSet = false;
279
280 Aws::String m_dataAccessRoleArn;
281 bool m_dataAccessRoleArnHasBeenSet = false;
282
283 Aws::String m_volumeKmsKeyId;
284 bool m_volumeKmsKeyIdHasBeenSet = false;
285
286 VpcConfig m_vpcConfig;
287 bool m_vpcConfigHasBeenSet = false;
288
289 Aws::String m_flywheelArn;
290 bool m_flywheelArnHasBeenSet = false;
291 };
292
293} // namespace Model
294} // namespace Comprehend
295} // namespace Aws
EntitiesDetectionJobProperties & WithFlywheelArn(FlywheelArnT &&value)
EntitiesDetectionJobProperties & WithJobArn(JobArnT &&value)
EntitiesDetectionJobProperties & WithJobId(JobIdT &&value)
EntitiesDetectionJobProperties & WithLanguageCode(LanguageCode value)
EntitiesDetectionJobProperties & WithVolumeKmsKeyId(VolumeKmsKeyIdT &&value)
AWS_COMPREHEND_API EntitiesDetectionJobProperties(Aws::Utils::Json::JsonView jsonValue)
EntitiesDetectionJobProperties & WithInputDataConfig(InputDataConfigT &&value)
EntitiesDetectionJobProperties & WithDataAccessRoleArn(DataAccessRoleArnT &&value)
EntitiesDetectionJobProperties & WithEndTime(EndTimeT &&value)
AWS_COMPREHEND_API EntitiesDetectionJobProperties & operator=(Aws::Utils::Json::JsonView jsonValue)
EntitiesDetectionJobProperties & WithEntityRecognizerArn(EntityRecognizerArnT &&value)
AWS_COMPREHEND_API EntitiesDetectionJobProperties()=default
EntitiesDetectionJobProperties & WithJobStatus(JobStatus value)
EntitiesDetectionJobProperties & WithJobName(JobNameT &&value)
EntitiesDetectionJobProperties & WithOutputDataConfig(OutputDataConfigT &&value)
EntitiesDetectionJobProperties & WithVpcConfig(VpcConfigT &&value)
EntitiesDetectionJobProperties & WithMessage(MessageT &&value)
EntitiesDetectionJobProperties & WithSubmitTime(SubmitTimeT &&value)
AWS_COMPREHEND_API Aws::Utils::Json::JsonValue Jsonize() const
std::basic_string< char, std::char_traits< char >, Aws::Allocator< char > > String
Aws::Utils::Json::JsonValue JsonValue