AWS SDK for C++

AWS SDK for C++ Version 1.11.612

Loading...
Searching...
No Matches
TopicsDetectionJobProperties.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/VpcConfig.h>
14#include <utility>
15
16namespace Aws
17{
18namespace Utils
19{
20namespace Json
21{
22 class JsonValue;
23 class JsonView;
24} // namespace Json
25} // namespace Utils
26namespace Comprehend
27{
28namespace Model
29{
30
38 {
39 public:
40 AWS_COMPREHEND_API TopicsDetectionJobProperties() = default;
43 AWS_COMPREHEND_API Aws::Utils::Json::JsonValue Jsonize() const;
44
45
47
50 inline const Aws::String& GetJobId() const { return m_jobId; }
51 inline bool JobIdHasBeenSet() const { return m_jobIdHasBeenSet; }
52 template<typename JobIdT = Aws::String>
53 void SetJobId(JobIdT&& value) { m_jobIdHasBeenSet = true; m_jobId = std::forward<JobIdT>(value); }
54 template<typename JobIdT = Aws::String>
55 TopicsDetectionJobProperties& WithJobId(JobIdT&& value) { SetJobId(std::forward<JobIdT>(value)); return *this;}
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) { m_jobArnHasBeenSet = true; m_jobArn = std::forward<JobArnT>(value); }
73 template<typename JobArnT = Aws::String>
74 TopicsDetectionJobProperties& WithJobArn(JobArnT&& value) { SetJobArn(std::forward<JobArnT>(value)); return *this;}
76
78
81 inline const Aws::String& GetJobName() const { return m_jobName; }
82 inline bool JobNameHasBeenSet() const { return m_jobNameHasBeenSet; }
83 template<typename JobNameT = Aws::String>
84 void SetJobName(JobNameT&& value) { m_jobNameHasBeenSet = true; m_jobName = std::forward<JobNameT>(value); }
85 template<typename JobNameT = Aws::String>
86 TopicsDetectionJobProperties& WithJobName(JobNameT&& value) { SetJobName(std::forward<JobNameT>(value)); return *this;}
88
90
95 inline JobStatus GetJobStatus() const { return m_jobStatus; }
96 inline bool JobStatusHasBeenSet() const { return m_jobStatusHasBeenSet; }
97 inline void SetJobStatus(JobStatus value) { m_jobStatusHasBeenSet = true; m_jobStatus = value; }
98 inline TopicsDetectionJobProperties& WithJobStatus(JobStatus value) { SetJobStatus(value); return *this;}
100
102
105 inline const Aws::String& GetMessage() const { return m_message; }
106 inline bool MessageHasBeenSet() const { return m_messageHasBeenSet; }
107 template<typename MessageT = Aws::String>
108 void SetMessage(MessageT&& value) { m_messageHasBeenSet = true; m_message = std::forward<MessageT>(value); }
109 template<typename MessageT = Aws::String>
110 TopicsDetectionJobProperties& WithMessage(MessageT&& value) { SetMessage(std::forward<MessageT>(value)); return *this;}
112
114
117 inline const Aws::Utils::DateTime& GetSubmitTime() const { return m_submitTime; }
118 inline bool SubmitTimeHasBeenSet() const { return m_submitTimeHasBeenSet; }
119 template<typename SubmitTimeT = Aws::Utils::DateTime>
120 void SetSubmitTime(SubmitTimeT&& value) { m_submitTimeHasBeenSet = true; m_submitTime = std::forward<SubmitTimeT>(value); }
121 template<typename SubmitTimeT = Aws::Utils::DateTime>
122 TopicsDetectionJobProperties& WithSubmitTime(SubmitTimeT&& value) { SetSubmitTime(std::forward<SubmitTimeT>(value)); return *this;}
124
126
129 inline const Aws::Utils::DateTime& GetEndTime() const { return m_endTime; }
130 inline bool EndTimeHasBeenSet() const { return m_endTimeHasBeenSet; }
131 template<typename EndTimeT = Aws::Utils::DateTime>
132 void SetEndTime(EndTimeT&& value) { m_endTimeHasBeenSet = true; m_endTime = std::forward<EndTimeT>(value); }
133 template<typename EndTimeT = Aws::Utils::DateTime>
134 TopicsDetectionJobProperties& WithEndTime(EndTimeT&& value) { SetEndTime(std::forward<EndTimeT>(value)); return *this;}
136
138
142 inline const InputDataConfig& GetInputDataConfig() const { return m_inputDataConfig; }
143 inline bool InputDataConfigHasBeenSet() const { return m_inputDataConfigHasBeenSet; }
144 template<typename InputDataConfigT = InputDataConfig>
145 void SetInputDataConfig(InputDataConfigT&& value) { m_inputDataConfigHasBeenSet = true; m_inputDataConfig = std::forward<InputDataConfigT>(value); }
146 template<typename InputDataConfigT = InputDataConfig>
147 TopicsDetectionJobProperties& WithInputDataConfig(InputDataConfigT&& value) { SetInputDataConfig(std::forward<InputDataConfigT>(value)); return *this;}
149
151
155 inline const OutputDataConfig& GetOutputDataConfig() const { return m_outputDataConfig; }
156 inline bool OutputDataConfigHasBeenSet() const { return m_outputDataConfigHasBeenSet; }
157 template<typename OutputDataConfigT = OutputDataConfig>
158 void SetOutputDataConfig(OutputDataConfigT&& value) { m_outputDataConfigHasBeenSet = true; m_outputDataConfig = std::forward<OutputDataConfigT>(value); }
159 template<typename OutputDataConfigT = OutputDataConfig>
160 TopicsDetectionJobProperties& WithOutputDataConfig(OutputDataConfigT&& value) { SetOutputDataConfig(std::forward<OutputDataConfigT>(value)); return *this;}
162
164
168 inline int GetNumberOfTopics() const { return m_numberOfTopics; }
169 inline bool NumberOfTopicsHasBeenSet() const { return m_numberOfTopicsHasBeenSet; }
170 inline void SetNumberOfTopics(int value) { m_numberOfTopicsHasBeenSet = true; m_numberOfTopics = value; }
171 inline TopicsDetectionJobProperties& WithNumberOfTopics(int value) { SetNumberOfTopics(value); return *this;}
173
175
179 inline const Aws::String& GetDataAccessRoleArn() const { return m_dataAccessRoleArn; }
180 inline bool DataAccessRoleArnHasBeenSet() const { return m_dataAccessRoleArnHasBeenSet; }
181 template<typename DataAccessRoleArnT = Aws::String>
182 void SetDataAccessRoleArn(DataAccessRoleArnT&& value) { m_dataAccessRoleArnHasBeenSet = true; m_dataAccessRoleArn = std::forward<DataAccessRoleArnT>(value); }
183 template<typename DataAccessRoleArnT = Aws::String>
184 TopicsDetectionJobProperties& WithDataAccessRoleArn(DataAccessRoleArnT&& value) { SetDataAccessRoleArn(std::forward<DataAccessRoleArnT>(value)); return *this;}
186
188
198 inline const Aws::String& GetVolumeKmsKeyId() const { return m_volumeKmsKeyId; }
199 inline bool VolumeKmsKeyIdHasBeenSet() const { return m_volumeKmsKeyIdHasBeenSet; }
200 template<typename VolumeKmsKeyIdT = Aws::String>
201 void SetVolumeKmsKeyId(VolumeKmsKeyIdT&& value) { m_volumeKmsKeyIdHasBeenSet = true; m_volumeKmsKeyId = std::forward<VolumeKmsKeyIdT>(value); }
202 template<typename VolumeKmsKeyIdT = Aws::String>
203 TopicsDetectionJobProperties& WithVolumeKmsKeyId(VolumeKmsKeyIdT&& value) { SetVolumeKmsKeyId(std::forward<VolumeKmsKeyIdT>(value)); return *this;}
205
207
214 inline const VpcConfig& GetVpcConfig() const { return m_vpcConfig; }
215 inline bool VpcConfigHasBeenSet() const { return m_vpcConfigHasBeenSet; }
216 template<typename VpcConfigT = VpcConfig>
217 void SetVpcConfig(VpcConfigT&& value) { m_vpcConfigHasBeenSet = true; m_vpcConfig = std::forward<VpcConfigT>(value); }
218 template<typename VpcConfigT = VpcConfig>
219 TopicsDetectionJobProperties& WithVpcConfig(VpcConfigT&& value) { SetVpcConfig(std::forward<VpcConfigT>(value)); return *this;}
221 private:
222
223 Aws::String m_jobId;
224 bool m_jobIdHasBeenSet = false;
225
226 Aws::String m_jobArn;
227 bool m_jobArnHasBeenSet = false;
228
229 Aws::String m_jobName;
230 bool m_jobNameHasBeenSet = false;
231
232 JobStatus m_jobStatus{JobStatus::NOT_SET};
233 bool m_jobStatusHasBeenSet = false;
234
235 Aws::String m_message;
236 bool m_messageHasBeenSet = false;
237
238 Aws::Utils::DateTime m_submitTime{};
239 bool m_submitTimeHasBeenSet = false;
240
241 Aws::Utils::DateTime m_endTime{};
242 bool m_endTimeHasBeenSet = false;
243
244 InputDataConfig m_inputDataConfig;
245 bool m_inputDataConfigHasBeenSet = false;
246
247 OutputDataConfig m_outputDataConfig;
248 bool m_outputDataConfigHasBeenSet = false;
249
250 int m_numberOfTopics{0};
251 bool m_numberOfTopicsHasBeenSet = false;
252
253 Aws::String m_dataAccessRoleArn;
254 bool m_dataAccessRoleArnHasBeenSet = false;
255
256 Aws::String m_volumeKmsKeyId;
257 bool m_volumeKmsKeyIdHasBeenSet = false;
258
259 VpcConfig m_vpcConfig;
260 bool m_vpcConfigHasBeenSet = false;
261 };
262
263} // namespace Model
264} // namespace Comprehend
265} // 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