AWS SDK for C++

AWS SDK for C++ Version 1.11.607

Loading...
Searching...
No Matches
VehicleMiddleware.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/VehicleMiddlewareProtocol.h>
10#include <utility>
11
12namespace Aws
13{
14namespace Utils
15{
16namespace Json
17{
18 class JsonValue;
19 class JsonView;
20} // namespace Json
21} // namespace Utils
22namespace IoTFleetWise
23{
24namespace Model
25{
26
35 {
36 public:
37 AWS_IOTFLEETWISE_API VehicleMiddleware() = default;
38 AWS_IOTFLEETWISE_API VehicleMiddleware(Aws::Utils::Json::JsonView jsonValue);
39 AWS_IOTFLEETWISE_API VehicleMiddleware& operator=(Aws::Utils::Json::JsonView jsonValue);
40 AWS_IOTFLEETWISE_API Aws::Utils::Json::JsonValue Jsonize() const;
41
42
44
47 inline const Aws::String& GetName() const { return m_name; }
48 inline bool NameHasBeenSet() const { return m_nameHasBeenSet; }
49 template<typename NameT = Aws::String>
50 void SetName(NameT&& value) { m_nameHasBeenSet = true; m_name = std::forward<NameT>(value); }
51 template<typename NameT = Aws::String>
52 VehicleMiddleware& WithName(NameT&& value) { SetName(std::forward<NameT>(value)); return *this;}
54
56
59 inline VehicleMiddlewareProtocol GetProtocolName() const { return m_protocolName; }
60 inline bool ProtocolNameHasBeenSet() const { return m_protocolNameHasBeenSet; }
61 inline void SetProtocolName(VehicleMiddlewareProtocol value) { m_protocolNameHasBeenSet = true; m_protocolName = value; }
64 private:
65
66 Aws::String m_name;
67 bool m_nameHasBeenSet = false;
68
70 bool m_protocolNameHasBeenSet = false;
71 };
72
73} // namespace Model
74} // namespace IoTFleetWise
75} // namespace Aws
VehicleMiddlewareProtocol GetProtocolName() const
AWS_IOTFLEETWISE_API Aws::Utils::Json::JsonValue Jsonize() const
VehicleMiddleware & WithName(NameT &&value)
void SetProtocolName(VehicleMiddlewareProtocol value)
AWS_IOTFLEETWISE_API VehicleMiddleware & operator=(Aws::Utils::Json::JsonView jsonValue)
VehicleMiddleware & WithProtocolName(VehicleMiddlewareProtocol value)
AWS_IOTFLEETWISE_API VehicleMiddleware()=default
AWS_IOTFLEETWISE_API VehicleMiddleware(Aws::Utils::Json::JsonView jsonValue)
std::basic_string< char, std::char_traits< char >, Aws::Allocator< char > > String
Aws::Utils::Json::JsonValue JsonValue