/*
* Copyright Amazon.com, Inc. or its affiliates. All Rights Reserved.
*
* Licensed under the Apache License, Version 2.0 (the "License").
* You may not use this file except in compliance with the License.
* A copy of the License is located at
*
* http://aws.amazon.com/apache2.0
*
* or in the "license" file accompanying this file. This file is distributed
* on an "AS IS" BASIS, WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either
* express or implied. See the License for the specific language governing
* permissions and limitations under the License.
*/
/*
* Do not modify this file. This file is generated from the sesv2-2019-09-27.normal.json service model.
*/
using System;
using System.Collections.Generic;
using System.Xml.Serialization;
using System.Text;
using System.IO;
using System.Net;
using Amazon.Runtime;
using Amazon.Runtime.Internal;
namespace Amazon.SimpleEmailV2.Model
{
///
/// A summary of the import job.
///
public partial class ImportJobSummary
{
private DateTime? _createdTimestamp;
private int? _failedRecordsCount;
private ImportDestination _importDestination;
private string _jobId;
private JobStatus _jobStatus;
private int? _processedRecordsCount;
///
/// Gets and sets the property CreatedTimestamp.
///
/// The date and time when the import job was created.
///
///
public DateTime CreatedTimestamp
{
get { return this._createdTimestamp.GetValueOrDefault(); }
set { this._createdTimestamp = value; }
}
// Check to see if CreatedTimestamp property is set
internal bool IsSetCreatedTimestamp()
{
return this._createdTimestamp.HasValue;
}
///
/// Gets and sets the property FailedRecordsCount.
///
/// The number of records that failed processing because of invalid input or other reasons.
///
///
public int FailedRecordsCount
{
get { return this._failedRecordsCount.GetValueOrDefault(); }
set { this._failedRecordsCount = value; }
}
// Check to see if FailedRecordsCount property is set
internal bool IsSetFailedRecordsCount()
{
return this._failedRecordsCount.HasValue;
}
///
/// Gets and sets the property ImportDestination.
///
public ImportDestination ImportDestination
{
get { return this._importDestination; }
set { this._importDestination = value; }
}
// Check to see if ImportDestination property is set
internal bool IsSetImportDestination()
{
return this._importDestination != null;
}
///
/// Gets and sets the property JobId.
///
[AWSProperty(Min=1)]
public string JobId
{
get { return this._jobId; }
set { this._jobId = value; }
}
// Check to see if JobId property is set
internal bool IsSetJobId()
{
return this._jobId != null;
}
///
/// Gets and sets the property JobStatus.
///
public JobStatus JobStatus
{
get { return this._jobStatus; }
set { this._jobStatus = value; }
}
// Check to see if JobStatus property is set
internal bool IsSetJobStatus()
{
return this._jobStatus != null;
}
///
/// Gets and sets the property ProcessedRecordsCount.
///
/// The current number of records processed.
///
///
public int ProcessedRecordsCount
{
get { return this._processedRecordsCount.GetValueOrDefault(); }
set { this._processedRecordsCount = value; }
}
// Check to see if ProcessedRecordsCount property is set
internal bool IsSetProcessedRecordsCount()
{
return this._processedRecordsCount.HasValue;
}
}
}