AWS SDK for C++

AWS SDK for C++ Version 1.11.607

Loading...
Searching...
No Matches
ObdInterface.h
1
6#pragma once
7#include <aws/iotfleetwise/IoTFleetWise_EXPORTS.h>
8#include <aws/core/utils/memory/stl/AWSString.h>
9#include <utility>
10
11namespace Aws
12{
13namespace Utils
14{
15namespace Json
16{
17 class JsonValue;
18 class JsonView;
19} // namespace Json
20} // namespace Utils
21namespace IoTFleetWise
22{
23namespace Model
24{
25
33 {
34 public:
35 AWS_IOTFLEETWISE_API ObdInterface() = default;
36 AWS_IOTFLEETWISE_API ObdInterface(Aws::Utils::Json::JsonView jsonValue);
37 AWS_IOTFLEETWISE_API ObdInterface& operator=(Aws::Utils::Json::JsonView jsonValue);
38 AWS_IOTFLEETWISE_API Aws::Utils::Json::JsonValue Jsonize() const;
39
40
42
45 inline const Aws::String& GetName() const { return m_name; }
46 inline bool NameHasBeenSet() const { return m_nameHasBeenSet; }
47 template<typename NameT = Aws::String>
48 void SetName(NameT&& value) { m_nameHasBeenSet = true; m_name = std::forward<NameT>(value); }
49 template<typename NameT = Aws::String>
50 ObdInterface& WithName(NameT&& value) { SetName(std::forward<NameT>(value)); return *this;}
52
54
57 inline int GetRequestMessageId() const { return m_requestMessageId; }
58 inline bool RequestMessageIdHasBeenSet() const { return m_requestMessageIdHasBeenSet; }
59 inline void SetRequestMessageId(int value) { m_requestMessageIdHasBeenSet = true; m_requestMessageId = value; }
60 inline ObdInterface& WithRequestMessageId(int value) { SetRequestMessageId(value); return *this;}
62
64
67 inline const Aws::String& GetObdStandard() const { return m_obdStandard; }
68 inline bool ObdStandardHasBeenSet() const { return m_obdStandardHasBeenSet; }
69 template<typename ObdStandardT = Aws::String>
70 void SetObdStandard(ObdStandardT&& value) { m_obdStandardHasBeenSet = true; m_obdStandard = std::forward<ObdStandardT>(value); }
71 template<typename ObdStandardT = Aws::String>
72 ObdInterface& WithObdStandard(ObdStandardT&& value) { SetObdStandard(std::forward<ObdStandardT>(value)); return *this;}
74
76
79 inline int GetPidRequestIntervalSeconds() const { return m_pidRequestIntervalSeconds; }
80 inline bool PidRequestIntervalSecondsHasBeenSet() const { return m_pidRequestIntervalSecondsHasBeenSet; }
81 inline void SetPidRequestIntervalSeconds(int value) { m_pidRequestIntervalSecondsHasBeenSet = true; m_pidRequestIntervalSeconds = value; }
84
86
90 inline int GetDtcRequestIntervalSeconds() const { return m_dtcRequestIntervalSeconds; }
91 inline bool DtcRequestIntervalSecondsHasBeenSet() const { return m_dtcRequestIntervalSecondsHasBeenSet; }
92 inline void SetDtcRequestIntervalSeconds(int value) { m_dtcRequestIntervalSecondsHasBeenSet = true; m_dtcRequestIntervalSeconds = value; }
95
97
100 inline bool GetUseExtendedIds() const { return m_useExtendedIds; }
101 inline bool UseExtendedIdsHasBeenSet() const { return m_useExtendedIdsHasBeenSet; }
102 inline void SetUseExtendedIds(bool value) { m_useExtendedIdsHasBeenSet = true; m_useExtendedIds = value; }
103 inline ObdInterface& WithUseExtendedIds(bool value) { SetUseExtendedIds(value); return *this;}
105
107
110 inline bool GetHasTransmissionEcu() const { return m_hasTransmissionEcu; }
111 inline bool HasTransmissionEcuHasBeenSet() const { return m_hasTransmissionEcuHasBeenSet; }
112 inline void SetHasTransmissionEcu(bool value) { m_hasTransmissionEcuHasBeenSet = true; m_hasTransmissionEcu = value; }
113 inline ObdInterface& WithHasTransmissionEcu(bool value) { SetHasTransmissionEcu(value); return *this;}
115 private:
116
117 Aws::String m_name;
118 bool m_nameHasBeenSet = false;
119
120 int m_requestMessageId{0};
121 bool m_requestMessageIdHasBeenSet = false;
122
123 Aws::String m_obdStandard;
124 bool m_obdStandardHasBeenSet = false;
125
126 int m_pidRequestIntervalSeconds{0};
127 bool m_pidRequestIntervalSecondsHasBeenSet = false;
128
129 int m_dtcRequestIntervalSeconds{0};
130 bool m_dtcRequestIntervalSecondsHasBeenSet = false;
131
132 bool m_useExtendedIds{false};
133 bool m_useExtendedIdsHasBeenSet = false;
134
135 bool m_hasTransmissionEcu{false};
136 bool m_hasTransmissionEcuHasBeenSet = false;
137 };
138
139} // namespace Model
140} // namespace IoTFleetWise
141} // 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