AWS SDK for C++

AWS SDK for C++ Version 1.11.933

Loading...
Searching...
No Matches
ObdInterface.h
1
6#pragma once
7#include <aws/core/utils/memory/stl/AWSString.h>
8#include <aws/iotfleetwise/IoTFleetWise_EXPORTS.h>
9
10#include <utility>
11
12namespace Aws {
13namespace Utils {
14namespace Json {
15class JsonValue;
16class JsonView;
17} // namespace Json
18} // namespace Utils
19namespace IoTFleetWise {
20namespace Model {
21
29 public:
30 AWS_IOTFLEETWISE_API ObdInterface() = default;
31 AWS_IOTFLEETWISE_API ObdInterface(Aws::Utils::Json::JsonView jsonValue);
32 AWS_IOTFLEETWISE_API ObdInterface& operator=(Aws::Utils::Json::JsonView jsonValue);
33 AWS_IOTFLEETWISE_API Aws::Utils::Json::JsonValue Jsonize() const;
34
36
39 inline const Aws::String& GetName() const { return m_name; }
40 inline bool NameHasBeenSet() const { return m_nameHasBeenSet; }
41 template <typename NameT = Aws::String>
42 void SetName(NameT&& value) {
43 m_nameHasBeenSet = true;
44 m_name = std::forward<NameT>(value);
45 }
46 template <typename NameT = Aws::String>
47 ObdInterface& WithName(NameT&& value) {
48 SetName(std::forward<NameT>(value));
49 return *this;
50 }
52
54
57 inline int GetRequestMessageId() const { return m_requestMessageId; }
58 inline bool RequestMessageIdHasBeenSet() const { return m_requestMessageIdHasBeenSet; }
59 inline void SetRequestMessageId(int value) {
60 m_requestMessageIdHasBeenSet = true;
61 m_requestMessageId = value;
62 }
65 return *this;
66 }
68
70
73 inline const Aws::String& GetObdStandard() const { return m_obdStandard; }
74 inline bool ObdStandardHasBeenSet() const { return m_obdStandardHasBeenSet; }
75 template <typename ObdStandardT = Aws::String>
76 void SetObdStandard(ObdStandardT&& value) {
77 m_obdStandardHasBeenSet = true;
78 m_obdStandard = std::forward<ObdStandardT>(value);
79 }
80 template <typename ObdStandardT = Aws::String>
81 ObdInterface& WithObdStandard(ObdStandardT&& value) {
82 SetObdStandard(std::forward<ObdStandardT>(value));
83 return *this;
84 }
86
88
91 inline int GetPidRequestIntervalSeconds() const { return m_pidRequestIntervalSeconds; }
92 inline bool PidRequestIntervalSecondsHasBeenSet() const { return m_pidRequestIntervalSecondsHasBeenSet; }
93 inline void SetPidRequestIntervalSeconds(int value) {
94 m_pidRequestIntervalSecondsHasBeenSet = true;
95 m_pidRequestIntervalSeconds = value;
96 }
99 return *this;
100 }
102
104
108 inline int GetDtcRequestIntervalSeconds() const { return m_dtcRequestIntervalSeconds; }
109 inline bool DtcRequestIntervalSecondsHasBeenSet() const { return m_dtcRequestIntervalSecondsHasBeenSet; }
110 inline void SetDtcRequestIntervalSeconds(int value) {
111 m_dtcRequestIntervalSecondsHasBeenSet = true;
112 m_dtcRequestIntervalSeconds = value;
113 }
116 return *this;
117 }
119
121
124 inline bool GetUseExtendedIds() const { return m_useExtendedIds; }
125 inline bool UseExtendedIdsHasBeenSet() const { return m_useExtendedIdsHasBeenSet; }
126 inline void SetUseExtendedIds(bool value) {
127 m_useExtendedIdsHasBeenSet = true;
128 m_useExtendedIds = value;
129 }
130 inline ObdInterface& WithUseExtendedIds(bool value) {
131 SetUseExtendedIds(value);
132 return *this;
133 }
135
137
140 inline bool GetHasTransmissionEcu() const { return m_hasTransmissionEcu; }
141 inline bool HasTransmissionEcuHasBeenSet() const { return m_hasTransmissionEcuHasBeenSet; }
142 inline void SetHasTransmissionEcu(bool value) {
143 m_hasTransmissionEcuHasBeenSet = true;
144 m_hasTransmissionEcu = value;
145 }
148 return *this;
149 }
151 private:
152 Aws::String m_name;
153
154 int m_requestMessageId{0};
155
156 Aws::String m_obdStandard;
157
158 int m_pidRequestIntervalSeconds{0};
159
160 int m_dtcRequestIntervalSeconds{0};
161
162 bool m_useExtendedIds{false};
163
164 bool m_hasTransmissionEcu{false};
165 bool m_nameHasBeenSet = false;
166 bool m_requestMessageIdHasBeenSet = false;
167 bool m_obdStandardHasBeenSet = false;
168 bool m_pidRequestIntervalSecondsHasBeenSet = false;
169 bool m_dtcRequestIntervalSecondsHasBeenSet = false;
170 bool m_useExtendedIdsHasBeenSet = false;
171 bool m_hasTransmissionEcuHasBeenSet = false;
172};
173
174} // namespace Model
175} // namespace IoTFleetWise
176} // namespace Aws
AWS_IOTFLEETWISE_API ObdInterface(Aws::Utils::Json::JsonView jsonValue)
ObdInterface & WithUseExtendedIds(bool value)
AWS_IOTFLEETWISE_API Aws::Utils::Json::JsonValue Jsonize() const
const Aws::String & GetName() const
ObdInterface & WithPidRequestIntervalSeconds(int value)
void SetObdStandard(ObdStandardT &&value)
ObdInterface & WithHasTransmissionEcu(bool value)
ObdInterface & WithName(NameT &&value)
ObdInterface & WithDtcRequestIntervalSeconds(int value)
const Aws::String & GetObdStandard() const
ObdInterface & WithRequestMessageId(int value)
AWS_IOTFLEETWISE_API ObdInterface & operator=(Aws::Utils::Json::JsonView jsonValue)
AWS_IOTFLEETWISE_API ObdInterface()=default
ObdInterface & WithObdStandard(ObdStandardT &&value)
std::basic_string< char, std::char_traits< char >, Aws::Allocator< char > > String
Aws::Utils::Json::JsonValue JsonValue