/** * Copyright Amazon.com, Inc. or its affiliates. All Rights Reserved. * SPDX-License-Identifier: Apache-2.0. */ #pragma once #include namespace Aws { namespace Utils { namespace Json { class JsonValue; class JsonView; } // namespace Json } // namespace Utils namespace IoTFleetWise { namespace Model { /** *

Information about the number of nodes and node types in a vehicle * network.

See Also:

AWS * API Reference

*/ class NodeCounts { public: AWS_IOTFLEETWISE_API NodeCounts(); AWS_IOTFLEETWISE_API NodeCounts(Aws::Utils::Json::JsonView jsonValue); AWS_IOTFLEETWISE_API NodeCounts& operator=(Aws::Utils::Json::JsonView jsonValue); AWS_IOTFLEETWISE_API Aws::Utils::Json::JsonValue Jsonize() const; /** *

The total number of nodes in a vehicle network.

*/ inline int GetTotalNodes() const{ return m_totalNodes; } /** *

The total number of nodes in a vehicle network.

*/ inline bool TotalNodesHasBeenSet() const { return m_totalNodesHasBeenSet; } /** *

The total number of nodes in a vehicle network.

*/ inline void SetTotalNodes(int value) { m_totalNodesHasBeenSet = true; m_totalNodes = value; } /** *

The total number of nodes in a vehicle network.

*/ inline NodeCounts& WithTotalNodes(int value) { SetTotalNodes(value); return *this;} /** *

The total number of nodes in a vehicle network that represent branches.

*/ inline int GetTotalBranches() const{ return m_totalBranches; } /** *

The total number of nodes in a vehicle network that represent branches.

*/ inline bool TotalBranchesHasBeenSet() const { return m_totalBranchesHasBeenSet; } /** *

The total number of nodes in a vehicle network that represent branches.

*/ inline void SetTotalBranches(int value) { m_totalBranchesHasBeenSet = true; m_totalBranches = value; } /** *

The total number of nodes in a vehicle network that represent branches.

*/ inline NodeCounts& WithTotalBranches(int value) { SetTotalBranches(value); return *this;} /** *

The total number of nodes in a vehicle network that represent sensors.

*/ inline int GetTotalSensors() const{ return m_totalSensors; } /** *

The total number of nodes in a vehicle network that represent sensors.

*/ inline bool TotalSensorsHasBeenSet() const { return m_totalSensorsHasBeenSet; } /** *

The total number of nodes in a vehicle network that represent sensors.

*/ inline void SetTotalSensors(int value) { m_totalSensorsHasBeenSet = true; m_totalSensors = value; } /** *

The total number of nodes in a vehicle network that represent sensors.

*/ inline NodeCounts& WithTotalSensors(int value) { SetTotalSensors(value); return *this;} /** *

The total number of nodes in a vehicle network that represent attributes.

*/ inline int GetTotalAttributes() const{ return m_totalAttributes; } /** *

The total number of nodes in a vehicle network that represent attributes.

*/ inline bool TotalAttributesHasBeenSet() const { return m_totalAttributesHasBeenSet; } /** *

The total number of nodes in a vehicle network that represent attributes.

*/ inline void SetTotalAttributes(int value) { m_totalAttributesHasBeenSet = true; m_totalAttributes = value; } /** *

The total number of nodes in a vehicle network that represent attributes.

*/ inline NodeCounts& WithTotalAttributes(int value) { SetTotalAttributes(value); return *this;} /** *

The total number of nodes in a vehicle network that represent actuators.

*/ inline int GetTotalActuators() const{ return m_totalActuators; } /** *

The total number of nodes in a vehicle network that represent actuators.

*/ inline bool TotalActuatorsHasBeenSet() const { return m_totalActuatorsHasBeenSet; } /** *

The total number of nodes in a vehicle network that represent actuators.

*/ inline void SetTotalActuators(int value) { m_totalActuatorsHasBeenSet = true; m_totalActuators = value; } /** *

The total number of nodes in a vehicle network that represent actuators.

*/ inline NodeCounts& WithTotalActuators(int value) { SetTotalActuators(value); return *this;} private: int m_totalNodes; bool m_totalNodesHasBeenSet = false; int m_totalBranches; bool m_totalBranchesHasBeenSet = false; int m_totalSensors; bool m_totalSensorsHasBeenSet = false; int m_totalAttributes; bool m_totalAttributesHasBeenSet = false; int m_totalActuators; bool m_totalActuatorsHasBeenSet = false; }; } // namespace Model } // namespace IoTFleetWise } // namespace Aws