AWS SDK for C++

AWS SDK for C++ Version 1.11.440

Loading...
Searching...
No Matches
ImportTableDescription.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/ImportStatus.h>
10#include <aws/dynamodb/model/S3BucketSource.h>
11#include <aws/dynamodb/model/InputFormat.h>
12#include <aws/dynamodb/model/InputFormatOptions.h>
13#include <aws/dynamodb/model/InputCompressionType.h>
14#include <aws/dynamodb/model/TableCreationParameters.h>
15#include <aws/core/utils/DateTime.h>
16#include <utility>
17
18namespace Aws
19{
20namespace Utils
21{
22namespace Json
23{
24 class JsonValue;
25 class JsonView;
26} // namespace Json
27} // namespace Utils
28namespace DynamoDB
29{
30namespace Model
31{
32
40 {
41 public:
42 AWS_DYNAMODB_API ImportTableDescription();
45 AWS_DYNAMODB_API Aws::Utils::Json::JsonValue Jsonize() const;
46
47
49
52 inline const Aws::String& GetImportArn() const{ return m_importArn; }
53 inline bool ImportArnHasBeenSet() const { return m_importArnHasBeenSet; }
54 inline void SetImportArn(const Aws::String& value) { m_importArnHasBeenSet = true; m_importArn = value; }
55 inline void SetImportArn(Aws::String&& value) { m_importArnHasBeenSet = true; m_importArn = std::move(value); }
56 inline void SetImportArn(const char* value) { m_importArnHasBeenSet = true; m_importArn.assign(value); }
57 inline ImportTableDescription& WithImportArn(const Aws::String& value) { SetImportArn(value); return *this;}
58 inline ImportTableDescription& WithImportArn(Aws::String&& value) { SetImportArn(std::move(value)); return *this;}
59 inline ImportTableDescription& WithImportArn(const char* value) { SetImportArn(value); return *this;}
61
63
66 inline const ImportStatus& GetImportStatus() const{ return m_importStatus; }
67 inline bool ImportStatusHasBeenSet() const { return m_importStatusHasBeenSet; }
68 inline void SetImportStatus(const ImportStatus& value) { m_importStatusHasBeenSet = true; m_importStatus = value; }
69 inline void SetImportStatus(ImportStatus&& value) { m_importStatusHasBeenSet = true; m_importStatus = std::move(value); }
70 inline ImportTableDescription& WithImportStatus(const ImportStatus& value) { SetImportStatus(value); return *this;}
71 inline ImportTableDescription& WithImportStatus(ImportStatus&& value) { SetImportStatus(std::move(value)); return *this;}
73
75
78 inline const Aws::String& GetTableArn() const{ return m_tableArn; }
79 inline bool TableArnHasBeenSet() const { return m_tableArnHasBeenSet; }
80 inline void SetTableArn(const Aws::String& value) { m_tableArnHasBeenSet = true; m_tableArn = value; }
81 inline void SetTableArn(Aws::String&& value) { m_tableArnHasBeenSet = true; m_tableArn = std::move(value); }
82 inline void SetTableArn(const char* value) { m_tableArnHasBeenSet = true; m_tableArn.assign(value); }
83 inline ImportTableDescription& WithTableArn(const Aws::String& value) { SetTableArn(value); return *this;}
84 inline ImportTableDescription& WithTableArn(Aws::String&& value) { SetTableArn(std::move(value)); return *this;}
85 inline ImportTableDescription& WithTableArn(const char* value) { SetTableArn(value); return *this;}
87
89
93 inline const Aws::String& GetTableId() const{ return m_tableId; }
94 inline bool TableIdHasBeenSet() const { return m_tableIdHasBeenSet; }
95 inline void SetTableId(const Aws::String& value) { m_tableIdHasBeenSet = true; m_tableId = value; }
96 inline void SetTableId(Aws::String&& value) { m_tableIdHasBeenSet = true; m_tableId = std::move(value); }
97 inline void SetTableId(const char* value) { m_tableIdHasBeenSet = true; m_tableId.assign(value); }
98 inline ImportTableDescription& WithTableId(const Aws::String& value) { SetTableId(value); return *this;}
99 inline ImportTableDescription& WithTableId(Aws::String&& value) { SetTableId(std::move(value)); return *this;}
100 inline ImportTableDescription& WithTableId(const char* value) { SetTableId(value); return *this;}
102
104
108 inline const Aws::String& GetClientToken() const{ return m_clientToken; }
109 inline bool ClientTokenHasBeenSet() const { return m_clientTokenHasBeenSet; }
110 inline void SetClientToken(const Aws::String& value) { m_clientTokenHasBeenSet = true; m_clientToken = value; }
111 inline void SetClientToken(Aws::String&& value) { m_clientTokenHasBeenSet = true; m_clientToken = std::move(value); }
112 inline void SetClientToken(const char* value) { m_clientTokenHasBeenSet = true; m_clientToken.assign(value); }
113 inline ImportTableDescription& WithClientToken(const Aws::String& value) { SetClientToken(value); return *this;}
114 inline ImportTableDescription& WithClientToken(Aws::String&& value) { SetClientToken(std::move(value)); return *this;}
115 inline ImportTableDescription& WithClientToken(const char* value) { SetClientToken(value); return *this;}
117
119
124 inline const S3BucketSource& GetS3BucketSource() const{ return m_s3BucketSource; }
125 inline bool S3BucketSourceHasBeenSet() const { return m_s3BucketSourceHasBeenSet; }
126 inline void SetS3BucketSource(const S3BucketSource& value) { m_s3BucketSourceHasBeenSet = true; m_s3BucketSource = value; }
127 inline void SetS3BucketSource(S3BucketSource&& value) { m_s3BucketSourceHasBeenSet = true; m_s3BucketSource = std::move(value); }
128 inline ImportTableDescription& WithS3BucketSource(const S3BucketSource& value) { SetS3BucketSource(value); return *this;}
129 inline ImportTableDescription& WithS3BucketSource(S3BucketSource&& value) { SetS3BucketSource(std::move(value)); return *this;}
131
133
137 inline long long GetErrorCount() const{ return m_errorCount; }
138 inline bool ErrorCountHasBeenSet() const { return m_errorCountHasBeenSet; }
139 inline void SetErrorCount(long long value) { m_errorCountHasBeenSet = true; m_errorCount = value; }
140 inline ImportTableDescription& WithErrorCount(long long value) { SetErrorCount(value); return *this;}
142
144
148 inline const Aws::String& GetCloudWatchLogGroupArn() const{ return m_cloudWatchLogGroupArn; }
149 inline bool CloudWatchLogGroupArnHasBeenSet() const { return m_cloudWatchLogGroupArnHasBeenSet; }
150 inline void SetCloudWatchLogGroupArn(const Aws::String& value) { m_cloudWatchLogGroupArnHasBeenSet = true; m_cloudWatchLogGroupArn = value; }
151 inline void SetCloudWatchLogGroupArn(Aws::String&& value) { m_cloudWatchLogGroupArnHasBeenSet = true; m_cloudWatchLogGroupArn = std::move(value); }
152 inline void SetCloudWatchLogGroupArn(const char* value) { m_cloudWatchLogGroupArnHasBeenSet = true; m_cloudWatchLogGroupArn.assign(value); }
155 inline ImportTableDescription& WithCloudWatchLogGroupArn(const char* value) { SetCloudWatchLogGroupArn(value); return *this;}
157
159
162 inline const InputFormat& GetInputFormat() const{ return m_inputFormat; }
163 inline bool InputFormatHasBeenSet() const { return m_inputFormatHasBeenSet; }
164 inline void SetInputFormat(const InputFormat& value) { m_inputFormatHasBeenSet = true; m_inputFormat = value; }
165 inline void SetInputFormat(InputFormat&& value) { m_inputFormatHasBeenSet = true; m_inputFormat = std::move(value); }
166 inline ImportTableDescription& WithInputFormat(const InputFormat& value) { SetInputFormat(value); return *this;}
167 inline ImportTableDescription& WithInputFormat(InputFormat&& value) { SetInputFormat(std::move(value)); return *this;}
169
171
175 inline const InputFormatOptions& GetInputFormatOptions() const{ return m_inputFormatOptions; }
176 inline bool InputFormatOptionsHasBeenSet() const { return m_inputFormatOptionsHasBeenSet; }
177 inline void SetInputFormatOptions(const InputFormatOptions& value) { m_inputFormatOptionsHasBeenSet = true; m_inputFormatOptions = value; }
178 inline void SetInputFormatOptions(InputFormatOptions&& value) { m_inputFormatOptionsHasBeenSet = true; m_inputFormatOptions = std::move(value); }
182
184
188 inline const InputCompressionType& GetInputCompressionType() const{ return m_inputCompressionType; }
189 inline bool InputCompressionTypeHasBeenSet() const { return m_inputCompressionTypeHasBeenSet; }
190 inline void SetInputCompressionType(const InputCompressionType& value) { m_inputCompressionTypeHasBeenSet = true; m_inputCompressionType = value; }
191 inline void SetInputCompressionType(InputCompressionType&& value) { m_inputCompressionTypeHasBeenSet = true; m_inputCompressionType = std::move(value); }
195
197
200 inline const TableCreationParameters& GetTableCreationParameters() const{ return m_tableCreationParameters; }
201 inline bool TableCreationParametersHasBeenSet() const { return m_tableCreationParametersHasBeenSet; }
202 inline void SetTableCreationParameters(const TableCreationParameters& value) { m_tableCreationParametersHasBeenSet = true; m_tableCreationParameters = value; }
203 inline void SetTableCreationParameters(TableCreationParameters&& value) { m_tableCreationParametersHasBeenSet = true; m_tableCreationParameters = std::move(value); }
207
209
212 inline const Aws::Utils::DateTime& GetStartTime() const{ return m_startTime; }
213 inline bool StartTimeHasBeenSet() const { return m_startTimeHasBeenSet; }
214 inline void SetStartTime(const Aws::Utils::DateTime& value) { m_startTimeHasBeenSet = true; m_startTime = value; }
215 inline void SetStartTime(Aws::Utils::DateTime&& value) { m_startTimeHasBeenSet = true; m_startTime = std::move(value); }
216 inline ImportTableDescription& WithStartTime(const Aws::Utils::DateTime& value) { SetStartTime(value); return *this;}
217 inline ImportTableDescription& WithStartTime(Aws::Utils::DateTime&& value) { SetStartTime(std::move(value)); return *this;}
219
221
225 inline const Aws::Utils::DateTime& GetEndTime() const{ return m_endTime; }
226 inline bool EndTimeHasBeenSet() const { return m_endTimeHasBeenSet; }
227 inline void SetEndTime(const Aws::Utils::DateTime& value) { m_endTimeHasBeenSet = true; m_endTime = value; }
228 inline void SetEndTime(Aws::Utils::DateTime&& value) { m_endTimeHasBeenSet = true; m_endTime = std::move(value); }
229 inline ImportTableDescription& WithEndTime(const Aws::Utils::DateTime& value) { SetEndTime(value); return *this;}
230 inline ImportTableDescription& WithEndTime(Aws::Utils::DateTime&& value) { SetEndTime(std::move(value)); return *this;}
232
234
237 inline long long GetProcessedSizeBytes() const{ return m_processedSizeBytes; }
238 inline bool ProcessedSizeBytesHasBeenSet() const { return m_processedSizeBytesHasBeenSet; }
239 inline void SetProcessedSizeBytes(long long value) { m_processedSizeBytesHasBeenSet = true; m_processedSizeBytes = value; }
240 inline ImportTableDescription& WithProcessedSizeBytes(long long value) { SetProcessedSizeBytes(value); return *this;}
242
244
247 inline long long GetProcessedItemCount() const{ return m_processedItemCount; }
248 inline bool ProcessedItemCountHasBeenSet() const { return m_processedItemCountHasBeenSet; }
249 inline void SetProcessedItemCount(long long value) { m_processedItemCountHasBeenSet = true; m_processedItemCount = value; }
250 inline ImportTableDescription& WithProcessedItemCount(long long value) { SetProcessedItemCount(value); return *this;}
252
254
257 inline long long GetImportedItemCount() const{ return m_importedItemCount; }
258 inline bool ImportedItemCountHasBeenSet() const { return m_importedItemCountHasBeenSet; }
259 inline void SetImportedItemCount(long long value) { m_importedItemCountHasBeenSet = true; m_importedItemCount = value; }
260 inline ImportTableDescription& WithImportedItemCount(long long value) { SetImportedItemCount(value); return *this;}
262
264
268 inline const Aws::String& GetFailureCode() const{ return m_failureCode; }
269 inline bool FailureCodeHasBeenSet() const { return m_failureCodeHasBeenSet; }
270 inline void SetFailureCode(const Aws::String& value) { m_failureCodeHasBeenSet = true; m_failureCode = value; }
271 inline void SetFailureCode(Aws::String&& value) { m_failureCodeHasBeenSet = true; m_failureCode = std::move(value); }
272 inline void SetFailureCode(const char* value) { m_failureCodeHasBeenSet = true; m_failureCode.assign(value); }
273 inline ImportTableDescription& WithFailureCode(const Aws::String& value) { SetFailureCode(value); return *this;}
274 inline ImportTableDescription& WithFailureCode(Aws::String&& value) { SetFailureCode(std::move(value)); return *this;}
275 inline ImportTableDescription& WithFailureCode(const char* value) { SetFailureCode(value); return *this;}
277
279
283 inline const Aws::String& GetFailureMessage() const{ return m_failureMessage; }
284 inline bool FailureMessageHasBeenSet() const { return m_failureMessageHasBeenSet; }
285 inline void SetFailureMessage(const Aws::String& value) { m_failureMessageHasBeenSet = true; m_failureMessage = value; }
286 inline void SetFailureMessage(Aws::String&& value) { m_failureMessageHasBeenSet = true; m_failureMessage = std::move(value); }
287 inline void SetFailureMessage(const char* value) { m_failureMessageHasBeenSet = true; m_failureMessage.assign(value); }
288 inline ImportTableDescription& WithFailureMessage(const Aws::String& value) { SetFailureMessage(value); return *this;}
289 inline ImportTableDescription& WithFailureMessage(Aws::String&& value) { SetFailureMessage(std::move(value)); return *this;}
290 inline ImportTableDescription& WithFailureMessage(const char* value) { SetFailureMessage(value); return *this;}
292 private:
293
294 Aws::String m_importArn;
295 bool m_importArnHasBeenSet = false;
296
297 ImportStatus m_importStatus;
298 bool m_importStatusHasBeenSet = false;
299
300 Aws::String m_tableArn;
301 bool m_tableArnHasBeenSet = false;
302
303 Aws::String m_tableId;
304 bool m_tableIdHasBeenSet = false;
305
306 Aws::String m_clientToken;
307 bool m_clientTokenHasBeenSet = false;
308
309 S3BucketSource m_s3BucketSource;
310 bool m_s3BucketSourceHasBeenSet = false;
311
312 long long m_errorCount;
313 bool m_errorCountHasBeenSet = false;
314
315 Aws::String m_cloudWatchLogGroupArn;
316 bool m_cloudWatchLogGroupArnHasBeenSet = false;
317
318 InputFormat m_inputFormat;
319 bool m_inputFormatHasBeenSet = false;
320
321 InputFormatOptions m_inputFormatOptions;
322 bool m_inputFormatOptionsHasBeenSet = false;
323
324 InputCompressionType m_inputCompressionType;
325 bool m_inputCompressionTypeHasBeenSet = false;
326
327 TableCreationParameters m_tableCreationParameters;
328 bool m_tableCreationParametersHasBeenSet = false;
329
330 Aws::Utils::DateTime m_startTime;
331 bool m_startTimeHasBeenSet = false;
332
333 Aws::Utils::DateTime m_endTime;
334 bool m_endTimeHasBeenSet = false;
335
336 long long m_processedSizeBytes;
337 bool m_processedSizeBytesHasBeenSet = false;
338
339 long long m_processedItemCount;
340 bool m_processedItemCountHasBeenSet = false;
341
342 long long m_importedItemCount;
343 bool m_importedItemCountHasBeenSet = false;
344
345 Aws::String m_failureCode;
346 bool m_failureCodeHasBeenSet = false;
347
348 Aws::String m_failureMessage;
349 bool m_failureMessageHasBeenSet = false;
350 };
351
352} // namespace Model
353} // namespace DynamoDB
354} // namespace Aws
ImportTableDescription & WithTableId(const Aws::String &value)
ImportTableDescription & WithInputCompressionType(const InputCompressionType &value)
void SetTableCreationParameters(const TableCreationParameters &value)
ImportTableDescription & WithS3BucketSource(S3BucketSource &&value)
AWS_DYNAMODB_API ImportTableDescription(Aws::Utils::Json::JsonView jsonValue)
ImportTableDescription & WithInputFormat(InputFormat &&value)
ImportTableDescription & WithProcessedItemCount(long long value)
ImportTableDescription & WithTableCreationParameters(TableCreationParameters &&value)
ImportTableDescription & WithFailureMessage(const char *value)
const Aws::Utils::DateTime & GetStartTime() const
ImportTableDescription & WithInputCompressionType(InputCompressionType &&value)
const InputFormatOptions & GetInputFormatOptions() const
ImportTableDescription & WithStartTime(const Aws::Utils::DateTime &value)
ImportTableDescription & WithTableId(Aws::String &&value)
ImportTableDescription & WithImportArn(Aws::String &&value)
void SetStartTime(Aws::Utils::DateTime &&value)
ImportTableDescription & WithImportStatus(ImportStatus &&value)
void SetEndTime(const Aws::Utils::DateTime &value)
ImportTableDescription & WithCloudWatchLogGroupArn(Aws::String &&value)
ImportTableDescription & WithTableArn(const Aws::String &value)
ImportTableDescription & WithFailureMessage(const Aws::String &value)
ImportTableDescription & WithImportedItemCount(long long value)
ImportTableDescription & WithClientToken(const char *value)
ImportTableDescription & WithImportArn(const Aws::String &value)
AWS_DYNAMODB_API Aws::Utils::Json::JsonValue Jsonize() const
ImportTableDescription & WithInputFormat(const InputFormat &value)
ImportTableDescription & WithClientToken(Aws::String &&value)
void SetStartTime(const Aws::Utils::DateTime &value)
ImportTableDescription & WithClientToken(const Aws::String &value)
void SetInputCompressionType(InputCompressionType &&value)
ImportTableDescription & WithEndTime(const Aws::Utils::DateTime &value)
void SetCloudWatchLogGroupArn(const Aws::String &value)
ImportTableDescription & WithImportStatus(const ImportStatus &value)
ImportTableDescription & WithCloudWatchLogGroupArn(const char *value)
ImportTableDescription & WithFailureCode(const Aws::String &value)
ImportTableDescription & WithTableId(const char *value)
void SetInputFormatOptions(InputFormatOptions &&value)
ImportTableDescription & WithEndTime(Aws::Utils::DateTime &&value)
ImportTableDescription & WithFailureMessage(Aws::String &&value)
AWS_DYNAMODB_API ImportTableDescription & operator=(Aws::Utils::Json::JsonView jsonValue)
ImportTableDescription & WithFailureCode(const char *value)
ImportTableDescription & WithTableArn(Aws::String &&value)
void SetEndTime(Aws::Utils::DateTime &&value)
ImportTableDescription & WithInputFormatOptions(InputFormatOptions &&value)
ImportTableDescription & WithStartTime(Aws::Utils::DateTime &&value)
ImportTableDescription & WithImportArn(const char *value)
ImportTableDescription & WithTableCreationParameters(const TableCreationParameters &value)
ImportTableDescription & WithTableArn(const char *value)
const Aws::Utils::DateTime & GetEndTime() const
void SetInputFormatOptions(const InputFormatOptions &value)
ImportTableDescription & WithInputFormatOptions(const InputFormatOptions &value)
ImportTableDescription & WithS3BucketSource(const S3BucketSource &value)
const InputCompressionType & GetInputCompressionType() const
const TableCreationParameters & GetTableCreationParameters() const
void SetS3BucketSource(const S3BucketSource &value)
ImportTableDescription & WithFailureCode(Aws::String &&value)
ImportTableDescription & WithProcessedSizeBytes(long long value)
ImportTableDescription & WithErrorCount(long long value)
ImportTableDescription & WithCloudWatchLogGroupArn(const Aws::String &value)
void SetTableCreationParameters(TableCreationParameters &&value)
void SetInputCompressionType(const InputCompressionType &value)
std::basic_string< char, std::char_traits< char >, Aws::Allocator< char > > String
Aws::Utils::Json::JsonValue JsonValue