AWS SDK for C++  1.9.107
AWS SDK for C++
LoRaWANUpdateDevice.h
Go to the documentation of this file.
1 
6 #pragma once
9 #include <utility>
10 
11 namespace Aws
12 {
13 namespace Utils
14 {
15 namespace Json
16 {
17  class JsonValue;
18  class JsonView;
19 } // namespace Json
20 } // namespace Utils
21 namespace IoTWireless
22 {
23 namespace Model
24 {
25 
32  {
33  public:
38 
39 
43  inline const Aws::String& GetDeviceProfileId() const{ return m_deviceProfileId; }
44 
48  inline bool DeviceProfileIdHasBeenSet() const { return m_deviceProfileIdHasBeenSet; }
49 
53  inline void SetDeviceProfileId(const Aws::String& value) { m_deviceProfileIdHasBeenSet = true; m_deviceProfileId = value; }
54 
58  inline void SetDeviceProfileId(Aws::String&& value) { m_deviceProfileIdHasBeenSet = true; m_deviceProfileId = std::move(value); }
59 
63  inline void SetDeviceProfileId(const char* value) { m_deviceProfileIdHasBeenSet = true; m_deviceProfileId.assign(value); }
64 
68  inline LoRaWANUpdateDevice& WithDeviceProfileId(const Aws::String& value) { SetDeviceProfileId(value); return *this;}
69 
73  inline LoRaWANUpdateDevice& WithDeviceProfileId(Aws::String&& value) { SetDeviceProfileId(std::move(value)); return *this;}
74 
78  inline LoRaWANUpdateDevice& WithDeviceProfileId(const char* value) { SetDeviceProfileId(value); return *this;}
79 
80 
84  inline const Aws::String& GetServiceProfileId() const{ return m_serviceProfileId; }
85 
89  inline bool ServiceProfileIdHasBeenSet() const { return m_serviceProfileIdHasBeenSet; }
90 
94  inline void SetServiceProfileId(const Aws::String& value) { m_serviceProfileIdHasBeenSet = true; m_serviceProfileId = value; }
95 
99  inline void SetServiceProfileId(Aws::String&& value) { m_serviceProfileIdHasBeenSet = true; m_serviceProfileId = std::move(value); }
100 
104  inline void SetServiceProfileId(const char* value) { m_serviceProfileIdHasBeenSet = true; m_serviceProfileId.assign(value); }
105 
109  inline LoRaWANUpdateDevice& WithServiceProfileId(const Aws::String& value) { SetServiceProfileId(value); return *this;}
110 
114  inline LoRaWANUpdateDevice& WithServiceProfileId(Aws::String&& value) { SetServiceProfileId(std::move(value)); return *this;}
115 
119  inline LoRaWANUpdateDevice& WithServiceProfileId(const char* value) { SetServiceProfileId(value); return *this;}
120 
121  private:
122 
123  Aws::String m_deviceProfileId;
124  bool m_deviceProfileIdHasBeenSet;
125 
126  Aws::String m_serviceProfileId;
127  bool m_serviceProfileIdHasBeenSet;
128  };
129 
130 } // namespace Model
131 } // namespace IoTWireless
132 } // namespace Aws
AWS_IOTWIRELESS_API
#define AWS_IOTWIRELESS_API
Definition: IoTWireless_EXPORTS.h:28
Aws::IoTWireless::Model::LoRaWANUpdateDevice::SetDeviceProfileId
void SetDeviceProfileId(Aws::String &&value)
Definition: LoRaWANUpdateDevice.h:58
Aws::IoTWireless::Model::LoRaWANUpdateDevice::LoRaWANUpdateDevice
LoRaWANUpdateDevice(Aws::Utils::Json::JsonView jsonValue)
Aws::IoTWireless::Model::LoRaWANUpdateDevice::SetServiceProfileId
void SetServiceProfileId(const Aws::String &value)
Definition: LoRaWANUpdateDevice.h:94
Aws::IoTWireless::Model::LoRaWANUpdateDevice::SetDeviceProfileId
void SetDeviceProfileId(const Aws::String &value)
Definition: LoRaWANUpdateDevice.h:53
IoTWireless_EXPORTS.h
Aws::IoTWireless::Model::LoRaWANUpdateDevice::SetServiceProfileId
void SetServiceProfileId(const char *value)
Definition: LoRaWANUpdateDevice.h:104
Aws::IoTWireless::Model::LoRaWANUpdateDevice::GetServiceProfileId
const Aws::String & GetServiceProfileId() const
Definition: LoRaWANUpdateDevice.h:84
Aws::IoTWireless::Model::LoRaWANUpdateDevice::WithServiceProfileId
LoRaWANUpdateDevice & WithServiceProfileId(const char *value)
Definition: LoRaWANUpdateDevice.h:119
Aws::IoTWireless::Model::LoRaWANUpdateDevice::WithDeviceProfileId
LoRaWANUpdateDevice & WithDeviceProfileId(Aws::String &&value)
Definition: LoRaWANUpdateDevice.h:73
Aws::IoTWireless::Model::LoRaWANUpdateDevice::WithServiceProfileId
LoRaWANUpdateDevice & WithServiceProfileId(Aws::String &&value)
Definition: LoRaWANUpdateDevice.h:114
Aws::IoTWireless::Model::LoRaWANUpdateDevice::Jsonize
Aws::Utils::Json::JsonValue Jsonize() const
Aws::IoTWireless::Model::LoRaWANUpdateDevice::DeviceProfileIdHasBeenSet
bool DeviceProfileIdHasBeenSet() const
Definition: LoRaWANUpdateDevice.h:48
Aws::IoTWireless::Model::LoRaWANUpdateDevice::WithDeviceProfileId
LoRaWANUpdateDevice & WithDeviceProfileId(const Aws::String &value)
Definition: LoRaWANUpdateDevice.h:68
Aws::IoTWireless::Model::LoRaWANUpdateDevice::LoRaWANUpdateDevice
LoRaWANUpdateDevice()
Aws::IoTWireless::Model::LoRaWANUpdateDevice::ServiceProfileIdHasBeenSet
bool ServiceProfileIdHasBeenSet() const
Definition: LoRaWANUpdateDevice.h:89
Aws::Utils::Json::JsonView
Definition: JsonSerializer.h:235
AWSString.h
Aws::Utils::Json::JsonValue
Definition: JsonSerializer.h:33
Aws::IoTWireless::Model::LoRaWANUpdateDevice::operator=
LoRaWANUpdateDevice & operator=(Aws::Utils::Json::JsonView jsonValue)
Aws::IoTWireless::Model::LoRaWANUpdateDevice::SetDeviceProfileId
void SetDeviceProfileId(const char *value)
Definition: LoRaWANUpdateDevice.h:63
Aws
Definition: AccessManagementClient.h:15
Aws::IoTWireless::Model::LoRaWANUpdateDevice::WithDeviceProfileId
LoRaWANUpdateDevice & WithDeviceProfileId(const char *value)
Definition: LoRaWANUpdateDevice.h:78
Aws::String
std::basic_string< char, std::char_traits< char >, Aws::Allocator< char > > String
Definition: AWSString.h:97
Aws::IoTWireless::Model::LoRaWANUpdateDevice::GetDeviceProfileId
const Aws::String & GetDeviceProfileId() const
Definition: LoRaWANUpdateDevice.h:43
Aws::IoTWireless::Model::LoRaWANUpdateDevice::SetServiceProfileId
void SetServiceProfileId(Aws::String &&value)
Definition: LoRaWANUpdateDevice.h:99
Aws::IoTWireless::Model::LoRaWANUpdateDevice
Definition: LoRaWANUpdateDevice.h:32
Aws::IoTWireless::Model::LoRaWANUpdateDevice::WithServiceProfileId
LoRaWANUpdateDevice & WithServiceProfileId(const Aws::String &value)
Definition: LoRaWANUpdateDevice.h:109