/**
* Copyright Amazon.com, Inc. or its affiliates. All Rights Reserved.
* SPDX-License-Identifier: Apache-2.0.
*/
#pragma once
#include Summary information about the source file for the import. 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 ImportSummary& WithImportArn(const Aws::String& value) { SetImportArn(value); return *this;} /** *The Amazon Resource Number (ARN) corresponding to the import request.
*/ inline ImportSummary& WithImportArn(Aws::String&& value) { SetImportArn(std::move(value)); return *this;} /** *The Amazon Resource Number (ARN) corresponding to the import request.
*/ inline ImportSummary& WithImportArn(const char* value) { SetImportArn(value); return *this;} /** *The status of the import operation.
*/ inline const ImportStatus& GetImportStatus() const{ return m_importStatus; } /** *The status of the import operation.
*/ inline bool ImportStatusHasBeenSet() const { return m_importStatusHasBeenSet; } /** *The status of the import operation.
*/ inline void SetImportStatus(const ImportStatus& value) { m_importStatusHasBeenSet = true; m_importStatus = value; } /** *The status of the import operation.
*/ inline void SetImportStatus(ImportStatus&& value) { m_importStatusHasBeenSet = true; m_importStatus = std::move(value); } /** *The status of the import operation.
*/ inline ImportSummary& WithImportStatus(const ImportStatus& value) { SetImportStatus(value); return *this;} /** *The status of the import operation.
*/ inline ImportSummary& 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 ImportSummary& WithTableArn(const Aws::String& value) { SetTableArn(value); return *this;} /** *The Amazon Resource Number (ARN) of the table being imported into.
*/ inline ImportSummary& WithTableArn(Aws::String&& value) { SetTableArn(std::move(value)); return *this;} /** *The Amazon Resource Number (ARN) of the table being imported into.
*/ inline ImportSummary& WithTableArn(const char* value) { SetTableArn(value); return *this;} /** *The path and S3 bucket of the source file that is being imported. This * includes the S3Bucket (required), S3KeyPrefix (optional) and S3BucketOwner * (optional if the bucket is owned by the requester).
*/ inline const S3BucketSource& GetS3BucketSource() const{ return m_s3BucketSource; } /** *The path and S3 bucket of the source file that is being imported. This * includes the S3Bucket (required), S3KeyPrefix (optional) and S3BucketOwner * (optional if the bucket is owned by the requester).
*/ inline bool S3BucketSourceHasBeenSet() const { return m_s3BucketSourceHasBeenSet; } /** *The path and S3 bucket of the source file that is being imported. This * includes the S3Bucket (required), S3KeyPrefix (optional) and S3BucketOwner * (optional if the bucket is owned by the requester).
*/ inline void SetS3BucketSource(const S3BucketSource& value) { m_s3BucketSourceHasBeenSet = true; m_s3BucketSource = value; } /** *The path and S3 bucket of the source file that is being imported. This * includes the S3Bucket (required), S3KeyPrefix (optional) and S3BucketOwner * (optional if the bucket is owned by the requester).
*/ inline void SetS3BucketSource(S3BucketSource&& value) { m_s3BucketSourceHasBeenSet = true; m_s3BucketSource = std::move(value); } /** *The path and S3 bucket of the source file that is being imported. This * includes the S3Bucket (required), S3KeyPrefix (optional) and S3BucketOwner * (optional if the bucket is owned by the requester).
*/ inline ImportSummary& WithS3BucketSource(const S3BucketSource& value) { SetS3BucketSource(value); return *this;} /** *The path and S3 bucket of the source file that is being imported. This * includes the S3Bucket (required), S3KeyPrefix (optional) and S3BucketOwner * (optional if the bucket is owned by the requester).
*/ inline ImportSummary& WithS3BucketSource(S3BucketSource&& value) { SetS3BucketSource(std::move(value)); return *this;} /** *The Amazon Resource Number (ARN) of the Cloudwatch Log Group associated with * this import task.
*/ inline const Aws::String& GetCloudWatchLogGroupArn() const{ return m_cloudWatchLogGroupArn; } /** *The Amazon Resource Number (ARN) of the Cloudwatch Log Group associated with * this import task.
*/ inline bool CloudWatchLogGroupArnHasBeenSet() const { return m_cloudWatchLogGroupArnHasBeenSet; } /** *The Amazon Resource Number (ARN) of the Cloudwatch Log Group associated with * this import task.
*/ 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 * this import task.
*/ 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 * this import task.
*/ 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 * this import task.
*/ inline ImportSummary& WithCloudWatchLogGroupArn(const Aws::String& value) { SetCloudWatchLogGroupArn(value); return *this;} /** *The Amazon Resource Number (ARN) of the Cloudwatch Log Group associated with * this import task.
*/ inline ImportSummary& WithCloudWatchLogGroupArn(Aws::String&& value) { SetCloudWatchLogGroupArn(std::move(value)); return *this;} /** *The Amazon Resource Number (ARN) of the Cloudwatch Log Group associated with * this import task.
*/ inline ImportSummary& WithCloudWatchLogGroupArn(const char* value) { SetCloudWatchLogGroupArn(value); return *this;} /** * The format of the source data. Valid values are CSV
,
* DYNAMODB_JSON
or ION
.
The format of the source data. Valid values are CSV
,
* DYNAMODB_JSON
or ION
.
The format of the source data. Valid values are CSV
,
* DYNAMODB_JSON
or ION
.
The format of the source data. Valid values are CSV
,
* DYNAMODB_JSON
or ION
.
The format of the source data. Valid values are CSV
,
* DYNAMODB_JSON
or ION
.
The format of the source data. Valid values are CSV
,
* DYNAMODB_JSON
or ION
.
The time at which this import task began.
*/ inline const Aws::Utils::DateTime& GetStartTime() const{ return m_startTime; } /** *The time at which this import task began.
*/ inline bool StartTimeHasBeenSet() const { return m_startTimeHasBeenSet; } /** *The time at which this import task began.
*/ inline void SetStartTime(const Aws::Utils::DateTime& value) { m_startTimeHasBeenSet = true; m_startTime = value; } /** *The time at which this import task began.
*/ inline void SetStartTime(Aws::Utils::DateTime&& value) { m_startTimeHasBeenSet = true; m_startTime = std::move(value); } /** *The time at which this import task began.
*/ inline ImportSummary& WithStartTime(const Aws::Utils::DateTime& value) { SetStartTime(value); return *this;} /** *The time at which this import task began.
*/ inline ImportSummary& WithStartTime(Aws::Utils::DateTime&& value) { SetStartTime(std::move(value)); return *this;} /** *The time at which this import task ended. (Does this include the successful * complete creation of the table it was imported to?)
*/ inline const Aws::Utils::DateTime& GetEndTime() const{ return m_endTime; } /** *The time at which this import task ended. (Does this include the successful * complete creation of the table it was imported to?)
*/ inline bool EndTimeHasBeenSet() const { return m_endTimeHasBeenSet; } /** *The time at which this import task ended. (Does this include the successful * complete creation of the table it was imported to?)
*/ inline void SetEndTime(const Aws::Utils::DateTime& value) { m_endTimeHasBeenSet = true; m_endTime = value; } /** *The time at which this import task ended. (Does this include the successful * complete creation of the table it was imported to?)
*/ inline void SetEndTime(Aws::Utils::DateTime&& value) { m_endTimeHasBeenSet = true; m_endTime = std::move(value); } /** *The time at which this import task ended. (Does this include the successful * complete creation of the table it was imported to?)
*/ inline ImportSummary& WithEndTime(const Aws::Utils::DateTime& value) { SetEndTime(value); return *this;} /** *The time at which this import task ended. (Does this include the successful * complete creation of the table it was imported to?)
*/ inline ImportSummary& WithEndTime(Aws::Utils::DateTime&& value) { SetEndTime(std::move(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; S3BucketSource m_s3BucketSource; bool m_s3BucketSourceHasBeenSet = false; Aws::String m_cloudWatchLogGroupArn; bool m_cloudWatchLogGroupArnHasBeenSet = false; InputFormat m_inputFormat; bool m_inputFormatHasBeenSet = false; Aws::Utils::DateTime m_startTime; bool m_startTimeHasBeenSet = false; Aws::Utils::DateTime m_endTime; bool m_endTimeHasBeenSet = false; }; } // namespace Model } // namespace DynamoDB } // namespace Aws