AWS SDK for C++

AWS SDK for C++ Version 1.11.607

Loading...
Searching...
No Matches
CanInterface.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 CanInterface() = default;
36 AWS_IOTFLEETWISE_API CanInterface(Aws::Utils::Json::JsonView jsonValue);
37 AWS_IOTFLEETWISE_API CanInterface& 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 CanInterface& WithName(NameT&& value) { SetName(std::forward<NameT>(value)); return *this;}
52
54
57 inline const Aws::String& GetProtocolName() const { return m_protocolName; }
58 inline bool ProtocolNameHasBeenSet() const { return m_protocolNameHasBeenSet; }
59 template<typename ProtocolNameT = Aws::String>
60 void SetProtocolName(ProtocolNameT&& value) { m_protocolNameHasBeenSet = true; m_protocolName = std::forward<ProtocolNameT>(value); }
61 template<typename ProtocolNameT = Aws::String>
62 CanInterface& WithProtocolName(ProtocolNameT&& value) { SetProtocolName(std::forward<ProtocolNameT>(value)); return *this;}
64
66
69 inline const Aws::String& GetProtocolVersion() const { return m_protocolVersion; }
70 inline bool ProtocolVersionHasBeenSet() const { return m_protocolVersionHasBeenSet; }
71 template<typename ProtocolVersionT = Aws::String>
72 void SetProtocolVersion(ProtocolVersionT&& value) { m_protocolVersionHasBeenSet = true; m_protocolVersion = std::forward<ProtocolVersionT>(value); }
73 template<typename ProtocolVersionT = Aws::String>
74 CanInterface& WithProtocolVersion(ProtocolVersionT&& value) { SetProtocolVersion(std::forward<ProtocolVersionT>(value)); return *this;}
76 private:
77
78 Aws::String m_name;
79 bool m_nameHasBeenSet = false;
80
81 Aws::String m_protocolName;
82 bool m_protocolNameHasBeenSet = false;
83
84 Aws::String m_protocolVersion;
85 bool m_protocolVersionHasBeenSet = false;
86 };
87
88} // namespace Model
89} // namespace IoTFleetWise
90} // namespace Aws
CanInterface & WithProtocolVersion(ProtocolVersionT &&value)
CanInterface & WithProtocolName(ProtocolNameT &&value)
AWS_IOTFLEETWISE_API CanInterface & operator=(Aws::Utils::Json::JsonView jsonValue)
CanInterface & WithName(NameT &&value)
const Aws::String & GetProtocolName() const
void SetProtocolName(ProtocolNameT &&value)
AWS_IOTFLEETWISE_API Aws::Utils::Json::JsonValue Jsonize() const
AWS_IOTFLEETWISE_API CanInterface(Aws::Utils::Json::JsonView jsonValue)
const Aws::String & GetName() const
const Aws::String & GetProtocolVersion() const
void SetProtocolVersion(ProtocolVersionT &&value)
AWS_IOTFLEETWISE_API CanInterface()=default
std::basic_string< char, std::char_traits< char >, Aws::Allocator< char > > String
Aws::Utils::Json::JsonValue JsonValue