/* * 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 { /// /// This is the response object from the DescribeDevice operation. /// public partial class DescribeDeviceResponse : AmazonWebServiceResponse { private string _agentVersion; private string _description; private string _deviceArn; private string _deviceFleetName; private string _deviceName; private string _iotThingName; private DateTime? _latestHeartbeat; private int? _maxModels; private List _models = new List(); private string _nextToken; private DateTime? _registrationTime; /// /// Gets and sets the property AgentVersion. /// /// Edge Manager agent version. /// /// [AWSProperty(Min=1, Max=30)] public string AgentVersion { get { return this._agentVersion; } set { this._agentVersion = value; } } // Check to see if AgentVersion property is set internal bool IsSetAgentVersion() { return this._agentVersion != null; } /// /// Gets and sets the property Description. /// /// A 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 Amazon Resource Name (ARN) of the device. /// /// [AWSProperty(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 DeviceFleetName. /// /// The name of the fleet the device belongs to. /// /// [AWSProperty(Required=true, 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 unique identifier 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 IotThingName. /// /// The Amazon Web Services Internet of Things (IoT) object thing name associated with /// the device. /// /// [AWSProperty(Max=128)] public string IotThingName { get { return this._iotThingName; } set { this._iotThingName = value; } } // Check to see if IotThingName property is set internal bool IsSetIotThingName() { return this._iotThingName != null; } /// /// Gets and sets the property LatestHeartbeat. /// /// The last heartbeat received from the device. /// /// public DateTime LatestHeartbeat { get { return this._latestHeartbeat.GetValueOrDefault(); } set { this._latestHeartbeat = value; } } // Check to see if LatestHeartbeat property is set internal bool IsSetLatestHeartbeat() { return this._latestHeartbeat.HasValue; } /// /// Gets and sets the property MaxModels. /// /// The maximum number of models. /// /// public int MaxModels { get { return this._maxModels.GetValueOrDefault(); } set { this._maxModels = value; } } // Check to see if MaxModels property is set internal bool IsSetMaxModels() { return this._maxModels.HasValue; } /// /// Gets and sets the property Models. /// /// Models on the device. /// /// public List Models { get { return this._models; } set { this._models = value; } } // Check to see if Models property is set internal bool IsSetModels() { return this._models != null && this._models.Count > 0; } /// /// Gets and sets the property NextToken. /// /// The response from the last list when returning a list large enough to need tokening. /// /// [AWSProperty(Max=8192)] public string NextToken { get { return this._nextToken; } set { this._nextToken = value; } } // Check to see if NextToken property is set internal bool IsSetNextToken() { return this._nextToken != null; } /// /// Gets and sets the property RegistrationTime. /// /// The timestamp of the last registration or de-reregistration. /// /// [AWSProperty(Required=true)] public DateTime RegistrationTime { get { return this._registrationTime.GetValueOrDefault(); } set { this._registrationTime = value; } } // Check to see if RegistrationTime property is set internal bool IsSetRegistrationTime() { return this._registrationTime.HasValue; } } }