AWS SDK for C++

AWS SDK for C++ Version 1.11.719

Loading...
Searching...
No Matches
SentimentDetectionJobProperties.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 SentimentDetectionJobProperties() = 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
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
216 inline LanguageCode GetLanguageCode() const { return m_languageCode; }
217 inline bool LanguageCodeHasBeenSet() const { return m_languageCodeHasBeenSet; }
218 inline void SetLanguageCode(LanguageCode value) {
219 m_languageCodeHasBeenSet = true;
220 m_languageCode = value;
221 }
223 SetLanguageCode(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 LanguageCode m_languageCode{LanguageCode::NOT_SET};
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_languageCodeHasBeenSet = 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
SentimentDetectionJobProperties & WithJobStatus(JobStatus value)
AWS_COMPREHEND_API SentimentDetectionJobProperties & operator=(Aws::Utils::Json::JsonView jsonValue)
SentimentDetectionJobProperties & WithVpcConfig(VpcConfigT &&value)
AWS_COMPREHEND_API SentimentDetectionJobProperties()=default
SentimentDetectionJobProperties & WithJobName(JobNameT &&value)
SentimentDetectionJobProperties & WithDataAccessRoleArn(DataAccessRoleArnT &&value)
SentimentDetectionJobProperties & WithJobArn(JobArnT &&value)
SentimentDetectionJobProperties & WithMessage(MessageT &&value)
SentimentDetectionJobProperties & WithEndTime(EndTimeT &&value)
SentimentDetectionJobProperties & WithInputDataConfig(InputDataConfigT &&value)
SentimentDetectionJobProperties & WithOutputDataConfig(OutputDataConfigT &&value)
SentimentDetectionJobProperties & WithJobId(JobIdT &&value)
SentimentDetectionJobProperties & WithVolumeKmsKeyId(VolumeKmsKeyIdT &&value)
SentimentDetectionJobProperties & WithSubmitTime(SubmitTimeT &&value)
AWS_COMPREHEND_API SentimentDetectionJobProperties(Aws::Utils::Json::JsonView jsonValue)
SentimentDetectionJobProperties & WithLanguageCode(LanguageCode 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