/* * 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 { /// /// An HTTP 200 response if the request succeeds, or an error message if the request fails. /// public partial class GetImportJobResponse : AmazonWebServiceResponse { private DateTime? _completedTimestamp; private DateTime? _createdTimestamp; private int? _failedRecordsCount; private FailureInfo _failureInfo; private ImportDataSource _importDataSource; private ImportDestination _importDestination; private string _jobId; private JobStatus _jobStatus; private int? _processedRecordsCount; /// /// Gets and sets the property CompletedTimestamp. /// /// The time stamp of when the import job was completed. /// /// public DateTime CompletedTimestamp { get { return this._completedTimestamp.GetValueOrDefault(); } set { this._completedTimestamp = value; } } // Check to see if CompletedTimestamp property is set internal bool IsSetCompletedTimestamp() { return this._completedTimestamp.HasValue; } /// /// Gets and sets the property CreatedTimestamp. /// /// The time stamp of 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 FailureInfo. /// /// The failure details about an import job. /// /// public FailureInfo FailureInfo { get { return this._failureInfo; } set { this._failureInfo = value; } } // Check to see if FailureInfo property is set internal bool IsSetFailureInfo() { return this._failureInfo != null; } /// /// Gets and sets the property ImportDataSource. /// /// The data source of the import job. /// /// public ImportDataSource ImportDataSource { get { return this._importDataSource; } set { this._importDataSource = value; } } // Check to see if ImportDataSource property is set internal bool IsSetImportDataSource() { return this._importDataSource != null; } /// /// Gets and sets the property ImportDestination. /// /// The destination of the import job. /// /// 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. /// /// A string that represents the import job ID. /// /// [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. /// /// The status of the import job. /// /// 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; } } }