7#include <aws/translate/Translate_EXPORTS.h>
8#include <aws/core/utils/memory/stl/AWSString.h>
9#include <aws/translate/model/ParallelDataStatus.h>
10#include <aws/core/utils/memory/stl/AWSVector.h>
11#include <aws/translate/model/ParallelDataConfig.h>
12#include <aws/translate/model/EncryptionKey.h>
13#include <aws/core/utils/DateTime.h>
51 template<
typename NameT = Aws::String>
52 void SetName(NameT&& value) { m_nameHasBeenSet =
true; m_name = std::forward<NameT>(value); }
53 template<
typename NameT = Aws::String>
63 template<
typename ArnT = Aws::String>
64 void SetArn(ArnT&& value) { m_arnHasBeenSet =
true; m_arn = std::forward<ArnT>(value); }
65 template<
typename ArnT = Aws::String>
75 template<
typename DescriptionT = Aws::String>
76 void SetDescription(DescriptionT&& value) { m_descriptionHasBeenSet =
true; m_description = std::forward<DescriptionT>(value); }
77 template<
typename DescriptionT = Aws::String>
98 template<
typename SourceLanguageCodeT = Aws::String>
99 void SetSourceLanguageCode(SourceLanguageCodeT&& value) { m_sourceLanguageCodeHasBeenSet =
true; m_sourceLanguageCode = std::forward<SourceLanguageCodeT>(value); }
100 template<
typename SourceLanguageCodeT = Aws::String>
111 template<
typename TargetLanguageCodesT = Aws::Vector<Aws::String>>
112 void SetTargetLanguageCodes(TargetLanguageCodesT&& value) { m_targetLanguageCodesHasBeenSet =
true; m_targetLanguageCodes = std::forward<TargetLanguageCodesT>(value); }
113 template<
typename TargetLanguageCodesT = Aws::Vector<Aws::String>>
115 template<
typename TargetLanguageCodesT = Aws::String>
125 template<
typename ParallelDataConfigT = ParallelDataConfig>
126 void SetParallelDataConfig(ParallelDataConfigT&& value) { m_parallelDataConfigHasBeenSet =
true; m_parallelDataConfig = std::forward<ParallelDataConfigT>(value); }
127 template<
typename ParallelDataConfigT = ParallelDataConfig>
138 template<
typename MessageT = Aws::String>
139 void SetMessage(MessageT&& value) { m_messageHasBeenSet =
true; m_message = std::forward<MessageT>(value); }
140 template<
typename MessageT = Aws::String>
154 inline void SetImportedDataSize(
long long value) { m_importedDataSizeHasBeenSet =
true; m_importedDataSize = value; }
165 inline void SetImportedRecordCount(
long long value) { m_importedRecordCountHasBeenSet =
true; m_importedRecordCount = value; }
176 inline void SetFailedRecordCount(
long long value) { m_failedRecordCountHasBeenSet =
true; m_failedRecordCount = value; }
188 inline void SetSkippedRecordCount(
long long value) { m_skippedRecordCountHasBeenSet =
true; m_skippedRecordCount = value; }
196 template<
typename EncryptionKeyT = EncryptionKey>
197 void SetEncryptionKey(EncryptionKeyT&& value) { m_encryptionKeyHasBeenSet =
true; m_encryptionKey = std::forward<EncryptionKeyT>(value); }
198 template<
typename EncryptionKeyT = EncryptionKey>
208 template<
typename CreatedAtT = Aws::Utils::DateTime>
209 void SetCreatedAt(CreatedAtT&& value) { m_createdAtHasBeenSet =
true; m_createdAt = std::forward<CreatedAtT>(value); }
210 template<
typename CreatedAtT = Aws::Utils::DateTime>
220 template<
typename LastUpdatedAtT = Aws::Utils::DateTime>
221 void SetLastUpdatedAt(LastUpdatedAtT&& value) { m_lastUpdatedAtHasBeenSet =
true; m_lastUpdatedAt = std::forward<LastUpdatedAtT>(value); }
222 template<
typename LastUpdatedAtT = Aws::Utils::DateTime>
243 template<
typename LatestUpdateAttemptAtT = Aws::Utils::DateTime>
244 void SetLatestUpdateAttemptAt(LatestUpdateAttemptAtT&& value) { m_latestUpdateAttemptAtHasBeenSet =
true; m_latestUpdateAttemptAt = std::forward<LatestUpdateAttemptAtT>(value); }
245 template<
typename LatestUpdateAttemptAtT = Aws::Utils::DateTime>
251 bool m_nameHasBeenSet =
false;
254 bool m_arnHasBeenSet =
false;
257 bool m_descriptionHasBeenSet =
false;
260 bool m_statusHasBeenSet =
false;
263 bool m_sourceLanguageCodeHasBeenSet =
false;
266 bool m_targetLanguageCodesHasBeenSet =
false;
268 ParallelDataConfig m_parallelDataConfig;
269 bool m_parallelDataConfigHasBeenSet =
false;
272 bool m_messageHasBeenSet =
false;
274 long long m_importedDataSize{0};
275 bool m_importedDataSizeHasBeenSet =
false;
277 long long m_importedRecordCount{0};
278 bool m_importedRecordCountHasBeenSet =
false;
280 long long m_failedRecordCount{0};
281 bool m_failedRecordCountHasBeenSet =
false;
283 long long m_skippedRecordCount{0};
284 bool m_skippedRecordCountHasBeenSet =
false;
286 EncryptionKey m_encryptionKey;
287 bool m_encryptionKeyHasBeenSet =
false;
290 bool m_createdAtHasBeenSet =
false;
293 bool m_lastUpdatedAtHasBeenSet =
false;
296 bool m_latestUpdateAttemptStatusHasBeenSet =
false;
299 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