AWS SDK for C++

AWS SDK for C++ Version 1.11.440

Loading...
Searching...
No Matches
SignalDecoder.h
1
6#pragma once
7#include <aws/iotfleetwise/IoTFleetWise_EXPORTS.h>
8#include <aws/core/utils/memory/stl/AWSString.h>
9#include <aws/iotfleetwise/model/SignalDecoderType.h>
10#include <aws/iotfleetwise/model/CanSignal.h>
11#include <aws/iotfleetwise/model/ObdSignal.h>
12#include <aws/iotfleetwise/model/MessageSignal.h>
13#include <utility>
14
15namespace Aws
16{
17namespace Utils
18{
19namespace Json
20{
21 class JsonValue;
22 class JsonView;
23} // namespace Json
24} // namespace Utils
25namespace IoTFleetWise
26{
27namespace Model
28{
29
36 {
37 public:
38 AWS_IOTFLEETWISE_API SignalDecoder();
39 AWS_IOTFLEETWISE_API SignalDecoder(Aws::Utils::Json::JsonView jsonValue);
40 AWS_IOTFLEETWISE_API SignalDecoder& operator=(Aws::Utils::Json::JsonView jsonValue);
41 AWS_IOTFLEETWISE_API Aws::Utils::Json::JsonValue Jsonize() const;
42
43
45
49 inline const Aws::String& GetFullyQualifiedName() const{ return m_fullyQualifiedName; }
50 inline bool FullyQualifiedNameHasBeenSet() const { return m_fullyQualifiedNameHasBeenSet; }
51 inline void SetFullyQualifiedName(const Aws::String& value) { m_fullyQualifiedNameHasBeenSet = true; m_fullyQualifiedName = value; }
52 inline void SetFullyQualifiedName(Aws::String&& value) { m_fullyQualifiedNameHasBeenSet = true; m_fullyQualifiedName = std::move(value); }
53 inline void SetFullyQualifiedName(const char* value) { m_fullyQualifiedNameHasBeenSet = true; m_fullyQualifiedName.assign(value); }
54 inline SignalDecoder& WithFullyQualifiedName(const Aws::String& value) { SetFullyQualifiedName(value); return *this;}
55 inline SignalDecoder& WithFullyQualifiedName(Aws::String&& value) { SetFullyQualifiedName(std::move(value)); return *this;}
56 inline SignalDecoder& WithFullyQualifiedName(const char* value) { SetFullyQualifiedName(value); return *this;}
58
60
66 inline const SignalDecoderType& GetType() const{ return m_type; }
67 inline bool TypeHasBeenSet() const { return m_typeHasBeenSet; }
68 inline void SetType(const SignalDecoderType& value) { m_typeHasBeenSet = true; m_type = value; }
69 inline void SetType(SignalDecoderType&& value) { m_typeHasBeenSet = true; m_type = std::move(value); }
70 inline SignalDecoder& WithType(const SignalDecoderType& value) { SetType(value); return *this;}
71 inline SignalDecoder& WithType(SignalDecoderType&& value) { SetType(std::move(value)); return *this;}
73
75
79 inline const Aws::String& GetInterfaceId() const{ return m_interfaceId; }
80 inline bool InterfaceIdHasBeenSet() const { return m_interfaceIdHasBeenSet; }
81 inline void SetInterfaceId(const Aws::String& value) { m_interfaceIdHasBeenSet = true; m_interfaceId = value; }
82 inline void SetInterfaceId(Aws::String&& value) { m_interfaceIdHasBeenSet = true; m_interfaceId = std::move(value); }
83 inline void SetInterfaceId(const char* value) { m_interfaceIdHasBeenSet = true; m_interfaceId.assign(value); }
84 inline SignalDecoder& WithInterfaceId(const Aws::String& value) { SetInterfaceId(value); return *this;}
85 inline SignalDecoder& WithInterfaceId(Aws::String&& value) { SetInterfaceId(std::move(value)); return *this;}
86 inline SignalDecoder& WithInterfaceId(const char* value) { SetInterfaceId(value); return *this;}
88
90
94 inline const CanSignal& GetCanSignal() const{ return m_canSignal; }
95 inline bool CanSignalHasBeenSet() const { return m_canSignalHasBeenSet; }
96 inline void SetCanSignal(const CanSignal& value) { m_canSignalHasBeenSet = true; m_canSignal = value; }
97 inline void SetCanSignal(CanSignal&& value) { m_canSignalHasBeenSet = true; m_canSignal = std::move(value); }
98 inline SignalDecoder& WithCanSignal(const CanSignal& value) { SetCanSignal(value); return *this;}
99 inline SignalDecoder& WithCanSignal(CanSignal&& value) { SetCanSignal(std::move(value)); return *this;}
101
103
107 inline const ObdSignal& GetObdSignal() const{ return m_obdSignal; }
108 inline bool ObdSignalHasBeenSet() const { return m_obdSignalHasBeenSet; }
109 inline void SetObdSignal(const ObdSignal& value) { m_obdSignalHasBeenSet = true; m_obdSignal = value; }
110 inline void SetObdSignal(ObdSignal&& value) { m_obdSignalHasBeenSet = true; m_obdSignal = std::move(value); }
111 inline SignalDecoder& WithObdSignal(const ObdSignal& value) { SetObdSignal(value); return *this;}
112 inline SignalDecoder& WithObdSignal(ObdSignal&& value) { SetObdSignal(std::move(value)); return *this;}
114
116
120 inline const MessageSignal& GetMessageSignal() const{ return m_messageSignal; }
121 inline bool MessageSignalHasBeenSet() const { return m_messageSignalHasBeenSet; }
122 inline void SetMessageSignal(const MessageSignal& value) { m_messageSignalHasBeenSet = true; m_messageSignal = value; }
123 inline void SetMessageSignal(MessageSignal&& value) { m_messageSignalHasBeenSet = true; m_messageSignal = std::move(value); }
124 inline SignalDecoder& WithMessageSignal(const MessageSignal& value) { SetMessageSignal(value); return *this;}
125 inline SignalDecoder& WithMessageSignal(MessageSignal&& value) { SetMessageSignal(std::move(value)); return *this;}
127 private:
128
129 Aws::String m_fullyQualifiedName;
130 bool m_fullyQualifiedNameHasBeenSet = false;
131
132 SignalDecoderType m_type;
133 bool m_typeHasBeenSet = false;
134
135 Aws::String m_interfaceId;
136 bool m_interfaceIdHasBeenSet = false;
137
138 CanSignal m_canSignal;
139 bool m_canSignalHasBeenSet = false;
140
141 ObdSignal m_obdSignal;
142 bool m_obdSignalHasBeenSet = false;
143
144 MessageSignal m_messageSignal;
145 bool m_messageSignalHasBeenSet = false;
146 };
147
148} // namespace Model
149} // namespace IoTFleetWise
150} // namespace Aws
SignalDecoder & WithObdSignal(const ObdSignal &value)
SignalDecoder & WithType(SignalDecoderType &&value)
AWS_IOTFLEETWISE_API SignalDecoder(Aws::Utils::Json::JsonView jsonValue)
const ObdSignal & GetObdSignal() const
AWS_IOTFLEETWISE_API SignalDecoder & operator=(Aws::Utils::Json::JsonView jsonValue)
SignalDecoder & WithMessageSignal(MessageSignal &&value)
AWS_IOTFLEETWISE_API Aws::Utils::Json::JsonValue Jsonize() const
SignalDecoder & WithType(const SignalDecoderType &value)
const SignalDecoderType & GetType() const
SignalDecoder & WithFullyQualifiedName(Aws::String &&value)
SignalDecoder & WithInterfaceId(const char *value)
SignalDecoder & WithCanSignal(const CanSignal &value)
SignalDecoder & WithFullyQualifiedName(const char *value)
SignalDecoder & WithFullyQualifiedName(const Aws::String &value)
void SetMessageSignal(MessageSignal &&value)
SignalDecoder & WithObdSignal(ObdSignal &&value)
AWS_IOTFLEETWISE_API SignalDecoder()
void SetFullyQualifiedName(const Aws::String &value)
SignalDecoder & WithInterfaceId(const Aws::String &value)
void SetCanSignal(const CanSignal &value)
SignalDecoder & WithInterfaceId(Aws::String &&value)
const CanSignal & GetCanSignal() const
const Aws::String & GetFullyQualifiedName() const
void SetFullyQualifiedName(const char *value)
const MessageSignal & GetMessageSignal() const
void SetType(const SignalDecoderType &value)
SignalDecoder & WithMessageSignal(const MessageSignal &value)
void SetFullyQualifiedName(Aws::String &&value)
void SetInterfaceId(const Aws::String &value)
void SetObdSignal(const ObdSignal &value)
const Aws::String & GetInterfaceId() const
void SetInterfaceId(const char *value)
void SetType(SignalDecoderType &&value)
void SetInterfaceId(Aws::String &&value)
void SetMessageSignal(const MessageSignal &value)
SignalDecoder & WithCanSignal(CanSignal &&value)
std::basic_string< char, std::char_traits< char >, Aws::Allocator< char > > String
Aws::Utils::Json::JsonValue JsonValue