AWS SDK for C++

AWS SDK for C++ Version 1.11.440

Loading...
Searching...
No Matches
ObdSignal.h
1
6#pragma once
7#include <aws/iotfleetwise/IoTFleetWise_EXPORTS.h>
8
9namespace Aws
10{
11namespace Utils
12{
13namespace Json
14{
15 class JsonValue;
16 class JsonView;
17} // namespace Json
18} // namespace Utils
19namespace IoTFleetWise
20{
21namespace Model
22{
23
31 {
32 public:
33 AWS_IOTFLEETWISE_API ObdSignal();
34 AWS_IOTFLEETWISE_API ObdSignal(Aws::Utils::Json::JsonView jsonValue);
35 AWS_IOTFLEETWISE_API ObdSignal& operator=(Aws::Utils::Json::JsonView jsonValue);
36 AWS_IOTFLEETWISE_API Aws::Utils::Json::JsonValue Jsonize() const;
37
38
40
43 inline int GetPidResponseLength() const{ return m_pidResponseLength; }
44 inline bool PidResponseLengthHasBeenSet() const { return m_pidResponseLengthHasBeenSet; }
45 inline void SetPidResponseLength(int value) { m_pidResponseLengthHasBeenSet = true; m_pidResponseLength = value; }
46 inline ObdSignal& WithPidResponseLength(int value) { SetPidResponseLength(value); return *this;}
48
50
53 inline int GetServiceMode() const{ return m_serviceMode; }
54 inline bool ServiceModeHasBeenSet() const { return m_serviceModeHasBeenSet; }
55 inline void SetServiceMode(int value) { m_serviceModeHasBeenSet = true; m_serviceMode = value; }
56 inline ObdSignal& WithServiceMode(int value) { SetServiceMode(value); return *this;}
58
60
63 inline int GetPid() const{ return m_pid; }
64 inline bool PidHasBeenSet() const { return m_pidHasBeenSet; }
65 inline void SetPid(int value) { m_pidHasBeenSet = true; m_pid = value; }
66 inline ObdSignal& WithPid(int value) { SetPid(value); return *this;}
68
70
73 inline double GetScaling() const{ return m_scaling; }
74 inline bool ScalingHasBeenSet() const { return m_scalingHasBeenSet; }
75 inline void SetScaling(double value) { m_scalingHasBeenSet = true; m_scaling = value; }
76 inline ObdSignal& WithScaling(double value) { SetScaling(value); return *this;}
78
80
84 inline double GetOffset() const{ return m_offset; }
85 inline bool OffsetHasBeenSet() const { return m_offsetHasBeenSet; }
86 inline void SetOffset(double value) { m_offsetHasBeenSet = true; m_offset = value; }
87 inline ObdSignal& WithOffset(double value) { SetOffset(value); return *this;}
89
91
94 inline int GetStartByte() const{ return m_startByte; }
95 inline bool StartByteHasBeenSet() const { return m_startByteHasBeenSet; }
96 inline void SetStartByte(int value) { m_startByteHasBeenSet = true; m_startByte = value; }
97 inline ObdSignal& WithStartByte(int value) { SetStartByte(value); return *this;}
99
101
104 inline int GetByteLength() const{ return m_byteLength; }
105 inline bool ByteLengthHasBeenSet() const { return m_byteLengthHasBeenSet; }
106 inline void SetByteLength(int value) { m_byteLengthHasBeenSet = true; m_byteLength = value; }
107 inline ObdSignal& WithByteLength(int value) { SetByteLength(value); return *this;}
109
111
114 inline int GetBitRightShift() const{ return m_bitRightShift; }
115 inline bool BitRightShiftHasBeenSet() const { return m_bitRightShiftHasBeenSet; }
116 inline void SetBitRightShift(int value) { m_bitRightShiftHasBeenSet = true; m_bitRightShift = value; }
117 inline ObdSignal& WithBitRightShift(int value) { SetBitRightShift(value); return *this;}
119
121
124 inline int GetBitMaskLength() const{ return m_bitMaskLength; }
125 inline bool BitMaskLengthHasBeenSet() const { return m_bitMaskLengthHasBeenSet; }
126 inline void SetBitMaskLength(int value) { m_bitMaskLengthHasBeenSet = true; m_bitMaskLength = value; }
127 inline ObdSignal& WithBitMaskLength(int value) { SetBitMaskLength(value); return *this;}
129 private:
130
131 int m_pidResponseLength;
132 bool m_pidResponseLengthHasBeenSet = false;
133
134 int m_serviceMode;
135 bool m_serviceModeHasBeenSet = false;
136
137 int m_pid;
138 bool m_pidHasBeenSet = false;
139
140 double m_scaling;
141 bool m_scalingHasBeenSet = false;
142
143 double m_offset;
144 bool m_offsetHasBeenSet = false;
145
146 int m_startByte;
147 bool m_startByteHasBeenSet = false;
148
149 int m_byteLength;
150 bool m_byteLengthHasBeenSet = false;
151
152 int m_bitRightShift;
153 bool m_bitRightShiftHasBeenSet = false;
154
155 int m_bitMaskLength;
156 bool m_bitMaskLengthHasBeenSet = false;
157 };
158
159} // namespace Model
160} // namespace IoTFleetWise
161} // namespace Aws
AWS_IOTFLEETWISE_API ObdSignal & operator=(Aws::Utils::Json::JsonView jsonValue)
ObdSignal & WithByteLength(int value)
Definition ObdSignal.h:107
ObdSignal & WithServiceMode(int value)
Definition ObdSignal.h:56
ObdSignal & WithBitMaskLength(int value)
Definition ObdSignal.h:127
ObdSignal & WithPidResponseLength(int value)
Definition ObdSignal.h:46
AWS_IOTFLEETWISE_API ObdSignal(Aws::Utils::Json::JsonView jsonValue)
ObdSignal & WithScaling(double value)
Definition ObdSignal.h:76
ObdSignal & WithPid(int value)
Definition ObdSignal.h:66
AWS_IOTFLEETWISE_API ObdSignal()
AWS_IOTFLEETWISE_API Aws::Utils::Json::JsonValue Jsonize() const
ObdSignal & WithBitRightShift(int value)
Definition ObdSignal.h:117
ObdSignal & WithOffset(double value)
Definition ObdSignal.h:87
ObdSignal & WithStartByte(int value)
Definition ObdSignal.h:97
Aws::Utils::Json::JsonValue JsonValue