/*
* 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 sagemaker-2017-07-24.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.SageMaker.Model
{
///
/// Contains information summarizing device details and deployment status.
///
public partial class DeviceDeploymentSummary
{
private string _deployedStageName;
private DateTime? _deploymentStartTime;
private string _description;
private string _deviceArn;
private DeviceDeploymentStatus _deviceDeploymentStatus;
private string _deviceDeploymentStatusMessage;
private string _deviceFleetName;
private string _deviceName;
private string _edgeDeploymentPlanArn;
private string _edgeDeploymentPlanName;
private string _stageName;
///
/// Gets and sets the property DeployedStageName.
///
/// The name of the deployed stage.
///
///
[AWSProperty(Min=1, Max=63)]
public string DeployedStageName
{
get { return this._deployedStageName; }
set { this._deployedStageName = value; }
}
// Check to see if DeployedStageName property is set
internal bool IsSetDeployedStageName()
{
return this._deployedStageName != null;
}
///
/// Gets and sets the property DeploymentStartTime.
///
/// The time when the deployment on the device started.
///
///
public DateTime DeploymentStartTime
{
get { return this._deploymentStartTime.GetValueOrDefault(); }
set { this._deploymentStartTime = value; }
}
// Check to see if DeploymentStartTime property is set
internal bool IsSetDeploymentStartTime()
{
return this._deploymentStartTime.HasValue;
}
///
/// Gets and sets the property Description.
///
/// The description of the device.
///
///
[AWSProperty(Min=1, Max=40)]
public string Description
{
get { return this._description; }
set { this._description = value; }
}
// Check to see if Description property is set
internal bool IsSetDescription()
{
return this._description != null;
}
///
/// Gets and sets the property DeviceArn.
///
/// The ARN of the device.
///
///
[AWSProperty(Required=true, Min=20, Max=2048)]
public string DeviceArn
{
get { return this._deviceArn; }
set { this._deviceArn = value; }
}
// Check to see if DeviceArn property is set
internal bool IsSetDeviceArn()
{
return this._deviceArn != null;
}
///
/// Gets and sets the property DeviceDeploymentStatus.
///
/// The deployment status of the device.
///
///
public DeviceDeploymentStatus DeviceDeploymentStatus
{
get { return this._deviceDeploymentStatus; }
set { this._deviceDeploymentStatus = value; }
}
// Check to see if DeviceDeploymentStatus property is set
internal bool IsSetDeviceDeploymentStatus()
{
return this._deviceDeploymentStatus != null;
}
///
/// Gets and sets the property DeviceDeploymentStatusMessage.
///
/// The detailed error message for the deployoment status result.
///
///
public string DeviceDeploymentStatusMessage
{
get { return this._deviceDeploymentStatusMessage; }
set { this._deviceDeploymentStatusMessage = value; }
}
// Check to see if DeviceDeploymentStatusMessage property is set
internal bool IsSetDeviceDeploymentStatusMessage()
{
return this._deviceDeploymentStatusMessage != null;
}
///
/// Gets and sets the property DeviceFleetName.
///
/// The name of the fleet to which the device belongs to.
///
///
[AWSProperty(Min=1, Max=63)]
public string DeviceFleetName
{
get { return this._deviceFleetName; }
set { this._deviceFleetName = value; }
}
// Check to see if DeviceFleetName property is set
internal bool IsSetDeviceFleetName()
{
return this._deviceFleetName != null;
}
///
/// Gets and sets the property DeviceName.
///
/// The name of the device.
///
///
[AWSProperty(Required=true, Min=1, Max=63)]
public string DeviceName
{
get { return this._deviceName; }
set { this._deviceName = value; }
}
// Check to see if DeviceName property is set
internal bool IsSetDeviceName()
{
return this._deviceName != null;
}
///
/// Gets and sets the property EdgeDeploymentPlanArn.
///
/// The ARN of the edge deployment plan.
///
///
[AWSProperty(Required=true, Min=20, Max=2048)]
public string EdgeDeploymentPlanArn
{
get { return this._edgeDeploymentPlanArn; }
set { this._edgeDeploymentPlanArn = value; }
}
// Check to see if EdgeDeploymentPlanArn property is set
internal bool IsSetEdgeDeploymentPlanArn()
{
return this._edgeDeploymentPlanArn != null;
}
///
/// Gets and sets the property EdgeDeploymentPlanName.
///
/// The name of the edge deployment plan.
///
///
[AWSProperty(Required=true, Min=1, Max=63)]
public string EdgeDeploymentPlanName
{
get { return this._edgeDeploymentPlanName; }
set { this._edgeDeploymentPlanName = value; }
}
// Check to see if EdgeDeploymentPlanName property is set
internal bool IsSetEdgeDeploymentPlanName()
{
return this._edgeDeploymentPlanName != null;
}
///
/// Gets and sets the property StageName.
///
/// The name of the stage in the edge deployment plan.
///
///
[AWSProperty(Required=true, Min=1, Max=63)]
public string StageName
{
get { return this._stageName; }
set { this._stageName = value; }
}
// Check to see if StageName property is set
internal bool IsSetStageName()
{
return this._stageName != null;
}
}
}