/**
* Copyright Amazon.com, Inc. or its affiliates. All Rights Reserved.
* SPDX-License-Identifier: Apache-2.0.
*/
#pragma once
#include A summary of the import job.See Also:
AWS
* API Reference
The date and time when the import job was created.
*/ inline const Aws::Utils::DateTime& GetCreatedTimestamp() const{ return m_createdTimestamp; } /** *The date and time when the import job was created.
*/ inline bool CreatedTimestampHasBeenSet() const { return m_createdTimestampHasBeenSet; } /** *The date and time when the import job was created.
*/ inline void SetCreatedTimestamp(const Aws::Utils::DateTime& value) { m_createdTimestampHasBeenSet = true; m_createdTimestamp = value; } /** *The date and time when the import job was created.
*/ inline void SetCreatedTimestamp(Aws::Utils::DateTime&& value) { m_createdTimestampHasBeenSet = true; m_createdTimestamp = std::move(value); } /** *The date and time when the import job was created.
*/ inline ImportJobSummary& WithCreatedTimestamp(const Aws::Utils::DateTime& value) { SetCreatedTimestamp(value); return *this;} /** *The date and time when the import job was created.
*/ inline ImportJobSummary& WithCreatedTimestamp(Aws::Utils::DateTime&& value) { SetCreatedTimestamp(std::move(value)); return *this;} /** *The current number of records processed.
*/ inline int GetProcessedRecordsCount() const{ return m_processedRecordsCount; } /** *The current number of records processed.
*/ inline bool ProcessedRecordsCountHasBeenSet() const { return m_processedRecordsCountHasBeenSet; } /** *The current number of records processed.
*/ inline void SetProcessedRecordsCount(int value) { m_processedRecordsCountHasBeenSet = true; m_processedRecordsCount = value; } /** *The current number of records processed.
*/ inline ImportJobSummary& WithProcessedRecordsCount(int value) { SetProcessedRecordsCount(value); return *this;} /** *The number of records that failed processing because of invalid input or * other reasons.
*/ inline int GetFailedRecordsCount() const{ return m_failedRecordsCount; } /** *The number of records that failed processing because of invalid input or * other reasons.
*/ inline bool FailedRecordsCountHasBeenSet() const { return m_failedRecordsCountHasBeenSet; } /** *The number of records that failed processing because of invalid input or * other reasons.
*/ inline void SetFailedRecordsCount(int value) { m_failedRecordsCountHasBeenSet = true; m_failedRecordsCount = value; } /** *The number of records that failed processing because of invalid input or * other reasons.
*/ inline ImportJobSummary& WithFailedRecordsCount(int value) { SetFailedRecordsCount(value); return *this;} private: Aws::String m_jobId; bool m_jobIdHasBeenSet = false; ImportDestination m_importDestination; bool m_importDestinationHasBeenSet = false; JobStatus m_jobStatus; bool m_jobStatusHasBeenSet = false; Aws::Utils::DateTime m_createdTimestamp; bool m_createdTimestampHasBeenSet = false; int m_processedRecordsCount; bool m_processedRecordsCountHasBeenSet = false; int m_failedRecordsCount; bool m_failedRecordsCountHasBeenSet = false; }; } // namespace Model } // namespace SESV2 } // namespace Aws