AWS SDK for C++

AWS SDK for C++ Version 1.11.440

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();
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 inline void SetName(const Aws::String& value) { m_nameHasBeenSet = true; m_name = value; }
50 inline void SetName(Aws::String&& value) { m_nameHasBeenSet = true; m_name = std::move(value); }
51 inline void SetName(const char* value) { m_nameHasBeenSet = true; m_name.assign(value); }
52 inline VehicleMiddleware& WithName(const Aws::String& value) { SetName(value); return *this;}
53 inline VehicleMiddleware& WithName(Aws::String&& value) { SetName(std::move(value)); return *this;}
54 inline VehicleMiddleware& WithName(const char* value) { SetName(value); return *this;}
56
58
61 inline const VehicleMiddlewareProtocol& GetProtocolName() const{ return m_protocolName; }
62 inline bool ProtocolNameHasBeenSet() const { return m_protocolNameHasBeenSet; }
63 inline void SetProtocolName(const VehicleMiddlewareProtocol& value) { m_protocolNameHasBeenSet = true; m_protocolName = value; }
64 inline void SetProtocolName(VehicleMiddlewareProtocol&& value) { m_protocolNameHasBeenSet = true; m_protocolName = std::move(value); }
65 inline VehicleMiddleware& WithProtocolName(const VehicleMiddlewareProtocol& value) { SetProtocolName(value); return *this;}
66 inline VehicleMiddleware& WithProtocolName(VehicleMiddlewareProtocol&& value) { SetProtocolName(std::move(value)); return *this;}
68 private:
69
70 Aws::String m_name;
71 bool m_nameHasBeenSet = false;
72
73 VehicleMiddlewareProtocol m_protocolName;
74 bool m_protocolNameHasBeenSet = false;
75 };
76
77} // namespace Model
78} // namespace IoTFleetWise
79} // namespace Aws
void SetProtocolName(VehicleMiddlewareProtocol &&value)
void SetProtocolName(const VehicleMiddlewareProtocol &value)
VehicleMiddleware & WithName(const Aws::String &value)
AWS_IOTFLEETWISE_API Aws::Utils::Json::JsonValue Jsonize() const
VehicleMiddleware & WithProtocolName(VehicleMiddlewareProtocol &&value)
AWS_IOTFLEETWISE_API VehicleMiddleware & operator=(Aws::Utils::Json::JsonView jsonValue)
VehicleMiddleware & WithProtocolName(const VehicleMiddlewareProtocol &value)
const VehicleMiddlewareProtocol & GetProtocolName() const
VehicleMiddleware & WithName(const char *value)
AWS_IOTFLEETWISE_API VehicleMiddleware(Aws::Utils::Json::JsonView jsonValue)
VehicleMiddleware & WithName(Aws::String &&value)
std::basic_string< char, std::char_traits< char >, Aws::Allocator< char > > String
Aws::Utils::Json::JsonValue JsonValue