AWS SDK for C++

AWS SDK for C++ Version 1.11.933

Loading...
Searching...
No Matches
VehicleMiddleware.h
1
6#pragma once
7#include <aws/core/utils/memory/stl/AWSString.h>
8#include <aws/iotfleetwise/IoTFleetWise_EXPORTS.h>
9#include <aws/iotfleetwise/model/VehicleMiddlewareProtocol.h>
10
11#include <utility>
12
13namespace Aws {
14namespace Utils {
15namespace Json {
16class JsonValue;
17class JsonView;
18} // namespace Json
19} // namespace Utils
20namespace IoTFleetWise {
21namespace Model {
22
31 public:
32 AWS_IOTFLEETWISE_API VehicleMiddleware() = default;
33 AWS_IOTFLEETWISE_API VehicleMiddleware(Aws::Utils::Json::JsonView jsonValue);
34 AWS_IOTFLEETWISE_API VehicleMiddleware& operator=(Aws::Utils::Json::JsonView jsonValue);
35 AWS_IOTFLEETWISE_API Aws::Utils::Json::JsonValue Jsonize() const;
36
38
41 inline const Aws::String& GetName() const { return m_name; }
42 inline bool NameHasBeenSet() const { return m_nameHasBeenSet; }
43 template <typename NameT = Aws::String>
44 void SetName(NameT&& value) {
45 m_nameHasBeenSet = true;
46 m_name = std::forward<NameT>(value);
47 }
48 template <typename NameT = Aws::String>
49 VehicleMiddleware& WithName(NameT&& value) {
50 SetName(std::forward<NameT>(value));
51 return *this;
52 }
54
56
59 inline VehicleMiddlewareProtocol GetProtocolName() const { return m_protocolName; }
60 inline bool ProtocolNameHasBeenSet() const { return m_protocolNameHasBeenSet; }
62 m_protocolNameHasBeenSet = true;
63 m_protocolName = value;
64 }
66 SetProtocolName(value);
67 return *this;
68 }
70 private:
71 Aws::String m_name;
72
74 bool m_nameHasBeenSet = false;
75 bool m_protocolNameHasBeenSet = false;
76};
77
78} // namespace Model
79} // namespace IoTFleetWise
80} // 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