AWS SDK for C++

AWS SDK for C++ Version 1.11.440

Loading...
Searching...
No Matches
NetworkInterface.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/NetworkInterfaceType.h>
10#include <aws/iotfleetwise/model/CanInterface.h>
11#include <aws/iotfleetwise/model/ObdInterface.h>
12#include <aws/iotfleetwise/model/VehicleMiddleware.h>
13#include <utility>
14
15namespace Aws
16{
17namespace Utils
18{
19namespace Json
20{
21 class JsonValue;
22 class JsonView;
23} // namespace Json
24} // namespace Utils
25namespace IoTFleetWise
26{
27namespace Model
28{
29
39 {
40 public:
41 AWS_IOTFLEETWISE_API NetworkInterface();
42 AWS_IOTFLEETWISE_API NetworkInterface(Aws::Utils::Json::JsonView jsonValue);
43 AWS_IOTFLEETWISE_API NetworkInterface& operator=(Aws::Utils::Json::JsonView jsonValue);
44 AWS_IOTFLEETWISE_API Aws::Utils::Json::JsonValue Jsonize() const;
45
46
48
51 inline const Aws::String& GetInterfaceId() const{ return m_interfaceId; }
52 inline bool InterfaceIdHasBeenSet() const { return m_interfaceIdHasBeenSet; }
53 inline void SetInterfaceId(const Aws::String& value) { m_interfaceIdHasBeenSet = true; m_interfaceId = value; }
54 inline void SetInterfaceId(Aws::String&& value) { m_interfaceIdHasBeenSet = true; m_interfaceId = std::move(value); }
55 inline void SetInterfaceId(const char* value) { m_interfaceIdHasBeenSet = true; m_interfaceId.assign(value); }
56 inline NetworkInterface& WithInterfaceId(const Aws::String& value) { SetInterfaceId(value); return *this;}
57 inline NetworkInterface& WithInterfaceId(Aws::String&& value) { SetInterfaceId(std::move(value)); return *this;}
58 inline NetworkInterface& WithInterfaceId(const char* value) { SetInterfaceId(value); return *this;}
60
62
68 inline const NetworkInterfaceType& GetType() const{ return m_type; }
69 inline bool TypeHasBeenSet() const { return m_typeHasBeenSet; }
70 inline void SetType(const NetworkInterfaceType& value) { m_typeHasBeenSet = true; m_type = value; }
71 inline void SetType(NetworkInterfaceType&& value) { m_typeHasBeenSet = true; m_type = std::move(value); }
72 inline NetworkInterface& WithType(const NetworkInterfaceType& value) { SetType(value); return *this;}
73 inline NetworkInterface& WithType(NetworkInterfaceType&& value) { SetType(std::move(value)); return *this;}
75
77
81 inline const CanInterface& GetCanInterface() const{ return m_canInterface; }
82 inline bool CanInterfaceHasBeenSet() const { return m_canInterfaceHasBeenSet; }
83 inline void SetCanInterface(const CanInterface& value) { m_canInterfaceHasBeenSet = true; m_canInterface = value; }
84 inline void SetCanInterface(CanInterface&& value) { m_canInterfaceHasBeenSet = true; m_canInterface = std::move(value); }
85 inline NetworkInterface& WithCanInterface(const CanInterface& value) { SetCanInterface(value); return *this;}
86 inline NetworkInterface& WithCanInterface(CanInterface&& value) { SetCanInterface(std::move(value)); return *this;}
88
90
94 inline const ObdInterface& GetObdInterface() const{ return m_obdInterface; }
95 inline bool ObdInterfaceHasBeenSet() const { return m_obdInterfaceHasBeenSet; }
96 inline void SetObdInterface(const ObdInterface& value) { m_obdInterfaceHasBeenSet = true; m_obdInterface = value; }
97 inline void SetObdInterface(ObdInterface&& value) { m_obdInterfaceHasBeenSet = true; m_obdInterface = std::move(value); }
98 inline NetworkInterface& WithObdInterface(const ObdInterface& value) { SetObdInterface(value); return *this;}
99 inline NetworkInterface& WithObdInterface(ObdInterface&& value) { SetObdInterface(std::move(value)); return *this;}
101
103
107 inline const VehicleMiddleware& GetVehicleMiddleware() const{ return m_vehicleMiddleware; }
108 inline bool VehicleMiddlewareHasBeenSet() const { return m_vehicleMiddlewareHasBeenSet; }
109 inline void SetVehicleMiddleware(const VehicleMiddleware& value) { m_vehicleMiddlewareHasBeenSet = true; m_vehicleMiddleware = value; }
110 inline void SetVehicleMiddleware(VehicleMiddleware&& value) { m_vehicleMiddlewareHasBeenSet = true; m_vehicleMiddleware = std::move(value); }
112 inline NetworkInterface& WithVehicleMiddleware(VehicleMiddleware&& value) { SetVehicleMiddleware(std::move(value)); return *this;}
114 private:
115
116 Aws::String m_interfaceId;
117 bool m_interfaceIdHasBeenSet = false;
118
120 bool m_typeHasBeenSet = false;
121
122 CanInterface m_canInterface;
123 bool m_canInterfaceHasBeenSet = false;
124
125 ObdInterface m_obdInterface;
126 bool m_obdInterfaceHasBeenSet = false;
127
128 VehicleMiddleware m_vehicleMiddleware;
129 bool m_vehicleMiddlewareHasBeenSet = false;
130 };
131
132} // namespace Model
133} // namespace IoTFleetWise
134} // namespace Aws
NetworkInterface & WithObdInterface(ObdInterface &&value)
NetworkInterface & WithCanInterface(const CanInterface &value)
NetworkInterface & WithObdInterface(const ObdInterface &value)
void SetVehicleMiddleware(const VehicleMiddleware &value)
const ObdInterface & GetObdInterface() const
AWS_IOTFLEETWISE_API Aws::Utils::Json::JsonValue Jsonize() const
NetworkInterface & WithVehicleMiddleware(VehicleMiddleware &&value)
AWS_IOTFLEETWISE_API NetworkInterface & operator=(Aws::Utils::Json::JsonView jsonValue)
NetworkInterface & WithInterfaceId(Aws::String &&value)
void SetVehicleMiddleware(VehicleMiddleware &&value)
NetworkInterface & WithVehicleMiddleware(const VehicleMiddleware &value)
NetworkInterface & WithCanInterface(CanInterface &&value)
NetworkInterface & WithType(const NetworkInterfaceType &value)
const CanInterface & GetCanInterface() const
const Aws::String & GetInterfaceId() const
NetworkInterface & WithType(NetworkInterfaceType &&value)
void SetInterfaceId(const Aws::String &value)
AWS_IOTFLEETWISE_API NetworkInterface(Aws::Utils::Json::JsonView jsonValue)
void SetType(const NetworkInterfaceType &value)
const VehicleMiddleware & GetVehicleMiddleware() const
void SetType(NetworkInterfaceType &&value)
const NetworkInterfaceType & GetType() const
void SetCanInterface(const CanInterface &value)
void SetObdInterface(const ObdInterface &value)
NetworkInterface & WithInterfaceId(const Aws::String &value)
NetworkInterface & WithInterfaceId(const char *value)
std::basic_string< char, std::char_traits< char >, Aws::Allocator< char > > String
Aws::Utils::Json::JsonValue JsonValue