AWS SDK for C++

AWS SDK for C++ Version 1.11.440

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();
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 inline void SetName(const Aws::String& value) { m_nameHasBeenSet = true; m_name = value; }
48 inline void SetName(Aws::String&& value) { m_nameHasBeenSet = true; m_name = std::move(value); }
49 inline void SetName(const char* value) { m_nameHasBeenSet = true; m_name.assign(value); }
50 inline ObdInterface& WithName(const Aws::String& value) { SetName(value); return *this;}
51 inline ObdInterface& WithName(Aws::String&& value) { SetName(std::move(value)); return *this;}
52 inline ObdInterface& WithName(const char* value) { SetName(value); return *this;}
54
56
59 inline int GetRequestMessageId() const{ return m_requestMessageId; }
60 inline bool RequestMessageIdHasBeenSet() const { return m_requestMessageIdHasBeenSet; }
61 inline void SetRequestMessageId(int value) { m_requestMessageIdHasBeenSet = true; m_requestMessageId = value; }
62 inline ObdInterface& WithRequestMessageId(int value) { SetRequestMessageId(value); return *this;}
64
66
69 inline const Aws::String& GetObdStandard() const{ return m_obdStandard; }
70 inline bool ObdStandardHasBeenSet() const { return m_obdStandardHasBeenSet; }
71 inline void SetObdStandard(const Aws::String& value) { m_obdStandardHasBeenSet = true; m_obdStandard = value; }
72 inline void SetObdStandard(Aws::String&& value) { m_obdStandardHasBeenSet = true; m_obdStandard = std::move(value); }
73 inline void SetObdStandard(const char* value) { m_obdStandardHasBeenSet = true; m_obdStandard.assign(value); }
74 inline ObdInterface& WithObdStandard(const Aws::String& value) { SetObdStandard(value); return *this;}
75 inline ObdInterface& WithObdStandard(Aws::String&& value) { SetObdStandard(std::move(value)); return *this;}
76 inline ObdInterface& WithObdStandard(const char* value) { SetObdStandard(value); return *this;}
78
80
83 inline int GetPidRequestIntervalSeconds() const{ return m_pidRequestIntervalSeconds; }
84 inline bool PidRequestIntervalSecondsHasBeenSet() const { return m_pidRequestIntervalSecondsHasBeenSet; }
85 inline void SetPidRequestIntervalSeconds(int value) { m_pidRequestIntervalSecondsHasBeenSet = true; m_pidRequestIntervalSeconds = value; }
88
90
94 inline int GetDtcRequestIntervalSeconds() const{ return m_dtcRequestIntervalSeconds; }
95 inline bool DtcRequestIntervalSecondsHasBeenSet() const { return m_dtcRequestIntervalSecondsHasBeenSet; }
96 inline void SetDtcRequestIntervalSeconds(int value) { m_dtcRequestIntervalSecondsHasBeenSet = true; m_dtcRequestIntervalSeconds = value; }
99
101
104 inline bool GetUseExtendedIds() const{ return m_useExtendedIds; }
105 inline bool UseExtendedIdsHasBeenSet() const { return m_useExtendedIdsHasBeenSet; }
106 inline void SetUseExtendedIds(bool value) { m_useExtendedIdsHasBeenSet = true; m_useExtendedIds = value; }
107 inline ObdInterface& WithUseExtendedIds(bool value) { SetUseExtendedIds(value); return *this;}
109
111
114 inline bool GetHasTransmissionEcu() const{ return m_hasTransmissionEcu; }
115 inline bool HasTransmissionEcuHasBeenSet() const { return m_hasTransmissionEcuHasBeenSet; }
116 inline void SetHasTransmissionEcu(bool value) { m_hasTransmissionEcuHasBeenSet = true; m_hasTransmissionEcu = value; }
117 inline ObdInterface& WithHasTransmissionEcu(bool value) { SetHasTransmissionEcu(value); return *this;}
119 private:
120
121 Aws::String m_name;
122 bool m_nameHasBeenSet = false;
123
124 int m_requestMessageId;
125 bool m_requestMessageIdHasBeenSet = false;
126
127 Aws::String m_obdStandard;
128 bool m_obdStandardHasBeenSet = false;
129
130 int m_pidRequestIntervalSeconds;
131 bool m_pidRequestIntervalSecondsHasBeenSet = false;
132
133 int m_dtcRequestIntervalSeconds;
134 bool m_dtcRequestIntervalSecondsHasBeenSet = false;
135
136 bool m_useExtendedIds;
137 bool m_useExtendedIdsHasBeenSet = false;
138
139 bool m_hasTransmissionEcu;
140 bool m_hasTransmissionEcuHasBeenSet = false;
141 };
142
143} // namespace Model
144} // namespace IoTFleetWise
145} // namespace Aws
void SetObdStandard(Aws::String &&value)
ObdInterface & WithObdStandard(const char *value)
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)
ObdInterface & WithName(const Aws::String &value)
ObdInterface & WithHasTransmissionEcu(bool value)
ObdInterface & WithDtcRequestIntervalSeconds(int value)
ObdInterface & WithName(Aws::String &&value)
void SetObdStandard(const Aws::String &value)
ObdInterface & WithName(const char *value)
const Aws::String & GetObdStandard() const
ObdInterface & WithRequestMessageId(int value)
AWS_IOTFLEETWISE_API ObdInterface & operator=(Aws::Utils::Json::JsonView jsonValue)
void SetObdStandard(const char *value)
AWS_IOTFLEETWISE_API ObdInterface()
ObdInterface & WithObdStandard(const Aws::String &value)
void SetName(const Aws::String &value)
ObdInterface & WithObdStandard(Aws::String &&value)
void SetName(Aws::String &&value)
std::basic_string< char, std::char_traits< char >, Aws::Allocator< char > > String
Aws::Utils::Json::JsonValue JsonValue