AWS SDK for C++

AWS SDK for C++ Version 1.11.912

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/FilterSpecification.h>
14#include <aws/dynamodb/model/IncrementalExportSpecification.h>
15#include <aws/dynamodb/model/S3SseAlgorithm.h>
16
17#include <utility>
18
19namespace Aws {
20namespace Utils {
21namespace Json {
22class JsonValue;
23class JsonView;
24} // namespace Json
25} // namespace Utils
26namespace DynamoDB {
27namespace Model {
28
36 public:
37 AWS_DYNAMODB_API ExportDescription() = default;
38 AWS_DYNAMODB_API ExportDescription(Aws::Utils::Json::JsonView jsonValue);
40 AWS_DYNAMODB_API Aws::Utils::Json::JsonValue Jsonize() const;
41
43
46 inline const Aws::String& GetExportArn() const { return m_exportArn; }
47 inline bool ExportArnHasBeenSet() const { return m_exportArnHasBeenSet; }
48 template <typename ExportArnT = Aws::String>
49 void SetExportArn(ExportArnT&& value) {
50 m_exportArnHasBeenSet = true;
51 m_exportArn = std::forward<ExportArnT>(value);
52 }
53 template <typename ExportArnT = Aws::String>
54 ExportDescription& WithExportArn(ExportArnT&& value) {
55 SetExportArn(std::forward<ExportArnT>(value));
56 return *this;
57 }
59
61
65 inline ExportStatus GetExportStatus() const { return m_exportStatus; }
66 inline bool ExportStatusHasBeenSet() const { return m_exportStatusHasBeenSet; }
67 inline void SetExportStatus(ExportStatus value) {
68 m_exportStatusHasBeenSet = true;
69 m_exportStatus = value;
70 }
72 SetExportStatus(value);
73 return *this;
74 }
76
78
81 inline const Aws::Utils::DateTime& GetStartTime() const { return m_startTime; }
82 inline bool StartTimeHasBeenSet() const { return m_startTimeHasBeenSet; }
83 template <typename StartTimeT = Aws::Utils::DateTime>
84 void SetStartTime(StartTimeT&& value) {
85 m_startTimeHasBeenSet = true;
86 m_startTime = std::forward<StartTimeT>(value);
87 }
88 template <typename StartTimeT = Aws::Utils::DateTime>
89 ExportDescription& WithStartTime(StartTimeT&& value) {
90 SetStartTime(std::forward<StartTimeT>(value));
91 return *this;
92 }
94
96
99 inline const Aws::Utils::DateTime& GetEndTime() const { return m_endTime; }
100 inline bool EndTimeHasBeenSet() const { return m_endTimeHasBeenSet; }
101 template <typename EndTimeT = Aws::Utils::DateTime>
102 void SetEndTime(EndTimeT&& value) {
103 m_endTimeHasBeenSet = true;
104 m_endTime = std::forward<EndTimeT>(value);
105 }
106 template <typename EndTimeT = Aws::Utils::DateTime>
107 ExportDescription& WithEndTime(EndTimeT&& value) {
108 SetEndTime(std::forward<EndTimeT>(value));
109 return *this;
110 }
112
114
117 inline const Aws::String& GetExportManifest() const { return m_exportManifest; }
118 inline bool ExportManifestHasBeenSet() const { return m_exportManifestHasBeenSet; }
119 template <typename ExportManifestT = Aws::String>
120 void SetExportManifest(ExportManifestT&& value) {
121 m_exportManifestHasBeenSet = true;
122 m_exportManifest = std::forward<ExportManifestT>(value);
123 }
124 template <typename ExportManifestT = Aws::String>
125 ExportDescription& WithExportManifest(ExportManifestT&& value) {
126 SetExportManifest(std::forward<ExportManifestT>(value));
127 return *this;
128 }
130
132
135 inline const Aws::String& GetTableArn() const { return m_tableArn; }
136 inline bool TableArnHasBeenSet() const { return m_tableArnHasBeenSet; }
137 template <typename TableArnT = Aws::String>
138 void SetTableArn(TableArnT&& value) {
139 m_tableArnHasBeenSet = true;
140 m_tableArn = std::forward<TableArnT>(value);
141 }
142 template <typename TableArnT = Aws::String>
143 ExportDescription& WithTableArn(TableArnT&& value) {
144 SetTableArn(std::forward<TableArnT>(value));
145 return *this;
146 }
148
150
153 inline const Aws::String& GetTableId() const { return m_tableId; }
154 inline bool TableIdHasBeenSet() const { return m_tableIdHasBeenSet; }
155 template <typename TableIdT = Aws::String>
156 void SetTableId(TableIdT&& value) {
157 m_tableIdHasBeenSet = true;
158 m_tableId = std::forward<TableIdT>(value);
159 }
160 template <typename TableIdT = Aws::String>
161 ExportDescription& WithTableId(TableIdT&& value) {
162 SetTableId(std::forward<TableIdT>(value));
163 return *this;
164 }
166
168
171 inline const Aws::Utils::DateTime& GetExportTime() const { return m_exportTime; }
172 inline bool ExportTimeHasBeenSet() const { return m_exportTimeHasBeenSet; }
173 template <typename ExportTimeT = Aws::Utils::DateTime>
174 void SetExportTime(ExportTimeT&& value) {
175 m_exportTimeHasBeenSet = true;
176 m_exportTime = std::forward<ExportTimeT>(value);
177 }
178 template <typename ExportTimeT = Aws::Utils::DateTime>
179 ExportDescription& WithExportTime(ExportTimeT&& value) {
180 SetExportTime(std::forward<ExportTimeT>(value));
181 return *this;
182 }
184
186
191 inline const Aws::String& GetClientToken() const { return m_clientToken; }
192 inline bool ClientTokenHasBeenSet() const { return m_clientTokenHasBeenSet; }
193 template <typename ClientTokenT = Aws::String>
194 void SetClientToken(ClientTokenT&& value) {
195 m_clientTokenHasBeenSet = true;
196 m_clientToken = std::forward<ClientTokenT>(value);
197 }
198 template <typename ClientTokenT = Aws::String>
199 ExportDescription& WithClientToken(ClientTokenT&& value) {
200 SetClientToken(std::forward<ClientTokenT>(value));
201 return *this;
202 }
204
206
209 inline const Aws::String& GetS3Bucket() const { return m_s3Bucket; }
210 inline bool S3BucketHasBeenSet() const { return m_s3BucketHasBeenSet; }
211 template <typename S3BucketT = Aws::String>
212 void SetS3Bucket(S3BucketT&& value) {
213 m_s3BucketHasBeenSet = true;
214 m_s3Bucket = std::forward<S3BucketT>(value);
215 }
216 template <typename S3BucketT = Aws::String>
217 ExportDescription& WithS3Bucket(S3BucketT&& value) {
218 SetS3Bucket(std::forward<S3BucketT>(value));
219 return *this;
220 }
222
224
228 inline const Aws::String& GetS3BucketOwner() const { return m_s3BucketOwner; }
229 inline bool S3BucketOwnerHasBeenSet() const { return m_s3BucketOwnerHasBeenSet; }
230 template <typename S3BucketOwnerT = Aws::String>
231 void SetS3BucketOwner(S3BucketOwnerT&& value) {
232 m_s3BucketOwnerHasBeenSet = true;
233 m_s3BucketOwner = std::forward<S3BucketOwnerT>(value);
234 }
235 template <typename S3BucketOwnerT = Aws::String>
236 ExportDescription& WithS3BucketOwner(S3BucketOwnerT&& value) {
237 SetS3BucketOwner(std::forward<S3BucketOwnerT>(value));
238 return *this;
239 }
241
243
247 inline const Aws::String& GetS3Prefix() const { return m_s3Prefix; }
248 inline bool S3PrefixHasBeenSet() const { return m_s3PrefixHasBeenSet; }
249 template <typename S3PrefixT = Aws::String>
250 void SetS3Prefix(S3PrefixT&& value) {
251 m_s3PrefixHasBeenSet = true;
252 m_s3Prefix = std::forward<S3PrefixT>(value);
253 }
254 template <typename S3PrefixT = Aws::String>
255 ExportDescription& WithS3Prefix(S3PrefixT&& value) {
256 SetS3Prefix(std::forward<S3PrefixT>(value));
257 return *this;
258 }
260
262
269 inline S3SseAlgorithm GetS3SseAlgorithm() const { return m_s3SseAlgorithm; }
270 inline bool S3SseAlgorithmHasBeenSet() const { return m_s3SseAlgorithmHasBeenSet; }
272 m_s3SseAlgorithmHasBeenSet = true;
273 m_s3SseAlgorithm = value;
274 }
276 SetS3SseAlgorithm(value);
277 return *this;
278 }
280
282
286 inline const Aws::String& GetS3SseKmsKeyId() const { return m_s3SseKmsKeyId; }
287 inline bool S3SseKmsKeyIdHasBeenSet() const { return m_s3SseKmsKeyIdHasBeenSet; }
288 template <typename S3SseKmsKeyIdT = Aws::String>
289 void SetS3SseKmsKeyId(S3SseKmsKeyIdT&& value) {
290 m_s3SseKmsKeyIdHasBeenSet = true;
291 m_s3SseKmsKeyId = std::forward<S3SseKmsKeyIdT>(value);
292 }
293 template <typename S3SseKmsKeyIdT = Aws::String>
294 ExportDescription& WithS3SseKmsKeyId(S3SseKmsKeyIdT&& value) {
295 SetS3SseKmsKeyId(std::forward<S3SseKmsKeyIdT>(value));
296 return *this;
297 }
299
301
304 inline const Aws::String& GetFailureCode() const { return m_failureCode; }
305 inline bool FailureCodeHasBeenSet() const { return m_failureCodeHasBeenSet; }
306 template <typename FailureCodeT = Aws::String>
307 void SetFailureCode(FailureCodeT&& value) {
308 m_failureCodeHasBeenSet = true;
309 m_failureCode = std::forward<FailureCodeT>(value);
310 }
311 template <typename FailureCodeT = Aws::String>
312 ExportDescription& WithFailureCode(FailureCodeT&& value) {
313 SetFailureCode(std::forward<FailureCodeT>(value));
314 return *this;
315 }
317
319
322 inline const Aws::String& GetFailureMessage() const { return m_failureMessage; }
323 inline bool FailureMessageHasBeenSet() const { return m_failureMessageHasBeenSet; }
324 template <typename FailureMessageT = Aws::String>
325 void SetFailureMessage(FailureMessageT&& value) {
326 m_failureMessageHasBeenSet = true;
327 m_failureMessage = std::forward<FailureMessageT>(value);
328 }
329 template <typename FailureMessageT = Aws::String>
330 ExportDescription& WithFailureMessage(FailureMessageT&& value) {
331 SetFailureMessage(std::forward<FailureMessageT>(value));
332 return *this;
333 }
335
337
341 inline ExportFormat GetExportFormat() const { return m_exportFormat; }
342 inline bool ExportFormatHasBeenSet() const { return m_exportFormatHasBeenSet; }
343 inline void SetExportFormat(ExportFormat value) {
344 m_exportFormatHasBeenSet = true;
345 m_exportFormat = value;
346 }
348 SetExportFormat(value);
349 return *this;
350 }
352
354
357 inline long long GetBilledSizeBytes() const { return m_billedSizeBytes; }
358 inline bool BilledSizeBytesHasBeenSet() const { return m_billedSizeBytesHasBeenSet; }
359 inline void SetBilledSizeBytes(long long value) {
360 m_billedSizeBytesHasBeenSet = true;
361 m_billedSizeBytes = value;
362 }
363 inline ExportDescription& WithBilledSizeBytes(long long value) {
364 SetBilledSizeBytes(value);
365 return *this;
366 }
368
370
373 inline long long GetItemCount() const { return m_itemCount; }
374 inline bool ItemCountHasBeenSet() const { return m_itemCountHasBeenSet; }
375 inline void SetItemCount(long long value) {
376 m_itemCountHasBeenSet = true;
377 m_itemCount = value;
378 }
379 inline ExportDescription& WithItemCount(long long value) {
380 SetItemCount(value);
381 return *this;
382 }
384
386
390 inline ExportType GetExportType() const { return m_exportType; }
391 inline bool ExportTypeHasBeenSet() const { return m_exportTypeHasBeenSet; }
392 inline void SetExportType(ExportType value) {
393 m_exportTypeHasBeenSet = true;
394 m_exportType = value;
395 }
397 SetExportType(value);
398 return *this;
399 }
401
403
407 inline const IncrementalExportSpecification& GetIncrementalExportSpecification() const { return m_incrementalExportSpecification; }
408 inline bool IncrementalExportSpecificationHasBeenSet() const { return m_incrementalExportSpecificationHasBeenSet; }
409 template <typename IncrementalExportSpecificationT = IncrementalExportSpecification>
410 void SetIncrementalExportSpecification(IncrementalExportSpecificationT&& value) {
411 m_incrementalExportSpecificationHasBeenSet = true;
412 m_incrementalExportSpecification = std::forward<IncrementalExportSpecificationT>(value);
413 }
414 template <typename IncrementalExportSpecificationT = IncrementalExportSpecification>
415 ExportDescription& WithIncrementalExportSpecification(IncrementalExportSpecificationT&& value) {
416 SetIncrementalExportSpecification(std::forward<IncrementalExportSpecificationT>(value));
417 return *this;
418 }
420
422
427 inline const FilterSpecification& GetFilterSpecification() const { return m_filterSpecification; }
428 inline bool FilterSpecificationHasBeenSet() const { return m_filterSpecificationHasBeenSet; }
429 template <typename FilterSpecificationT = FilterSpecification>
430 void SetFilterSpecification(FilterSpecificationT&& value) {
431 m_filterSpecificationHasBeenSet = true;
432 m_filterSpecification = std::forward<FilterSpecificationT>(value);
433 }
434 template <typename FilterSpecificationT = FilterSpecification>
435 ExportDescription& WithFilterSpecification(FilterSpecificationT&& value) {
436 SetFilterSpecification(std::forward<FilterSpecificationT>(value));
437 return *this;
438 }
440 private:
441 Aws::String m_exportArn;
442
443 ExportStatus m_exportStatus{ExportStatus::NOT_SET};
444
445 Aws::Utils::DateTime m_startTime{};
446
447 Aws::Utils::DateTime m_endTime{};
448
449 Aws::String m_exportManifest;
450
451 Aws::String m_tableArn;
452
453 Aws::String m_tableId;
454
455 Aws::Utils::DateTime m_exportTime{};
456
457 Aws::String m_clientToken;
458
459 Aws::String m_s3Bucket;
460
461 Aws::String m_s3BucketOwner;
462
463 Aws::String m_s3Prefix;
464
465 S3SseAlgorithm m_s3SseAlgorithm{S3SseAlgorithm::NOT_SET};
466
467 Aws::String m_s3SseKmsKeyId;
468
469 Aws::String m_failureCode;
470
471 Aws::String m_failureMessage;
472
473 ExportFormat m_exportFormat{ExportFormat::NOT_SET};
474
475 long long m_billedSizeBytes{0};
476
477 long long m_itemCount{0};
478
479 ExportType m_exportType{ExportType::NOT_SET};
480
481 IncrementalExportSpecification m_incrementalExportSpecification;
482
483 FilterSpecification m_filterSpecification;
484 bool m_exportArnHasBeenSet = false;
485 bool m_exportStatusHasBeenSet = false;
486 bool m_startTimeHasBeenSet = false;
487 bool m_endTimeHasBeenSet = false;
488 bool m_exportManifestHasBeenSet = false;
489 bool m_tableArnHasBeenSet = false;
490 bool m_tableIdHasBeenSet = false;
491 bool m_exportTimeHasBeenSet = false;
492 bool m_clientTokenHasBeenSet = false;
493 bool m_s3BucketHasBeenSet = false;
494 bool m_s3BucketOwnerHasBeenSet = false;
495 bool m_s3PrefixHasBeenSet = false;
496 bool m_s3SseAlgorithmHasBeenSet = false;
497 bool m_s3SseKmsKeyIdHasBeenSet = false;
498 bool m_failureCodeHasBeenSet = false;
499 bool m_failureMessageHasBeenSet = false;
500 bool m_exportFormatHasBeenSet = false;
501 bool m_billedSizeBytesHasBeenSet = false;
502 bool m_itemCountHasBeenSet = false;
503 bool m_exportTypeHasBeenSet = false;
504 bool m_incrementalExportSpecificationHasBeenSet = false;
505 bool m_filterSpecificationHasBeenSet = false;
506};
507
508} // namespace Model
509} // namespace DynamoDB
510} // 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 FilterSpecification & GetFilterSpecification() const
void SetFilterSpecification(FilterSpecificationT &&value)
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
ExportDescription & WithFilterSpecification(FilterSpecificationT &&value)
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