AWS SDK for C++

AWS SDK for C++ Version 1.11.607

Loading...
Searching...
No Matches
KeyPhrasesDetectionJobProperties.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 KeyPhrasesDetectionJobProperties() = 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 KeyPhrasesDetectionJobProperties& 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 KeyPhrasesDetectionJobProperties& 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 KeyPhrasesDetectionJobProperties& 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 KeyPhrasesDetectionJobProperties& WithMessage(MessageT&& value) { SetMessage(std::forward<MessageT>(value)); return *this;}
113
115
118 inline const Aws::Utils::DateTime& GetSubmitTime() const { return m_submitTime; }
119 inline bool SubmitTimeHasBeenSet() const { return m_submitTimeHasBeenSet; }
120 template<typename SubmitTimeT = Aws::Utils::DateTime>
121 void SetSubmitTime(SubmitTimeT&& value) { m_submitTimeHasBeenSet = true; m_submitTime = std::forward<SubmitTimeT>(value); }
122 template<typename SubmitTimeT = Aws::Utils::DateTime>
123 KeyPhrasesDetectionJobProperties& WithSubmitTime(SubmitTimeT&& value) { SetSubmitTime(std::forward<SubmitTimeT>(value)); return *this;}
125
127
130 inline const Aws::Utils::DateTime& GetEndTime() const { return m_endTime; }
131 inline bool EndTimeHasBeenSet() const { return m_endTimeHasBeenSet; }
132 template<typename EndTimeT = Aws::Utils::DateTime>
133 void SetEndTime(EndTimeT&& value) { m_endTimeHasBeenSet = true; m_endTime = std::forward<EndTimeT>(value); }
134 template<typename EndTimeT = Aws::Utils::DateTime>
135 KeyPhrasesDetectionJobProperties& WithEndTime(EndTimeT&& value) { SetEndTime(std::forward<EndTimeT>(value)); return *this;}
137
139
143 inline const InputDataConfig& GetInputDataConfig() const { return m_inputDataConfig; }
144 inline bool InputDataConfigHasBeenSet() const { return m_inputDataConfigHasBeenSet; }
145 template<typename InputDataConfigT = InputDataConfig>
146 void SetInputDataConfig(InputDataConfigT&& value) { m_inputDataConfigHasBeenSet = true; m_inputDataConfig = std::forward<InputDataConfigT>(value); }
147 template<typename InputDataConfigT = InputDataConfig>
148 KeyPhrasesDetectionJobProperties& WithInputDataConfig(InputDataConfigT&& value) { SetInputDataConfig(std::forward<InputDataConfigT>(value)); return *this;}
150
152
156 inline const OutputDataConfig& GetOutputDataConfig() const { return m_outputDataConfig; }
157 inline bool OutputDataConfigHasBeenSet() const { return m_outputDataConfigHasBeenSet; }
158 template<typename OutputDataConfigT = OutputDataConfig>
159 void SetOutputDataConfig(OutputDataConfigT&& value) { m_outputDataConfigHasBeenSet = true; m_outputDataConfig = std::forward<OutputDataConfigT>(value); }
160 template<typename OutputDataConfigT = OutputDataConfig>
161 KeyPhrasesDetectionJobProperties& WithOutputDataConfig(OutputDataConfigT&& value) { SetOutputDataConfig(std::forward<OutputDataConfigT>(value)); return *this;}
163
165
168 inline LanguageCode GetLanguageCode() const { return m_languageCode; }
169 inline bool LanguageCodeHasBeenSet() const { return m_languageCodeHasBeenSet; }
170 inline void SetLanguageCode(LanguageCode value) { m_languageCodeHasBeenSet = true; m_languageCode = value; }
173
175
179 inline const Aws::String& GetDataAccessRoleArn() const { return m_dataAccessRoleArn; }
180 inline bool DataAccessRoleArnHasBeenSet() const { return m_dataAccessRoleArnHasBeenSet; }
181 template<typename DataAccessRoleArnT = Aws::String>
182 void SetDataAccessRoleArn(DataAccessRoleArnT&& value) { m_dataAccessRoleArnHasBeenSet = true; m_dataAccessRoleArn = std::forward<DataAccessRoleArnT>(value); }
183 template<typename DataAccessRoleArnT = Aws::String>
184 KeyPhrasesDetectionJobProperties& WithDataAccessRoleArn(DataAccessRoleArnT&& value) { SetDataAccessRoleArn(std::forward<DataAccessRoleArnT>(value)); return *this;}
186
188
197 inline const Aws::String& GetVolumeKmsKeyId() const { return m_volumeKmsKeyId; }
198 inline bool VolumeKmsKeyIdHasBeenSet() const { return m_volumeKmsKeyIdHasBeenSet; }
199 template<typename VolumeKmsKeyIdT = Aws::String>
200 void SetVolumeKmsKeyId(VolumeKmsKeyIdT&& value) { m_volumeKmsKeyIdHasBeenSet = true; m_volumeKmsKeyId = std::forward<VolumeKmsKeyIdT>(value); }
201 template<typename VolumeKmsKeyIdT = Aws::String>
202 KeyPhrasesDetectionJobProperties& WithVolumeKmsKeyId(VolumeKmsKeyIdT&& value) { SetVolumeKmsKeyId(std::forward<VolumeKmsKeyIdT>(value)); return *this;}
204
206
213 inline const VpcConfig& GetVpcConfig() const { return m_vpcConfig; }
214 inline bool VpcConfigHasBeenSet() const { return m_vpcConfigHasBeenSet; }
215 template<typename VpcConfigT = VpcConfig>
216 void SetVpcConfig(VpcConfigT&& value) { m_vpcConfigHasBeenSet = true; m_vpcConfig = std::forward<VpcConfigT>(value); }
217 template<typename VpcConfigT = VpcConfig>
218 KeyPhrasesDetectionJobProperties& WithVpcConfig(VpcConfigT&& value) { SetVpcConfig(std::forward<VpcConfigT>(value)); return *this;}
220 private:
221
222 Aws::String m_jobId;
223 bool m_jobIdHasBeenSet = false;
224
225 Aws::String m_jobArn;
226 bool m_jobArnHasBeenSet = false;
227
228 Aws::String m_jobName;
229 bool m_jobNameHasBeenSet = false;
230
231 JobStatus m_jobStatus{JobStatus::NOT_SET};
232 bool m_jobStatusHasBeenSet = false;
233
234 Aws::String m_message;
235 bool m_messageHasBeenSet = false;
236
237 Aws::Utils::DateTime m_submitTime{};
238 bool m_submitTimeHasBeenSet = false;
239
240 Aws::Utils::DateTime m_endTime{};
241 bool m_endTimeHasBeenSet = false;
242
243 InputDataConfig m_inputDataConfig;
244 bool m_inputDataConfigHasBeenSet = false;
245
246 OutputDataConfig m_outputDataConfig;
247 bool m_outputDataConfigHasBeenSet = false;
248
249 LanguageCode m_languageCode{LanguageCode::NOT_SET};
250 bool m_languageCodeHasBeenSet = false;
251
252 Aws::String m_dataAccessRoleArn;
253 bool m_dataAccessRoleArnHasBeenSet = false;
254
255 Aws::String m_volumeKmsKeyId;
256 bool m_volumeKmsKeyIdHasBeenSet = false;
257
258 VpcConfig m_vpcConfig;
259 bool m_vpcConfigHasBeenSet = false;
260 };
261
262} // namespace Model
263} // namespace Comprehend
264} // namespace Aws
AWS_COMPREHEND_API KeyPhrasesDetectionJobProperties & operator=(Aws::Utils::Json::JsonView jsonValue)
AWS_COMPREHEND_API KeyPhrasesDetectionJobProperties()=default
KeyPhrasesDetectionJobProperties & WithVpcConfig(VpcConfigT &&value)
AWS_COMPREHEND_API Aws::Utils::Json::JsonValue Jsonize() const
KeyPhrasesDetectionJobProperties & WithOutputDataConfig(OutputDataConfigT &&value)
KeyPhrasesDetectionJobProperties & WithEndTime(EndTimeT &&value)
KeyPhrasesDetectionJobProperties & WithInputDataConfig(InputDataConfigT &&value)
KeyPhrasesDetectionJobProperties & WithJobStatus(JobStatus value)
KeyPhrasesDetectionJobProperties & WithDataAccessRoleArn(DataAccessRoleArnT &&value)
KeyPhrasesDetectionJobProperties & WithMessage(MessageT &&value)
AWS_COMPREHEND_API KeyPhrasesDetectionJobProperties(Aws::Utils::Json::JsonView jsonValue)
KeyPhrasesDetectionJobProperties & WithVolumeKmsKeyId(VolumeKmsKeyIdT &&value)
KeyPhrasesDetectionJobProperties & WithJobName(JobNameT &&value)
KeyPhrasesDetectionJobProperties & WithJobId(JobIdT &&value)
KeyPhrasesDetectionJobProperties & WithLanguageCode(LanguageCode value)
KeyPhrasesDetectionJobProperties & WithSubmitTime(SubmitTimeT &&value)
KeyPhrasesDetectionJobProperties & WithJobArn(JobArnT &&value)
std::basic_string< char, std::char_traits< char >, Aws::Allocator< char > > String
Aws::Utils::Json::JsonValue JsonValue