AWS SDK for C++

AWS SDK for C++ Version 1.11.718

Loading...
Searching...
No Matches
DominantLanguageDetectionJobProperties.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/OutputDataConfig.h>
11#include <aws/comprehend/model/VpcConfig.h>
12#include <aws/core/utils/DateTime.h>
13#include <aws/core/utils/memory/stl/AWSString.h>
14
15#include <utility>
16
17namespace Aws {
18namespace Utils {
19namespace Json {
20class JsonValue;
21class JsonView;
22} // namespace Json
23} // namespace Utils
24namespace Comprehend {
25namespace Model {
26
34 public:
35 AWS_COMPREHEND_API DominantLanguageDetectionJobProperties() = default;
38 AWS_COMPREHEND_API Aws::Utils::Json::JsonValue Jsonize() const;
39
41
44 inline const Aws::String& GetJobId() const { return m_jobId; }
45 inline bool JobIdHasBeenSet() const { return m_jobIdHasBeenSet; }
46 template <typename JobIdT = Aws::String>
47 void SetJobId(JobIdT&& value) {
48 m_jobIdHasBeenSet = true;
49 m_jobId = std::forward<JobIdT>(value);
50 }
51 template <typename JobIdT = Aws::String>
53 SetJobId(std::forward<JobIdT>(value));
54 return *this;
55 }
57
59
69 inline const Aws::String& GetJobArn() const { return m_jobArn; }
70 inline bool JobArnHasBeenSet() const { return m_jobArnHasBeenSet; }
71 template <typename JobArnT = Aws::String>
72 void SetJobArn(JobArnT&& value) {
73 m_jobArnHasBeenSet = true;
74 m_jobArn = std::forward<JobArnT>(value);
75 }
76 template <typename JobArnT = Aws::String>
78 SetJobArn(std::forward<JobArnT>(value));
79 return *this;
80 }
82
84
87 inline const Aws::String& GetJobName() const { return m_jobName; }
88 inline bool JobNameHasBeenSet() const { return m_jobNameHasBeenSet; }
89 template <typename JobNameT = Aws::String>
90 void SetJobName(JobNameT&& value) {
91 m_jobNameHasBeenSet = true;
92 m_jobName = std::forward<JobNameT>(value);
93 }
94 template <typename JobNameT = Aws::String>
96 SetJobName(std::forward<JobNameT>(value));
97 return *this;
98 }
100
102
107 inline JobStatus GetJobStatus() const { return m_jobStatus; }
108 inline bool JobStatusHasBeenSet() const { return m_jobStatusHasBeenSet; }
109 inline void SetJobStatus(JobStatus value) {
110 m_jobStatusHasBeenSet = true;
111 m_jobStatus = value;
112 }
114 SetJobStatus(value);
115 return *this;
116 }
118
120
123 inline const Aws::String& GetMessage() const { return m_message; }
124 inline bool MessageHasBeenSet() const { return m_messageHasBeenSet; }
125 template <typename MessageT = Aws::String>
126 void SetMessage(MessageT&& value) {
127 m_messageHasBeenSet = true;
128 m_message = std::forward<MessageT>(value);
129 }
130 template <typename MessageT = Aws::String>
132 SetMessage(std::forward<MessageT>(value));
133 return *this;
134 }
136
138
142 inline const Aws::Utils::DateTime& GetSubmitTime() const { return m_submitTime; }
143 inline bool SubmitTimeHasBeenSet() const { return m_submitTimeHasBeenSet; }
144 template <typename SubmitTimeT = Aws::Utils::DateTime>
145 void SetSubmitTime(SubmitTimeT&& value) {
146 m_submitTimeHasBeenSet = true;
147 m_submitTime = std::forward<SubmitTimeT>(value);
148 }
149 template <typename SubmitTimeT = Aws::Utils::DateTime>
151 SetSubmitTime(std::forward<SubmitTimeT>(value));
152 return *this;
153 }
155
157
160 inline const Aws::Utils::DateTime& GetEndTime() const { return m_endTime; }
161 inline bool EndTimeHasBeenSet() const { return m_endTimeHasBeenSet; }
162 template <typename EndTimeT = Aws::Utils::DateTime>
163 void SetEndTime(EndTimeT&& value) {
164 m_endTimeHasBeenSet = true;
165 m_endTime = std::forward<EndTimeT>(value);
166 }
167 template <typename EndTimeT = Aws::Utils::DateTime>
169 SetEndTime(std::forward<EndTimeT>(value));
170 return *this;
171 }
173
175
179 inline const InputDataConfig& GetInputDataConfig() const { return m_inputDataConfig; }
180 inline bool InputDataConfigHasBeenSet() const { return m_inputDataConfigHasBeenSet; }
181 template <typename InputDataConfigT = InputDataConfig>
182 void SetInputDataConfig(InputDataConfigT&& value) {
183 m_inputDataConfigHasBeenSet = true;
184 m_inputDataConfig = std::forward<InputDataConfigT>(value);
185 }
186 template <typename InputDataConfigT = InputDataConfig>
188 SetInputDataConfig(std::forward<InputDataConfigT>(value));
189 return *this;
190 }
192
194
198 inline const OutputDataConfig& GetOutputDataConfig() const { return m_outputDataConfig; }
199 inline bool OutputDataConfigHasBeenSet() const { return m_outputDataConfigHasBeenSet; }
200 template <typename OutputDataConfigT = OutputDataConfig>
201 void SetOutputDataConfig(OutputDataConfigT&& value) {
202 m_outputDataConfigHasBeenSet = true;
203 m_outputDataConfig = std::forward<OutputDataConfigT>(value);
204 }
205 template <typename OutputDataConfigT = OutputDataConfig>
207 SetOutputDataConfig(std::forward<OutputDataConfigT>(value));
208 return *this;
209 }
211
213
217 inline const Aws::String& GetDataAccessRoleArn() const { return m_dataAccessRoleArn; }
218 inline bool DataAccessRoleArnHasBeenSet() const { return m_dataAccessRoleArnHasBeenSet; }
219 template <typename DataAccessRoleArnT = Aws::String>
220 void SetDataAccessRoleArn(DataAccessRoleArnT&& value) {
221 m_dataAccessRoleArnHasBeenSet = true;
222 m_dataAccessRoleArn = std::forward<DataAccessRoleArnT>(value);
223 }
224 template <typename DataAccessRoleArnT = Aws::String>
226 SetDataAccessRoleArn(std::forward<DataAccessRoleArnT>(value));
227 return *this;
228 }
230
232
242 inline const Aws::String& GetVolumeKmsKeyId() const { return m_volumeKmsKeyId; }
243 inline bool VolumeKmsKeyIdHasBeenSet() const { return m_volumeKmsKeyIdHasBeenSet; }
244 template <typename VolumeKmsKeyIdT = Aws::String>
245 void SetVolumeKmsKeyId(VolumeKmsKeyIdT&& value) {
246 m_volumeKmsKeyIdHasBeenSet = true;
247 m_volumeKmsKeyId = std::forward<VolumeKmsKeyIdT>(value);
248 }
249 template <typename VolumeKmsKeyIdT = Aws::String>
251 SetVolumeKmsKeyId(std::forward<VolumeKmsKeyIdT>(value));
252 return *this;
253 }
255
257
264 inline const VpcConfig& GetVpcConfig() const { return m_vpcConfig; }
265 inline bool VpcConfigHasBeenSet() const { return m_vpcConfigHasBeenSet; }
266 template <typename VpcConfigT = VpcConfig>
267 void SetVpcConfig(VpcConfigT&& value) {
268 m_vpcConfigHasBeenSet = true;
269 m_vpcConfig = std::forward<VpcConfigT>(value);
270 }
271 template <typename VpcConfigT = VpcConfig>
273 SetVpcConfig(std::forward<VpcConfigT>(value));
274 return *this;
275 }
277 private:
278 Aws::String m_jobId;
279
280 Aws::String m_jobArn;
281
282 Aws::String m_jobName;
283
284 JobStatus m_jobStatus{JobStatus::NOT_SET};
285
286 Aws::String m_message;
287
288 Aws::Utils::DateTime m_submitTime{};
289
290 Aws::Utils::DateTime m_endTime{};
291
292 InputDataConfig m_inputDataConfig;
293
294 OutputDataConfig m_outputDataConfig;
295
296 Aws::String m_dataAccessRoleArn;
297
298 Aws::String m_volumeKmsKeyId;
299
300 VpcConfig m_vpcConfig;
301 bool m_jobIdHasBeenSet = false;
302 bool m_jobArnHasBeenSet = false;
303 bool m_jobNameHasBeenSet = false;
304 bool m_jobStatusHasBeenSet = false;
305 bool m_messageHasBeenSet = false;
306 bool m_submitTimeHasBeenSet = false;
307 bool m_endTimeHasBeenSet = false;
308 bool m_inputDataConfigHasBeenSet = false;
309 bool m_outputDataConfigHasBeenSet = false;
310 bool m_dataAccessRoleArnHasBeenSet = false;
311 bool m_volumeKmsKeyIdHasBeenSet = false;
312 bool m_vpcConfigHasBeenSet = false;
313};
314
315} // namespace Model
316} // namespace Comprehend
317} // namespace Aws
DominantLanguageDetectionJobProperties & WithOutputDataConfig(OutputDataConfigT &&value)
DominantLanguageDetectionJobProperties & WithJobArn(JobArnT &&value)
DominantLanguageDetectionJobProperties & WithMessage(MessageT &&value)
AWS_COMPREHEND_API DominantLanguageDetectionJobProperties(Aws::Utils::Json::JsonView jsonValue)
DominantLanguageDetectionJobProperties & WithDataAccessRoleArn(DataAccessRoleArnT &&value)
DominantLanguageDetectionJobProperties & WithVpcConfig(VpcConfigT &&value)
AWS_COMPREHEND_API DominantLanguageDetectionJobProperties & operator=(Aws::Utils::Json::JsonView jsonValue)
DominantLanguageDetectionJobProperties & WithInputDataConfig(InputDataConfigT &&value)
DominantLanguageDetectionJobProperties & WithSubmitTime(SubmitTimeT &&value)
DominantLanguageDetectionJobProperties & WithEndTime(EndTimeT &&value)
DominantLanguageDetectionJobProperties & WithJobName(JobNameT &&value)
DominantLanguageDetectionJobProperties & WithVolumeKmsKeyId(VolumeKmsKeyIdT &&value)
DominantLanguageDetectionJobProperties & WithJobStatus(JobStatus 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