/* * 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 iotsitewise-2019-12-02.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.IoTSiteWise.Model { /// /// This is the response object from the DescribeBulkImportJob operation. /// public partial class DescribeBulkImportJobResponse : AmazonWebServiceResponse { private ErrorReportLocation _errorReportLocation; private List _files = new List(); private JobConfiguration _jobConfiguration; private DateTime? _jobCreationDate; private string _jobId; private DateTime? _jobLastUpdateDate; private string _jobName; private string _jobRoleArn; private JobStatus _jobStatus; /// /// Gets and sets the property ErrorReportLocation. /// /// The Amazon S3 destination where errors associated with the job creation request are /// saved. /// /// [AWSProperty(Required=true)] public ErrorReportLocation ErrorReportLocation { get { return this._errorReportLocation; } set { this._errorReportLocation = value; } } // Check to see if ErrorReportLocation property is set internal bool IsSetErrorReportLocation() { return this._errorReportLocation != null; } /// /// Gets and sets the property Files. /// /// The files in the specified Amazon S3 bucket that contain your data. /// /// [AWSProperty(Required=true)] public List Files { get { return this._files; } set { this._files = value; } } // Check to see if Files property is set internal bool IsSetFiles() { return this._files != null && this._files.Count > 0; } /// /// Gets and sets the property JobConfiguration. /// /// Contains the configuration information of a job, such as the file format used to save /// data in Amazon S3. /// /// [AWSProperty(Required=true)] public JobConfiguration JobConfiguration { get { return this._jobConfiguration; } set { this._jobConfiguration = value; } } // Check to see if JobConfiguration property is set internal bool IsSetJobConfiguration() { return this._jobConfiguration != null; } /// /// Gets and sets the property JobCreationDate. /// /// The date the job was created, in Unix epoch TIME. /// /// [AWSProperty(Required=true)] public DateTime JobCreationDate { get { return this._jobCreationDate.GetValueOrDefault(); } set { this._jobCreationDate = value; } } // Check to see if JobCreationDate property is set internal bool IsSetJobCreationDate() { return this._jobCreationDate.HasValue; } /// /// Gets and sets the property JobId. /// /// The ID of the job. /// /// [AWSProperty(Required=true, Min=36, Max=36)] 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 JobLastUpdateDate. /// /// The date the job was last updated, in Unix epoch time. /// /// [AWSProperty(Required=true)] public DateTime JobLastUpdateDate { get { return this._jobLastUpdateDate.GetValueOrDefault(); } set { this._jobLastUpdateDate = value; } } // Check to see if JobLastUpdateDate property is set internal bool IsSetJobLastUpdateDate() { return this._jobLastUpdateDate.HasValue; } /// /// Gets and sets the property JobName. /// /// The unique name that helps identify the job request. /// /// [AWSProperty(Required=true, Min=1, Max=256)] public string JobName { get { return this._jobName; } set { this._jobName = value; } } // Check to see if JobName property is set internal bool IsSetJobName() { return this._jobName != null; } /// /// Gets and sets the property JobRoleArn. /// /// The ARN /// of the IAM role that allows IoT SiteWise to read Amazon S3 data. /// /// [AWSProperty(Required=true, Min=1, Max=1600)] public string JobRoleArn { get { return this._jobRoleArn; } set { this._jobRoleArn = value; } } // Check to see if JobRoleArn property is set internal bool IsSetJobRoleArn() { return this._jobRoleArn != null; } /// /// Gets and sets the property JobStatus. /// /// The status of the bulk import job can be one of following values. /// ///
  • /// /// PENDING – IoT SiteWise is waiting for the current bulk import job to /// finish. /// ///
  • /// /// CANCELLED – The bulk import job has been canceled. /// ///
  • /// /// RUNNING – IoT SiteWise is processing your request to import your data /// from Amazon S3. /// ///
  • /// /// COMPLETED – IoT SiteWise successfully completed your request to import /// data from Amazon S3. /// ///
  • /// /// FAILED – IoT SiteWise couldn't process your request to import data from /// Amazon S3. You can use logs saved in the specified error report location in Amazon /// S3 to troubleshoot issues. /// ///
  • /// /// COMPLETED_WITH_FAILURES – IoT SiteWise completed your request to import /// data from Amazon S3 with errors. You can use logs saved in the specified error report /// location in Amazon S3 to troubleshoot issues. /// ///
///
[AWSProperty(Required=true)] 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; } } }