AWS SDK for C++

AWS SDK for C++ Version 1.11.612

Loading...
Searching...
No Matches
DominantLanguageDetectionJobProperties.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/VpcConfig.h>
14#include <utility>
15
16namespace Aws
17{
18namespace Utils
19{
20namespace Json
21{
22 class JsonValue;
23 class JsonView;
24} // namespace Json
25} // namespace Utils
26namespace Comprehend
27{
28namespace Model
29{
30
38 {
39 public:
40 AWS_COMPREHEND_API DominantLanguageDetectionJobProperties() = default;
43 AWS_COMPREHEND_API Aws::Utils::Json::JsonValue Jsonize() const;
44
45
47
50 inline const Aws::String& GetJobId() const { return m_jobId; }
51 inline bool JobIdHasBeenSet() const { return m_jobIdHasBeenSet; }
52 template<typename JobIdT = Aws::String>
53 void SetJobId(JobIdT&& value) { m_jobIdHasBeenSet = true; m_jobId = std::forward<JobIdT>(value); }
54 template<typename JobIdT = Aws::String>
55 DominantLanguageDetectionJobProperties& WithJobId(JobIdT&& value) { SetJobId(std::forward<JobIdT>(value)); return *this;}
57
59
69 inline const Aws::String& GetJobArn() const { return m_jobArn; }
70 inline bool JobArnHasBeenSet() const { return m_jobArnHasBeenSet; }
71 template<typename JobArnT = Aws::String>
72 void SetJobArn(JobArnT&& value) { m_jobArnHasBeenSet = true; m_jobArn = std::forward<JobArnT>(value); }
73 template<typename JobArnT = Aws::String>
74 DominantLanguageDetectionJobProperties& WithJobArn(JobArnT&& value) { SetJobArn(std::forward<JobArnT>(value)); return *this;}
76
78
81 inline const Aws::String& GetJobName() const { return m_jobName; }
82 inline bool JobNameHasBeenSet() const { return m_jobNameHasBeenSet; }
83 template<typename JobNameT = Aws::String>
84 void SetJobName(JobNameT&& value) { m_jobNameHasBeenSet = true; m_jobName = std::forward<JobNameT>(value); }
85 template<typename JobNameT = Aws::String>
86 DominantLanguageDetectionJobProperties& WithJobName(JobNameT&& value) { SetJobName(std::forward<JobNameT>(value)); return *this;}
88
90
95 inline JobStatus GetJobStatus() const { return m_jobStatus; }
96 inline bool JobStatusHasBeenSet() const { return m_jobStatusHasBeenSet; }
97 inline void SetJobStatus(JobStatus value) { m_jobStatusHasBeenSet = true; m_jobStatus = value; }
100
102
105 inline const Aws::String& GetMessage() const { return m_message; }
106 inline bool MessageHasBeenSet() const { return m_messageHasBeenSet; }
107 template<typename MessageT = Aws::String>
108 void SetMessage(MessageT&& value) { m_messageHasBeenSet = true; m_message = std::forward<MessageT>(value); }
109 template<typename MessageT = Aws::String>
110 DominantLanguageDetectionJobProperties& WithMessage(MessageT&& value) { SetMessage(std::forward<MessageT>(value)); return *this;}
112
114
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 DominantLanguageDetectionJobProperties& 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 DominantLanguageDetectionJobProperties& 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 DominantLanguageDetectionJobProperties& 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 DominantLanguageDetectionJobProperties& WithOutputDataConfig(OutputDataConfigT&& value) { SetOutputDataConfig(std::forward<OutputDataConfigT>(value)); return *this;}
163
165
169 inline const Aws::String& GetDataAccessRoleArn() const { return m_dataAccessRoleArn; }
170 inline bool DataAccessRoleArnHasBeenSet() const { return m_dataAccessRoleArnHasBeenSet; }
171 template<typename DataAccessRoleArnT = Aws::String>
172 void SetDataAccessRoleArn(DataAccessRoleArnT&& value) { m_dataAccessRoleArnHasBeenSet = true; m_dataAccessRoleArn = std::forward<DataAccessRoleArnT>(value); }
173 template<typename DataAccessRoleArnT = Aws::String>
174 DominantLanguageDetectionJobProperties& WithDataAccessRoleArn(DataAccessRoleArnT&& value) { SetDataAccessRoleArn(std::forward<DataAccessRoleArnT>(value)); return *this;}
176
178
188 inline const Aws::String& GetVolumeKmsKeyId() const { return m_volumeKmsKeyId; }
189 inline bool VolumeKmsKeyIdHasBeenSet() const { return m_volumeKmsKeyIdHasBeenSet; }
190 template<typename VolumeKmsKeyIdT = Aws::String>
191 void SetVolumeKmsKeyId(VolumeKmsKeyIdT&& value) { m_volumeKmsKeyIdHasBeenSet = true; m_volumeKmsKeyId = std::forward<VolumeKmsKeyIdT>(value); }
192 template<typename VolumeKmsKeyIdT = Aws::String>
193 DominantLanguageDetectionJobProperties& WithVolumeKmsKeyId(VolumeKmsKeyIdT&& value) { SetVolumeKmsKeyId(std::forward<VolumeKmsKeyIdT>(value)); return *this;}
195
197
204 inline const VpcConfig& GetVpcConfig() const { return m_vpcConfig; }
205 inline bool VpcConfigHasBeenSet() const { return m_vpcConfigHasBeenSet; }
206 template<typename VpcConfigT = VpcConfig>
207 void SetVpcConfig(VpcConfigT&& value) { m_vpcConfigHasBeenSet = true; m_vpcConfig = std::forward<VpcConfigT>(value); }
208 template<typename VpcConfigT = VpcConfig>
209 DominantLanguageDetectionJobProperties& WithVpcConfig(VpcConfigT&& value) { SetVpcConfig(std::forward<VpcConfigT>(value)); return *this;}
211 private:
212
213 Aws::String m_jobId;
214 bool m_jobIdHasBeenSet = false;
215
216 Aws::String m_jobArn;
217 bool m_jobArnHasBeenSet = false;
218
219 Aws::String m_jobName;
220 bool m_jobNameHasBeenSet = false;
221
222 JobStatus m_jobStatus{JobStatus::NOT_SET};
223 bool m_jobStatusHasBeenSet = false;
224
225 Aws::String m_message;
226 bool m_messageHasBeenSet = false;
227
228 Aws::Utils::DateTime m_submitTime{};
229 bool m_submitTimeHasBeenSet = false;
230
231 Aws::Utils::DateTime m_endTime{};
232 bool m_endTimeHasBeenSet = false;
233
234 InputDataConfig m_inputDataConfig;
235 bool m_inputDataConfigHasBeenSet = false;
236
237 OutputDataConfig m_outputDataConfig;
238 bool m_outputDataConfigHasBeenSet = false;
239
240 Aws::String m_dataAccessRoleArn;
241 bool m_dataAccessRoleArnHasBeenSet = false;
242
243 Aws::String m_volumeKmsKeyId;
244 bool m_volumeKmsKeyIdHasBeenSet = false;
245
246 VpcConfig m_vpcConfig;
247 bool m_vpcConfigHasBeenSet = false;
248 };
249
250} // namespace Model
251} // namespace Comprehend
252} // namespace Aws
DominantLanguageDetectionJobProperties & WithOutputDataConfig(OutputDataConfigT &&value)
DominantLanguageDetectionJobProperties & WithJobArn(JobArnT &&value)
DominantLanguageDetectionJobProperties & WithMessage(MessageT &&value)
AWS_COMPREHEND_API DominantLanguageDetectionJobProperties(Aws::Utils::Json::JsonView jsonValue)
DominantLanguageDetectionJobProperties & WithDataAccessRoleArn(DataAccessRoleArnT &&value)
DominantLanguageDetectionJobProperties & WithVpcConfig(VpcConfigT &&value)
AWS_COMPREHEND_API DominantLanguageDetectionJobProperties & operator=(Aws::Utils::Json::JsonView jsonValue)
DominantLanguageDetectionJobProperties & WithInputDataConfig(InputDataConfigT &&value)
DominantLanguageDetectionJobProperties & WithSubmitTime(SubmitTimeT &&value)
DominantLanguageDetectionJobProperties & WithEndTime(EndTimeT &&value)
DominantLanguageDetectionJobProperties & WithJobName(JobNameT &&value)
DominantLanguageDetectionJobProperties & WithVolumeKmsKeyId(VolumeKmsKeyIdT &&value)
DominantLanguageDetectionJobProperties & WithJobStatus(JobStatus 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