AWS SDK for C++

AWS SDK for C++ Version 1.11.607

Loading...
Searching...
No Matches
CanDbcDefinition.h
1
6#pragma once
7#include <aws/iotfleetwise/IoTFleetWise_EXPORTS.h>
8#include <aws/core/utils/memory/stl/AWSString.h>
9#include <aws/core/utils/memory/stl/AWSVector.h>
10#include <aws/core/utils/memory/stl/AWSMap.h>
11#include <aws/core/utils/Array.h>
12#include <utility>
13
14namespace Aws
15{
16namespace Utils
17{
18namespace Json
19{
20 class JsonValue;
21 class JsonView;
22} // namespace Json
23} // namespace Utils
24namespace IoTFleetWise
25{
26namespace Model
27{
28
36 {
37 public:
38 AWS_IOTFLEETWISE_API CanDbcDefinition() = default;
39 AWS_IOTFLEETWISE_API CanDbcDefinition(Aws::Utils::Json::JsonView jsonValue);
40 AWS_IOTFLEETWISE_API CanDbcDefinition& operator=(Aws::Utils::Json::JsonView jsonValue);
41 AWS_IOTFLEETWISE_API Aws::Utils::Json::JsonValue Jsonize() const;
42
43
45
48 inline const Aws::String& GetNetworkInterface() const { return m_networkInterface; }
49 inline bool NetworkInterfaceHasBeenSet() const { return m_networkInterfaceHasBeenSet; }
50 template<typename NetworkInterfaceT = Aws::String>
51 void SetNetworkInterface(NetworkInterfaceT&& value) { m_networkInterfaceHasBeenSet = true; m_networkInterface = std::forward<NetworkInterfaceT>(value); }
52 template<typename NetworkInterfaceT = Aws::String>
53 CanDbcDefinition& WithNetworkInterface(NetworkInterfaceT&& value) { SetNetworkInterface(std::forward<NetworkInterfaceT>(value)); return *this;}
55
57
62 inline const Aws::Vector<Aws::Utils::ByteBuffer>& GetCanDbcFiles() const { return m_canDbcFiles; }
63 inline bool CanDbcFilesHasBeenSet() const { return m_canDbcFilesHasBeenSet; }
64 template<typename CanDbcFilesT = Aws::Vector<Aws::Utils::ByteBuffer>>
65 void SetCanDbcFiles(CanDbcFilesT&& value) { m_canDbcFilesHasBeenSet = true; m_canDbcFiles = std::forward<CanDbcFilesT>(value); }
66 template<typename CanDbcFilesT = Aws::Vector<Aws::Utils::ByteBuffer>>
67 CanDbcDefinition& WithCanDbcFiles(CanDbcFilesT&& value) { SetCanDbcFiles(std::forward<CanDbcFilesT>(value)); return *this;}
68 template<typename CanDbcFilesT = Aws::Utils::ByteBuffer>
69 CanDbcDefinition& AddCanDbcFiles(CanDbcFilesT&& value) { m_canDbcFilesHasBeenSet = true; m_canDbcFiles.emplace_back(std::forward<CanDbcFilesT>(value)); return *this; }
71
73
76 inline const Aws::Map<Aws::String, Aws::String>& GetSignalsMap() const { return m_signalsMap; }
77 inline bool SignalsMapHasBeenSet() const { return m_signalsMapHasBeenSet; }
78 template<typename SignalsMapT = Aws::Map<Aws::String, Aws::String>>
79 void SetSignalsMap(SignalsMapT&& value) { m_signalsMapHasBeenSet = true; m_signalsMap = std::forward<SignalsMapT>(value); }
80 template<typename SignalsMapT = Aws::Map<Aws::String, Aws::String>>
81 CanDbcDefinition& WithSignalsMap(SignalsMapT&& value) { SetSignalsMap(std::forward<SignalsMapT>(value)); return *this;}
82 template<typename SignalsMapKeyT = Aws::String, typename SignalsMapValueT = Aws::String>
83 CanDbcDefinition& AddSignalsMap(SignalsMapKeyT&& key, SignalsMapValueT&& value) {
84 m_signalsMapHasBeenSet = true; m_signalsMap.emplace(std::forward<SignalsMapKeyT>(key), std::forward<SignalsMapValueT>(value)); return *this;
85 }
87 private:
88
89 Aws::String m_networkInterface;
90 bool m_networkInterfaceHasBeenSet = false;
91
93 bool m_canDbcFilesHasBeenSet = false;
94
96 bool m_signalsMapHasBeenSet = false;
97 };
98
99} // namespace Model
100} // namespace IoTFleetWise
101} // namespace Aws
AWS_IOTFLEETWISE_API CanDbcDefinition(Aws::Utils::Json::JsonView jsonValue)
CanDbcDefinition & AddCanDbcFiles(CanDbcFilesT &&value)
const Aws::String & GetNetworkInterface() const
AWS_IOTFLEETWISE_API CanDbcDefinition()=default
CanDbcDefinition & WithNetworkInterface(NetworkInterfaceT &&value)
AWS_IOTFLEETWISE_API CanDbcDefinition & operator=(Aws::Utils::Json::JsonView jsonValue)
void SetNetworkInterface(NetworkInterfaceT &&value)
CanDbcDefinition & WithCanDbcFiles(CanDbcFilesT &&value)
CanDbcDefinition & WithSignalsMap(SignalsMapT &&value)
const Aws::Vector< Aws::Utils::ByteBuffer > & GetCanDbcFiles() const
AWS_IOTFLEETWISE_API Aws::Utils::Json::JsonValue Jsonize() const
const Aws::Map< Aws::String, Aws::String > & GetSignalsMap() const
CanDbcDefinition & AddSignalsMap(SignalsMapKeyT &&key, SignalsMapValueT &&value)
std::map< K, V, std::less< K >, Aws::Allocator< std::pair< const K, V > > > Map
std::basic_string< char, std::char_traits< char >, Aws::Allocator< char > > String
std::vector< T, Aws::Allocator< T > > Vector
Aws::Utils::Json::JsonValue JsonValue