/*
* 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 iotwireless-2020-11-22.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.IoTWireless.Model
{
///
/// This is the response object from the GetWirelessDeviceImportTask operation.
///
public partial class GetWirelessDeviceImportTaskResponse : AmazonWebServiceResponse
{
private string _arn;
private DateTime? _creationTime;
private string _destinationName;
private long? _failedImportedDeviceCount;
private string _id;
private long? _initializedImportedDeviceCount;
private long? _onboardedImportedDeviceCount;
private long? _pendingImportedDeviceCount;
private SidewalkGetStartImportInfo _sidewalk;
private ImportTaskStatus _status;
private string _statusReason;
///
/// Gets and sets the property Arn.
///
/// The ARN (Amazon Resource Name) of the import task.
///
///
[AWSProperty(Max=128)]
public string Arn
{
get { return this._arn; }
set { this._arn = value; }
}
// Check to see if Arn property is set
internal bool IsSetArn()
{
return this._arn != null;
}
///
/// Gets and sets the property CreationTime.
///
/// The time at which the import task was created.
///
///
public DateTime CreationTime
{
get { return this._creationTime.GetValueOrDefault(); }
set { this._creationTime = value; }
}
// Check to see if CreationTime property is set
internal bool IsSetCreationTime()
{
return this._creationTime.HasValue;
}
///
/// Gets and sets the property DestinationName.
///
/// The name of the destination that's assigned to the wireless devices in the import
/// task.
///
///
[AWSProperty(Max=128)]
public string DestinationName
{
get { return this._destinationName; }
set { this._destinationName = value; }
}
// Check to see if DestinationName property is set
internal bool IsSetDestinationName()
{
return this._destinationName != null;
}
///
/// Gets and sets the property FailedImportedDeviceCount.
///
/// The number of devices in the import task that failed to onboard to the import task.
///
///
public long FailedImportedDeviceCount
{
get { return this._failedImportedDeviceCount.GetValueOrDefault(); }
set { this._failedImportedDeviceCount = value; }
}
// Check to see if FailedImportedDeviceCount property is set
internal bool IsSetFailedImportedDeviceCount()
{
return this._failedImportedDeviceCount.HasValue;
}
///
/// Gets and sets the property Id.
///
/// The identifier of the import task for which information is retrieved.
///
///
[AWSProperty(Max=256)]
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 InitializedImportedDeviceCount.
///
/// The number of devices in the import task that are waiting for the control log to start
/// processing.
///
///
public long InitializedImportedDeviceCount
{
get { return this._initializedImportedDeviceCount.GetValueOrDefault(); }
set { this._initializedImportedDeviceCount = value; }
}
// Check to see if InitializedImportedDeviceCount property is set
internal bool IsSetInitializedImportedDeviceCount()
{
return this._initializedImportedDeviceCount.HasValue;
}
///
/// Gets and sets the property OnboardedImportedDeviceCount.
///
/// The number of devices in the import task that have been onboarded to the import task.
///
///
public long OnboardedImportedDeviceCount
{
get { return this._onboardedImportedDeviceCount.GetValueOrDefault(); }
set { this._onboardedImportedDeviceCount = value; }
}
// Check to see if OnboardedImportedDeviceCount property is set
internal bool IsSetOnboardedImportedDeviceCount()
{
return this._onboardedImportedDeviceCount.HasValue;
}
///
/// Gets and sets the property PendingImportedDeviceCount.
///
/// The number of devices in the import task that are waiting in the import task queue
/// to be onboarded.
///
///
public long PendingImportedDeviceCount
{
get { return this._pendingImportedDeviceCount.GetValueOrDefault(); }
set { this._pendingImportedDeviceCount = value; }
}
// Check to see if PendingImportedDeviceCount property is set
internal bool IsSetPendingImportedDeviceCount()
{
return this._pendingImportedDeviceCount.HasValue;
}
///
/// Gets and sets the property Sidewalk.
///
/// The Sidewalk-related information about an import task.
///
///
public SidewalkGetStartImportInfo Sidewalk
{
get { return this._sidewalk; }
set { this._sidewalk = value; }
}
// Check to see if Sidewalk property is set
internal bool IsSetSidewalk()
{
return this._sidewalk != null;
}
///
/// Gets and sets the property Status.
///
/// The import task status.
///
///
public ImportTaskStatus Status
{
get { return this._status; }
set { this._status = value; }
}
// Check to see if Status property is set
internal bool IsSetStatus()
{
return this._status != null;
}
///
/// Gets and sets the property StatusReason.
///
/// The reason for the provided status information, such as a validation error that causes
/// the import task to fail.
///
///
public string StatusReason
{
get { return this._statusReason; }
set { this._statusReason = value; }
}
// Check to see if StatusReason property is set
internal bool IsSetStatusReason()
{
return this._statusReason != null;
}
}
}