/**
* Copyright Amazon.com, Inc. or its affiliates. All Rights Reserved.
* SPDX-License-Identifier: Apache-2.0.
*/
#pragma once
#include Information about the import file tasks you request. See
* Also:
AWS
* API Reference
The time that the import task completes.
*/ inline const Aws::Utils::DateTime& GetCompletionTime() const{ return m_completionTime; } /** *The time that the import task completes.
*/ inline bool CompletionTimeHasBeenSet() const { return m_completionTimeHasBeenSet; } /** *The time that the import task completes.
*/ inline void SetCompletionTime(const Aws::Utils::DateTime& value) { m_completionTimeHasBeenSet = true; m_completionTime = value; } /** *The time that the import task completes.
*/ inline void SetCompletionTime(Aws::Utils::DateTime&& value) { m_completionTimeHasBeenSet = true; m_completionTime = std::move(value); } /** *The time that the import task completes.
*/ inline ImportFileTaskInformation& WithCompletionTime(const Aws::Utils::DateTime& value) { SetCompletionTime(value); return *this;} /** *The time that the import task completes.
*/ inline ImportFileTaskInformation& WithCompletionTime(Aws::Utils::DateTime&& value) { SetCompletionTime(std::move(value)); return *this;} /** *The ID of the import file task.
*/ inline const Aws::String& GetId() const{ return m_id; } /** *The ID of the import file task.
*/ inline bool IdHasBeenSet() const { return m_idHasBeenSet; } /** *The ID of the import file task.
*/ inline void SetId(const Aws::String& value) { m_idHasBeenSet = true; m_id = value; } /** *The ID of the import file task.
*/ inline void SetId(Aws::String&& value) { m_idHasBeenSet = true; m_id = std::move(value); } /** *The ID of the import file task.
*/ inline void SetId(const char* value) { m_idHasBeenSet = true; m_id.assign(value); } /** *The ID of the import file task.
*/ inline ImportFileTaskInformation& WithId(const Aws::String& value) { SetId(value); return *this;} /** *The ID of the import file task.
*/ inline ImportFileTaskInformation& WithId(Aws::String&& value) { SetId(std::move(value)); return *this;} /** *The ID of the import file task.
*/ inline ImportFileTaskInformation& WithId(const char* value) { SetId(value); return *this;} /** * The name of the import task given in StartImportFileTask
.
The name of the import task given in StartImportFileTask
.
The name of the import task given in StartImportFileTask
.
The name of the import task given in StartImportFileTask
.
The name of the import task given in StartImportFileTask
.
The name of the import task given in StartImportFileTask
.
The name of the import task given in StartImportFileTask
.
The name of the import task given in StartImportFileTask
.
The S3 bucket where the import file is located.
*/ inline const Aws::String& GetInputS3Bucket() const{ return m_inputS3Bucket; } /** *The S3 bucket where the import file is located.
*/ inline bool InputS3BucketHasBeenSet() const { return m_inputS3BucketHasBeenSet; } /** *The S3 bucket where the import file is located.
*/ inline void SetInputS3Bucket(const Aws::String& value) { m_inputS3BucketHasBeenSet = true; m_inputS3Bucket = value; } /** *The S3 bucket where the import file is located.
*/ inline void SetInputS3Bucket(Aws::String&& value) { m_inputS3BucketHasBeenSet = true; m_inputS3Bucket = std::move(value); } /** *The S3 bucket where the import file is located.
*/ inline void SetInputS3Bucket(const char* value) { m_inputS3BucketHasBeenSet = true; m_inputS3Bucket.assign(value); } /** *The S3 bucket where the import file is located.
*/ inline ImportFileTaskInformation& WithInputS3Bucket(const Aws::String& value) { SetInputS3Bucket(value); return *this;} /** *The S3 bucket where the import file is located.
*/ inline ImportFileTaskInformation& WithInputS3Bucket(Aws::String&& value) { SetInputS3Bucket(std::move(value)); return *this;} /** *The S3 bucket where the import file is located.
*/ inline ImportFileTaskInformation& WithInputS3Bucket(const char* value) { SetInputS3Bucket(value); return *this;} /** *The Amazon S3 key name of the import file.
*/ inline const Aws::String& GetInputS3Key() const{ return m_inputS3Key; } /** *The Amazon S3 key name of the import file.
*/ inline bool InputS3KeyHasBeenSet() const { return m_inputS3KeyHasBeenSet; } /** *The Amazon S3 key name of the import file.
*/ inline void SetInputS3Key(const Aws::String& value) { m_inputS3KeyHasBeenSet = true; m_inputS3Key = value; } /** *The Amazon S3 key name of the import file.
*/ inline void SetInputS3Key(Aws::String&& value) { m_inputS3KeyHasBeenSet = true; m_inputS3Key = std::move(value); } /** *The Amazon S3 key name of the import file.
*/ inline void SetInputS3Key(const char* value) { m_inputS3KeyHasBeenSet = true; m_inputS3Key.assign(value); } /** *The Amazon S3 key name of the import file.
*/ inline ImportFileTaskInformation& WithInputS3Key(const Aws::String& value) { SetInputS3Key(value); return *this;} /** *The Amazon S3 key name of the import file.
*/ inline ImportFileTaskInformation& WithInputS3Key(Aws::String&& value) { SetInputS3Key(std::move(value)); return *this;} /** *The Amazon S3 key name of the import file.
*/ inline ImportFileTaskInformation& WithInputS3Key(const char* value) { SetInputS3Key(value); return *this;} /** *The number of records that failed to be imported.
*/ inline int GetNumberOfRecordsFailed() const{ return m_numberOfRecordsFailed; } /** *The number of records that failed to be imported.
*/ inline bool NumberOfRecordsFailedHasBeenSet() const { return m_numberOfRecordsFailedHasBeenSet; } /** *The number of records that failed to be imported.
*/ inline void SetNumberOfRecordsFailed(int value) { m_numberOfRecordsFailedHasBeenSet = true; m_numberOfRecordsFailed = value; } /** *The number of records that failed to be imported.
*/ inline ImportFileTaskInformation& WithNumberOfRecordsFailed(int value) { SetNumberOfRecordsFailed(value); return *this;} /** *The number of records successfully imported.
*/ inline int GetNumberOfRecordsSuccess() const{ return m_numberOfRecordsSuccess; } /** *The number of records successfully imported.
*/ inline bool NumberOfRecordsSuccessHasBeenSet() const { return m_numberOfRecordsSuccessHasBeenSet; } /** *The number of records successfully imported.
*/ inline void SetNumberOfRecordsSuccess(int value) { m_numberOfRecordsSuccessHasBeenSet = true; m_numberOfRecordsSuccess = value; } /** *The number of records successfully imported.
*/ inline ImportFileTaskInformation& WithNumberOfRecordsSuccess(int value) { SetNumberOfRecordsSuccess(value); return *this;} /** *Start time of the import task.
*/ inline const Aws::Utils::DateTime& GetStartTime() const{ return m_startTime; } /** *Start time of the import task.
*/ inline bool StartTimeHasBeenSet() const { return m_startTimeHasBeenSet; } /** *Start time of the import task.
*/ inline void SetStartTime(const Aws::Utils::DateTime& value) { m_startTimeHasBeenSet = true; m_startTime = value; } /** *Start time of the import task.
*/ inline void SetStartTime(Aws::Utils::DateTime&& value) { m_startTimeHasBeenSet = true; m_startTime = std::move(value); } /** *Start time of the import task.
*/ inline ImportFileTaskInformation& WithStartTime(const Aws::Utils::DateTime& value) { SetStartTime(value); return *this;} /** *Start time of the import task.
*/ inline ImportFileTaskInformation& WithStartTime(Aws::Utils::DateTime&& value) { SetStartTime(std::move(value)); return *this;} /** *Status of import file task.
*/ inline const ImportFileTaskStatus& GetStatus() const{ return m_status; } /** *Status of import file task.
*/ inline bool StatusHasBeenSet() const { return m_statusHasBeenSet; } /** *Status of import file task.
*/ inline void SetStatus(const ImportFileTaskStatus& value) { m_statusHasBeenSet = true; m_status = value; } /** *Status of import file task.
*/ inline void SetStatus(ImportFileTaskStatus&& value) { m_statusHasBeenSet = true; m_status = std::move(value); } /** *Status of import file task.
*/ inline ImportFileTaskInformation& WithStatus(const ImportFileTaskStatus& value) { SetStatus(value); return *this;} /** *Status of import file task.
*/ inline ImportFileTaskInformation& WithStatus(ImportFileTaskStatus&& value) { SetStatus(std::move(value)); return *this;} /** *The S3 bucket name for status report of import task.
*/ inline const Aws::String& GetStatusReportS3Bucket() const{ return m_statusReportS3Bucket; } /** *The S3 bucket name for status report of import task.
*/ inline bool StatusReportS3BucketHasBeenSet() const { return m_statusReportS3BucketHasBeenSet; } /** *The S3 bucket name for status report of import task.
*/ inline void SetStatusReportS3Bucket(const Aws::String& value) { m_statusReportS3BucketHasBeenSet = true; m_statusReportS3Bucket = value; } /** *The S3 bucket name for status report of import task.
*/ inline void SetStatusReportS3Bucket(Aws::String&& value) { m_statusReportS3BucketHasBeenSet = true; m_statusReportS3Bucket = std::move(value); } /** *The S3 bucket name for status report of import task.
*/ inline void SetStatusReportS3Bucket(const char* value) { m_statusReportS3BucketHasBeenSet = true; m_statusReportS3Bucket.assign(value); } /** *The S3 bucket name for status report of import task.
*/ inline ImportFileTaskInformation& WithStatusReportS3Bucket(const Aws::String& value) { SetStatusReportS3Bucket(value); return *this;} /** *The S3 bucket name for status report of import task.
*/ inline ImportFileTaskInformation& WithStatusReportS3Bucket(Aws::String&& value) { SetStatusReportS3Bucket(std::move(value)); return *this;} /** *The S3 bucket name for status report of import task.
*/ inline ImportFileTaskInformation& WithStatusReportS3Bucket(const char* value) { SetStatusReportS3Bucket(value); return *this;} /** *The Amazon S3 key name for status report of import task. The report contains * details about whether each record imported successfully or why it did not.
*/ inline const Aws::String& GetStatusReportS3Key() const{ return m_statusReportS3Key; } /** *The Amazon S3 key name for status report of import task. The report contains * details about whether each record imported successfully or why it did not.
*/ inline bool StatusReportS3KeyHasBeenSet() const { return m_statusReportS3KeyHasBeenSet; } /** *The Amazon S3 key name for status report of import task. The report contains * details about whether each record imported successfully or why it did not.
*/ inline void SetStatusReportS3Key(const Aws::String& value) { m_statusReportS3KeyHasBeenSet = true; m_statusReportS3Key = value; } /** *The Amazon S3 key name for status report of import task. The report contains * details about whether each record imported successfully or why it did not.
*/ inline void SetStatusReportS3Key(Aws::String&& value) { m_statusReportS3KeyHasBeenSet = true; m_statusReportS3Key = std::move(value); } /** *The Amazon S3 key name for status report of import task. The report contains * details about whether each record imported successfully or why it did not.
*/ inline void SetStatusReportS3Key(const char* value) { m_statusReportS3KeyHasBeenSet = true; m_statusReportS3Key.assign(value); } /** *The Amazon S3 key name for status report of import task. The report contains * details about whether each record imported successfully or why it did not.
*/ inline ImportFileTaskInformation& WithStatusReportS3Key(const Aws::String& value) { SetStatusReportS3Key(value); return *this;} /** *The Amazon S3 key name for status report of import task. The report contains * details about whether each record imported successfully or why it did not.
*/ inline ImportFileTaskInformation& WithStatusReportS3Key(Aws::String&& value) { SetStatusReportS3Key(std::move(value)); return *this;} /** *The Amazon S3 key name for status report of import task. The report contains * details about whether each record imported successfully or why it did not.
*/ inline ImportFileTaskInformation& WithStatusReportS3Key(const char* value) { SetStatusReportS3Key(value); return *this;} private: Aws::Utils::DateTime m_completionTime; bool m_completionTimeHasBeenSet = false; Aws::String m_id; bool m_idHasBeenSet = false; Aws::String m_importName; bool m_importNameHasBeenSet = false; Aws::String m_inputS3Bucket; bool m_inputS3BucketHasBeenSet = false; Aws::String m_inputS3Key; bool m_inputS3KeyHasBeenSet = false; int m_numberOfRecordsFailed; bool m_numberOfRecordsFailedHasBeenSet = false; int m_numberOfRecordsSuccess; bool m_numberOfRecordsSuccessHasBeenSet = false; Aws::Utils::DateTime m_startTime; bool m_startTimeHasBeenSet = false; ImportFileTaskStatus m_status; bool m_statusHasBeenSet = false; Aws::String m_statusReportS3Bucket; bool m_statusReportS3BucketHasBeenSet = false; Aws::String m_statusReportS3Key; bool m_statusReportS3KeyHasBeenSet = false; }; } // namespace Model } // namespace MigrationHubStrategyRecommendations } // namespace Aws