7#include <aws/translate/Translate_EXPORTS.h>
8#include <aws/core/utils/memory/stl/AWSString.h>
9#include <aws/translate/model/JobStatus.h>
10#include <aws/translate/model/JobDetails.h>
11#include <aws/core/utils/memory/stl/AWSVector.h>
12#include <aws/core/utils/DateTime.h>
13#include <aws/translate/model/InputDataConfig.h>
14#include <aws/translate/model/OutputDataConfig.h>
15#include <aws/translate/model/TranslationSettings.h>
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>
65 template<
typename JobNameT = Aws::String>
66 void SetJobName(JobNameT&& value) { m_jobNameHasBeenSet =
true; m_jobName = std::forward<JobNameT>(value); }
67 template<
typename JobNameT = Aws::String>
88 template<
typename JobDetailsT = JobDetails>
89 void SetJobDetails(JobDetailsT&& value) { m_jobDetailsHasBeenSet =
true; m_jobDetails = std::forward<JobDetailsT>(value); }
90 template<
typename JobDetailsT = JobDetails>
101 template<
typename SourceLanguageCodeT = Aws::String>
102 void SetSourceLanguageCode(SourceLanguageCodeT&& value) { m_sourceLanguageCodeHasBeenSet =
true; m_sourceLanguageCode = std::forward<SourceLanguageCodeT>(value); }
103 template<
typename SourceLanguageCodeT = Aws::String>
114 template<
typename TargetLanguageCodesT = Aws::Vector<Aws::String>>
115 void SetTargetLanguageCodes(TargetLanguageCodesT&& value) { m_targetLanguageCodesHasBeenSet =
true; m_targetLanguageCodes = std::forward<TargetLanguageCodesT>(value); }
116 template<
typename TargetLanguageCodesT = Aws::Vector<Aws::String>>
118 template<
typename TargetLanguageCodesT = Aws::String>
130 template<
typename TerminologyNamesT = Aws::Vector<Aws::String>>
131 void SetTerminologyNames(TerminologyNamesT&& value) { m_terminologyNamesHasBeenSet =
true; m_terminologyNames = std::forward<TerminologyNamesT>(value); }
132 template<
typename TerminologyNamesT = Aws::Vector<Aws::String>>
134 template<
typename TerminologyNamesT = Aws::String>
145 template<
typename ParallelDataNamesT = Aws::Vector<Aws::String>>
146 void SetParallelDataNames(ParallelDataNamesT&& value) { m_parallelDataNamesHasBeenSet =
true; m_parallelDataNames = std::forward<ParallelDataNamesT>(value); }
147 template<
typename ParallelDataNamesT = Aws::Vector<Aws::String>>
149 template<
typename ParallelDataNamesT = Aws::String>
160 template<
typename MessageT = Aws::String>
161 void SetMessage(MessageT&& value) { m_messageHasBeenSet =
true; m_message = std::forward<MessageT>(value); }
162 template<
typename MessageT = Aws::String>
172 template<
typename SubmittedTimeT = Aws::Utils::DateTime>
173 void SetSubmittedTime(SubmittedTimeT&& value) { m_submittedTimeHasBeenSet =
true; m_submittedTime = std::forward<SubmittedTimeT>(value); }
174 template<
typename SubmittedTimeT = Aws::Utils::DateTime>
184 template<
typename EndTimeT = Aws::Utils::DateTime>
185 void SetEndTime(EndTimeT&& value) { m_endTimeHasBeenSet =
true; m_endTime = std::forward<EndTimeT>(value); }
186 template<
typename EndTimeT = Aws::Utils::DateTime>
197 template<
typename InputDataConfigT = InputDataConfig>
198 void SetInputDataConfig(InputDataConfigT&& value) { m_inputDataConfigHasBeenSet =
true; m_inputDataConfig = std::forward<InputDataConfigT>(value); }
199 template<
typename InputDataConfigT = InputDataConfig>
210 template<
typename OutputDataConfigT = OutputDataConfig>
211 void SetOutputDataConfig(OutputDataConfigT&& value) { m_outputDataConfigHasBeenSet =
true; m_outputDataConfig = std::forward<OutputDataConfigT>(value); }
212 template<
typename OutputDataConfigT = OutputDataConfig>
223 template<
typename DataAccessRoleArnT = Aws::String>
224 void SetDataAccessRoleArn(DataAccessRoleArnT&& value) { m_dataAccessRoleArnHasBeenSet =
true; m_dataAccessRoleArn = std::forward<DataAccessRoleArnT>(value); }
225 template<
typename DataAccessRoleArnT = Aws::String>
235 template<
typename SettingsT = TranslationSettings>
236 void SetSettings(SettingsT&& value) { m_settingsHasBeenSet =
true; m_settings = std::forward<SettingsT>(value); }
237 template<
typename SettingsT = TranslationSettings>
243 bool m_jobIdHasBeenSet =
false;
246 bool m_jobNameHasBeenSet =
false;
249 bool m_jobStatusHasBeenSet =
false;
251 JobDetails m_jobDetails;
252 bool m_jobDetailsHasBeenSet =
false;
255 bool m_sourceLanguageCodeHasBeenSet =
false;
258 bool m_targetLanguageCodesHasBeenSet =
false;
261 bool m_terminologyNamesHasBeenSet =
false;
264 bool m_parallelDataNamesHasBeenSet =
false;
267 bool m_messageHasBeenSet =
false;
270 bool m_submittedTimeHasBeenSet =
false;
273 bool m_endTimeHasBeenSet =
false;
275 InputDataConfig m_inputDataConfig;
276 bool m_inputDataConfigHasBeenSet =
false;
278 OutputDataConfig m_outputDataConfig;
279 bool m_outputDataConfigHasBeenSet =
false;
282 bool m_dataAccessRoleArnHasBeenSet =
false;
284 TranslationSettings m_settings;
285 bool m_settingsHasBeenSet =
false;
const Aws::Utils::DateTime & GetEndTime() const
bool SourceLanguageCodeHasBeenSet() const
bool TerminologyNamesHasBeenSet() const
bool JobDetailsHasBeenSet() const
void SetOutputDataConfig(OutputDataConfigT &&value)
TextTranslationJobProperties & WithJobId(JobIdT &&value)
TextTranslationJobProperties & WithJobDetails(JobDetailsT &&value)
TextTranslationJobProperties & WithParallelDataNames(ParallelDataNamesT &&value)
void SetJobId(JobIdT &&value)
TextTranslationJobProperties & WithSubmittedTime(SubmittedTimeT &&value)
TextTranslationJobProperties & WithOutputDataConfig(OutputDataConfigT &&value)
TextTranslationJobProperties & WithSourceLanguageCode(SourceLanguageCodeT &&value)
const Aws::String & GetDataAccessRoleArn() const
const OutputDataConfig & GetOutputDataConfig() const
void SetSubmittedTime(SubmittedTimeT &&value)
const InputDataConfig & GetInputDataConfig() const
TextTranslationJobProperties & WithJobName(JobNameT &&value)
void SetTargetLanguageCodes(TargetLanguageCodesT &&value)
TextTranslationJobProperties & AddTargetLanguageCodes(TargetLanguageCodesT &&value)
void SetSettings(SettingsT &&value)
bool JobNameHasBeenSet() const
AWS_TRANSLATE_API TextTranslationJobProperties(Aws::Utils::Json::JsonView jsonValue)
AWS_TRANSLATE_API Aws::Utils::Json::JsonValue Jsonize() const
bool OutputDataConfigHasBeenSet() const
void SetParallelDataNames(ParallelDataNamesT &&value)
TextTranslationJobProperties & WithSettings(SettingsT &&value)
bool TargetLanguageCodesHasBeenSet() const
TextTranslationJobProperties & WithDataAccessRoleArn(DataAccessRoleArnT &&value)
bool SubmittedTimeHasBeenSet() const
AWS_TRANSLATE_API TextTranslationJobProperties & operator=(Aws::Utils::Json::JsonView jsonValue)
void SetJobStatus(JobStatus value)
const JobDetails & GetJobDetails() const
void SetJobDetails(JobDetailsT &&value)
TextTranslationJobProperties & WithEndTime(EndTimeT &&value)
bool EndTimeHasBeenSet() const
const Aws::Vector< Aws::String > & GetTerminologyNames() const
TextTranslationJobProperties & AddTerminologyNames(TerminologyNamesT &&value)
void SetJobName(JobNameT &&value)
const Aws::Vector< Aws::String > & GetParallelDataNames() const
const Aws::Utils::DateTime & GetSubmittedTime() const
TextTranslationJobProperties & WithTargetLanguageCodes(TargetLanguageCodesT &&value)
void SetEndTime(EndTimeT &&value)
const Aws::String & GetJobId() const
void SetSourceLanguageCode(SourceLanguageCodeT &&value)
TextTranslationJobProperties & WithJobStatus(JobStatus value)
AWS_TRANSLATE_API TextTranslationJobProperties()=default
TextTranslationJobProperties & WithMessage(MessageT &&value)
bool SettingsHasBeenSet() const
bool JobIdHasBeenSet() const
void SetMessage(MessageT &&value)
const Aws::Vector< Aws::String > & GetTargetLanguageCodes() const
void SetDataAccessRoleArn(DataAccessRoleArnT &&value)
const Aws::String & GetJobName() const
bool InputDataConfigHasBeenSet() const
const TranslationSettings & GetSettings() const
TextTranslationJobProperties & WithInputDataConfig(InputDataConfigT &&value)
bool DataAccessRoleArnHasBeenSet() const
TextTranslationJobProperties & AddParallelDataNames(ParallelDataNamesT &&value)
JobStatus GetJobStatus() const
bool ParallelDataNamesHasBeenSet() const
TextTranslationJobProperties & WithTerminologyNames(TerminologyNamesT &&value)
const Aws::String & GetMessage() const
bool JobStatusHasBeenSet() const
void SetTerminologyNames(TerminologyNamesT &&value)
void SetInputDataConfig(InputDataConfigT &&value)
const Aws::String & GetSourceLanguageCode() const
bool MessageHasBeenSet() const
std::basic_string< char, std::char_traits< char >, Aws::Allocator< char > > String
std::vector< T, Aws::Allocator< T > > Vector
Aws::Utils::Json::JsonValue JsonValue