AWS SDK for C++

AWS SDK for C++ Version 1.11.606

Loading...
Searching...
No Matches
ExportDescription.h
1
6#pragma once
7#include <aws/dynamodb/DynamoDB_EXPORTS.h>
8#include <aws/core/utils/memory/stl/AWSString.h>
9#include <aws/dynamodb/model/ExportStatus.h>
10#include <aws/core/utils/DateTime.h>
11#include <aws/dynamodb/model/S3SseAlgorithm.h>
12#include <aws/dynamodb/model/ExportFormat.h>
13#include <aws/dynamodb/model/ExportType.h>
14#include <aws/dynamodb/model/IncrementalExportSpecification.h>
15#include <utility>
16
17namespace Aws
18{
19namespace Utils
20{
21namespace Json
22{
23 class JsonValue;
24 class JsonView;
25} // namespace Json
26} // namespace Utils
27namespace DynamoDB
28{
29namespace Model
30{
31
39 {
40 public:
41 AWS_DYNAMODB_API ExportDescription() = default;
42 AWS_DYNAMODB_API ExportDescription(Aws::Utils::Json::JsonView jsonValue);
44 AWS_DYNAMODB_API Aws::Utils::Json::JsonValue Jsonize() const;
45
46
48
51 inline const Aws::String& GetExportArn() const { return m_exportArn; }
52 inline bool ExportArnHasBeenSet() const { return m_exportArnHasBeenSet; }
53 template<typename ExportArnT = Aws::String>
54 void SetExportArn(ExportArnT&& value) { m_exportArnHasBeenSet = true; m_exportArn = std::forward<ExportArnT>(value); }
55 template<typename ExportArnT = Aws::String>
56 ExportDescription& WithExportArn(ExportArnT&& value) { SetExportArn(std::forward<ExportArnT>(value)); return *this;}
58
60
64 inline ExportStatus GetExportStatus() const { return m_exportStatus; }
65 inline bool ExportStatusHasBeenSet() const { return m_exportStatusHasBeenSet; }
66 inline void SetExportStatus(ExportStatus value) { m_exportStatusHasBeenSet = true; m_exportStatus = value; }
67 inline ExportDescription& WithExportStatus(ExportStatus value) { SetExportStatus(value); return *this;}
69
71
74 inline const Aws::Utils::DateTime& GetStartTime() const { return m_startTime; }
75 inline bool StartTimeHasBeenSet() const { return m_startTimeHasBeenSet; }
76 template<typename StartTimeT = Aws::Utils::DateTime>
77 void SetStartTime(StartTimeT&& value) { m_startTimeHasBeenSet = true; m_startTime = std::forward<StartTimeT>(value); }
78 template<typename StartTimeT = Aws::Utils::DateTime>
79 ExportDescription& WithStartTime(StartTimeT&& value) { SetStartTime(std::forward<StartTimeT>(value)); return *this;}
81
83
86 inline const Aws::Utils::DateTime& GetEndTime() const { return m_endTime; }
87 inline bool EndTimeHasBeenSet() const { return m_endTimeHasBeenSet; }
88 template<typename EndTimeT = Aws::Utils::DateTime>
89 void SetEndTime(EndTimeT&& value) { m_endTimeHasBeenSet = true; m_endTime = std::forward<EndTimeT>(value); }
90 template<typename EndTimeT = Aws::Utils::DateTime>
91 ExportDescription& WithEndTime(EndTimeT&& value) { SetEndTime(std::forward<EndTimeT>(value)); return *this;}
93
95
98 inline const Aws::String& GetExportManifest() const { return m_exportManifest; }
99 inline bool ExportManifestHasBeenSet() const { return m_exportManifestHasBeenSet; }
100 template<typename ExportManifestT = Aws::String>
101 void SetExportManifest(ExportManifestT&& value) { m_exportManifestHasBeenSet = true; m_exportManifest = std::forward<ExportManifestT>(value); }
102 template<typename ExportManifestT = Aws::String>
103 ExportDescription& WithExportManifest(ExportManifestT&& value) { SetExportManifest(std::forward<ExportManifestT>(value)); return *this;}
105
107
110 inline const Aws::String& GetTableArn() const { return m_tableArn; }
111 inline bool TableArnHasBeenSet() const { return m_tableArnHasBeenSet; }
112 template<typename TableArnT = Aws::String>
113 void SetTableArn(TableArnT&& value) { m_tableArnHasBeenSet = true; m_tableArn = std::forward<TableArnT>(value); }
114 template<typename TableArnT = Aws::String>
115 ExportDescription& WithTableArn(TableArnT&& value) { SetTableArn(std::forward<TableArnT>(value)); return *this;}
117
119
122 inline const Aws::String& GetTableId() const { return m_tableId; }
123 inline bool TableIdHasBeenSet() const { return m_tableIdHasBeenSet; }
124 template<typename TableIdT = Aws::String>
125 void SetTableId(TableIdT&& value) { m_tableIdHasBeenSet = true; m_tableId = std::forward<TableIdT>(value); }
126 template<typename TableIdT = Aws::String>
127 ExportDescription& WithTableId(TableIdT&& value) { SetTableId(std::forward<TableIdT>(value)); return *this;}
129
131
134 inline const Aws::Utils::DateTime& GetExportTime() const { return m_exportTime; }
135 inline bool ExportTimeHasBeenSet() const { return m_exportTimeHasBeenSet; }
136 template<typename ExportTimeT = Aws::Utils::DateTime>
137 void SetExportTime(ExportTimeT&& value) { m_exportTimeHasBeenSet = true; m_exportTime = std::forward<ExportTimeT>(value); }
138 template<typename ExportTimeT = Aws::Utils::DateTime>
139 ExportDescription& WithExportTime(ExportTimeT&& value) { SetExportTime(std::forward<ExportTimeT>(value)); return *this;}
141
143
148 inline const Aws::String& GetClientToken() const { return m_clientToken; }
149 inline bool ClientTokenHasBeenSet() const { return m_clientTokenHasBeenSet; }
150 template<typename ClientTokenT = Aws::String>
151 void SetClientToken(ClientTokenT&& value) { m_clientTokenHasBeenSet = true; m_clientToken = std::forward<ClientTokenT>(value); }
152 template<typename ClientTokenT = Aws::String>
153 ExportDescription& WithClientToken(ClientTokenT&& value) { SetClientToken(std::forward<ClientTokenT>(value)); return *this;}
155
157
160 inline const Aws::String& GetS3Bucket() const { return m_s3Bucket; }
161 inline bool S3BucketHasBeenSet() const { return m_s3BucketHasBeenSet; }
162 template<typename S3BucketT = Aws::String>
163 void SetS3Bucket(S3BucketT&& value) { m_s3BucketHasBeenSet = true; m_s3Bucket = std::forward<S3BucketT>(value); }
164 template<typename S3BucketT = Aws::String>
165 ExportDescription& WithS3Bucket(S3BucketT&& value) { SetS3Bucket(std::forward<S3BucketT>(value)); return *this;}
167
169
173 inline const Aws::String& GetS3BucketOwner() const { return m_s3BucketOwner; }
174 inline bool S3BucketOwnerHasBeenSet() const { return m_s3BucketOwnerHasBeenSet; }
175 template<typename S3BucketOwnerT = Aws::String>
176 void SetS3BucketOwner(S3BucketOwnerT&& value) { m_s3BucketOwnerHasBeenSet = true; m_s3BucketOwner = std::forward<S3BucketOwnerT>(value); }
177 template<typename S3BucketOwnerT = Aws::String>
178 ExportDescription& WithS3BucketOwner(S3BucketOwnerT&& value) { SetS3BucketOwner(std::forward<S3BucketOwnerT>(value)); return *this;}
180
182
186 inline const Aws::String& GetS3Prefix() const { return m_s3Prefix; }
187 inline bool S3PrefixHasBeenSet() const { return m_s3PrefixHasBeenSet; }
188 template<typename S3PrefixT = Aws::String>
189 void SetS3Prefix(S3PrefixT&& value) { m_s3PrefixHasBeenSet = true; m_s3Prefix = std::forward<S3PrefixT>(value); }
190 template<typename S3PrefixT = Aws::String>
191 ExportDescription& WithS3Prefix(S3PrefixT&& value) { SetS3Prefix(std::forward<S3PrefixT>(value)); return *this;}
193
195
202 inline S3SseAlgorithm GetS3SseAlgorithm() const { return m_s3SseAlgorithm; }
203 inline bool S3SseAlgorithmHasBeenSet() const { return m_s3SseAlgorithmHasBeenSet; }
204 inline void SetS3SseAlgorithm(S3SseAlgorithm value) { m_s3SseAlgorithmHasBeenSet = true; m_s3SseAlgorithm = value; }
207
209
213 inline const Aws::String& GetS3SseKmsKeyId() const { return m_s3SseKmsKeyId; }
214 inline bool S3SseKmsKeyIdHasBeenSet() const { return m_s3SseKmsKeyIdHasBeenSet; }
215 template<typename S3SseKmsKeyIdT = Aws::String>
216 void SetS3SseKmsKeyId(S3SseKmsKeyIdT&& value) { m_s3SseKmsKeyIdHasBeenSet = true; m_s3SseKmsKeyId = std::forward<S3SseKmsKeyIdT>(value); }
217 template<typename S3SseKmsKeyIdT = Aws::String>
218 ExportDescription& WithS3SseKmsKeyId(S3SseKmsKeyIdT&& value) { SetS3SseKmsKeyId(std::forward<S3SseKmsKeyIdT>(value)); return *this;}
220
222
225 inline const Aws::String& GetFailureCode() const { return m_failureCode; }
226 inline bool FailureCodeHasBeenSet() const { return m_failureCodeHasBeenSet; }
227 template<typename FailureCodeT = Aws::String>
228 void SetFailureCode(FailureCodeT&& value) { m_failureCodeHasBeenSet = true; m_failureCode = std::forward<FailureCodeT>(value); }
229 template<typename FailureCodeT = Aws::String>
230 ExportDescription& WithFailureCode(FailureCodeT&& value) { SetFailureCode(std::forward<FailureCodeT>(value)); return *this;}
232
234
237 inline const Aws::String& GetFailureMessage() const { return m_failureMessage; }
238 inline bool FailureMessageHasBeenSet() const { return m_failureMessageHasBeenSet; }
239 template<typename FailureMessageT = Aws::String>
240 void SetFailureMessage(FailureMessageT&& value) { m_failureMessageHasBeenSet = true; m_failureMessage = std::forward<FailureMessageT>(value); }
241 template<typename FailureMessageT = Aws::String>
242 ExportDescription& WithFailureMessage(FailureMessageT&& value) { SetFailureMessage(std::forward<FailureMessageT>(value)); return *this;}
244
246
250 inline ExportFormat GetExportFormat() const { return m_exportFormat; }
251 inline bool ExportFormatHasBeenSet() const { return m_exportFormatHasBeenSet; }
252 inline void SetExportFormat(ExportFormat value) { m_exportFormatHasBeenSet = true; m_exportFormat = value; }
253 inline ExportDescription& WithExportFormat(ExportFormat value) { SetExportFormat(value); return *this;}
255
257
260 inline long long GetBilledSizeBytes() const { return m_billedSizeBytes; }
261 inline bool BilledSizeBytesHasBeenSet() const { return m_billedSizeBytesHasBeenSet; }
262 inline void SetBilledSizeBytes(long long value) { m_billedSizeBytesHasBeenSet = true; m_billedSizeBytes = value; }
263 inline ExportDescription& WithBilledSizeBytes(long long value) { SetBilledSizeBytes(value); return *this;}
265
267
270 inline long long GetItemCount() const { return m_itemCount; }
271 inline bool ItemCountHasBeenSet() const { return m_itemCountHasBeenSet; }
272 inline void SetItemCount(long long value) { m_itemCountHasBeenSet = true; m_itemCount = value; }
273 inline ExportDescription& WithItemCount(long long value) { SetItemCount(value); return *this;}
275
277
281 inline ExportType GetExportType() const { return m_exportType; }
282 inline bool ExportTypeHasBeenSet() const { return m_exportTypeHasBeenSet; }
283 inline void SetExportType(ExportType value) { m_exportTypeHasBeenSet = true; m_exportType = value; }
284 inline ExportDescription& WithExportType(ExportType value) { SetExportType(value); return *this;}
286
288
292 inline const IncrementalExportSpecification& GetIncrementalExportSpecification() const { return m_incrementalExportSpecification; }
293 inline bool IncrementalExportSpecificationHasBeenSet() const { return m_incrementalExportSpecificationHasBeenSet; }
294 template<typename IncrementalExportSpecificationT = IncrementalExportSpecification>
295 void SetIncrementalExportSpecification(IncrementalExportSpecificationT&& value) { m_incrementalExportSpecificationHasBeenSet = true; m_incrementalExportSpecification = std::forward<IncrementalExportSpecificationT>(value); }
296 template<typename IncrementalExportSpecificationT = IncrementalExportSpecification>
297 ExportDescription& WithIncrementalExportSpecification(IncrementalExportSpecificationT&& value) { SetIncrementalExportSpecification(std::forward<IncrementalExportSpecificationT>(value)); return *this;}
299 private:
300
301 Aws::String m_exportArn;
302 bool m_exportArnHasBeenSet = false;
303
304 ExportStatus m_exportStatus{ExportStatus::NOT_SET};
305 bool m_exportStatusHasBeenSet = false;
306
307 Aws::Utils::DateTime m_startTime{};
308 bool m_startTimeHasBeenSet = false;
309
310 Aws::Utils::DateTime m_endTime{};
311 bool m_endTimeHasBeenSet = false;
312
313 Aws::String m_exportManifest;
314 bool m_exportManifestHasBeenSet = false;
315
316 Aws::String m_tableArn;
317 bool m_tableArnHasBeenSet = false;
318
319 Aws::String m_tableId;
320 bool m_tableIdHasBeenSet = false;
321
322 Aws::Utils::DateTime m_exportTime{};
323 bool m_exportTimeHasBeenSet = false;
324
325 Aws::String m_clientToken;
326 bool m_clientTokenHasBeenSet = false;
327
328 Aws::String m_s3Bucket;
329 bool m_s3BucketHasBeenSet = false;
330
331 Aws::String m_s3BucketOwner;
332 bool m_s3BucketOwnerHasBeenSet = false;
333
334 Aws::String m_s3Prefix;
335 bool m_s3PrefixHasBeenSet = false;
336
337 S3SseAlgorithm m_s3SseAlgorithm{S3SseAlgorithm::NOT_SET};
338 bool m_s3SseAlgorithmHasBeenSet = false;
339
340 Aws::String m_s3SseKmsKeyId;
341 bool m_s3SseKmsKeyIdHasBeenSet = false;
342
343 Aws::String m_failureCode;
344 bool m_failureCodeHasBeenSet = false;
345
346 Aws::String m_failureMessage;
347 bool m_failureMessageHasBeenSet = false;
348
349 ExportFormat m_exportFormat{ExportFormat::NOT_SET};
350 bool m_exportFormatHasBeenSet = false;
351
352 long long m_billedSizeBytes{0};
353 bool m_billedSizeBytesHasBeenSet = false;
354
355 long long m_itemCount{0};
356 bool m_itemCountHasBeenSet = false;
357
358 ExportType m_exportType{ExportType::NOT_SET};
359 bool m_exportTypeHasBeenSet = false;
360
361 IncrementalExportSpecification m_incrementalExportSpecification;
362 bool m_incrementalExportSpecificationHasBeenSet = false;
363 };
364
365} // namespace Model
366} // namespace DynamoDB
367} // 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