/*
* 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
{
///
/// Contains a job summary information.
///
public partial class JobSummary
{
private string _id;
private string _name;
private JobStatus _status;
///
/// Gets and sets the property Id.
///
/// The ID of the job.
///
///
[AWSProperty(Required=true, Min=36, Max=36)]
public string Id
{
get { return this._id; }
set { this._id = value; }
}
// Check to see if Id property is set
internal bool IsSetId()
{
return this._id != null;
}
///
/// Gets and sets the property Name.
///
/// The unique name that helps identify the job request.
///
///
[AWSProperty(Required=true, Min=1, Max=256)]
public string Name
{
get { return this._name; }
set { this._name = value; }
}
// Check to see if Name property is set
internal bool IsSetName()
{
return this._name != null;
}
///
/// Gets and sets the property Status.
///
/// 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 Status
{
get { return this._status; }
set { this._status = value; }
}
// Check to see if Status property is set
internal bool IsSetStatus()
{
return this._status != null;
}
}
}