AWS SDK for C++

AWS SDK for C++ Version 1.11.440

Loading...
Searching...
No Matches
SentimentDetectionJobProperties.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/LanguageCode.h>
14#include <aws/comprehend/model/VpcConfig.h>
15#include <utility>
16
17namespace Aws
18{
19namespace Utils
20{
21namespace Json
22{
23 class JsonValue;
24 class JsonView;
25} // namespace Json
26} // namespace Utils
27namespace Comprehend
28{
29namespace Model
30{
31
39 {
40 public:
41 AWS_COMPREHEND_API SentimentDetectionJobProperties();
44 AWS_COMPREHEND_API Aws::Utils::Json::JsonValue Jsonize() const;
45
46
48
51 inline const Aws::String& GetJobId() const{ return m_jobId; }
52 inline bool JobIdHasBeenSet() const { return m_jobIdHasBeenSet; }
53 inline void SetJobId(const Aws::String& value) { m_jobIdHasBeenSet = true; m_jobId = value; }
54 inline void SetJobId(Aws::String&& value) { m_jobIdHasBeenSet = true; m_jobId = std::move(value); }
55 inline void SetJobId(const char* value) { m_jobIdHasBeenSet = true; m_jobId.assign(value); }
56 inline SentimentDetectionJobProperties& WithJobId(const Aws::String& value) { SetJobId(value); return *this;}
57 inline SentimentDetectionJobProperties& WithJobId(Aws::String&& value) { SetJobId(std::move(value)); return *this;}
58 inline SentimentDetectionJobProperties& WithJobId(const char* value) { SetJobId(value); return *this;}
60
62
72 inline const Aws::String& GetJobArn() const{ return m_jobArn; }
73 inline bool JobArnHasBeenSet() const { return m_jobArnHasBeenSet; }
74 inline void SetJobArn(const Aws::String& value) { m_jobArnHasBeenSet = true; m_jobArn = value; }
75 inline void SetJobArn(Aws::String&& value) { m_jobArnHasBeenSet = true; m_jobArn = std::move(value); }
76 inline void SetJobArn(const char* value) { m_jobArnHasBeenSet = true; m_jobArn.assign(value); }
77 inline SentimentDetectionJobProperties& WithJobArn(const Aws::String& value) { SetJobArn(value); return *this;}
78 inline SentimentDetectionJobProperties& WithJobArn(Aws::String&& value) { SetJobArn(std::move(value)); return *this;}
79 inline SentimentDetectionJobProperties& WithJobArn(const char* value) { SetJobArn(value); return *this;}
81
83
86 inline const Aws::String& GetJobName() const{ return m_jobName; }
87 inline bool JobNameHasBeenSet() const { return m_jobNameHasBeenSet; }
88 inline void SetJobName(const Aws::String& value) { m_jobNameHasBeenSet = true; m_jobName = value; }
89 inline void SetJobName(Aws::String&& value) { m_jobNameHasBeenSet = true; m_jobName = std::move(value); }
90 inline void SetJobName(const char* value) { m_jobNameHasBeenSet = true; m_jobName.assign(value); }
91 inline SentimentDetectionJobProperties& WithJobName(const Aws::String& value) { SetJobName(value); return *this;}
92 inline SentimentDetectionJobProperties& WithJobName(Aws::String&& value) { SetJobName(std::move(value)); return *this;}
93 inline SentimentDetectionJobProperties& WithJobName(const char* value) { SetJobName(value); return *this;}
95
97
102 inline const JobStatus& GetJobStatus() const{ return m_jobStatus; }
103 inline bool JobStatusHasBeenSet() const { return m_jobStatusHasBeenSet; }
104 inline void SetJobStatus(const JobStatus& value) { m_jobStatusHasBeenSet = true; m_jobStatus = value; }
105 inline void SetJobStatus(JobStatus&& value) { m_jobStatusHasBeenSet = true; m_jobStatus = std::move(value); }
106 inline SentimentDetectionJobProperties& WithJobStatus(const JobStatus& value) { SetJobStatus(value); return *this;}
107 inline SentimentDetectionJobProperties& WithJobStatus(JobStatus&& value) { SetJobStatus(std::move(value)); return *this;}
109
111
114 inline const Aws::String& GetMessage() const{ return m_message; }
115 inline bool MessageHasBeenSet() const { return m_messageHasBeenSet; }
116 inline void SetMessage(const Aws::String& value) { m_messageHasBeenSet = true; m_message = value; }
117 inline void SetMessage(Aws::String&& value) { m_messageHasBeenSet = true; m_message = std::move(value); }
118 inline void SetMessage(const char* value) { m_messageHasBeenSet = true; m_message.assign(value); }
119 inline SentimentDetectionJobProperties& WithMessage(const Aws::String& value) { SetMessage(value); return *this;}
120 inline SentimentDetectionJobProperties& WithMessage(Aws::String&& value) { SetMessage(std::move(value)); return *this;}
121 inline SentimentDetectionJobProperties& WithMessage(const char* value) { SetMessage(value); return *this;}
123
125
128 inline const Aws::Utils::DateTime& GetSubmitTime() const{ return m_submitTime; }
129 inline bool SubmitTimeHasBeenSet() const { return m_submitTimeHasBeenSet; }
130 inline void SetSubmitTime(const Aws::Utils::DateTime& value) { m_submitTimeHasBeenSet = true; m_submitTime = value; }
131 inline void SetSubmitTime(Aws::Utils::DateTime&& value) { m_submitTimeHasBeenSet = true; m_submitTime = std::move(value); }
133 inline SentimentDetectionJobProperties& WithSubmitTime(Aws::Utils::DateTime&& value) { SetSubmitTime(std::move(value)); return *this;}
135
137
140 inline const Aws::Utils::DateTime& GetEndTime() const{ return m_endTime; }
141 inline bool EndTimeHasBeenSet() const { return m_endTimeHasBeenSet; }
142 inline void SetEndTime(const Aws::Utils::DateTime& value) { m_endTimeHasBeenSet = true; m_endTime = value; }
143 inline void SetEndTime(Aws::Utils::DateTime&& value) { m_endTimeHasBeenSet = true; m_endTime = std::move(value); }
144 inline SentimentDetectionJobProperties& WithEndTime(const Aws::Utils::DateTime& value) { SetEndTime(value); return *this;}
145 inline SentimentDetectionJobProperties& WithEndTime(Aws::Utils::DateTime&& value) { SetEndTime(std::move(value)); return *this;}
147
149
153 inline const InputDataConfig& GetInputDataConfig() const{ return m_inputDataConfig; }
154 inline bool InputDataConfigHasBeenSet() const { return m_inputDataConfigHasBeenSet; }
155 inline void SetInputDataConfig(const InputDataConfig& value) { m_inputDataConfigHasBeenSet = true; m_inputDataConfig = value; }
156 inline void SetInputDataConfig(InputDataConfig&& value) { m_inputDataConfigHasBeenSet = true; m_inputDataConfig = std::move(value); }
160
162
166 inline const OutputDataConfig& GetOutputDataConfig() const{ return m_outputDataConfig; }
167 inline bool OutputDataConfigHasBeenSet() const { return m_outputDataConfigHasBeenSet; }
168 inline void SetOutputDataConfig(const OutputDataConfig& value) { m_outputDataConfigHasBeenSet = true; m_outputDataConfig = value; }
169 inline void SetOutputDataConfig(OutputDataConfig&& value) { m_outputDataConfigHasBeenSet = true; m_outputDataConfig = std::move(value); }
173
175
178 inline const LanguageCode& GetLanguageCode() const{ return m_languageCode; }
179 inline bool LanguageCodeHasBeenSet() const { return m_languageCodeHasBeenSet; }
180 inline void SetLanguageCode(const LanguageCode& value) { m_languageCodeHasBeenSet = true; m_languageCode = value; }
181 inline void SetLanguageCode(LanguageCode&& value) { m_languageCodeHasBeenSet = true; m_languageCode = std::move(value); }
183 inline SentimentDetectionJobProperties& WithLanguageCode(LanguageCode&& value) { SetLanguageCode(std::move(value)); return *this;}
185
187
191 inline const Aws::String& GetDataAccessRoleArn() const{ return m_dataAccessRoleArn; }
192 inline bool DataAccessRoleArnHasBeenSet() const { return m_dataAccessRoleArnHasBeenSet; }
193 inline void SetDataAccessRoleArn(const Aws::String& value) { m_dataAccessRoleArnHasBeenSet = true; m_dataAccessRoleArn = value; }
194 inline void SetDataAccessRoleArn(Aws::String&& value) { m_dataAccessRoleArnHasBeenSet = true; m_dataAccessRoleArn = std::move(value); }
195 inline void SetDataAccessRoleArn(const char* value) { m_dataAccessRoleArnHasBeenSet = true; m_dataAccessRoleArn.assign(value); }
198 inline SentimentDetectionJobProperties& WithDataAccessRoleArn(const char* value) { SetDataAccessRoleArn(value); return *this;}
200
202
212 inline const Aws::String& GetVolumeKmsKeyId() const{ return m_volumeKmsKeyId; }
213 inline bool VolumeKmsKeyIdHasBeenSet() const { return m_volumeKmsKeyIdHasBeenSet; }
214 inline void SetVolumeKmsKeyId(const Aws::String& value) { m_volumeKmsKeyIdHasBeenSet = true; m_volumeKmsKeyId = value; }
215 inline void SetVolumeKmsKeyId(Aws::String&& value) { m_volumeKmsKeyIdHasBeenSet = true; m_volumeKmsKeyId = std::move(value); }
216 inline void SetVolumeKmsKeyId(const char* value) { m_volumeKmsKeyIdHasBeenSet = true; m_volumeKmsKeyId.assign(value); }
218 inline SentimentDetectionJobProperties& WithVolumeKmsKeyId(Aws::String&& value) { SetVolumeKmsKeyId(std::move(value)); return *this;}
219 inline SentimentDetectionJobProperties& WithVolumeKmsKeyId(const char* value) { SetVolumeKmsKeyId(value); return *this;}
221
223
230 inline const VpcConfig& GetVpcConfig() const{ return m_vpcConfig; }
231 inline bool VpcConfigHasBeenSet() const { return m_vpcConfigHasBeenSet; }
232 inline void SetVpcConfig(const VpcConfig& value) { m_vpcConfigHasBeenSet = true; m_vpcConfig = value; }
233 inline void SetVpcConfig(VpcConfig&& value) { m_vpcConfigHasBeenSet = true; m_vpcConfig = std::move(value); }
234 inline SentimentDetectionJobProperties& WithVpcConfig(const VpcConfig& value) { SetVpcConfig(value); return *this;}
235 inline SentimentDetectionJobProperties& WithVpcConfig(VpcConfig&& value) { SetVpcConfig(std::move(value)); return *this;}
237 private:
238
239 Aws::String m_jobId;
240 bool m_jobIdHasBeenSet = false;
241
242 Aws::String m_jobArn;
243 bool m_jobArnHasBeenSet = false;
244
245 Aws::String m_jobName;
246 bool m_jobNameHasBeenSet = false;
247
248 JobStatus m_jobStatus;
249 bool m_jobStatusHasBeenSet = false;
250
251 Aws::String m_message;
252 bool m_messageHasBeenSet = false;
253
254 Aws::Utils::DateTime m_submitTime;
255 bool m_submitTimeHasBeenSet = false;
256
257 Aws::Utils::DateTime m_endTime;
258 bool m_endTimeHasBeenSet = false;
259
260 InputDataConfig m_inputDataConfig;
261 bool m_inputDataConfigHasBeenSet = false;
262
263 OutputDataConfig m_outputDataConfig;
264 bool m_outputDataConfigHasBeenSet = false;
265
266 LanguageCode m_languageCode;
267 bool m_languageCodeHasBeenSet = false;
268
269 Aws::String m_dataAccessRoleArn;
270 bool m_dataAccessRoleArnHasBeenSet = false;
271
272 Aws::String m_volumeKmsKeyId;
273 bool m_volumeKmsKeyIdHasBeenSet = false;
274
275 VpcConfig m_vpcConfig;
276 bool m_vpcConfigHasBeenSet = false;
277 };
278
279} // namespace Model
280} // namespace Comprehend
281} // namespace Aws
SentimentDetectionJobProperties & WithLanguageCode(const LanguageCode &value)
SentimentDetectionJobProperties & WithDataAccessRoleArn(const char *value)
SentimentDetectionJobProperties & WithMessage(const Aws::String &value)
SentimentDetectionJobProperties & WithEndTime(Aws::Utils::DateTime &&value)
SentimentDetectionJobProperties & WithMessage(Aws::String &&value)
SentimentDetectionJobProperties & WithVolumeKmsKeyId(const Aws::String &value)
SentimentDetectionJobProperties & WithJobArn(const char *value)
SentimentDetectionJobProperties & WithJobStatus(const JobStatus &value)
SentimentDetectionJobProperties & WithLanguageCode(LanguageCode &&value)
SentimentDetectionJobProperties & WithInputDataConfig(const InputDataConfig &value)
SentimentDetectionJobProperties & WithJobId(const Aws::String &value)
SentimentDetectionJobProperties & WithSubmitTime(const Aws::Utils::DateTime &value)
SentimentDetectionJobProperties & WithOutputDataConfig(OutputDataConfig &&value)
SentimentDetectionJobProperties & WithEndTime(const Aws::Utils::DateTime &value)
SentimentDetectionJobProperties & WithJobId(const char *value)
SentimentDetectionJobProperties & WithOutputDataConfig(const OutputDataConfig &value)
AWS_COMPREHEND_API SentimentDetectionJobProperties & operator=(Aws::Utils::Json::JsonView jsonValue)
SentimentDetectionJobProperties & WithVpcConfig(const VpcConfig &value)
SentimentDetectionJobProperties & WithDataAccessRoleArn(Aws::String &&value)
SentimentDetectionJobProperties & WithJobName(const char *value)
SentimentDetectionJobProperties & WithInputDataConfig(InputDataConfig &&value)
SentimentDetectionJobProperties & WithMessage(const char *value)
SentimentDetectionJobProperties & WithVolumeKmsKeyId(const char *value)
SentimentDetectionJobProperties & WithJobName(Aws::String &&value)
SentimentDetectionJobProperties & WithSubmitTime(Aws::Utils::DateTime &&value)
SentimentDetectionJobProperties & WithVolumeKmsKeyId(Aws::String &&value)
SentimentDetectionJobProperties & WithJobArn(Aws::String &&value)
SentimentDetectionJobProperties & WithJobName(const Aws::String &value)
SentimentDetectionJobProperties & WithJobStatus(JobStatus &&value)
SentimentDetectionJobProperties & WithVpcConfig(VpcConfig &&value)
SentimentDetectionJobProperties & WithDataAccessRoleArn(const Aws::String &value)
AWS_COMPREHEND_API SentimentDetectionJobProperties(Aws::Utils::Json::JsonView jsonValue)
SentimentDetectionJobProperties & WithJobArn(const Aws::String &value)
AWS_COMPREHEND_API Aws::Utils::Json::JsonValue Jsonize() const
SentimentDetectionJobProperties & WithJobId(Aws::String &&value)
std::basic_string< char, std::char_traits< char >, Aws::Allocator< char > > String
Aws::Utils::Json::JsonValue JsonValue