/*
* 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 braket-2019-09-01.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.Braket.Model
{
///
/// This is the response object from the GetDevice operation.
///
public partial class GetDeviceResponse : AmazonWebServiceResponse
{
private string _deviceArn;
private string _deviceCapabilities;
private string _deviceName;
private DeviceStatus _deviceStatus;
private DeviceType _deviceType;
private string _providerName;
///
/// Gets and sets the property DeviceArn.
///
/// The ARN of the device.
///
///
[AWSProperty(Required=true, Min=1, Max=256)]
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 DeviceCapabilities.
///
/// Details about the capabilities of the device.
///
///
[AWSProperty(Required=true)]
public string DeviceCapabilities
{
get { return this._deviceCapabilities; }
set { this._deviceCapabilities = value; }
}
// Check to see if DeviceCapabilities property is set
internal bool IsSetDeviceCapabilities()
{
return this._deviceCapabilities != null;
}
///
/// Gets and sets the property DeviceName.
///
/// The name of the device.
///
///
[AWSProperty(Required=true)]
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 DeviceStatus.
///
/// The status of the device.
///
///
[AWSProperty(Required=true)]
public DeviceStatus DeviceStatus
{
get { return this._deviceStatus; }
set { this._deviceStatus = value; }
}
// Check to see if DeviceStatus property is set
internal bool IsSetDeviceStatus()
{
return this._deviceStatus != null;
}
///
/// Gets and sets the property DeviceType.
///
/// The type of the device.
///
///
[AWSProperty(Required=true)]
public DeviceType DeviceType
{
get { return this._deviceType; }
set { this._deviceType = value; }
}
// Check to see if DeviceType property is set
internal bool IsSetDeviceType()
{
return this._deviceType != null;
}
///
/// Gets and sets the property ProviderName.
///
/// The name of the partner company for the device.
///
///
[AWSProperty(Required=true)]
public string ProviderName
{
get { return this._providerName; }
set { this._providerName = value; }
}
// Check to see if ProviderName property is set
internal bool IsSetProviderName()
{
return this._providerName != null;
}
}
}