AWS SDK for C++

AWS SDK for C++ Version 1.11.612

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:
41 AWS_COMPREHEND_API TargetedSentimentDetectionJobProperties() = default;
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 template<typename JobIdT = Aws::String>
54 void SetJobId(JobIdT&& value) { m_jobIdHasBeenSet = true; m_jobId = std::forward<JobIdT>(value); }
55 template<typename JobIdT = Aws::String>
56 TargetedSentimentDetectionJobProperties& WithJobId(JobIdT&& value) { SetJobId(std::forward<JobIdT>(value)); return *this;}
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) { m_jobArnHasBeenSet = true; m_jobArn = std::forward<JobArnT>(value); }
74 template<typename JobArnT = Aws::String>
75 TargetedSentimentDetectionJobProperties& WithJobArn(JobArnT&& value) { SetJobArn(std::forward<JobArnT>(value)); return *this;}
77
79
82 inline const Aws::String& GetJobName() const { return m_jobName; }
83 inline bool JobNameHasBeenSet() const { return m_jobNameHasBeenSet; }
84 template<typename JobNameT = Aws::String>
85 void SetJobName(JobNameT&& value) { m_jobNameHasBeenSet = true; m_jobName = std::forward<JobNameT>(value); }
86 template<typename JobNameT = Aws::String>
87 TargetedSentimentDetectionJobProperties& WithJobName(JobNameT&& value) { SetJobName(std::forward<JobNameT>(value)); return *this;}
89
91
96 inline JobStatus GetJobStatus() const { return m_jobStatus; }
97 inline bool JobStatusHasBeenSet() const { return m_jobStatusHasBeenSet; }
98 inline void SetJobStatus(JobStatus value) { m_jobStatusHasBeenSet = true; m_jobStatus = value; }
101
103
106 inline const Aws::String& GetMessage() const { return m_message; }
107 inline bool MessageHasBeenSet() const { return m_messageHasBeenSet; }
108 template<typename MessageT = Aws::String>
109 void SetMessage(MessageT&& value) { m_messageHasBeenSet = true; m_message = std::forward<MessageT>(value); }
110 template<typename MessageT = Aws::String>
111 TargetedSentimentDetectionJobProperties& WithMessage(MessageT&& value) { SetMessage(std::forward<MessageT>(value)); return *this;}
113
115
119 inline const Aws::Utils::DateTime& GetSubmitTime() const { return m_submitTime; }
120 inline bool SubmitTimeHasBeenSet() const { return m_submitTimeHasBeenSet; }
121 template<typename SubmitTimeT = Aws::Utils::DateTime>
122 void SetSubmitTime(SubmitTimeT&& value) { m_submitTimeHasBeenSet = true; m_submitTime = std::forward<SubmitTimeT>(value); }
123 template<typename SubmitTimeT = Aws::Utils::DateTime>
124 TargetedSentimentDetectionJobProperties& WithSubmitTime(SubmitTimeT&& value) { SetSubmitTime(std::forward<SubmitTimeT>(value)); return *this;}
126
128
131 inline const Aws::Utils::DateTime& GetEndTime() const { return m_endTime; }
132 inline bool EndTimeHasBeenSet() const { return m_endTimeHasBeenSet; }
133 template<typename EndTimeT = Aws::Utils::DateTime>
134 void SetEndTime(EndTimeT&& value) { m_endTimeHasBeenSet = true; m_endTime = std::forward<EndTimeT>(value); }
135 template<typename EndTimeT = Aws::Utils::DateTime>
136 TargetedSentimentDetectionJobProperties& WithEndTime(EndTimeT&& value) { SetEndTime(std::forward<EndTimeT>(value)); return *this;}
138
140
141 inline const InputDataConfig& GetInputDataConfig() const { return m_inputDataConfig; }
142 inline bool InputDataConfigHasBeenSet() const { return m_inputDataConfigHasBeenSet; }
143 template<typename InputDataConfigT = InputDataConfig>
144 void SetInputDataConfig(InputDataConfigT&& value) { m_inputDataConfigHasBeenSet = true; m_inputDataConfig = std::forward<InputDataConfigT>(value); }
145 template<typename InputDataConfigT = InputDataConfig>
146 TargetedSentimentDetectionJobProperties& WithInputDataConfig(InputDataConfigT&& value) { SetInputDataConfig(std::forward<InputDataConfigT>(value)); return *this;}
148
150
151 inline const OutputDataConfig& GetOutputDataConfig() const { return m_outputDataConfig; }
152 inline bool OutputDataConfigHasBeenSet() const { return m_outputDataConfigHasBeenSet; }
153 template<typename OutputDataConfigT = OutputDataConfig>
154 void SetOutputDataConfig(OutputDataConfigT&& value) { m_outputDataConfigHasBeenSet = true; m_outputDataConfig = std::forward<OutputDataConfigT>(value); }
155 template<typename OutputDataConfigT = OutputDataConfig>
156 TargetedSentimentDetectionJobProperties& WithOutputDataConfig(OutputDataConfigT&& value) { SetOutputDataConfig(std::forward<OutputDataConfigT>(value)); return *this;}
158
160
163 inline LanguageCode GetLanguageCode() const { return m_languageCode; }
164 inline bool LanguageCodeHasBeenSet() const { return m_languageCodeHasBeenSet; }
165 inline void SetLanguageCode(LanguageCode value) { m_languageCodeHasBeenSet = true; m_languageCode = value; }
168
170
174 inline const Aws::String& GetDataAccessRoleArn() const { return m_dataAccessRoleArn; }
175 inline bool DataAccessRoleArnHasBeenSet() const { return m_dataAccessRoleArnHasBeenSet; }
176 template<typename DataAccessRoleArnT = Aws::String>
177 void SetDataAccessRoleArn(DataAccessRoleArnT&& value) { m_dataAccessRoleArnHasBeenSet = true; m_dataAccessRoleArn = std::forward<DataAccessRoleArnT>(value); }
178 template<typename DataAccessRoleArnT = Aws::String>
179 TargetedSentimentDetectionJobProperties& WithDataAccessRoleArn(DataAccessRoleArnT&& value) { SetDataAccessRoleArn(std::forward<DataAccessRoleArnT>(value)); return *this;}
181
183
193 inline const Aws::String& GetVolumeKmsKeyId() const { return m_volumeKmsKeyId; }
194 inline bool VolumeKmsKeyIdHasBeenSet() const { return m_volumeKmsKeyIdHasBeenSet; }
195 template<typename VolumeKmsKeyIdT = Aws::String>
196 void SetVolumeKmsKeyId(VolumeKmsKeyIdT&& value) { m_volumeKmsKeyIdHasBeenSet = true; m_volumeKmsKeyId = std::forward<VolumeKmsKeyIdT>(value); }
197 template<typename VolumeKmsKeyIdT = Aws::String>
198 TargetedSentimentDetectionJobProperties& WithVolumeKmsKeyId(VolumeKmsKeyIdT&& value) { SetVolumeKmsKeyId(std::forward<VolumeKmsKeyIdT>(value)); return *this;}
200
202
203 inline const VpcConfig& GetVpcConfig() const { return m_vpcConfig; }
204 inline bool VpcConfigHasBeenSet() const { return m_vpcConfigHasBeenSet; }
205 template<typename VpcConfigT = VpcConfig>
206 void SetVpcConfig(VpcConfigT&& value) { m_vpcConfigHasBeenSet = true; m_vpcConfig = std::forward<VpcConfigT>(value); }
207 template<typename VpcConfigT = VpcConfig>
208 TargetedSentimentDetectionJobProperties& WithVpcConfig(VpcConfigT&& value) { SetVpcConfig(std::forward<VpcConfigT>(value)); return *this;}
210 private:
211
212 Aws::String m_jobId;
213 bool m_jobIdHasBeenSet = false;
214
215 Aws::String m_jobArn;
216 bool m_jobArnHasBeenSet = false;
217
218 Aws::String m_jobName;
219 bool m_jobNameHasBeenSet = false;
220
221 JobStatus m_jobStatus{JobStatus::NOT_SET};
222 bool m_jobStatusHasBeenSet = false;
223
224 Aws::String m_message;
225 bool m_messageHasBeenSet = false;
226
227 Aws::Utils::DateTime m_submitTime{};
228 bool m_submitTimeHasBeenSet = false;
229
230 Aws::Utils::DateTime m_endTime{};
231 bool m_endTimeHasBeenSet = false;
232
233 InputDataConfig m_inputDataConfig;
234 bool m_inputDataConfigHasBeenSet = false;
235
236 OutputDataConfig m_outputDataConfig;
237 bool m_outputDataConfigHasBeenSet = false;
238
239 LanguageCode m_languageCode{LanguageCode::NOT_SET};
240 bool m_languageCodeHasBeenSet = false;
241
242 Aws::String m_dataAccessRoleArn;
243 bool m_dataAccessRoleArnHasBeenSet = false;
244
245 Aws::String m_volumeKmsKeyId;
246 bool m_volumeKmsKeyIdHasBeenSet = false;
247
248 VpcConfig m_vpcConfig;
249 bool m_vpcConfigHasBeenSet = false;
250 };
251
252} // namespace Model
253} // namespace Comprehend
254} // 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