AWS SDK for C++

AWS SDK for C++ Version 1.11.933

Loading...
Searching...
No Matches
NodeCounts.h
1
6#pragma once
7#include <aws/iotfleetwise/IoTFleetWise_EXPORTS.h>
8
9namespace Aws {
10namespace Utils {
11namespace Json {
12class JsonValue;
13class JsonView;
14} // namespace Json
15} // namespace Utils
16namespace IoTFleetWise {
17namespace Model {
18
26 public:
27 AWS_IOTFLEETWISE_API NodeCounts() = default;
28 AWS_IOTFLEETWISE_API NodeCounts(Aws::Utils::Json::JsonView jsonValue);
29 AWS_IOTFLEETWISE_API NodeCounts& operator=(Aws::Utils::Json::JsonView jsonValue);
30 AWS_IOTFLEETWISE_API Aws::Utils::Json::JsonValue Jsonize() const;
31
33
36 inline int GetTotalNodes() const { return m_totalNodes; }
37 inline bool TotalNodesHasBeenSet() const { return m_totalNodesHasBeenSet; }
38 inline void SetTotalNodes(int value) {
39 m_totalNodesHasBeenSet = true;
40 m_totalNodes = value;
41 }
42 inline NodeCounts& WithTotalNodes(int value) {
43 SetTotalNodes(value);
44 return *this;
45 }
47
49
52 inline int GetTotalBranches() const { return m_totalBranches; }
53 inline bool TotalBranchesHasBeenSet() const { return m_totalBranchesHasBeenSet; }
54 inline void SetTotalBranches(int value) {
55 m_totalBranchesHasBeenSet = true;
56 m_totalBranches = value;
57 }
58 inline NodeCounts& WithTotalBranches(int value) {
59 SetTotalBranches(value);
60 return *this;
61 }
63
65
68 inline int GetTotalSensors() const { return m_totalSensors; }
69 inline bool TotalSensorsHasBeenSet() const { return m_totalSensorsHasBeenSet; }
70 inline void SetTotalSensors(int value) {
71 m_totalSensorsHasBeenSet = true;
72 m_totalSensors = value;
73 }
74 inline NodeCounts& WithTotalSensors(int value) {
75 SetTotalSensors(value);
76 return *this;
77 }
79
81
84 inline int GetTotalAttributes() const { return m_totalAttributes; }
85 inline bool TotalAttributesHasBeenSet() const { return m_totalAttributesHasBeenSet; }
86 inline void SetTotalAttributes(int value) {
87 m_totalAttributesHasBeenSet = true;
88 m_totalAttributes = value;
89 }
90 inline NodeCounts& WithTotalAttributes(int value) {
91 SetTotalAttributes(value);
92 return *this;
93 }
95
97
100 inline int GetTotalActuators() const { return m_totalActuators; }
101 inline bool TotalActuatorsHasBeenSet() const { return m_totalActuatorsHasBeenSet; }
102 inline void SetTotalActuators(int value) {
103 m_totalActuatorsHasBeenSet = true;
104 m_totalActuators = value;
105 }
106 inline NodeCounts& WithTotalActuators(int value) {
107 SetTotalActuators(value);
108 return *this;
109 }
111
113
116 inline int GetTotalStructs() const { return m_totalStructs; }
117 inline bool TotalStructsHasBeenSet() const { return m_totalStructsHasBeenSet; }
118 inline void SetTotalStructs(int value) {
119 m_totalStructsHasBeenSet = true;
120 m_totalStructs = value;
121 }
122 inline NodeCounts& WithTotalStructs(int value) {
123 SetTotalStructs(value);
124 return *this;
125 }
127
129
132 inline int GetTotalProperties() const { return m_totalProperties; }
133 inline bool TotalPropertiesHasBeenSet() const { return m_totalPropertiesHasBeenSet; }
134 inline void SetTotalProperties(int value) {
135 m_totalPropertiesHasBeenSet = true;
136 m_totalProperties = value;
137 }
138 inline NodeCounts& WithTotalProperties(int value) {
139 SetTotalProperties(value);
140 return *this;
141 }
143 private:
144 int m_totalNodes{0};
145
146 int m_totalBranches{0};
147
148 int m_totalSensors{0};
149
150 int m_totalAttributes{0};
151
152 int m_totalActuators{0};
153
154 int m_totalStructs{0};
155
156 int m_totalProperties{0};
157 bool m_totalNodesHasBeenSet = false;
158 bool m_totalBranchesHasBeenSet = false;
159 bool m_totalSensorsHasBeenSet = false;
160 bool m_totalAttributesHasBeenSet = false;
161 bool m_totalActuatorsHasBeenSet = false;
162 bool m_totalStructsHasBeenSet = false;
163 bool m_totalPropertiesHasBeenSet = false;
164};
165
166} // namespace Model
167} // namespace IoTFleetWise
168} // namespace Aws
NodeCounts & WithTotalSensors(int value)
Definition NodeCounts.h:74
NodeCounts & WithTotalStructs(int value)
Definition NodeCounts.h:122
NodeCounts & WithTotalAttributes(int value)
Definition NodeCounts.h:90
NodeCounts & WithTotalBranches(int value)
Definition NodeCounts.h:58
AWS_IOTFLEETWISE_API NodeCounts()=default
NodeCounts & WithTotalNodes(int value)
Definition NodeCounts.h:42
NodeCounts & WithTotalActuators(int value)
Definition NodeCounts.h:106
NodeCounts & WithTotalProperties(int value)
Definition NodeCounts.h:138
AWS_IOTFLEETWISE_API NodeCounts & operator=(Aws::Utils::Json::JsonView jsonValue)
AWS_IOTFLEETWISE_API Aws::Utils::Json::JsonValue Jsonize() const
AWS_IOTFLEETWISE_API NodeCounts(Aws::Utils::Json::JsonView jsonValue)
Aws::Utils::Json::JsonValue JsonValue