AWS SDK for C++

AWS SDK for C++ Version 1.11.440

Loading...
Searching...
No Matches
ParallelDataProperties.h
1
6#pragma once
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>
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 Translate
27{
28namespace Model
29{
30
37 {
38 public:
39 AWS_TRANSLATE_API ParallelDataProperties();
42 AWS_TRANSLATE_API Aws::Utils::Json::JsonValue Jsonize() const;
43
44
46
49 inline const Aws::String& GetName() const{ return m_name; }
50 inline bool NameHasBeenSet() const { return m_nameHasBeenSet; }
51 inline void SetName(const Aws::String& value) { m_nameHasBeenSet = true; m_name = value; }
52 inline void SetName(Aws::String&& value) { m_nameHasBeenSet = true; m_name = std::move(value); }
53 inline void SetName(const char* value) { m_nameHasBeenSet = true; m_name.assign(value); }
54 inline ParallelDataProperties& WithName(const Aws::String& value) { SetName(value); return *this;}
55 inline ParallelDataProperties& WithName(Aws::String&& value) { SetName(std::move(value)); return *this;}
56 inline ParallelDataProperties& WithName(const char* value) { SetName(value); return *this;}
58
60
63 inline const Aws::String& GetArn() const{ return m_arn; }
64 inline bool ArnHasBeenSet() const { return m_arnHasBeenSet; }
65 inline void SetArn(const Aws::String& value) { m_arnHasBeenSet = true; m_arn = value; }
66 inline void SetArn(Aws::String&& value) { m_arnHasBeenSet = true; m_arn = std::move(value); }
67 inline void SetArn(const char* value) { m_arnHasBeenSet = true; m_arn.assign(value); }
68 inline ParallelDataProperties& WithArn(const Aws::String& value) { SetArn(value); return *this;}
69 inline ParallelDataProperties& WithArn(Aws::String&& value) { SetArn(std::move(value)); return *this;}
70 inline ParallelDataProperties& WithArn(const char* value) { SetArn(value); return *this;}
72
74
77 inline const Aws::String& GetDescription() const{ return m_description; }
78 inline bool DescriptionHasBeenSet() const { return m_descriptionHasBeenSet; }
79 inline void SetDescription(const Aws::String& value) { m_descriptionHasBeenSet = true; m_description = value; }
80 inline void SetDescription(Aws::String&& value) { m_descriptionHasBeenSet = true; m_description = std::move(value); }
81 inline void SetDescription(const char* value) { m_descriptionHasBeenSet = true; m_description.assign(value); }
82 inline ParallelDataProperties& WithDescription(const Aws::String& value) { SetDescription(value); return *this;}
83 inline ParallelDataProperties& WithDescription(Aws::String&& value) { SetDescription(std::move(value)); return *this;}
84 inline ParallelDataProperties& WithDescription(const char* value) { SetDescription(value); return *this;}
86
88
92 inline const ParallelDataStatus& GetStatus() const{ return m_status; }
93 inline bool StatusHasBeenSet() const { return m_statusHasBeenSet; }
94 inline void SetStatus(const ParallelDataStatus& value) { m_statusHasBeenSet = true; m_status = value; }
95 inline void SetStatus(ParallelDataStatus&& value) { m_statusHasBeenSet = true; m_status = std::move(value); }
96 inline ParallelDataProperties& WithStatus(const ParallelDataStatus& value) { SetStatus(value); return *this;}
97 inline ParallelDataProperties& WithStatus(ParallelDataStatus&& value) { SetStatus(std::move(value)); return *this;}
99
101
104 inline const Aws::String& GetSourceLanguageCode() const{ return m_sourceLanguageCode; }
105 inline bool SourceLanguageCodeHasBeenSet() const { return m_sourceLanguageCodeHasBeenSet; }
106 inline void SetSourceLanguageCode(const Aws::String& value) { m_sourceLanguageCodeHasBeenSet = true; m_sourceLanguageCode = value; }
107 inline void SetSourceLanguageCode(Aws::String&& value) { m_sourceLanguageCodeHasBeenSet = true; m_sourceLanguageCode = std::move(value); }
108 inline void SetSourceLanguageCode(const char* value) { m_sourceLanguageCodeHasBeenSet = true; m_sourceLanguageCode.assign(value); }
110 inline ParallelDataProperties& WithSourceLanguageCode(Aws::String&& value) { SetSourceLanguageCode(std::move(value)); return *this;}
111 inline ParallelDataProperties& WithSourceLanguageCode(const char* value) { SetSourceLanguageCode(value); return *this;}
113
115
119 inline const Aws::Vector<Aws::String>& GetTargetLanguageCodes() const{ return m_targetLanguageCodes; }
120 inline bool TargetLanguageCodesHasBeenSet() const { return m_targetLanguageCodesHasBeenSet; }
121 inline void SetTargetLanguageCodes(const Aws::Vector<Aws::String>& value) { m_targetLanguageCodesHasBeenSet = true; m_targetLanguageCodes = value; }
122 inline void SetTargetLanguageCodes(Aws::Vector<Aws::String>&& value) { m_targetLanguageCodesHasBeenSet = true; m_targetLanguageCodes = std::move(value); }
125 inline ParallelDataProperties& AddTargetLanguageCodes(const Aws::String& value) { m_targetLanguageCodesHasBeenSet = true; m_targetLanguageCodes.push_back(value); return *this; }
126 inline ParallelDataProperties& AddTargetLanguageCodes(Aws::String&& value) { m_targetLanguageCodesHasBeenSet = true; m_targetLanguageCodes.push_back(std::move(value)); return *this; }
127 inline ParallelDataProperties& AddTargetLanguageCodes(const char* value) { m_targetLanguageCodesHasBeenSet = true; m_targetLanguageCodes.push_back(value); return *this; }
129
131
134 inline const ParallelDataConfig& GetParallelDataConfig() const{ return m_parallelDataConfig; }
135 inline bool ParallelDataConfigHasBeenSet() const { return m_parallelDataConfigHasBeenSet; }
136 inline void SetParallelDataConfig(const ParallelDataConfig& value) { m_parallelDataConfigHasBeenSet = true; m_parallelDataConfig = value; }
137 inline void SetParallelDataConfig(ParallelDataConfig&& value) { m_parallelDataConfigHasBeenSet = true; m_parallelDataConfig = std::move(value); }
141
143
147 inline const Aws::String& GetMessage() const{ return m_message; }
148 inline bool MessageHasBeenSet() const { return m_messageHasBeenSet; }
149 inline void SetMessage(const Aws::String& value) { m_messageHasBeenSet = true; m_message = value; }
150 inline void SetMessage(Aws::String&& value) { m_messageHasBeenSet = true; m_message = std::move(value); }
151 inline void SetMessage(const char* value) { m_messageHasBeenSet = true; m_message.assign(value); }
152 inline ParallelDataProperties& WithMessage(const Aws::String& value) { SetMessage(value); return *this;}
153 inline ParallelDataProperties& WithMessage(Aws::String&& value) { SetMessage(std::move(value)); return *this;}
154 inline ParallelDataProperties& WithMessage(const char* value) { SetMessage(value); return *this;}
156
158
165 inline long long GetImportedDataSize() const{ return m_importedDataSize; }
166 inline bool ImportedDataSizeHasBeenSet() const { return m_importedDataSizeHasBeenSet; }
167 inline void SetImportedDataSize(long long value) { m_importedDataSizeHasBeenSet = true; m_importedDataSize = value; }
168 inline ParallelDataProperties& WithImportedDataSize(long long value) { SetImportedDataSize(value); return *this;}
170
172
176 inline long long GetImportedRecordCount() const{ return m_importedRecordCount; }
177 inline bool ImportedRecordCountHasBeenSet() const { return m_importedRecordCountHasBeenSet; }
178 inline void SetImportedRecordCount(long long value) { m_importedRecordCountHasBeenSet = true; m_importedRecordCount = value; }
179 inline ParallelDataProperties& WithImportedRecordCount(long long value) { SetImportedRecordCount(value); return *this;}
181
183
187 inline long long GetFailedRecordCount() const{ return m_failedRecordCount; }
188 inline bool FailedRecordCountHasBeenSet() const { return m_failedRecordCountHasBeenSet; }
189 inline void SetFailedRecordCount(long long value) { m_failedRecordCountHasBeenSet = true; m_failedRecordCount = value; }
190 inline ParallelDataProperties& WithFailedRecordCount(long long value) { SetFailedRecordCount(value); return *this;}
192
194
199 inline long long GetSkippedRecordCount() const{ return m_skippedRecordCount; }
200 inline bool SkippedRecordCountHasBeenSet() const { return m_skippedRecordCountHasBeenSet; }
201 inline void SetSkippedRecordCount(long long value) { m_skippedRecordCountHasBeenSet = true; m_skippedRecordCount = value; }
202 inline ParallelDataProperties& WithSkippedRecordCount(long long value) { SetSkippedRecordCount(value); return *this;}
204
206
207 inline const EncryptionKey& GetEncryptionKey() const{ return m_encryptionKey; }
208 inline bool EncryptionKeyHasBeenSet() const { return m_encryptionKeyHasBeenSet; }
209 inline void SetEncryptionKey(const EncryptionKey& value) { m_encryptionKeyHasBeenSet = true; m_encryptionKey = value; }
210 inline void SetEncryptionKey(EncryptionKey&& value) { m_encryptionKeyHasBeenSet = true; m_encryptionKey = std::move(value); }
211 inline ParallelDataProperties& WithEncryptionKey(const EncryptionKey& value) { SetEncryptionKey(value); return *this;}
212 inline ParallelDataProperties& WithEncryptionKey(EncryptionKey&& value) { SetEncryptionKey(std::move(value)); return *this;}
214
216
219 inline const Aws::Utils::DateTime& GetCreatedAt() const{ return m_createdAt; }
220 inline bool CreatedAtHasBeenSet() const { return m_createdAtHasBeenSet; }
221 inline void SetCreatedAt(const Aws::Utils::DateTime& value) { m_createdAtHasBeenSet = true; m_createdAt = value; }
222 inline void SetCreatedAt(Aws::Utils::DateTime&& value) { m_createdAtHasBeenSet = true; m_createdAt = std::move(value); }
223 inline ParallelDataProperties& WithCreatedAt(const Aws::Utils::DateTime& value) { SetCreatedAt(value); return *this;}
224 inline ParallelDataProperties& WithCreatedAt(Aws::Utils::DateTime&& value) { SetCreatedAt(std::move(value)); return *this;}
226
228
231 inline const Aws::Utils::DateTime& GetLastUpdatedAt() const{ return m_lastUpdatedAt; }
232 inline bool LastUpdatedAtHasBeenSet() const { return m_lastUpdatedAtHasBeenSet; }
233 inline void SetLastUpdatedAt(const Aws::Utils::DateTime& value) { m_lastUpdatedAtHasBeenSet = true; m_lastUpdatedAt = value; }
234 inline void SetLastUpdatedAt(Aws::Utils::DateTime&& value) { m_lastUpdatedAtHasBeenSet = true; m_lastUpdatedAt = std::move(value); }
236 inline ParallelDataProperties& WithLastUpdatedAt(Aws::Utils::DateTime&& value) { SetLastUpdatedAt(std::move(value)); return *this;}
238
240
244 inline const ParallelDataStatus& GetLatestUpdateAttemptStatus() const{ return m_latestUpdateAttemptStatus; }
245 inline bool LatestUpdateAttemptStatusHasBeenSet() const { return m_latestUpdateAttemptStatusHasBeenSet; }
246 inline void SetLatestUpdateAttemptStatus(const ParallelDataStatus& value) { m_latestUpdateAttemptStatusHasBeenSet = true; m_latestUpdateAttemptStatus = value; }
247 inline void SetLatestUpdateAttemptStatus(ParallelDataStatus&& value) { m_latestUpdateAttemptStatusHasBeenSet = true; m_latestUpdateAttemptStatus = std::move(value); }
251
253
256 inline const Aws::Utils::DateTime& GetLatestUpdateAttemptAt() const{ return m_latestUpdateAttemptAt; }
257 inline bool LatestUpdateAttemptAtHasBeenSet() const { return m_latestUpdateAttemptAtHasBeenSet; }
258 inline void SetLatestUpdateAttemptAt(const Aws::Utils::DateTime& value) { m_latestUpdateAttemptAtHasBeenSet = true; m_latestUpdateAttemptAt = value; }
259 inline void SetLatestUpdateAttemptAt(Aws::Utils::DateTime&& value) { m_latestUpdateAttemptAtHasBeenSet = true; m_latestUpdateAttemptAt = std::move(value); }
263 private:
264
265 Aws::String m_name;
266 bool m_nameHasBeenSet = false;
267
268 Aws::String m_arn;
269 bool m_arnHasBeenSet = false;
270
271 Aws::String m_description;
272 bool m_descriptionHasBeenSet = false;
273
274 ParallelDataStatus m_status;
275 bool m_statusHasBeenSet = false;
276
277 Aws::String m_sourceLanguageCode;
278 bool m_sourceLanguageCodeHasBeenSet = false;
279
280 Aws::Vector<Aws::String> m_targetLanguageCodes;
281 bool m_targetLanguageCodesHasBeenSet = false;
282
283 ParallelDataConfig m_parallelDataConfig;
284 bool m_parallelDataConfigHasBeenSet = false;
285
286 Aws::String m_message;
287 bool m_messageHasBeenSet = false;
288
289 long long m_importedDataSize;
290 bool m_importedDataSizeHasBeenSet = false;
291
292 long long m_importedRecordCount;
293 bool m_importedRecordCountHasBeenSet = false;
294
295 long long m_failedRecordCount;
296 bool m_failedRecordCountHasBeenSet = false;
297
298 long long m_skippedRecordCount;
299 bool m_skippedRecordCountHasBeenSet = false;
300
301 EncryptionKey m_encryptionKey;
302 bool m_encryptionKeyHasBeenSet = false;
303
304 Aws::Utils::DateTime m_createdAt;
305 bool m_createdAtHasBeenSet = false;
306
307 Aws::Utils::DateTime m_lastUpdatedAt;
308 bool m_lastUpdatedAtHasBeenSet = false;
309
310 ParallelDataStatus m_latestUpdateAttemptStatus;
311 bool m_latestUpdateAttemptStatusHasBeenSet = false;
312
313 Aws::Utils::DateTime m_latestUpdateAttemptAt;
314 bool m_latestUpdateAttemptAtHasBeenSet = false;
315 };
316
317} // namespace Model
318} // namespace Translate
319} // namespace Aws
ParallelDataProperties & WithFailedRecordCount(long long value)
ParallelDataProperties & WithSourceLanguageCode(const Aws::String &value)
ParallelDataProperties & WithTargetLanguageCodes(Aws::Vector< Aws::String > &&value)
void SetTargetLanguageCodes(Aws::Vector< Aws::String > &&value)
const ParallelDataStatus & GetLatestUpdateAttemptStatus() const
AWS_TRANSLATE_API Aws::Utils::Json::JsonValue Jsonize() const
void SetCreatedAt(Aws::Utils::DateTime &&value)
void SetLatestUpdateAttemptStatus(const ParallelDataStatus &value)
void SetStatus(const ParallelDataStatus &value)
AWS_TRANSLATE_API ParallelDataProperties & operator=(Aws::Utils::Json::JsonView jsonValue)
ParallelDataProperties & WithSourceLanguageCode(Aws::String &&value)
ParallelDataProperties & WithEncryptionKey(const EncryptionKey &value)
const Aws::Utils::DateTime & GetLatestUpdateAttemptAt() const
ParallelDataProperties & WithName(const char *value)
ParallelDataProperties & WithCreatedAt(const Aws::Utils::DateTime &value)
ParallelDataProperties & WithLatestUpdateAttemptStatus(ParallelDataStatus &&value)
ParallelDataProperties & WithEncryptionKey(EncryptionKey &&value)
ParallelDataProperties & WithArn(Aws::String &&value)
ParallelDataProperties & WithName(const Aws::String &value)
ParallelDataProperties & WithLastUpdatedAt(const Aws::Utils::DateTime &value)
ParallelDataProperties & WithStatus(const ParallelDataStatus &value)
ParallelDataProperties & WithParallelDataConfig(const ParallelDataConfig &value)
const Aws::Utils::DateTime & GetCreatedAt() const
ParallelDataProperties & WithMessage(Aws::String &&value)
ParallelDataProperties & WithDescription(const Aws::String &value)
ParallelDataProperties & WithArn(const Aws::String &value)
ParallelDataProperties & WithDescription(Aws::String &&value)
void SetLastUpdatedAt(Aws::Utils::DateTime &&value)
const ParallelDataConfig & GetParallelDataConfig() const
ParallelDataProperties & AddTargetLanguageCodes(const Aws::String &value)
void SetLatestUpdateAttemptStatus(ParallelDataStatus &&value)
ParallelDataProperties & WithArn(const char *value)
ParallelDataProperties & WithLatestUpdateAttemptStatus(const ParallelDataStatus &value)
void SetParallelDataConfig(ParallelDataConfig &&value)
AWS_TRANSLATE_API ParallelDataProperties(Aws::Utils::Json::JsonView jsonValue)
ParallelDataProperties & WithLastUpdatedAt(Aws::Utils::DateTime &&value)
ParallelDataProperties & WithParallelDataConfig(ParallelDataConfig &&value)
ParallelDataProperties & WithStatus(ParallelDataStatus &&value)
const Aws::Utils::DateTime & GetLastUpdatedAt() const
void SetLastUpdatedAt(const Aws::Utils::DateTime &value)
const Aws::Vector< Aws::String > & GetTargetLanguageCodes() const
void SetCreatedAt(const Aws::Utils::DateTime &value)
ParallelDataProperties & WithImportedRecordCount(long long value)
ParallelDataProperties & AddTargetLanguageCodes(const char *value)
void SetLatestUpdateAttemptAt(Aws::Utils::DateTime &&value)
void SetTargetLanguageCodes(const Aws::Vector< Aws::String > &value)
ParallelDataProperties & WithLatestUpdateAttemptAt(const Aws::Utils::DateTime &value)
ParallelDataProperties & AddTargetLanguageCodes(Aws::String &&value)
ParallelDataProperties & WithImportedDataSize(long long value)
void SetLatestUpdateAttemptAt(const Aws::Utils::DateTime &value)
void SetParallelDataConfig(const ParallelDataConfig &value)
ParallelDataProperties & WithMessage(const char *value)
ParallelDataProperties & WithSourceLanguageCode(const char *value)
ParallelDataProperties & WithCreatedAt(Aws::Utils::DateTime &&value)
ParallelDataProperties & WithSkippedRecordCount(long long value)
ParallelDataProperties & WithTargetLanguageCodes(const Aws::Vector< Aws::String > &value)
ParallelDataProperties & WithMessage(const Aws::String &value)
ParallelDataProperties & WithDescription(const char *value)
ParallelDataProperties & WithLatestUpdateAttemptAt(Aws::Utils::DateTime &&value)
ParallelDataProperties & WithName(Aws::String &&value)
std::basic_string< char, std::char_traits< char >, Aws::Allocator< char > > String
std::vector< T, Aws::Allocator< T > > Vector
Aws::Utils::Json::JsonValue JsonValue