/**
* Copyright Amazon.com, Inc. or its affiliates. All Rights Reserved.
* SPDX-License-Identifier: Apache-2.0.
*/
#pragma once
#include The properties of a parallel data resource.See Also:
AWS
* API Reference
The custom name assigned to the parallel data resource.
*/ inline const Aws::String& GetName() const{ return m_name; } /** *The custom name assigned to the parallel data resource.
*/ inline bool NameHasBeenSet() const { return m_nameHasBeenSet; } /** *The custom name assigned to the parallel data resource.
*/ inline void SetName(const Aws::String& value) { m_nameHasBeenSet = true; m_name = value; } /** *The custom name assigned to the parallel data resource.
*/ inline void SetName(Aws::String&& value) { m_nameHasBeenSet = true; m_name = std::move(value); } /** *The custom name assigned to the parallel data resource.
*/ inline void SetName(const char* value) { m_nameHasBeenSet = true; m_name.assign(value); } /** *The custom name assigned to the parallel data resource.
*/ inline ParallelDataProperties& WithName(const Aws::String& value) { SetName(value); return *this;} /** *The custom name assigned to the parallel data resource.
*/ inline ParallelDataProperties& WithName(Aws::String&& value) { SetName(std::move(value)); return *this;} /** *The custom name assigned to the parallel data resource.
*/ inline ParallelDataProperties& WithName(const char* value) { SetName(value); return *this;} /** *The Amazon Resource Name (ARN) of the parallel data resource.
*/ inline const Aws::String& GetArn() const{ return m_arn; } /** *The Amazon Resource Name (ARN) of the parallel data resource.
*/ inline bool ArnHasBeenSet() const { return m_arnHasBeenSet; } /** *The Amazon Resource Name (ARN) of the parallel data resource.
*/ inline void SetArn(const Aws::String& value) { m_arnHasBeenSet = true; m_arn = value; } /** *The Amazon Resource Name (ARN) of the parallel data resource.
*/ inline void SetArn(Aws::String&& value) { m_arnHasBeenSet = true; m_arn = std::move(value); } /** *The Amazon Resource Name (ARN) of the parallel data resource.
*/ inline void SetArn(const char* value) { m_arnHasBeenSet = true; m_arn.assign(value); } /** *The Amazon Resource Name (ARN) of the parallel data resource.
*/ inline ParallelDataProperties& WithArn(const Aws::String& value) { SetArn(value); return *this;} /** *The Amazon Resource Name (ARN) of the parallel data resource.
*/ inline ParallelDataProperties& WithArn(Aws::String&& value) { SetArn(std::move(value)); return *this;} /** *The Amazon Resource Name (ARN) of the parallel data resource.
*/ inline ParallelDataProperties& WithArn(const char* value) { SetArn(value); return *this;} /** *The description assigned to the parallel data resource.
*/ inline const Aws::String& GetDescription() const{ return m_description; } /** *The description assigned to the parallel data resource.
*/ inline bool DescriptionHasBeenSet() const { return m_descriptionHasBeenSet; } /** *The description assigned to the parallel data resource.
*/ inline void SetDescription(const Aws::String& value) { m_descriptionHasBeenSet = true; m_description = value; } /** *The description assigned to the parallel data resource.
*/ inline void SetDescription(Aws::String&& value) { m_descriptionHasBeenSet = true; m_description = std::move(value); } /** *The description assigned to the parallel data resource.
*/ inline void SetDescription(const char* value) { m_descriptionHasBeenSet = true; m_description.assign(value); } /** *The description assigned to the parallel data resource.
*/ inline ParallelDataProperties& WithDescription(const Aws::String& value) { SetDescription(value); return *this;} /** *The description assigned to the parallel data resource.
*/ inline ParallelDataProperties& WithDescription(Aws::String&& value) { SetDescription(std::move(value)); return *this;} /** *The description assigned to the parallel data resource.
*/ inline ParallelDataProperties& WithDescription(const char* value) { SetDescription(value); return *this;} /** *The status of the parallel data resource. When the parallel data is ready for
* you to use, the status is ACTIVE
.
The status of the parallel data resource. When the parallel data is ready for
* you to use, the status is ACTIVE
.
The status of the parallel data resource. When the parallel data is ready for
* you to use, the status is ACTIVE
.
The status of the parallel data resource. When the parallel data is ready for
* you to use, the status is ACTIVE
.
The status of the parallel data resource. When the parallel data is ready for
* you to use, the status is ACTIVE
.
The status of the parallel data resource. When the parallel data is ready for
* you to use, the status is ACTIVE
.
The source language of the translations in the parallel data file.
*/ inline const Aws::String& GetSourceLanguageCode() const{ return m_sourceLanguageCode; } /** *The source language of the translations in the parallel data file.
*/ inline bool SourceLanguageCodeHasBeenSet() const { return m_sourceLanguageCodeHasBeenSet; } /** *The source language of the translations in the parallel data file.
*/ inline void SetSourceLanguageCode(const Aws::String& value) { m_sourceLanguageCodeHasBeenSet = true; m_sourceLanguageCode = value; } /** *The source language of the translations in the parallel data file.
*/ inline void SetSourceLanguageCode(Aws::String&& value) { m_sourceLanguageCodeHasBeenSet = true; m_sourceLanguageCode = std::move(value); } /** *The source language of the translations in the parallel data file.
*/ inline void SetSourceLanguageCode(const char* value) { m_sourceLanguageCodeHasBeenSet = true; m_sourceLanguageCode.assign(value); } /** *The source language of the translations in the parallel data file.
*/ inline ParallelDataProperties& WithSourceLanguageCode(const Aws::String& value) { SetSourceLanguageCode(value); return *this;} /** *The source language of the translations in the parallel data file.
*/ inline ParallelDataProperties& WithSourceLanguageCode(Aws::String&& value) { SetSourceLanguageCode(std::move(value)); return *this;} /** *The source language of the translations in the parallel data file.
*/ inline ParallelDataProperties& WithSourceLanguageCode(const char* value) { SetSourceLanguageCode(value); return *this;} /** *The language codes for the target languages available in the parallel data * file. All possible target languages are returned as an array.
*/ inline const Aws::VectorThe language codes for the target languages available in the parallel data * file. All possible target languages are returned as an array.
*/ inline bool TargetLanguageCodesHasBeenSet() const { return m_targetLanguageCodesHasBeenSet; } /** *The language codes for the target languages available in the parallel data * file. All possible target languages are returned as an array.
*/ inline void SetTargetLanguageCodes(const Aws::VectorThe language codes for the target languages available in the parallel data * file. All possible target languages are returned as an array.
*/ inline void SetTargetLanguageCodes(Aws::VectorThe language codes for the target languages available in the parallel data * file. All possible target languages are returned as an array.
*/ inline ParallelDataProperties& WithTargetLanguageCodes(const Aws::VectorThe language codes for the target languages available in the parallel data * file. All possible target languages are returned as an array.
*/ inline ParallelDataProperties& WithTargetLanguageCodes(Aws::VectorThe language codes for the target languages available in the parallel data * file. All possible target languages are returned as an array.
*/ inline ParallelDataProperties& AddTargetLanguageCodes(const Aws::String& value) { m_targetLanguageCodesHasBeenSet = true; m_targetLanguageCodes.push_back(value); return *this; } /** *The language codes for the target languages available in the parallel data * file. All possible target languages are returned as an array.
*/ inline ParallelDataProperties& AddTargetLanguageCodes(Aws::String&& value) { m_targetLanguageCodesHasBeenSet = true; m_targetLanguageCodes.push_back(std::move(value)); return *this; } /** *The language codes for the target languages available in the parallel data * file. All possible target languages are returned as an array.
*/ inline ParallelDataProperties& AddTargetLanguageCodes(const char* value) { m_targetLanguageCodesHasBeenSet = true; m_targetLanguageCodes.push_back(value); return *this; } /** *Specifies the format and S3 location of the parallel data input file.
*/ inline const ParallelDataConfig& GetParallelDataConfig() const{ return m_parallelDataConfig; } /** *Specifies the format and S3 location of the parallel data input file.
*/ inline bool ParallelDataConfigHasBeenSet() const { return m_parallelDataConfigHasBeenSet; } /** *Specifies the format and S3 location of the parallel data input file.
*/ inline void SetParallelDataConfig(const ParallelDataConfig& value) { m_parallelDataConfigHasBeenSet = true; m_parallelDataConfig = value; } /** *Specifies the format and S3 location of the parallel data input file.
*/ inline void SetParallelDataConfig(ParallelDataConfig&& value) { m_parallelDataConfigHasBeenSet = true; m_parallelDataConfig = std::move(value); } /** *Specifies the format and S3 location of the parallel data input file.
*/ inline ParallelDataProperties& WithParallelDataConfig(const ParallelDataConfig& value) { SetParallelDataConfig(value); return *this;} /** *Specifies the format and S3 location of the parallel data input file.
*/ inline ParallelDataProperties& WithParallelDataConfig(ParallelDataConfig&& value) { SetParallelDataConfig(std::move(value)); return *this;} /** *Additional information from Amazon Translate about the parallel data * resource.
*/ inline const Aws::String& GetMessage() const{ return m_message; } /** *Additional information from Amazon Translate about the parallel data * resource.
*/ inline bool MessageHasBeenSet() const { return m_messageHasBeenSet; } /** *Additional information from Amazon Translate about the parallel data * resource.
*/ inline void SetMessage(const Aws::String& value) { m_messageHasBeenSet = true; m_message = value; } /** *Additional information from Amazon Translate about the parallel data * resource.
*/ inline void SetMessage(Aws::String&& value) { m_messageHasBeenSet = true; m_message = std::move(value); } /** *Additional information from Amazon Translate about the parallel data * resource.
*/ inline void SetMessage(const char* value) { m_messageHasBeenSet = true; m_message.assign(value); } /** *Additional information from Amazon Translate about the parallel data * resource.
*/ inline ParallelDataProperties& WithMessage(const Aws::String& value) { SetMessage(value); return *this;} /** *Additional information from Amazon Translate about the parallel data * resource.
*/ inline ParallelDataProperties& WithMessage(Aws::String&& value) { SetMessage(std::move(value)); return *this;} /** *Additional information from Amazon Translate about the parallel data * resource.
*/ inline ParallelDataProperties& WithMessage(const char* value) { SetMessage(value); return *this;} /** *The number of UTF-8 characters that Amazon Translate imported from the * parallel data input file. This number includes only the characters in your * translation examples. It does not include characters that are used to format * your file. For example, if you provided a Translation Memory Exchange (.tmx) * file, this number does not include the tags.
*/ inline long long GetImportedDataSize() const{ return m_importedDataSize; } /** *The number of UTF-8 characters that Amazon Translate imported from the * parallel data input file. This number includes only the characters in your * translation examples. It does not include characters that are used to format * your file. For example, if you provided a Translation Memory Exchange (.tmx) * file, this number does not include the tags.
*/ inline bool ImportedDataSizeHasBeenSet() const { return m_importedDataSizeHasBeenSet; } /** *The number of UTF-8 characters that Amazon Translate imported from the * parallel data input file. This number includes only the characters in your * translation examples. It does not include characters that are used to format * your file. For example, if you provided a Translation Memory Exchange (.tmx) * file, this number does not include the tags.
*/ inline void SetImportedDataSize(long long value) { m_importedDataSizeHasBeenSet = true; m_importedDataSize = value; } /** *The number of UTF-8 characters that Amazon Translate imported from the * parallel data input file. This number includes only the characters in your * translation examples. It does not include characters that are used to format * your file. For example, if you provided a Translation Memory Exchange (.tmx) * file, this number does not include the tags.
*/ inline ParallelDataProperties& WithImportedDataSize(long long value) { SetImportedDataSize(value); return *this;} /** *The number of records successfully imported from the parallel data input * file.
*/ inline long long GetImportedRecordCount() const{ return m_importedRecordCount; } /** *The number of records successfully imported from the parallel data input * file.
*/ inline bool ImportedRecordCountHasBeenSet() const { return m_importedRecordCountHasBeenSet; } /** *The number of records successfully imported from the parallel data input * file.
*/ inline void SetImportedRecordCount(long long value) { m_importedRecordCountHasBeenSet = true; m_importedRecordCount = value; } /** *The number of records successfully imported from the parallel data input * file.
*/ inline ParallelDataProperties& WithImportedRecordCount(long long value) { SetImportedRecordCount(value); return *this;} /** *The number of records unsuccessfully imported from the parallel data input * file.
*/ inline long long GetFailedRecordCount() const{ return m_failedRecordCount; } /** *The number of records unsuccessfully imported from the parallel data input * file.
*/ inline bool FailedRecordCountHasBeenSet() const { return m_failedRecordCountHasBeenSet; } /** *The number of records unsuccessfully imported from the parallel data input * file.
*/ inline void SetFailedRecordCount(long long value) { m_failedRecordCountHasBeenSet = true; m_failedRecordCount = value; } /** *The number of records unsuccessfully imported from the parallel data input * file.
*/ inline ParallelDataProperties& WithFailedRecordCount(long long value) { SetFailedRecordCount(value); return *this;} /** *The number of items in the input file that Amazon Translate skipped when you * created or updated the parallel data resource. For example, Amazon Translate * skips empty records, empty target texts, and empty lines.
*/ inline long long GetSkippedRecordCount() const{ return m_skippedRecordCount; } /** *The number of items in the input file that Amazon Translate skipped when you * created or updated the parallel data resource. For example, Amazon Translate * skips empty records, empty target texts, and empty lines.
*/ inline bool SkippedRecordCountHasBeenSet() const { return m_skippedRecordCountHasBeenSet; } /** *The number of items in the input file that Amazon Translate skipped when you * created or updated the parallel data resource. For example, Amazon Translate * skips empty records, empty target texts, and empty lines.
*/ inline void SetSkippedRecordCount(long long value) { m_skippedRecordCountHasBeenSet = true; m_skippedRecordCount = value; } /** *The number of items in the input file that Amazon Translate skipped when you * created or updated the parallel data resource. For example, Amazon Translate * skips empty records, empty target texts, and empty lines.
*/ inline ParallelDataProperties& WithSkippedRecordCount(long long value) { SetSkippedRecordCount(value); return *this;} inline const EncryptionKey& GetEncryptionKey() const{ return m_encryptionKey; } inline bool EncryptionKeyHasBeenSet() const { return m_encryptionKeyHasBeenSet; } inline void SetEncryptionKey(const EncryptionKey& value) { m_encryptionKeyHasBeenSet = true; m_encryptionKey = value; } inline void SetEncryptionKey(EncryptionKey&& value) { m_encryptionKeyHasBeenSet = true; m_encryptionKey = std::move(value); } inline ParallelDataProperties& WithEncryptionKey(const EncryptionKey& value) { SetEncryptionKey(value); return *this;} inline ParallelDataProperties& WithEncryptionKey(EncryptionKey&& value) { SetEncryptionKey(std::move(value)); return *this;} /** *The time at which the parallel data resource was created.
*/ inline const Aws::Utils::DateTime& GetCreatedAt() const{ return m_createdAt; } /** *The time at which the parallel data resource was created.
*/ inline bool CreatedAtHasBeenSet() const { return m_createdAtHasBeenSet; } /** *The time at which the parallel data resource was created.
*/ inline void SetCreatedAt(const Aws::Utils::DateTime& value) { m_createdAtHasBeenSet = true; m_createdAt = value; } /** *The time at which the parallel data resource was created.
*/ inline void SetCreatedAt(Aws::Utils::DateTime&& value) { m_createdAtHasBeenSet = true; m_createdAt = std::move(value); } /** *The time at which the parallel data resource was created.
*/ inline ParallelDataProperties& WithCreatedAt(const Aws::Utils::DateTime& value) { SetCreatedAt(value); return *this;} /** *The time at which the parallel data resource was created.
*/ inline ParallelDataProperties& WithCreatedAt(Aws::Utils::DateTime&& value) { SetCreatedAt(std::move(value)); return *this;} /** *The time at which the parallel data resource was last updated.
*/ inline const Aws::Utils::DateTime& GetLastUpdatedAt() const{ return m_lastUpdatedAt; } /** *The time at which the parallel data resource was last updated.
*/ inline bool LastUpdatedAtHasBeenSet() const { return m_lastUpdatedAtHasBeenSet; } /** *The time at which the parallel data resource was last updated.
*/ inline void SetLastUpdatedAt(const Aws::Utils::DateTime& value) { m_lastUpdatedAtHasBeenSet = true; m_lastUpdatedAt = value; } /** *The time at which the parallel data resource was last updated.
*/ inline void SetLastUpdatedAt(Aws::Utils::DateTime&& value) { m_lastUpdatedAtHasBeenSet = true; m_lastUpdatedAt = std::move(value); } /** *The time at which the parallel data resource was last updated.
*/ inline ParallelDataProperties& WithLastUpdatedAt(const Aws::Utils::DateTime& value) { SetLastUpdatedAt(value); return *this;} /** *The time at which the parallel data resource was last updated.
*/ inline ParallelDataProperties& WithLastUpdatedAt(Aws::Utils::DateTime&& value) { SetLastUpdatedAt(std::move(value)); return *this;} /** *The status of the most recent update attempt for the parallel data * resource.
*/ inline const ParallelDataStatus& GetLatestUpdateAttemptStatus() const{ return m_latestUpdateAttemptStatus; } /** *The status of the most recent update attempt for the parallel data * resource.
*/ inline bool LatestUpdateAttemptStatusHasBeenSet() const { return m_latestUpdateAttemptStatusHasBeenSet; } /** *The status of the most recent update attempt for the parallel data * resource.
*/ inline void SetLatestUpdateAttemptStatus(const ParallelDataStatus& value) { m_latestUpdateAttemptStatusHasBeenSet = true; m_latestUpdateAttemptStatus = value; } /** *The status of the most recent update attempt for the parallel data * resource.
*/ inline void SetLatestUpdateAttemptStatus(ParallelDataStatus&& value) { m_latestUpdateAttemptStatusHasBeenSet = true; m_latestUpdateAttemptStatus = std::move(value); } /** *The status of the most recent update attempt for the parallel data * resource.
*/ inline ParallelDataProperties& WithLatestUpdateAttemptStatus(const ParallelDataStatus& value) { SetLatestUpdateAttemptStatus(value); return *this;} /** *The status of the most recent update attempt for the parallel data * resource.
*/ inline ParallelDataProperties& WithLatestUpdateAttemptStatus(ParallelDataStatus&& value) { SetLatestUpdateAttemptStatus(std::move(value)); return *this;} /** *The time that the most recent update was attempted.
*/ inline const Aws::Utils::DateTime& GetLatestUpdateAttemptAt() const{ return m_latestUpdateAttemptAt; } /** *The time that the most recent update was attempted.
*/ inline bool LatestUpdateAttemptAtHasBeenSet() const { return m_latestUpdateAttemptAtHasBeenSet; } /** *The time that the most recent update was attempted.
*/ inline void SetLatestUpdateAttemptAt(const Aws::Utils::DateTime& value) { m_latestUpdateAttemptAtHasBeenSet = true; m_latestUpdateAttemptAt = value; } /** *The time that the most recent update was attempted.
*/ inline void SetLatestUpdateAttemptAt(Aws::Utils::DateTime&& value) { m_latestUpdateAttemptAtHasBeenSet = true; m_latestUpdateAttemptAt = std::move(value); } /** *The time that the most recent update was attempted.
*/ inline ParallelDataProperties& WithLatestUpdateAttemptAt(const Aws::Utils::DateTime& value) { SetLatestUpdateAttemptAt(value); return *this;} /** *The time that the most recent update was attempted.
*/ inline ParallelDataProperties& WithLatestUpdateAttemptAt(Aws::Utils::DateTime&& value) { SetLatestUpdateAttemptAt(std::move(value)); return *this;} private: Aws::String m_name; bool m_nameHasBeenSet = false; Aws::String m_arn; bool m_arnHasBeenSet = false; Aws::String m_description; bool m_descriptionHasBeenSet = false; ParallelDataStatus m_status; bool m_statusHasBeenSet = false; Aws::String m_sourceLanguageCode; bool m_sourceLanguageCodeHasBeenSet = false; Aws::Vector