AWS SDK for C++

AWS SDK for C++ Version 1.11.743

Loading...
Searching...
No Matches
ExportDescription.h
1
6#pragma once
7#include <aws/core/utils/DateTime.h>
8#include <aws/core/utils/memory/stl/AWSString.h>
9#include <aws/dynamodb/DynamoDB_EXPORTS.h>
10#include <aws/dynamodb/model/ExportFormat.h>
11#include <aws/dynamodb/model/ExportStatus.h>
12#include <aws/dynamodb/model/ExportType.h>
13#include <aws/dynamodb/model/IncrementalExportSpecification.h>
14#include <aws/dynamodb/model/S3SseAlgorithm.h>
15
16#include <utility>
17
18namespace Aws {
19namespace Utils {
20namespace Json {
21class JsonValue;
22class JsonView;
23} // namespace Json
24} // namespace Utils
25namespace DynamoDB {
26namespace Model {
27
35 public:
36 AWS_DYNAMODB_API ExportDescription() = default;
37 AWS_DYNAMODB_API ExportDescription(Aws::Utils::Json::JsonView jsonValue);
39 AWS_DYNAMODB_API Aws::Utils::Json::JsonValue Jsonize() const;
40
42
45 inline const Aws::String& GetExportArn() const { return m_exportArn; }
46 inline bool ExportArnHasBeenSet() const { return m_exportArnHasBeenSet; }
47 template <typename ExportArnT = Aws::String>
48 void SetExportArn(ExportArnT&& value) {
49 m_exportArnHasBeenSet = true;
50 m_exportArn = std::forward<ExportArnT>(value);
51 }
52 template <typename ExportArnT = Aws::String>
53 ExportDescription& WithExportArn(ExportArnT&& value) {
54 SetExportArn(std::forward<ExportArnT>(value));
55 return *this;
56 }
58
60
64 inline ExportStatus GetExportStatus() const { return m_exportStatus; }
65 inline bool ExportStatusHasBeenSet() const { return m_exportStatusHasBeenSet; }
66 inline void SetExportStatus(ExportStatus value) {
67 m_exportStatusHasBeenSet = true;
68 m_exportStatus = value;
69 }
71 SetExportStatus(value);
72 return *this;
73 }
75
77
80 inline const Aws::Utils::DateTime& GetStartTime() const { return m_startTime; }
81 inline bool StartTimeHasBeenSet() const { return m_startTimeHasBeenSet; }
82 template <typename StartTimeT = Aws::Utils::DateTime>
83 void SetStartTime(StartTimeT&& value) {
84 m_startTimeHasBeenSet = true;
85 m_startTime = std::forward<StartTimeT>(value);
86 }
87 template <typename StartTimeT = Aws::Utils::DateTime>
88 ExportDescription& WithStartTime(StartTimeT&& value) {
89 SetStartTime(std::forward<StartTimeT>(value));
90 return *this;
91 }
93
95
98 inline const Aws::Utils::DateTime& GetEndTime() const { return m_endTime; }
99 inline bool EndTimeHasBeenSet() const { return m_endTimeHasBeenSet; }
100 template <typename EndTimeT = Aws::Utils::DateTime>
101 void SetEndTime(EndTimeT&& value) {
102 m_endTimeHasBeenSet = true;
103 m_endTime = std::forward<EndTimeT>(value);
104 }
105 template <typename EndTimeT = Aws::Utils::DateTime>
106 ExportDescription& WithEndTime(EndTimeT&& value) {
107 SetEndTime(std::forward<EndTimeT>(value));
108 return *this;
109 }
111
113
116 inline const Aws::String& GetExportManifest() const { return m_exportManifest; }
117 inline bool ExportManifestHasBeenSet() const { return m_exportManifestHasBeenSet; }
118 template <typename ExportManifestT = Aws::String>
119 void SetExportManifest(ExportManifestT&& value) {
120 m_exportManifestHasBeenSet = true;
121 m_exportManifest = std::forward<ExportManifestT>(value);
122 }
123 template <typename ExportManifestT = Aws::String>
124 ExportDescription& WithExportManifest(ExportManifestT&& value) {
125 SetExportManifest(std::forward<ExportManifestT>(value));
126 return *this;
127 }
129
131
134 inline const Aws::String& GetTableArn() const { return m_tableArn; }
135 inline bool TableArnHasBeenSet() const { return m_tableArnHasBeenSet; }
136 template <typename TableArnT = Aws::String>
137 void SetTableArn(TableArnT&& value) {
138 m_tableArnHasBeenSet = true;
139 m_tableArn = std::forward<TableArnT>(value);
140 }
141 template <typename TableArnT = Aws::String>
142 ExportDescription& WithTableArn(TableArnT&& value) {
143 SetTableArn(std::forward<TableArnT>(value));
144 return *this;
145 }
147
149
152 inline const Aws::String& GetTableId() const { return m_tableId; }
153 inline bool TableIdHasBeenSet() const { return m_tableIdHasBeenSet; }
154 template <typename TableIdT = Aws::String>
155 void SetTableId(TableIdT&& value) {
156 m_tableIdHasBeenSet = true;
157 m_tableId = std::forward<TableIdT>(value);
158 }
159 template <typename TableIdT = Aws::String>
160 ExportDescription& WithTableId(TableIdT&& value) {
161 SetTableId(std::forward<TableIdT>(value));
162 return *this;
163 }
165
167
170 inline const Aws::Utils::DateTime& GetExportTime() const { return m_exportTime; }
171 inline bool ExportTimeHasBeenSet() const { return m_exportTimeHasBeenSet; }
172 template <typename ExportTimeT = Aws::Utils::DateTime>
173 void SetExportTime(ExportTimeT&& value) {
174 m_exportTimeHasBeenSet = true;
175 m_exportTime = std::forward<ExportTimeT>(value);
176 }
177 template <typename ExportTimeT = Aws::Utils::DateTime>
178 ExportDescription& WithExportTime(ExportTimeT&& value) {
179 SetExportTime(std::forward<ExportTimeT>(value));
180 return *this;
181 }
183
185
190 inline const Aws::String& GetClientToken() const { return m_clientToken; }
191 inline bool ClientTokenHasBeenSet() const { return m_clientTokenHasBeenSet; }
192 template <typename ClientTokenT = Aws::String>
193 void SetClientToken(ClientTokenT&& value) {
194 m_clientTokenHasBeenSet = true;
195 m_clientToken = std::forward<ClientTokenT>(value);
196 }
197 template <typename ClientTokenT = Aws::String>
198 ExportDescription& WithClientToken(ClientTokenT&& value) {
199 SetClientToken(std::forward<ClientTokenT>(value));
200 return *this;
201 }
203
205
208 inline const Aws::String& GetS3Bucket() const { return m_s3Bucket; }
209 inline bool S3BucketHasBeenSet() const { return m_s3BucketHasBeenSet; }
210 template <typename S3BucketT = Aws::String>
211 void SetS3Bucket(S3BucketT&& value) {
212 m_s3BucketHasBeenSet = true;
213 m_s3Bucket = std::forward<S3BucketT>(value);
214 }
215 template <typename S3BucketT = Aws::String>
216 ExportDescription& WithS3Bucket(S3BucketT&& value) {
217 SetS3Bucket(std::forward<S3BucketT>(value));
218 return *this;
219 }
221
223
227 inline const Aws::String& GetS3BucketOwner() const { return m_s3BucketOwner; }
228 inline bool S3BucketOwnerHasBeenSet() const { return m_s3BucketOwnerHasBeenSet; }
229 template <typename S3BucketOwnerT = Aws::String>
230 void SetS3BucketOwner(S3BucketOwnerT&& value) {
231 m_s3BucketOwnerHasBeenSet = true;
232 m_s3BucketOwner = std::forward<S3BucketOwnerT>(value);
233 }
234 template <typename S3BucketOwnerT = Aws::String>
235 ExportDescription& WithS3BucketOwner(S3BucketOwnerT&& value) {
236 SetS3BucketOwner(std::forward<S3BucketOwnerT>(value));
237 return *this;
238 }
240
242
246 inline const Aws::String& GetS3Prefix() const { return m_s3Prefix; }
247 inline bool S3PrefixHasBeenSet() const { return m_s3PrefixHasBeenSet; }
248 template <typename S3PrefixT = Aws::String>
249 void SetS3Prefix(S3PrefixT&& value) {
250 m_s3PrefixHasBeenSet = true;
251 m_s3Prefix = std::forward<S3PrefixT>(value);
252 }
253 template <typename S3PrefixT = Aws::String>
254 ExportDescription& WithS3Prefix(S3PrefixT&& value) {
255 SetS3Prefix(std::forward<S3PrefixT>(value));
256 return *this;
257 }
259
261
268 inline S3SseAlgorithm GetS3SseAlgorithm() const { return m_s3SseAlgorithm; }
269 inline bool S3SseAlgorithmHasBeenSet() const { return m_s3SseAlgorithmHasBeenSet; }
271 m_s3SseAlgorithmHasBeenSet = true;
272 m_s3SseAlgorithm = value;
273 }
275 SetS3SseAlgorithm(value);
276 return *this;
277 }
279
281
285 inline const Aws::String& GetS3SseKmsKeyId() const { return m_s3SseKmsKeyId; }
286 inline bool S3SseKmsKeyIdHasBeenSet() const { return m_s3SseKmsKeyIdHasBeenSet; }
287 template <typename S3SseKmsKeyIdT = Aws::String>
288 void SetS3SseKmsKeyId(S3SseKmsKeyIdT&& value) {
289 m_s3SseKmsKeyIdHasBeenSet = true;
290 m_s3SseKmsKeyId = std::forward<S3SseKmsKeyIdT>(value);
291 }
292 template <typename S3SseKmsKeyIdT = Aws::String>
293 ExportDescription& WithS3SseKmsKeyId(S3SseKmsKeyIdT&& value) {
294 SetS3SseKmsKeyId(std::forward<S3SseKmsKeyIdT>(value));
295 return *this;
296 }
298
300
303 inline const Aws::String& GetFailureCode() const { return m_failureCode; }
304 inline bool FailureCodeHasBeenSet() const { return m_failureCodeHasBeenSet; }
305 template <typename FailureCodeT = Aws::String>
306 void SetFailureCode(FailureCodeT&& value) {
307 m_failureCodeHasBeenSet = true;
308 m_failureCode = std::forward<FailureCodeT>(value);
309 }
310 template <typename FailureCodeT = Aws::String>
311 ExportDescription& WithFailureCode(FailureCodeT&& value) {
312 SetFailureCode(std::forward<FailureCodeT>(value));
313 return *this;
314 }
316
318
321 inline const Aws::String& GetFailureMessage() const { return m_failureMessage; }
322 inline bool FailureMessageHasBeenSet() const { return m_failureMessageHasBeenSet; }
323 template <typename FailureMessageT = Aws::String>
324 void SetFailureMessage(FailureMessageT&& value) {
325 m_failureMessageHasBeenSet = true;
326 m_failureMessage = std::forward<FailureMessageT>(value);
327 }
328 template <typename FailureMessageT = Aws::String>
329 ExportDescription& WithFailureMessage(FailureMessageT&& value) {
330 SetFailureMessage(std::forward<FailureMessageT>(value));
331 return *this;
332 }
334
336
340 inline ExportFormat GetExportFormat() const { return m_exportFormat; }
341 inline bool ExportFormatHasBeenSet() const { return m_exportFormatHasBeenSet; }
342 inline void SetExportFormat(ExportFormat value) {
343 m_exportFormatHasBeenSet = true;
344 m_exportFormat = value;
345 }
347 SetExportFormat(value);
348 return *this;
349 }
351
353
356 inline long long GetBilledSizeBytes() const { return m_billedSizeBytes; }
357 inline bool BilledSizeBytesHasBeenSet() const { return m_billedSizeBytesHasBeenSet; }
358 inline void SetBilledSizeBytes(long long value) {
359 m_billedSizeBytesHasBeenSet = true;
360 m_billedSizeBytes = value;
361 }
362 inline ExportDescription& WithBilledSizeBytes(long long value) {
363 SetBilledSizeBytes(value);
364 return *this;
365 }
367
369
372 inline long long GetItemCount() const { return m_itemCount; }
373 inline bool ItemCountHasBeenSet() const { return m_itemCountHasBeenSet; }
374 inline void SetItemCount(long long value) {
375 m_itemCountHasBeenSet = true;
376 m_itemCount = value;
377 }
378 inline ExportDescription& WithItemCount(long long value) {
379 SetItemCount(value);
380 return *this;
381 }
383
385
389 inline ExportType GetExportType() const { return m_exportType; }
390 inline bool ExportTypeHasBeenSet() const { return m_exportTypeHasBeenSet; }
391 inline void SetExportType(ExportType value) {
392 m_exportTypeHasBeenSet = true;
393 m_exportType = value;
394 }
396 SetExportType(value);
397 return *this;
398 }
400
402
406 inline const IncrementalExportSpecification& GetIncrementalExportSpecification() const { return m_incrementalExportSpecification; }
407 inline bool IncrementalExportSpecificationHasBeenSet() const { return m_incrementalExportSpecificationHasBeenSet; }
408 template <typename IncrementalExportSpecificationT = IncrementalExportSpecification>
409 void SetIncrementalExportSpecification(IncrementalExportSpecificationT&& value) {
410 m_incrementalExportSpecificationHasBeenSet = true;
411 m_incrementalExportSpecification = std::forward<IncrementalExportSpecificationT>(value);
412 }
413 template <typename IncrementalExportSpecificationT = IncrementalExportSpecification>
414 ExportDescription& WithIncrementalExportSpecification(IncrementalExportSpecificationT&& value) {
415 SetIncrementalExportSpecification(std::forward<IncrementalExportSpecificationT>(value));
416 return *this;
417 }
419 private:
420 Aws::String m_exportArn;
421
422 ExportStatus m_exportStatus{ExportStatus::NOT_SET};
423
424 Aws::Utils::DateTime m_startTime{};
425
426 Aws::Utils::DateTime m_endTime{};
427
428 Aws::String m_exportManifest;
429
430 Aws::String m_tableArn;
431
432 Aws::String m_tableId;
433
434 Aws::Utils::DateTime m_exportTime{};
435
436 Aws::String m_clientToken;
437
438 Aws::String m_s3Bucket;
439
440 Aws::String m_s3BucketOwner;
441
442 Aws::String m_s3Prefix;
443
444 S3SseAlgorithm m_s3SseAlgorithm{S3SseAlgorithm::NOT_SET};
445
446 Aws::String m_s3SseKmsKeyId;
447
448 Aws::String m_failureCode;
449
450 Aws::String m_failureMessage;
451
452 ExportFormat m_exportFormat{ExportFormat::NOT_SET};
453
454 long long m_billedSizeBytes{0};
455
456 long long m_itemCount{0};
457
458 ExportType m_exportType{ExportType::NOT_SET};
459
460 IncrementalExportSpecification m_incrementalExportSpecification;
461 bool m_exportArnHasBeenSet = false;
462 bool m_exportStatusHasBeenSet = false;
463 bool m_startTimeHasBeenSet = false;
464 bool m_endTimeHasBeenSet = false;
465 bool m_exportManifestHasBeenSet = false;
466 bool m_tableArnHasBeenSet = false;
467 bool m_tableIdHasBeenSet = false;
468 bool m_exportTimeHasBeenSet = false;
469 bool m_clientTokenHasBeenSet = false;
470 bool m_s3BucketHasBeenSet = false;
471 bool m_s3BucketOwnerHasBeenSet = false;
472 bool m_s3PrefixHasBeenSet = false;
473 bool m_s3SseAlgorithmHasBeenSet = false;
474 bool m_s3SseKmsKeyIdHasBeenSet = false;
475 bool m_failureCodeHasBeenSet = false;
476 bool m_failureMessageHasBeenSet = false;
477 bool m_exportFormatHasBeenSet = false;
478 bool m_billedSizeBytesHasBeenSet = false;
479 bool m_itemCountHasBeenSet = false;
480 bool m_exportTypeHasBeenSet = false;
481 bool m_incrementalExportSpecificationHasBeenSet = false;
482};
483
484} // namespace Model
485} // namespace DynamoDB
486} // namespace Aws
void SetIncrementalExportSpecification(IncrementalExportSpecificationT &&value)
AWS_DYNAMODB_API ExportDescription & operator=(Aws::Utils::Json::JsonView jsonValue)
const Aws::String & GetExportArn() const
void SetS3SseAlgorithm(S3SseAlgorithm value)
void SetFailureMessage(FailureMessageT &&value)
void SetS3BucketOwner(S3BucketOwnerT &&value)
ExportDescription & WithExportType(ExportType value)
AWS_DYNAMODB_API Aws::Utils::Json::JsonValue Jsonize() const
AWS_DYNAMODB_API ExportDescription(Aws::Utils::Json::JsonView jsonValue)
ExportDescription & WithFailureCode(FailureCodeT &&value)
const Aws::String & GetS3Bucket() const
void SetExportManifest(ExportManifestT &&value)
ExportDescription & WithExportTime(ExportTimeT &&value)
ExportDescription & WithExportStatus(ExportStatus value)
const Aws::String & GetFailureMessage() const
ExportDescription & WithClientToken(ClientTokenT &&value)
ExportDescription & WithFailureMessage(FailureMessageT &&value)
ExportDescription & WithExportFormat(ExportFormat value)
const Aws::Utils::DateTime & GetExportTime() const
const Aws::Utils::DateTime & GetEndTime() const
ExportDescription & WithS3SseKmsKeyId(S3SseKmsKeyIdT &&value)
ExportDescription & WithS3BucketOwner(S3BucketOwnerT &&value)
const Aws::String & GetS3SseKmsKeyId() const
ExportDescription & WithS3Prefix(S3PrefixT &&value)
ExportDescription & WithExportArn(ExportArnT &&value)
ExportDescription & WithExportManifest(ExportManifestT &&value)
void SetS3SseKmsKeyId(S3SseKmsKeyIdT &&value)
ExportDescription & WithEndTime(EndTimeT &&value)
const Aws::String & GetFailureCode() const
const Aws::String & GetS3BucketOwner() const
ExportDescription & WithTableId(TableIdT &&value)
const Aws::String & GetClientToken() const
ExportDescription & WithTableArn(TableArnT &&value)
const Aws::String & GetTableArn() const
const Aws::String & GetExportManifest() const
const Aws::Utils::DateTime & GetStartTime() const
ExportDescription & WithBilledSizeBytes(long long value)
void SetClientToken(ClientTokenT &&value)
ExportDescription & WithS3SseAlgorithm(S3SseAlgorithm value)
const IncrementalExportSpecification & GetIncrementalExportSpecification() const
AWS_DYNAMODB_API ExportDescription()=default
ExportDescription & WithS3Bucket(S3BucketT &&value)
ExportDescription & WithIncrementalExportSpecification(IncrementalExportSpecificationT &&value)
ExportDescription & WithStartTime(StartTimeT &&value)
ExportDescription & WithItemCount(long long value)
const Aws::String & GetS3Prefix() const
void SetFailureCode(FailureCodeT &&value)
std::basic_string< char, std::char_traits< char >, Aws::Allocator< char > > String
Aws::Utils::Json::JsonValue JsonValue