AWS SDK for C++

AWS SDK for C++ Version 1.11.440

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();
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 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 CanInterface& WithName(const Aws::String& value) { SetName(value); return *this;}
51 inline CanInterface& WithName(Aws::String&& value) { SetName(std::move(value)); return *this;}
52 inline CanInterface& WithName(const char* value) { SetName(value); return *this;}
54
56
59 inline const Aws::String& GetProtocolName() const{ return m_protocolName; }
60 inline bool ProtocolNameHasBeenSet() const { return m_protocolNameHasBeenSet; }
61 inline void SetProtocolName(const Aws::String& value) { m_protocolNameHasBeenSet = true; m_protocolName = value; }
62 inline void SetProtocolName(Aws::String&& value) { m_protocolNameHasBeenSet = true; m_protocolName = std::move(value); }
63 inline void SetProtocolName(const char* value) { m_protocolNameHasBeenSet = true; m_protocolName.assign(value); }
64 inline CanInterface& WithProtocolName(const Aws::String& value) { SetProtocolName(value); return *this;}
65 inline CanInterface& WithProtocolName(Aws::String&& value) { SetProtocolName(std::move(value)); return *this;}
66 inline CanInterface& WithProtocolName(const char* value) { SetProtocolName(value); return *this;}
68
70
73 inline const Aws::String& GetProtocolVersion() const{ return m_protocolVersion; }
74 inline bool ProtocolVersionHasBeenSet() const { return m_protocolVersionHasBeenSet; }
75 inline void SetProtocolVersion(const Aws::String& value) { m_protocolVersionHasBeenSet = true; m_protocolVersion = value; }
76 inline void SetProtocolVersion(Aws::String&& value) { m_protocolVersionHasBeenSet = true; m_protocolVersion = std::move(value); }
77 inline void SetProtocolVersion(const char* value) { m_protocolVersionHasBeenSet = true; m_protocolVersion.assign(value); }
78 inline CanInterface& WithProtocolVersion(const Aws::String& value) { SetProtocolVersion(value); return *this;}
79 inline CanInterface& WithProtocolVersion(Aws::String&& value) { SetProtocolVersion(std::move(value)); return *this;}
80 inline CanInterface& WithProtocolVersion(const char* value) { SetProtocolVersion(value); return *this;}
82 private:
83
84 Aws::String m_name;
85 bool m_nameHasBeenSet = false;
86
87 Aws::String m_protocolName;
88 bool m_protocolNameHasBeenSet = false;
89
90 Aws::String m_protocolVersion;
91 bool m_protocolVersionHasBeenSet = false;
92 };
93
94} // namespace Model
95} // namespace IoTFleetWise
96} // namespace Aws
void SetProtocolName(Aws::String &&value)
void SetName(Aws::String &&value)
AWS_IOTFLEETWISE_API CanInterface & operator=(Aws::Utils::Json::JsonView jsonValue)
const Aws::String & GetProtocolName() const
void SetProtocolVersion(const char *value)
AWS_IOTFLEETWISE_API Aws::Utils::Json::JsonValue Jsonize() const
AWS_IOTFLEETWISE_API CanInterface()
CanInterface & WithName(Aws::String &&value)
CanInterface & WithName(const char *value)
void SetProtocolName(const char *value)
CanInterface & WithProtocolVersion(const char *value)
CanInterface & WithName(const Aws::String &value)
void SetProtocolName(const Aws::String &value)
void SetName(const Aws::String &value)
CanInterface & WithProtocolName(const Aws::String &value)
CanInterface & WithProtocolVersion(Aws::String &&value)
AWS_IOTFLEETWISE_API CanInterface(Aws::Utils::Json::JsonView jsonValue)
CanInterface & WithProtocolName(const char *value)
const Aws::String & GetName() const
CanInterface & WithProtocolVersion(const Aws::String &value)
void SetProtocolVersion(Aws::String &&value)
const Aws::String & GetProtocolVersion() const
CanInterface & WithProtocolName(Aws::String &&value)
void SetProtocolVersion(const Aws::String &value)
std::basic_string< char, std::char_traits< char >, Aws::Allocator< char > > String
Aws::Utils::Json::JsonValue JsonValue