AWS SDK for C++

AWS SDK for C++ Version 1.11.717

Loading...
Searching...
No Matches
TopicsDetectionJobProperties.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 TopicsDetectionJobProperties() = 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
141 inline const Aws::Utils::DateTime& GetSubmitTime() const { return m_submitTime; }
142 inline bool SubmitTimeHasBeenSet() const { return m_submitTimeHasBeenSet; }
143 template <typename SubmitTimeT = Aws::Utils::DateTime>
144 void SetSubmitTime(SubmitTimeT&& value) {
145 m_submitTimeHasBeenSet = true;
146 m_submitTime = std::forward<SubmitTimeT>(value);
147 }
148 template <typename SubmitTimeT = Aws::Utils::DateTime>
150 SetSubmitTime(std::forward<SubmitTimeT>(value));
151 return *this;
152 }
154
156
159 inline const Aws::Utils::DateTime& GetEndTime() const { return m_endTime; }
160 inline bool EndTimeHasBeenSet() const { return m_endTimeHasBeenSet; }
161 template <typename EndTimeT = Aws::Utils::DateTime>
162 void SetEndTime(EndTimeT&& value) {
163 m_endTimeHasBeenSet = true;
164 m_endTime = std::forward<EndTimeT>(value);
165 }
166 template <typename EndTimeT = Aws::Utils::DateTime>
168 SetEndTime(std::forward<EndTimeT>(value));
169 return *this;
170 }
172
174
178 inline const InputDataConfig& GetInputDataConfig() const { return m_inputDataConfig; }
179 inline bool InputDataConfigHasBeenSet() const { return m_inputDataConfigHasBeenSet; }
180 template <typename InputDataConfigT = InputDataConfig>
181 void SetInputDataConfig(InputDataConfigT&& value) {
182 m_inputDataConfigHasBeenSet = true;
183 m_inputDataConfig = std::forward<InputDataConfigT>(value);
184 }
185 template <typename InputDataConfigT = InputDataConfig>
187 SetInputDataConfig(std::forward<InputDataConfigT>(value));
188 return *this;
189 }
191
193
197 inline const OutputDataConfig& GetOutputDataConfig() const { return m_outputDataConfig; }
198 inline bool OutputDataConfigHasBeenSet() const { return m_outputDataConfigHasBeenSet; }
199 template <typename OutputDataConfigT = OutputDataConfig>
200 void SetOutputDataConfig(OutputDataConfigT&& value) {
201 m_outputDataConfigHasBeenSet = true;
202 m_outputDataConfig = std::forward<OutputDataConfigT>(value);
203 }
204 template <typename OutputDataConfigT = OutputDataConfig>
206 SetOutputDataConfig(std::forward<OutputDataConfigT>(value));
207 return *this;
208 }
210
212
216 inline int GetNumberOfTopics() const { return m_numberOfTopics; }
217 inline bool NumberOfTopicsHasBeenSet() const { return m_numberOfTopicsHasBeenSet; }
218 inline void SetNumberOfTopics(int value) {
219 m_numberOfTopicsHasBeenSet = true;
220 m_numberOfTopics = value;
221 }
223 SetNumberOfTopics(value);
224 return *this;
225 }
227
229
233 inline const Aws::String& GetDataAccessRoleArn() const { return m_dataAccessRoleArn; }
234 inline bool DataAccessRoleArnHasBeenSet() const { return m_dataAccessRoleArnHasBeenSet; }
235 template <typename DataAccessRoleArnT = Aws::String>
236 void SetDataAccessRoleArn(DataAccessRoleArnT&& value) {
237 m_dataAccessRoleArnHasBeenSet = true;
238 m_dataAccessRoleArn = std::forward<DataAccessRoleArnT>(value);
239 }
240 template <typename DataAccessRoleArnT = Aws::String>
242 SetDataAccessRoleArn(std::forward<DataAccessRoleArnT>(value));
243 return *this;
244 }
246
248
258 inline const Aws::String& GetVolumeKmsKeyId() const { return m_volumeKmsKeyId; }
259 inline bool VolumeKmsKeyIdHasBeenSet() const { return m_volumeKmsKeyIdHasBeenSet; }
260 template <typename VolumeKmsKeyIdT = Aws::String>
261 void SetVolumeKmsKeyId(VolumeKmsKeyIdT&& value) {
262 m_volumeKmsKeyIdHasBeenSet = true;
263 m_volumeKmsKeyId = std::forward<VolumeKmsKeyIdT>(value);
264 }
265 template <typename VolumeKmsKeyIdT = Aws::String>
267 SetVolumeKmsKeyId(std::forward<VolumeKmsKeyIdT>(value));
268 return *this;
269 }
271
273
280 inline const VpcConfig& GetVpcConfig() const { return m_vpcConfig; }
281 inline bool VpcConfigHasBeenSet() const { return m_vpcConfigHasBeenSet; }
282 template <typename VpcConfigT = VpcConfig>
283 void SetVpcConfig(VpcConfigT&& value) {
284 m_vpcConfigHasBeenSet = true;
285 m_vpcConfig = std::forward<VpcConfigT>(value);
286 }
287 template <typename VpcConfigT = VpcConfig>
289 SetVpcConfig(std::forward<VpcConfigT>(value));
290 return *this;
291 }
293 private:
294 Aws::String m_jobId;
295
296 Aws::String m_jobArn;
297
298 Aws::String m_jobName;
299
300 JobStatus m_jobStatus{JobStatus::NOT_SET};
301
302 Aws::String m_message;
303
304 Aws::Utils::DateTime m_submitTime{};
305
306 Aws::Utils::DateTime m_endTime{};
307
308 InputDataConfig m_inputDataConfig;
309
310 OutputDataConfig m_outputDataConfig;
311
312 int m_numberOfTopics{0};
313
314 Aws::String m_dataAccessRoleArn;
315
316 Aws::String m_volumeKmsKeyId;
317
318 VpcConfig m_vpcConfig;
319 bool m_jobIdHasBeenSet = false;
320 bool m_jobArnHasBeenSet = false;
321 bool m_jobNameHasBeenSet = false;
322 bool m_jobStatusHasBeenSet = false;
323 bool m_messageHasBeenSet = false;
324 bool m_submitTimeHasBeenSet = false;
325 bool m_endTimeHasBeenSet = false;
326 bool m_inputDataConfigHasBeenSet = false;
327 bool m_outputDataConfigHasBeenSet = false;
328 bool m_numberOfTopicsHasBeenSet = false;
329 bool m_dataAccessRoleArnHasBeenSet = false;
330 bool m_volumeKmsKeyIdHasBeenSet = false;
331 bool m_vpcConfigHasBeenSet = false;
332};
333
334} // namespace Model
335} // namespace Comprehend
336} // namespace Aws
TopicsDetectionJobProperties & WithJobId(JobIdT &&value)
AWS_COMPREHEND_API Aws::Utils::Json::JsonValue Jsonize() const
TopicsDetectionJobProperties & WithMessage(MessageT &&value)
AWS_COMPREHEND_API TopicsDetectionJobProperties & operator=(Aws::Utils::Json::JsonView jsonValue)
TopicsDetectionJobProperties & WithVpcConfig(VpcConfigT &&value)
TopicsDetectionJobProperties & WithVolumeKmsKeyId(VolumeKmsKeyIdT &&value)
TopicsDetectionJobProperties & WithJobName(JobNameT &&value)
TopicsDetectionJobProperties & WithJobArn(JobArnT &&value)
TopicsDetectionJobProperties & WithOutputDataConfig(OutputDataConfigT &&value)
TopicsDetectionJobProperties & WithEndTime(EndTimeT &&value)
TopicsDetectionJobProperties & WithNumberOfTopics(int value)
AWS_COMPREHEND_API TopicsDetectionJobProperties(Aws::Utils::Json::JsonView jsonValue)
TopicsDetectionJobProperties & WithSubmitTime(SubmitTimeT &&value)
TopicsDetectionJobProperties & WithJobStatus(JobStatus value)
TopicsDetectionJobProperties & WithInputDataConfig(InputDataConfigT &&value)
TopicsDetectionJobProperties & WithDataAccessRoleArn(DataAccessRoleArnT &&value)
AWS_COMPREHEND_API TopicsDetectionJobProperties()=default
std::basic_string< char, std::char_traits< char >, Aws::Allocator< char > > String
Aws::Utils::Json::JsonValue JsonValue