/**
* Copyright Amazon.com, Inc. or its affiliates. All Rights Reserved.
* SPDX-License-Identifier: Apache-2.0.
*/
#pragma once
#include Represents the properties of the table being imported into. See
* Also:
AWS
* API Reference
The Amazon Resource Number (ARN) corresponding to the import request.
*/ inline const Aws::String& GetImportArn() const{ return m_importArn; } /** *The Amazon Resource Number (ARN) corresponding to the import request.
*/ inline bool ImportArnHasBeenSet() const { return m_importArnHasBeenSet; } /** *The Amazon Resource Number (ARN) corresponding to the import request.
*/ inline void SetImportArn(const Aws::String& value) { m_importArnHasBeenSet = true; m_importArn = value; } /** *The Amazon Resource Number (ARN) corresponding to the import request.
*/ inline void SetImportArn(Aws::String&& value) { m_importArnHasBeenSet = true; m_importArn = std::move(value); } /** *The Amazon Resource Number (ARN) corresponding to the import request.
*/ inline void SetImportArn(const char* value) { m_importArnHasBeenSet = true; m_importArn.assign(value); } /** *The Amazon Resource Number (ARN) corresponding to the import request.
*/ inline ImportTableDescription& WithImportArn(const Aws::String& value) { SetImportArn(value); return *this;} /** *The Amazon Resource Number (ARN) corresponding to the import request.
*/ inline ImportTableDescription& WithImportArn(Aws::String&& value) { SetImportArn(std::move(value)); return *this;} /** *The Amazon Resource Number (ARN) corresponding to the import request.
*/ inline ImportTableDescription& WithImportArn(const char* value) { SetImportArn(value); return *this;} /** *The status of the import.
*/ inline const ImportStatus& GetImportStatus() const{ return m_importStatus; } /** *The status of the import.
*/ inline bool ImportStatusHasBeenSet() const { return m_importStatusHasBeenSet; } /** *The status of the import.
*/ inline void SetImportStatus(const ImportStatus& value) { m_importStatusHasBeenSet = true; m_importStatus = value; } /** *The status of the import.
*/ inline void SetImportStatus(ImportStatus&& value) { m_importStatusHasBeenSet = true; m_importStatus = std::move(value); } /** *The status of the import.
*/ inline ImportTableDescription& WithImportStatus(const ImportStatus& value) { SetImportStatus(value); return *this;} /** *The status of the import.
*/ inline ImportTableDescription& WithImportStatus(ImportStatus&& value) { SetImportStatus(std::move(value)); return *this;} /** *The Amazon Resource Number (ARN) of the table being imported into.
*/ inline const Aws::String& GetTableArn() const{ return m_tableArn; } /** *The Amazon Resource Number (ARN) of the table being imported into.
*/ inline bool TableArnHasBeenSet() const { return m_tableArnHasBeenSet; } /** *The Amazon Resource Number (ARN) of the table being imported into.
*/ inline void SetTableArn(const Aws::String& value) { m_tableArnHasBeenSet = true; m_tableArn = value; } /** *The Amazon Resource Number (ARN) of the table being imported into.
*/ inline void SetTableArn(Aws::String&& value) { m_tableArnHasBeenSet = true; m_tableArn = std::move(value); } /** *The Amazon Resource Number (ARN) of the table being imported into.
*/ inline void SetTableArn(const char* value) { m_tableArnHasBeenSet = true; m_tableArn.assign(value); } /** *The Amazon Resource Number (ARN) of the table being imported into.
*/ inline ImportTableDescription& WithTableArn(const Aws::String& value) { SetTableArn(value); return *this;} /** *The Amazon Resource Number (ARN) of the table being imported into.
*/ inline ImportTableDescription& WithTableArn(Aws::String&& value) { SetTableArn(std::move(value)); return *this;} /** *The Amazon Resource Number (ARN) of the table being imported into.
*/ inline ImportTableDescription& WithTableArn(const char* value) { SetTableArn(value); return *this;} /** *The table id corresponding to the table created by import table process. *
*/ inline const Aws::String& GetTableId() const{ return m_tableId; } /** *The table id corresponding to the table created by import table process. *
*/ inline bool TableIdHasBeenSet() const { return m_tableIdHasBeenSet; } /** *The table id corresponding to the table created by import table process. *
*/ inline void SetTableId(const Aws::String& value) { m_tableIdHasBeenSet = true; m_tableId = value; } /** *The table id corresponding to the table created by import table process. *
*/ inline void SetTableId(Aws::String&& value) { m_tableIdHasBeenSet = true; m_tableId = std::move(value); } /** *The table id corresponding to the table created by import table process. *
*/ inline void SetTableId(const char* value) { m_tableIdHasBeenSet = true; m_tableId.assign(value); } /** *The table id corresponding to the table created by import table process. *
*/ inline ImportTableDescription& WithTableId(const Aws::String& value) { SetTableId(value); return *this;} /** *The table id corresponding to the table created by import table process. *
*/ inline ImportTableDescription& WithTableId(Aws::String&& value) { SetTableId(std::move(value)); return *this;} /** *The table id corresponding to the table created by import table process. *
*/ inline ImportTableDescription& WithTableId(const char* value) { SetTableId(value); return *this;} /** * The client token that was provided for the import task. Reusing the client
* token on retry makes a call to ImportTable
idempotent.
The client token that was provided for the import task. Reusing the client
* token on retry makes a call to ImportTable
idempotent.
The client token that was provided for the import task. Reusing the client
* token on retry makes a call to ImportTable
idempotent.
The client token that was provided for the import task. Reusing the client
* token on retry makes a call to ImportTable
idempotent.
The client token that was provided for the import task. Reusing the client
* token on retry makes a call to ImportTable
idempotent.
The client token that was provided for the import task. Reusing the client
* token on retry makes a call to ImportTable
idempotent.
The client token that was provided for the import task. Reusing the client
* token on retry makes a call to ImportTable
idempotent.
The client token that was provided for the import task. Reusing the client
* token on retry makes a call to ImportTable
idempotent.
Values for the S3 bucket the source file is imported from. Includes bucket * name (required), key prefix (optional) and bucket account owner ID (optional). *
*/ inline const S3BucketSource& GetS3BucketSource() const{ return m_s3BucketSource; } /** *Values for the S3 bucket the source file is imported from. Includes bucket * name (required), key prefix (optional) and bucket account owner ID (optional). *
*/ inline bool S3BucketSourceHasBeenSet() const { return m_s3BucketSourceHasBeenSet; } /** *Values for the S3 bucket the source file is imported from. Includes bucket * name (required), key prefix (optional) and bucket account owner ID (optional). *
*/ inline void SetS3BucketSource(const S3BucketSource& value) { m_s3BucketSourceHasBeenSet = true; m_s3BucketSource = value; } /** *Values for the S3 bucket the source file is imported from. Includes bucket * name (required), key prefix (optional) and bucket account owner ID (optional). *
*/ inline void SetS3BucketSource(S3BucketSource&& value) { m_s3BucketSourceHasBeenSet = true; m_s3BucketSource = std::move(value); } /** *Values for the S3 bucket the source file is imported from. Includes bucket * name (required), key prefix (optional) and bucket account owner ID (optional). *
*/ inline ImportTableDescription& WithS3BucketSource(const S3BucketSource& value) { SetS3BucketSource(value); return *this;} /** *Values for the S3 bucket the source file is imported from. Includes bucket * name (required), key prefix (optional) and bucket account owner ID (optional). *
*/ inline ImportTableDescription& WithS3BucketSource(S3BucketSource&& value) { SetS3BucketSource(std::move(value)); return *this;} /** *The number of errors occurred on importing the source file into the target * table.
*/ inline long long GetErrorCount() const{ return m_errorCount; } /** *The number of errors occurred on importing the source file into the target * table.
*/ inline bool ErrorCountHasBeenSet() const { return m_errorCountHasBeenSet; } /** *The number of errors occurred on importing the source file into the target * table.
*/ inline void SetErrorCount(long long value) { m_errorCountHasBeenSet = true; m_errorCount = value; } /** *The number of errors occurred on importing the source file into the target * table.
*/ inline ImportTableDescription& WithErrorCount(long long value) { SetErrorCount(value); return *this;} /** *The Amazon Resource Number (ARN) of the Cloudwatch Log Group associated with * the target table.
*/ inline const Aws::String& GetCloudWatchLogGroupArn() const{ return m_cloudWatchLogGroupArn; } /** *The Amazon Resource Number (ARN) of the Cloudwatch Log Group associated with * the target table.
*/ inline bool CloudWatchLogGroupArnHasBeenSet() const { return m_cloudWatchLogGroupArnHasBeenSet; } /** *The Amazon Resource Number (ARN) of the Cloudwatch Log Group associated with * the target table.
*/ inline void SetCloudWatchLogGroupArn(const Aws::String& value) { m_cloudWatchLogGroupArnHasBeenSet = true; m_cloudWatchLogGroupArn = value; } /** *The Amazon Resource Number (ARN) of the Cloudwatch Log Group associated with * the target table.
*/ inline void SetCloudWatchLogGroupArn(Aws::String&& value) { m_cloudWatchLogGroupArnHasBeenSet = true; m_cloudWatchLogGroupArn = std::move(value); } /** *The Amazon Resource Number (ARN) of the Cloudwatch Log Group associated with * the target table.
*/ inline void SetCloudWatchLogGroupArn(const char* value) { m_cloudWatchLogGroupArnHasBeenSet = true; m_cloudWatchLogGroupArn.assign(value); } /** *The Amazon Resource Number (ARN) of the Cloudwatch Log Group associated with * the target table.
*/ inline ImportTableDescription& WithCloudWatchLogGroupArn(const Aws::String& value) { SetCloudWatchLogGroupArn(value); return *this;} /** *The Amazon Resource Number (ARN) of the Cloudwatch Log Group associated with * the target table.
*/ inline ImportTableDescription& WithCloudWatchLogGroupArn(Aws::String&& value) { SetCloudWatchLogGroupArn(std::move(value)); return *this;} /** *The Amazon Resource Number (ARN) of the Cloudwatch Log Group associated with * the target table.
*/ inline ImportTableDescription& WithCloudWatchLogGroupArn(const char* value) { SetCloudWatchLogGroupArn(value); return *this;} /** *The format of the source data going into the target table.
*/ inline const InputFormat& GetInputFormat() const{ return m_inputFormat; } /** *The format of the source data going into the target table.
*/ inline bool InputFormatHasBeenSet() const { return m_inputFormatHasBeenSet; } /** *The format of the source data going into the target table.
*/ inline void SetInputFormat(const InputFormat& value) { m_inputFormatHasBeenSet = true; m_inputFormat = value; } /** *The format of the source data going into the target table.
*/ inline void SetInputFormat(InputFormat&& value) { m_inputFormatHasBeenSet = true; m_inputFormat = std::move(value); } /** *The format of the source data going into the target table.
*/ inline ImportTableDescription& WithInputFormat(const InputFormat& value) { SetInputFormat(value); return *this;} /** *The format of the source data going into the target table.
*/ inline ImportTableDescription& WithInputFormat(InputFormat&& value) { SetInputFormat(std::move(value)); return *this;} /** *The format options for the data that was imported into the target table. * There is one value, CsvOption.
*/ inline const InputFormatOptions& GetInputFormatOptions() const{ return m_inputFormatOptions; } /** *The format options for the data that was imported into the target table. * There is one value, CsvOption.
*/ inline bool InputFormatOptionsHasBeenSet() const { return m_inputFormatOptionsHasBeenSet; } /** *The format options for the data that was imported into the target table. * There is one value, CsvOption.
*/ inline void SetInputFormatOptions(const InputFormatOptions& value) { m_inputFormatOptionsHasBeenSet = true; m_inputFormatOptions = value; } /** *The format options for the data that was imported into the target table. * There is one value, CsvOption.
*/ inline void SetInputFormatOptions(InputFormatOptions&& value) { m_inputFormatOptionsHasBeenSet = true; m_inputFormatOptions = std::move(value); } /** *The format options for the data that was imported into the target table. * There is one value, CsvOption.
*/ inline ImportTableDescription& WithInputFormatOptions(const InputFormatOptions& value) { SetInputFormatOptions(value); return *this;} /** *The format options for the data that was imported into the target table. * There is one value, CsvOption.
*/ inline ImportTableDescription& WithInputFormatOptions(InputFormatOptions&& value) { SetInputFormatOptions(std::move(value)); return *this;} /** *The compression options for the data that has been imported into the target * table. The values are NONE, GZIP, or ZSTD.
*/ inline const InputCompressionType& GetInputCompressionType() const{ return m_inputCompressionType; } /** *The compression options for the data that has been imported into the target * table. The values are NONE, GZIP, or ZSTD.
*/ inline bool InputCompressionTypeHasBeenSet() const { return m_inputCompressionTypeHasBeenSet; } /** *The compression options for the data that has been imported into the target * table. The values are NONE, GZIP, or ZSTD.
*/ inline void SetInputCompressionType(const InputCompressionType& value) { m_inputCompressionTypeHasBeenSet = true; m_inputCompressionType = value; } /** *The compression options for the data that has been imported into the target * table. The values are NONE, GZIP, or ZSTD.
*/ inline void SetInputCompressionType(InputCompressionType&& value) { m_inputCompressionTypeHasBeenSet = true; m_inputCompressionType = std::move(value); } /** *The compression options for the data that has been imported into the target * table. The values are NONE, GZIP, or ZSTD.
*/ inline ImportTableDescription& WithInputCompressionType(const InputCompressionType& value) { SetInputCompressionType(value); return *this;} /** *The compression options for the data that has been imported into the target * table. The values are NONE, GZIP, or ZSTD.
*/ inline ImportTableDescription& WithInputCompressionType(InputCompressionType&& value) { SetInputCompressionType(std::move(value)); return *this;} /** *The parameters for the new table that is being imported into.
*/ inline const TableCreationParameters& GetTableCreationParameters() const{ return m_tableCreationParameters; } /** *The parameters for the new table that is being imported into.
*/ inline bool TableCreationParametersHasBeenSet() const { return m_tableCreationParametersHasBeenSet; } /** *The parameters for the new table that is being imported into.
*/ inline void SetTableCreationParameters(const TableCreationParameters& value) { m_tableCreationParametersHasBeenSet = true; m_tableCreationParameters = value; } /** *The parameters for the new table that is being imported into.
*/ inline void SetTableCreationParameters(TableCreationParameters&& value) { m_tableCreationParametersHasBeenSet = true; m_tableCreationParameters = std::move(value); } /** *The parameters for the new table that is being imported into.
*/ inline ImportTableDescription& WithTableCreationParameters(const TableCreationParameters& value) { SetTableCreationParameters(value); return *this;} /** *The parameters for the new table that is being imported into.
*/ inline ImportTableDescription& WithTableCreationParameters(TableCreationParameters&& value) { SetTableCreationParameters(std::move(value)); return *this;} /** *The time when this import task started.
*/ inline const Aws::Utils::DateTime& GetStartTime() const{ return m_startTime; } /** *The time when this import task started.
*/ inline bool StartTimeHasBeenSet() const { return m_startTimeHasBeenSet; } /** *The time when this import task started.
*/ inline void SetStartTime(const Aws::Utils::DateTime& value) { m_startTimeHasBeenSet = true; m_startTime = value; } /** *The time when this import task started.
*/ inline void SetStartTime(Aws::Utils::DateTime&& value) { m_startTimeHasBeenSet = true; m_startTime = std::move(value); } /** *The time when this import task started.
*/ inline ImportTableDescription& WithStartTime(const Aws::Utils::DateTime& value) { SetStartTime(value); return *this;} /** *The time when this import task started.
*/ inline ImportTableDescription& WithStartTime(Aws::Utils::DateTime&& value) { SetStartTime(std::move(value)); return *this;} /** *The time at which the creation of the table associated with this import task * completed.
*/ inline const Aws::Utils::DateTime& GetEndTime() const{ return m_endTime; } /** *The time at which the creation of the table associated with this import task * completed.
*/ inline bool EndTimeHasBeenSet() const { return m_endTimeHasBeenSet; } /** *The time at which the creation of the table associated with this import task * completed.
*/ inline void SetEndTime(const Aws::Utils::DateTime& value) { m_endTimeHasBeenSet = true; m_endTime = value; } /** *The time at which the creation of the table associated with this import task * completed.
*/ inline void SetEndTime(Aws::Utils::DateTime&& value) { m_endTimeHasBeenSet = true; m_endTime = std::move(value); } /** *The time at which the creation of the table associated with this import task * completed.
*/ inline ImportTableDescription& WithEndTime(const Aws::Utils::DateTime& value) { SetEndTime(value); return *this;} /** *The time at which the creation of the table associated with this import task * completed.
*/ inline ImportTableDescription& WithEndTime(Aws::Utils::DateTime&& value) { SetEndTime(std::move(value)); return *this;} /** *The total size of data processed from the source file, in Bytes.
*/ inline long long GetProcessedSizeBytes() const{ return m_processedSizeBytes; } /** *The total size of data processed from the source file, in Bytes.
*/ inline bool ProcessedSizeBytesHasBeenSet() const { return m_processedSizeBytesHasBeenSet; } /** *The total size of data processed from the source file, in Bytes.
*/ inline void SetProcessedSizeBytes(long long value) { m_processedSizeBytesHasBeenSet = true; m_processedSizeBytes = value; } /** *The total size of data processed from the source file, in Bytes.
*/ inline ImportTableDescription& WithProcessedSizeBytes(long long value) { SetProcessedSizeBytes(value); return *this;} /** *The total number of items processed from the source file.
*/ inline long long GetProcessedItemCount() const{ return m_processedItemCount; } /** *The total number of items processed from the source file.
*/ inline bool ProcessedItemCountHasBeenSet() const { return m_processedItemCountHasBeenSet; } /** *The total number of items processed from the source file.
*/ inline void SetProcessedItemCount(long long value) { m_processedItemCountHasBeenSet = true; m_processedItemCount = value; } /** *The total number of items processed from the source file.
*/ inline ImportTableDescription& WithProcessedItemCount(long long value) { SetProcessedItemCount(value); return *this;} /** *The number of items successfully imported into the new table.
*/ inline long long GetImportedItemCount() const{ return m_importedItemCount; } /** *The number of items successfully imported into the new table.
*/ inline bool ImportedItemCountHasBeenSet() const { return m_importedItemCountHasBeenSet; } /** *The number of items successfully imported into the new table.
*/ inline void SetImportedItemCount(long long value) { m_importedItemCountHasBeenSet = true; m_importedItemCount = value; } /** *The number of items successfully imported into the new table.
*/ inline ImportTableDescription& WithImportedItemCount(long long value) { SetImportedItemCount(value); return *this;} /** *The error code corresponding to the failure that the import job ran into * during execution.
*/ inline const Aws::String& GetFailureCode() const{ return m_failureCode; } /** *The error code corresponding to the failure that the import job ran into * during execution.
*/ inline bool FailureCodeHasBeenSet() const { return m_failureCodeHasBeenSet; } /** *The error code corresponding to the failure that the import job ran into * during execution.
*/ inline void SetFailureCode(const Aws::String& value) { m_failureCodeHasBeenSet = true; m_failureCode = value; } /** *The error code corresponding to the failure that the import job ran into * during execution.
*/ inline void SetFailureCode(Aws::String&& value) { m_failureCodeHasBeenSet = true; m_failureCode = std::move(value); } /** *The error code corresponding to the failure that the import job ran into * during execution.
*/ inline void SetFailureCode(const char* value) { m_failureCodeHasBeenSet = true; m_failureCode.assign(value); } /** *The error code corresponding to the failure that the import job ran into * during execution.
*/ inline ImportTableDescription& WithFailureCode(const Aws::String& value) { SetFailureCode(value); return *this;} /** *The error code corresponding to the failure that the import job ran into * during execution.
*/ inline ImportTableDescription& WithFailureCode(Aws::String&& value) { SetFailureCode(std::move(value)); return *this;} /** *The error code corresponding to the failure that the import job ran into * during execution.
*/ inline ImportTableDescription& WithFailureCode(const char* value) { SetFailureCode(value); return *this;} /** *The error message corresponding to the failure that the import job ran into * during execution.
*/ inline const Aws::String& GetFailureMessage() const{ return m_failureMessage; } /** *The error message corresponding to the failure that the import job ran into * during execution.
*/ inline bool FailureMessageHasBeenSet() const { return m_failureMessageHasBeenSet; } /** *The error message corresponding to the failure that the import job ran into * during execution.
*/ inline void SetFailureMessage(const Aws::String& value) { m_failureMessageHasBeenSet = true; m_failureMessage = value; } /** *The error message corresponding to the failure that the import job ran into * during execution.
*/ inline void SetFailureMessage(Aws::String&& value) { m_failureMessageHasBeenSet = true; m_failureMessage = std::move(value); } /** *The error message corresponding to the failure that the import job ran into * during execution.
*/ inline void SetFailureMessage(const char* value) { m_failureMessageHasBeenSet = true; m_failureMessage.assign(value); } /** *The error message corresponding to the failure that the import job ran into * during execution.
*/ inline ImportTableDescription& WithFailureMessage(const Aws::String& value) { SetFailureMessage(value); return *this;} /** *The error message corresponding to the failure that the import job ran into * during execution.
*/ inline ImportTableDescription& WithFailureMessage(Aws::String&& value) { SetFailureMessage(std::move(value)); return *this;} /** *The error message corresponding to the failure that the import job ran into * during execution.
*/ inline ImportTableDescription& WithFailureMessage(const char* value) { SetFailureMessage(value); return *this;} private: Aws::String m_importArn; bool m_importArnHasBeenSet = false; ImportStatus m_importStatus; bool m_importStatusHasBeenSet = false; Aws::String m_tableArn; bool m_tableArnHasBeenSet = false; Aws::String m_tableId; bool m_tableIdHasBeenSet = false; Aws::String m_clientToken; bool m_clientTokenHasBeenSet = false; S3BucketSource m_s3BucketSource; bool m_s3BucketSourceHasBeenSet = false; long long m_errorCount; bool m_errorCountHasBeenSet = false; Aws::String m_cloudWatchLogGroupArn; bool m_cloudWatchLogGroupArnHasBeenSet = false; InputFormat m_inputFormat; bool m_inputFormatHasBeenSet = false; InputFormatOptions m_inputFormatOptions; bool m_inputFormatOptionsHasBeenSet = false; InputCompressionType m_inputCompressionType; bool m_inputCompressionTypeHasBeenSet = false; TableCreationParameters m_tableCreationParameters; bool m_tableCreationParametersHasBeenSet = false; Aws::Utils::DateTime m_startTime; bool m_startTimeHasBeenSet = false; Aws::Utils::DateTime m_endTime; bool m_endTimeHasBeenSet = false; long long m_processedSizeBytes; bool m_processedSizeBytesHasBeenSet = false; long long m_processedItemCount; bool m_processedItemCountHasBeenSet = false; long long m_importedItemCount; bool m_importedItemCountHasBeenSet = false; Aws::String m_failureCode; bool m_failureCodeHasBeenSet = false; Aws::String m_failureMessage; bool m_failureMessageHasBeenSet = false; }; } // namespace Model } // namespace DynamoDB } // namespace Aws