/* * 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-edge-2020-09-23.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.SagemakerEdgeManager.Model { /// /// Container for the parameters to the SendHeartbeat operation. /// Use to get the current status of devices registered on SageMaker Edge Manager. /// public partial class SendHeartbeatRequest : AmazonSagemakerEdgeManagerRequest { private List _agentMetrics = new List(); private string _agentVersion; private DeploymentResult _deploymentResult; private string _deviceFleetName; private string _deviceName; private List _models = new List(); /// /// Gets and sets the property AgentMetrics. /// /// For internal use. Returns a list of SageMaker Edge Manager agent operating metrics. /// /// public List AgentMetrics { get { return this._agentMetrics; } set { this._agentMetrics = value; } } // Check to see if AgentMetrics property is set internal bool IsSetAgentMetrics() { return this._agentMetrics != null && this._agentMetrics.Count > 0; } /// /// Gets and sets the property AgentVersion. /// /// Returns the version of the agent. /// /// [AWSProperty(Required=true, Min=1, Max=64)] 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 DeploymentResult. /// /// Returns the result of a deployment on the device. /// /// public DeploymentResult DeploymentResult { get { return this._deploymentResult; } set { this._deploymentResult = value; } } // Check to see if DeploymentResult property is set internal bool IsSetDeploymentResult() { return this._deploymentResult != null; } /// /// Gets and sets the property DeviceFleetName. /// /// The name of the fleet that 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 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 Models. /// /// Returns a list of models deployed on the 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; } } }