AWS SDK for C++

AWS SDK for C++ Version 1.11.686

Loading...
Searching...
No Matches
TargetedSentimentDetectionJobProperties.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/LanguageCode.h>
11#include <aws/comprehend/model/OutputDataConfig.h>
12#include <aws/comprehend/model/VpcConfig.h>
13#include <aws/core/utils/DateTime.h>
14#include <aws/core/utils/memory/stl/AWSString.h>
15
16#include <utility>
17
18namespace Aws {
19namespace Utils {
20namespace Json {
21class JsonValue;
22class JsonView;
23} // namespace Json
24} // namespace Utils
25namespace Comprehend {
26namespace Model {
27
35 public:
36 AWS_COMPREHEND_API TargetedSentimentDetectionJobProperties() = default;
39 AWS_COMPREHEND_API Aws::Utils::Json::JsonValue Jsonize() const;
40
42
45 inline const Aws::String& GetJobId() const { return m_jobId; }
46 inline bool JobIdHasBeenSet() const { return m_jobIdHasBeenSet; }
47 template <typename JobIdT = Aws::String>
48 void SetJobId(JobIdT&& value) {
49 m_jobIdHasBeenSet = true;
50 m_jobId = std::forward<JobIdT>(value);
51 }
52 template <typename JobIdT = Aws::String>
54 SetJobId(std::forward<JobIdT>(value));
55 return *this;
56 }
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) {
74 m_jobArnHasBeenSet = true;
75 m_jobArn = std::forward<JobArnT>(value);
76 }
77 template <typename JobArnT = Aws::String>
79 SetJobArn(std::forward<JobArnT>(value));
80 return *this;
81 }
83
85
88 inline const Aws::String& GetJobName() const { return m_jobName; }
89 inline bool JobNameHasBeenSet() const { return m_jobNameHasBeenSet; }
90 template <typename JobNameT = Aws::String>
91 void SetJobName(JobNameT&& value) {
92 m_jobNameHasBeenSet = true;
93 m_jobName = std::forward<JobNameT>(value);
94 }
95 template <typename JobNameT = Aws::String>
97 SetJobName(std::forward<JobNameT>(value));
98 return *this;
99 }
101
103
108 inline JobStatus GetJobStatus() const { return m_jobStatus; }
109 inline bool JobStatusHasBeenSet() const { return m_jobStatusHasBeenSet; }
110 inline void SetJobStatus(JobStatus value) {
111 m_jobStatusHasBeenSet = true;
112 m_jobStatus = value;
113 }
115 SetJobStatus(value);
116 return *this;
117 }
119
121
124 inline const Aws::String& GetMessage() const { return m_message; }
125 inline bool MessageHasBeenSet() const { return m_messageHasBeenSet; }
126 template <typename MessageT = Aws::String>
127 void SetMessage(MessageT&& value) {
128 m_messageHasBeenSet = true;
129 m_message = std::forward<MessageT>(value);
130 }
131 template <typename MessageT = Aws::String>
133 SetMessage(std::forward<MessageT>(value));
134 return *this;
135 }
137
139
143 inline const Aws::Utils::DateTime& GetSubmitTime() const { return m_submitTime; }
144 inline bool SubmitTimeHasBeenSet() const { return m_submitTimeHasBeenSet; }
145 template <typename SubmitTimeT = Aws::Utils::DateTime>
146 void SetSubmitTime(SubmitTimeT&& value) {
147 m_submitTimeHasBeenSet = true;
148 m_submitTime = std::forward<SubmitTimeT>(value);
149 }
150 template <typename SubmitTimeT = Aws::Utils::DateTime>
152 SetSubmitTime(std::forward<SubmitTimeT>(value));
153 return *this;
154 }
156
158
161 inline const Aws::Utils::DateTime& GetEndTime() const { return m_endTime; }
162 inline bool EndTimeHasBeenSet() const { return m_endTimeHasBeenSet; }
163 template <typename EndTimeT = Aws::Utils::DateTime>
164 void SetEndTime(EndTimeT&& value) {
165 m_endTimeHasBeenSet = true;
166 m_endTime = std::forward<EndTimeT>(value);
167 }
168 template <typename EndTimeT = Aws::Utils::DateTime>
170 SetEndTime(std::forward<EndTimeT>(value));
171 return *this;
172 }
174
176
177 inline const InputDataConfig& GetInputDataConfig() const { return m_inputDataConfig; }
178 inline bool InputDataConfigHasBeenSet() const { return m_inputDataConfigHasBeenSet; }
179 template <typename InputDataConfigT = InputDataConfig>
180 void SetInputDataConfig(InputDataConfigT&& value) {
181 m_inputDataConfigHasBeenSet = true;
182 m_inputDataConfig = std::forward<InputDataConfigT>(value);
183 }
184 template <typename InputDataConfigT = InputDataConfig>
186 SetInputDataConfig(std::forward<InputDataConfigT>(value));
187 return *this;
188 }
190
192
193 inline const OutputDataConfig& GetOutputDataConfig() const { return m_outputDataConfig; }
194 inline bool OutputDataConfigHasBeenSet() const { return m_outputDataConfigHasBeenSet; }
195 template <typename OutputDataConfigT = OutputDataConfig>
196 void SetOutputDataConfig(OutputDataConfigT&& value) {
197 m_outputDataConfigHasBeenSet = true;
198 m_outputDataConfig = std::forward<OutputDataConfigT>(value);
199 }
200 template <typename OutputDataConfigT = OutputDataConfig>
202 SetOutputDataConfig(std::forward<OutputDataConfigT>(value));
203 return *this;
204 }
206
208
211 inline LanguageCode GetLanguageCode() const { return m_languageCode; }
212 inline bool LanguageCodeHasBeenSet() const { return m_languageCodeHasBeenSet; }
213 inline void SetLanguageCode(LanguageCode value) {
214 m_languageCodeHasBeenSet = true;
215 m_languageCode = value;
216 }
218 SetLanguageCode(value);
219 return *this;
220 }
222
224
228 inline const Aws::String& GetDataAccessRoleArn() const { return m_dataAccessRoleArn; }
229 inline bool DataAccessRoleArnHasBeenSet() const { return m_dataAccessRoleArnHasBeenSet; }
230 template <typename DataAccessRoleArnT = Aws::String>
231 void SetDataAccessRoleArn(DataAccessRoleArnT&& value) {
232 m_dataAccessRoleArnHasBeenSet = true;
233 m_dataAccessRoleArn = std::forward<DataAccessRoleArnT>(value);
234 }
235 template <typename DataAccessRoleArnT = Aws::String>
237 SetDataAccessRoleArn(std::forward<DataAccessRoleArnT>(value));
238 return *this;
239 }
241
243
253 inline const Aws::String& GetVolumeKmsKeyId() const { return m_volumeKmsKeyId; }
254 inline bool VolumeKmsKeyIdHasBeenSet() const { return m_volumeKmsKeyIdHasBeenSet; }
255 template <typename VolumeKmsKeyIdT = Aws::String>
256 void SetVolumeKmsKeyId(VolumeKmsKeyIdT&& value) {
257 m_volumeKmsKeyIdHasBeenSet = true;
258 m_volumeKmsKeyId = std::forward<VolumeKmsKeyIdT>(value);
259 }
260 template <typename VolumeKmsKeyIdT = Aws::String>
262 SetVolumeKmsKeyId(std::forward<VolumeKmsKeyIdT>(value));
263 return *this;
264 }
266
268
269 inline const VpcConfig& GetVpcConfig() const { return m_vpcConfig; }
270 inline bool VpcConfigHasBeenSet() const { return m_vpcConfigHasBeenSet; }
271 template <typename VpcConfigT = VpcConfig>
272 void SetVpcConfig(VpcConfigT&& value) {
273 m_vpcConfigHasBeenSet = true;
274 m_vpcConfig = std::forward<VpcConfigT>(value);
275 }
276 template <typename VpcConfigT = VpcConfig>
278 SetVpcConfig(std::forward<VpcConfigT>(value));
279 return *this;
280 }
282 private:
283 Aws::String m_jobId;
284 bool m_jobIdHasBeenSet = false;
285
286 Aws::String m_jobArn;
287 bool m_jobArnHasBeenSet = false;
288
289 Aws::String m_jobName;
290 bool m_jobNameHasBeenSet = false;
291
292 JobStatus m_jobStatus{JobStatus::NOT_SET};
293 bool m_jobStatusHasBeenSet = false;
294
295 Aws::String m_message;
296 bool m_messageHasBeenSet = false;
297
298 Aws::Utils::DateTime m_submitTime{};
299 bool m_submitTimeHasBeenSet = false;
300
301 Aws::Utils::DateTime m_endTime{};
302 bool m_endTimeHasBeenSet = false;
303
304 InputDataConfig m_inputDataConfig;
305 bool m_inputDataConfigHasBeenSet = false;
306
307 OutputDataConfig m_outputDataConfig;
308 bool m_outputDataConfigHasBeenSet = false;
309
310 LanguageCode m_languageCode{LanguageCode::NOT_SET};
311 bool m_languageCodeHasBeenSet = false;
312
313 Aws::String m_dataAccessRoleArn;
314 bool m_dataAccessRoleArnHasBeenSet = false;
315
316 Aws::String m_volumeKmsKeyId;
317 bool m_volumeKmsKeyIdHasBeenSet = false;
318
319 VpcConfig m_vpcConfig;
320 bool m_vpcConfigHasBeenSet = false;
321};
322
323} // namespace Model
324} // namespace Comprehend
325} // namespace Aws
TargetedSentimentDetectionJobProperties & WithJobStatus(JobStatus value)
AWS_COMPREHEND_API Aws::Utils::Json::JsonValue Jsonize() const
TargetedSentimentDetectionJobProperties & WithSubmitTime(SubmitTimeT &&value)
TargetedSentimentDetectionJobProperties & WithOutputDataConfig(OutputDataConfigT &&value)
TargetedSentimentDetectionJobProperties & WithLanguageCode(LanguageCode value)
TargetedSentimentDetectionJobProperties & WithJobArn(JobArnT &&value)
TargetedSentimentDetectionJobProperties & WithVpcConfig(VpcConfigT &&value)
TargetedSentimentDetectionJobProperties & WithVolumeKmsKeyId(VolumeKmsKeyIdT &&value)
TargetedSentimentDetectionJobProperties & WithJobName(JobNameT &&value)
AWS_COMPREHEND_API TargetedSentimentDetectionJobProperties & operator=(Aws::Utils::Json::JsonView jsonValue)
TargetedSentimentDetectionJobProperties & WithDataAccessRoleArn(DataAccessRoleArnT &&value)
TargetedSentimentDetectionJobProperties & WithMessage(MessageT &&value)
TargetedSentimentDetectionJobProperties & WithInputDataConfig(InputDataConfigT &&value)
AWS_COMPREHEND_API TargetedSentimentDetectionJobProperties(Aws::Utils::Json::JsonView jsonValue)
TargetedSentimentDetectionJobProperties & WithEndTime(EndTimeT &&value)
std::basic_string< char, std::char_traits< char >, Aws::Allocator< char > > String
Aws::Utils::Json::JsonValue JsonValue