7#include <aws/core/utils/DateTime.h>
8#include <aws/core/utils/memory/stl/AWSString.h>
9#include <aws/core/utils/memory/stl/AWSVector.h>
10#include <aws/translate/Translate_EXPORTS.h>
11#include <aws/translate/model/EncryptionKey.h>
12#include <aws/translate/model/ParallelDataConfig.h>
13#include <aws/translate/model/ParallelDataStatus.h>
45 template <
typename NameT = Aws::String>
47 m_nameHasBeenSet =
true;
48 m_name = std::forward<NameT>(value);
50 template <
typename NameT = Aws::String>
52 SetName(std::forward<NameT>(value));
63 template <
typename ArnT = Aws::String>
65 m_arnHasBeenSet =
true;
66 m_arn = std::forward<ArnT>(value);
68 template <
typename ArnT = Aws::String>
70 SetArn(std::forward<ArnT>(value));
81 template <
typename DescriptionT = Aws::String>
83 m_descriptionHasBeenSet =
true;
84 m_description = std::forward<DescriptionT>(value);
86 template <
typename DescriptionT = Aws::String>
101 m_statusHasBeenSet =
true;
116 template <
typename SourceLanguageCodeT = Aws::String>
118 m_sourceLanguageCodeHasBeenSet =
true;
119 m_sourceLanguageCode = std::forward<SourceLanguageCodeT>(value);
121 template <
typename SourceLanguageCodeT = Aws::String>
135 template <
typename TargetLanguageCodesT = Aws::Vector<Aws::String>>
137 m_targetLanguageCodesHasBeenSet =
true;
138 m_targetLanguageCodes = std::forward<TargetLanguageCodesT>(value);
140 template <
typename TargetLanguageCodesT = Aws::Vector<Aws::String>>
145 template <
typename TargetLanguageCodesT = Aws::String>
147 m_targetLanguageCodesHasBeenSet =
true;
148 m_targetLanguageCodes.emplace_back(std::forward<TargetLanguageCodesT>(value));
159 template <
typename ParallelDataConfigT = ParallelDataConfig>
161 m_parallelDataConfigHasBeenSet =
true;
162 m_parallelDataConfig = std::forward<ParallelDataConfigT>(value);
164 template <
typename ParallelDataConfigT = ParallelDataConfig>
178 template <
typename MessageT = Aws::String>
180 m_messageHasBeenSet =
true;
181 m_message = std::forward<MessageT>(value);
183 template <
typename MessageT = Aws::String>
201 m_importedDataSizeHasBeenSet =
true;
202 m_importedDataSize = value;
218 m_importedRecordCountHasBeenSet =
true;
219 m_importedRecordCount = value;
235 m_failedRecordCountHasBeenSet =
true;
236 m_failedRecordCount = value;
253 m_skippedRecordCountHasBeenSet =
true;
254 m_skippedRecordCount = value;
266 template <
typename EncryptionKeyT = EncryptionKey>
268 m_encryptionKeyHasBeenSet =
true;
269 m_encryptionKey = std::forward<EncryptionKeyT>(value);
271 template <
typename EncryptionKeyT = EncryptionKey>
284 template <
typename CreatedAtT = Aws::Utils::DateTime>
286 m_createdAtHasBeenSet =
true;
287 m_createdAt = std::forward<CreatedAtT>(value);
289 template <
typename CreatedAtT = Aws::Utils::DateTime>
302 template <
typename LastUpdatedAtT = Aws::Utils::DateTime>
304 m_lastUpdatedAtHasBeenSet =
true;
305 m_lastUpdatedAt = std::forward<LastUpdatedAtT>(value);
307 template <
typename LastUpdatedAtT = Aws::Utils::DateTime>
322 m_latestUpdateAttemptStatusHasBeenSet =
true;
323 m_latestUpdateAttemptStatus = value;
337 template <
typename LatestUpdateAttemptAtT = Aws::Utils::DateTime>
339 m_latestUpdateAttemptAtHasBeenSet =
true;
340 m_latestUpdateAttemptAt = std::forward<LatestUpdateAttemptAtT>(value);
342 template <
typename LatestUpdateAttemptAtT = Aws::Utils::DateTime>
361 ParallelDataConfig m_parallelDataConfig;
365 long long m_importedDataSize{0};
367 long long m_importedRecordCount{0};
369 long long m_failedRecordCount{0};
371 long long m_skippedRecordCount{0};
373 EncryptionKey m_encryptionKey;
382 bool m_nameHasBeenSet =
false;
383 bool m_arnHasBeenSet =
false;
384 bool m_descriptionHasBeenSet =
false;
385 bool m_statusHasBeenSet =
false;
386 bool m_sourceLanguageCodeHasBeenSet =
false;
387 bool m_targetLanguageCodesHasBeenSet =
false;
388 bool m_parallelDataConfigHasBeenSet =
false;
389 bool m_messageHasBeenSet =
false;
390 bool m_importedDataSizeHasBeenSet =
false;
391 bool m_importedRecordCountHasBeenSet =
false;
392 bool m_failedRecordCountHasBeenSet =
false;
393 bool m_skippedRecordCountHasBeenSet =
false;
394 bool m_encryptionKeyHasBeenSet =
false;
395 bool m_createdAtHasBeenSet =
false;
396 bool m_lastUpdatedAtHasBeenSet =
false;
397 bool m_latestUpdateAttemptStatusHasBeenSet =
false;
398 bool m_latestUpdateAttemptAtHasBeenSet =
false;
void SetSourceLanguageCode(SourceLanguageCodeT &&value)
void SetDescription(DescriptionT &&value)
void SetParallelDataConfig(ParallelDataConfigT &&value)
ParallelDataProperties & WithFailedRecordCount(long long value)
ParallelDataProperties & WithLatestUpdateAttemptAt(LatestUpdateAttemptAtT &&value)
void SetEncryptionKey(EncryptionKeyT &&value)
void SetStatus(ParallelDataStatus value)
const Aws::String & GetMessage() const
void SetCreatedAt(CreatedAtT &&value)
ParallelDataProperties & WithCreatedAt(CreatedAtT &&value)
bool LatestUpdateAttemptAtHasBeenSet() const
ParallelDataProperties & WithParallelDataConfig(ParallelDataConfigT &&value)
AWS_TRANSLATE_API Aws::Utils::Json::JsonValue Jsonize() const
ParallelDataProperties & WithEncryptionKey(EncryptionKeyT &&value)
bool SkippedRecordCountHasBeenSet() const
void SetMessage(MessageT &&value)
ParallelDataProperties & WithDescription(DescriptionT &&value)
bool TargetLanguageCodesHasBeenSet() const
AWS_TRANSLATE_API ParallelDataProperties & operator=(Aws::Utils::Json::JsonView jsonValue)
void SetImportedDataSize(long long value)
long long GetImportedDataSize() const
const Aws::Utils::DateTime & GetLatestUpdateAttemptAt() const
ParallelDataProperties & WithStatus(ParallelDataStatus value)
bool MessageHasBeenSet() const
const Aws::String & GetName() const
bool StatusHasBeenSet() const
bool LastUpdatedAtHasBeenSet() const
ParallelDataProperties & WithMessage(MessageT &&value)
bool CreatedAtHasBeenSet() const
ParallelDataProperties & WithTargetLanguageCodes(TargetLanguageCodesT &&value)
const Aws::Utils::DateTime & GetCreatedAt() const
void SetLatestUpdateAttemptAt(LatestUpdateAttemptAtT &&value)
ParallelDataProperties & WithLatestUpdateAttemptStatus(ParallelDataStatus value)
void SetArn(ArnT &&value)
void SetTargetLanguageCodes(TargetLanguageCodesT &&value)
const ParallelDataConfig & GetParallelDataConfig() const
bool NameHasBeenSet() const
void SetImportedRecordCount(long long value)
bool ImportedRecordCountHasBeenSet() const
ParallelDataProperties & WithArn(ArnT &&value)
void SetName(NameT &&value)
long long GetImportedRecordCount() const
void SetFailedRecordCount(long long value)
AWS_TRANSLATE_API ParallelDataProperties(Aws::Utils::Json::JsonView jsonValue)
void SetLastUpdatedAt(LastUpdatedAtT &&value)
bool ParallelDataConfigHasBeenSet() const
const Aws::String & GetArn() const
void SetLatestUpdateAttemptStatus(ParallelDataStatus value)
bool ImportedDataSizeHasBeenSet() const
long long GetFailedRecordCount() const
long long GetSkippedRecordCount() const
AWS_TRANSLATE_API ParallelDataProperties()=default
ParallelDataStatus GetLatestUpdateAttemptStatus() const
const Aws::Utils::DateTime & GetLastUpdatedAt() const
bool SourceLanguageCodeHasBeenSet() const
const Aws::Vector< Aws::String > & GetTargetLanguageCodes() const
ParallelDataStatus GetStatus() const
ParallelDataProperties & WithImportedRecordCount(long long value)
bool ArnHasBeenSet() const
const EncryptionKey & GetEncryptionKey() const
bool LatestUpdateAttemptStatusHasBeenSet() const
bool FailedRecordCountHasBeenSet() const
ParallelDataProperties & WithImportedDataSize(long long value)
ParallelDataProperties & WithLastUpdatedAt(LastUpdatedAtT &&value)
const Aws::String & GetSourceLanguageCode() const
ParallelDataProperties & WithName(NameT &&value)
ParallelDataProperties & WithSkippedRecordCount(long long value)
void SetSkippedRecordCount(long long value)
bool DescriptionHasBeenSet() const
const Aws::String & GetDescription() const
ParallelDataProperties & AddTargetLanguageCodes(TargetLanguageCodesT &&value)
ParallelDataProperties & WithSourceLanguageCode(SourceLanguageCodeT &&value)
bool EncryptionKeyHasBeenSet() 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