/* * 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 iotfleetwise-2021-06-17.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.IoTFleetWise.Model { /// /// Information about the number of nodes and node types in a vehicle network. /// public partial class NodeCounts { private int? _totalActuators; private int? _totalAttributes; private int? _totalBranches; private int? _totalNodes; private int? _totalSensors; /// /// Gets and sets the property TotalActuators. /// /// The total number of nodes in a vehicle network that represent actuators. /// /// public int TotalActuators { get { return this._totalActuators.GetValueOrDefault(); } set { this._totalActuators = value; } } // Check to see if TotalActuators property is set internal bool IsSetTotalActuators() { return this._totalActuators.HasValue; } /// /// Gets and sets the property TotalAttributes. /// /// The total number of nodes in a vehicle network that represent attributes. /// /// public int TotalAttributes { get { return this._totalAttributes.GetValueOrDefault(); } set { this._totalAttributes = value; } } // Check to see if TotalAttributes property is set internal bool IsSetTotalAttributes() { return this._totalAttributes.HasValue; } /// /// Gets and sets the property TotalBranches. /// /// The total number of nodes in a vehicle network that represent branches. /// /// public int TotalBranches { get { return this._totalBranches.GetValueOrDefault(); } set { this._totalBranches = value; } } // Check to see if TotalBranches property is set internal bool IsSetTotalBranches() { return this._totalBranches.HasValue; } /// /// Gets and sets the property TotalNodes. /// /// The total number of nodes in a vehicle network. /// /// public int TotalNodes { get { return this._totalNodes.GetValueOrDefault(); } set { this._totalNodes = value; } } // Check to see if TotalNodes property is set internal bool IsSetTotalNodes() { return this._totalNodes.HasValue; } /// /// Gets and sets the property TotalSensors. /// /// The total number of nodes in a vehicle network that represent sensors. /// /// public int TotalSensors { get { return this._totalSensors.GetValueOrDefault(); } set { this._totalSensors = value; } } // Check to see if TotalSensors property is set internal bool IsSetTotalSensors() { return this._totalSensors.HasValue; } } }