AWS SDK for C++

AWS SDK for C++ Version 1.11.440

Loading...
Searching...
No Matches
TargetedSentimentDetectionJobProperties.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:
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 TargetedSentimentDetectionJobProperties& WithJobId(const Aws::String& value) { SetJobId(value); return *this;}
57 inline TargetedSentimentDetectionJobProperties& WithJobId(Aws::String&& value) { SetJobId(std::move(value)); return *this;}
58 inline TargetedSentimentDetectionJobProperties& 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 TargetedSentimentDetectionJobProperties& WithJobArn(const Aws::String& value) { SetJobArn(value); return *this;}
78 inline TargetedSentimentDetectionJobProperties& WithJobArn(Aws::String&& value) { SetJobArn(std::move(value)); return *this;}
79 inline TargetedSentimentDetectionJobProperties& 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 TargetedSentimentDetectionJobProperties& WithJobName(const Aws::String& value) { SetJobName(value); return *this;}
92 inline TargetedSentimentDetectionJobProperties& WithJobName(Aws::String&& value) { SetJobName(std::move(value)); return *this;}
93 inline TargetedSentimentDetectionJobProperties& 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); }
107 inline TargetedSentimentDetectionJobProperties& 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 TargetedSentimentDetectionJobProperties& WithMessage(const Aws::String& value) { SetMessage(value); return *this;}
120 inline TargetedSentimentDetectionJobProperties& WithMessage(Aws::String&& value) { SetMessage(std::move(value)); return *this;}
121 inline TargetedSentimentDetectionJobProperties& WithMessage(const char* value) { SetMessage(value); return *this;}
123
125
129 inline const Aws::Utils::DateTime& GetSubmitTime() const{ return m_submitTime; }
130 inline bool SubmitTimeHasBeenSet() const { return m_submitTimeHasBeenSet; }
131 inline void SetSubmitTime(const Aws::Utils::DateTime& value) { m_submitTimeHasBeenSet = true; m_submitTime = value; }
132 inline void SetSubmitTime(Aws::Utils::DateTime&& value) { m_submitTimeHasBeenSet = true; m_submitTime = std::move(value); }
136
138
141 inline const Aws::Utils::DateTime& GetEndTime() const{ return m_endTime; }
142 inline bool EndTimeHasBeenSet() const { return m_endTimeHasBeenSet; }
143 inline void SetEndTime(const Aws::Utils::DateTime& value) { m_endTimeHasBeenSet = true; m_endTime = value; }
144 inline void SetEndTime(Aws::Utils::DateTime&& value) { m_endTimeHasBeenSet = true; m_endTime = std::move(value); }
146 inline TargetedSentimentDetectionJobProperties& WithEndTime(Aws::Utils::DateTime&& value) { SetEndTime(std::move(value)); return *this;}
148
150
151 inline const InputDataConfig& GetInputDataConfig() const{ return m_inputDataConfig; }
152 inline bool InputDataConfigHasBeenSet() const { return m_inputDataConfigHasBeenSet; }
153 inline void SetInputDataConfig(const InputDataConfig& value) { m_inputDataConfigHasBeenSet = true; m_inputDataConfig = value; }
154 inline void SetInputDataConfig(InputDataConfig&& value) { m_inputDataConfigHasBeenSet = true; m_inputDataConfig = std::move(value); }
158
160
161 inline const OutputDataConfig& GetOutputDataConfig() const{ return m_outputDataConfig; }
162 inline bool OutputDataConfigHasBeenSet() const { return m_outputDataConfigHasBeenSet; }
163 inline void SetOutputDataConfig(const OutputDataConfig& value) { m_outputDataConfigHasBeenSet = true; m_outputDataConfig = value; }
164 inline void SetOutputDataConfig(OutputDataConfig&& value) { m_outputDataConfigHasBeenSet = true; m_outputDataConfig = std::move(value); }
168
170
173 inline const LanguageCode& GetLanguageCode() const{ return m_languageCode; }
174 inline bool LanguageCodeHasBeenSet() const { return m_languageCodeHasBeenSet; }
175 inline void SetLanguageCode(const LanguageCode& value) { m_languageCodeHasBeenSet = true; m_languageCode = value; }
176 inline void SetLanguageCode(LanguageCode&& value) { m_languageCodeHasBeenSet = true; m_languageCode = std::move(value); }
180
182
186 inline const Aws::String& GetDataAccessRoleArn() const{ return m_dataAccessRoleArn; }
187 inline bool DataAccessRoleArnHasBeenSet() const { return m_dataAccessRoleArnHasBeenSet; }
188 inline void SetDataAccessRoleArn(const Aws::String& value) { m_dataAccessRoleArnHasBeenSet = true; m_dataAccessRoleArn = value; }
189 inline void SetDataAccessRoleArn(Aws::String&& value) { m_dataAccessRoleArnHasBeenSet = true; m_dataAccessRoleArn = std::move(value); }
190 inline void SetDataAccessRoleArn(const char* value) { m_dataAccessRoleArnHasBeenSet = true; m_dataAccessRoleArn.assign(value); }
195
197
207 inline const Aws::String& GetVolumeKmsKeyId() const{ return m_volumeKmsKeyId; }
208 inline bool VolumeKmsKeyIdHasBeenSet() const { return m_volumeKmsKeyIdHasBeenSet; }
209 inline void SetVolumeKmsKeyId(const Aws::String& value) { m_volumeKmsKeyIdHasBeenSet = true; m_volumeKmsKeyId = value; }
210 inline void SetVolumeKmsKeyId(Aws::String&& value) { m_volumeKmsKeyIdHasBeenSet = true; m_volumeKmsKeyId = std::move(value); }
211 inline void SetVolumeKmsKeyId(const char* value) { m_volumeKmsKeyIdHasBeenSet = true; m_volumeKmsKeyId.assign(value); }
214 inline TargetedSentimentDetectionJobProperties& WithVolumeKmsKeyId(const char* value) { SetVolumeKmsKeyId(value); return *this;}
216
218
219 inline const VpcConfig& GetVpcConfig() const{ return m_vpcConfig; }
220 inline bool VpcConfigHasBeenSet() const { return m_vpcConfigHasBeenSet; }
221 inline void SetVpcConfig(const VpcConfig& value) { m_vpcConfigHasBeenSet = true; m_vpcConfig = value; }
222 inline void SetVpcConfig(VpcConfig&& value) { m_vpcConfigHasBeenSet = true; m_vpcConfig = std::move(value); }
224 inline TargetedSentimentDetectionJobProperties& WithVpcConfig(VpcConfig&& value) { SetVpcConfig(std::move(value)); return *this;}
226 private:
227
228 Aws::String m_jobId;
229 bool m_jobIdHasBeenSet = false;
230
231 Aws::String m_jobArn;
232 bool m_jobArnHasBeenSet = false;
233
234 Aws::String m_jobName;
235 bool m_jobNameHasBeenSet = false;
236
237 JobStatus m_jobStatus;
238 bool m_jobStatusHasBeenSet = false;
239
240 Aws::String m_message;
241 bool m_messageHasBeenSet = false;
242
243 Aws::Utils::DateTime m_submitTime;
244 bool m_submitTimeHasBeenSet = false;
245
246 Aws::Utils::DateTime m_endTime;
247 bool m_endTimeHasBeenSet = false;
248
249 InputDataConfig m_inputDataConfig;
250 bool m_inputDataConfigHasBeenSet = false;
251
252 OutputDataConfig m_outputDataConfig;
253 bool m_outputDataConfigHasBeenSet = false;
254
255 LanguageCode m_languageCode;
256 bool m_languageCodeHasBeenSet = false;
257
258 Aws::String m_dataAccessRoleArn;
259 bool m_dataAccessRoleArnHasBeenSet = false;
260
261 Aws::String m_volumeKmsKeyId;
262 bool m_volumeKmsKeyIdHasBeenSet = false;
263
264 VpcConfig m_vpcConfig;
265 bool m_vpcConfigHasBeenSet = false;
266 };
267
268} // namespace Model
269} // namespace Comprehend
270} // namespace Aws
TargetedSentimentDetectionJobProperties & WithSubmitTime(const Aws::Utils::DateTime &value)
TargetedSentimentDetectionJobProperties & WithJobStatus(const JobStatus &value)
TargetedSentimentDetectionJobProperties & WithVolumeKmsKeyId(Aws::String &&value)
TargetedSentimentDetectionJobProperties & WithMessage(const char *value)
TargetedSentimentDetectionJobProperties & WithJobArn(Aws::String &&value)
TargetedSentimentDetectionJobProperties & WithOutputDataConfig(const OutputDataConfig &value)
AWS_COMPREHEND_API Aws::Utils::Json::JsonValue Jsonize() const
TargetedSentimentDetectionJobProperties & WithDataAccessRoleArn(Aws::String &&value)
TargetedSentimentDetectionJobProperties & WithJobName(const Aws::String &value)
TargetedSentimentDetectionJobProperties & WithJobId(const char *value)
TargetedSentimentDetectionJobProperties & WithDataAccessRoleArn(const char *value)
TargetedSentimentDetectionJobProperties & WithVpcConfig(VpcConfig &&value)
TargetedSentimentDetectionJobProperties & WithVolumeKmsKeyId(const Aws::String &value)
TargetedSentimentDetectionJobProperties & WithLanguageCode(const LanguageCode &value)
TargetedSentimentDetectionJobProperties & WithJobArn(const char *value)
TargetedSentimentDetectionJobProperties & WithJobArn(const Aws::String &value)
TargetedSentimentDetectionJobProperties & WithMessage(Aws::String &&value)
TargetedSentimentDetectionJobProperties & WithJobId(const Aws::String &value)
AWS_COMPREHEND_API TargetedSentimentDetectionJobProperties & operator=(Aws::Utils::Json::JsonView jsonValue)
TargetedSentimentDetectionJobProperties & WithEndTime(Aws::Utils::DateTime &&value)
TargetedSentimentDetectionJobProperties & WithLanguageCode(LanguageCode &&value)
TargetedSentimentDetectionJobProperties & WithJobName(const char *value)
TargetedSentimentDetectionJobProperties & WithMessage(const Aws::String &value)
TargetedSentimentDetectionJobProperties & WithVolumeKmsKeyId(const char *value)
TargetedSentimentDetectionJobProperties & WithInputDataConfig(InputDataConfig &&value)
TargetedSentimentDetectionJobProperties & WithJobId(Aws::String &&value)
TargetedSentimentDetectionJobProperties & WithEndTime(const Aws::Utils::DateTime &value)
TargetedSentimentDetectionJobProperties & WithJobName(Aws::String &&value)
TargetedSentimentDetectionJobProperties & WithJobStatus(JobStatus &&value)
TargetedSentimentDetectionJobProperties & WithSubmitTime(Aws::Utils::DateTime &&value)
AWS_COMPREHEND_API TargetedSentimentDetectionJobProperties(Aws::Utils::Json::JsonView jsonValue)
TargetedSentimentDetectionJobProperties & WithDataAccessRoleArn(const Aws::String &value)
TargetedSentimentDetectionJobProperties & WithVpcConfig(const VpcConfig &value)
TargetedSentimentDetectionJobProperties & WithOutputDataConfig(OutputDataConfig &&value)
TargetedSentimentDetectionJobProperties & WithInputDataConfig(const InputDataConfig &value)
std::basic_string< char, std::char_traits< char >, Aws::Allocator< char > > String
Aws::Utils::Json::JsonValue JsonValue