AWS SDK for C++  1.9.107
AWS SDK for C++
UpdateWirelessDeviceRequest.h
Go to the documentation of this file.
1 
6 #pragma once
11 #include <utility>
12 
13 namespace Aws
14 {
15 namespace IoTWireless
16 {
17 namespace Model
18 {
19 
23  {
24  public:
26 
27  // Service request name is the Operation name which will send this request out,
28  // each operation should has unique request name, so that we can get operation's name from this request.
29  // Note: this is not true for response, multiple operations may have the same response name,
30  // so we can not get operation's name from response.
31  inline virtual const char* GetServiceRequestName() const override { return "UpdateWirelessDevice"; }
32 
33  Aws::String SerializePayload() const override;
34 
35 
39  inline const Aws::String& GetId() const{ return m_id; }
40 
44  inline bool IdHasBeenSet() const { return m_idHasBeenSet; }
45 
49  inline void SetId(const Aws::String& value) { m_idHasBeenSet = true; m_id = value; }
50 
54  inline void SetId(Aws::String&& value) { m_idHasBeenSet = true; m_id = std::move(value); }
55 
59  inline void SetId(const char* value) { m_idHasBeenSet = true; m_id.assign(value); }
60 
64  inline UpdateWirelessDeviceRequest& WithId(const Aws::String& value) { SetId(value); return *this;}
65 
69  inline UpdateWirelessDeviceRequest& WithId(Aws::String&& value) { SetId(std::move(value)); return *this;}
70 
74  inline UpdateWirelessDeviceRequest& WithId(const char* value) { SetId(value); return *this;}
75 
76 
80  inline const Aws::String& GetDestinationName() const{ return m_destinationName; }
81 
85  inline bool DestinationNameHasBeenSet() const { return m_destinationNameHasBeenSet; }
86 
90  inline void SetDestinationName(const Aws::String& value) { m_destinationNameHasBeenSet = true; m_destinationName = value; }
91 
95  inline void SetDestinationName(Aws::String&& value) { m_destinationNameHasBeenSet = true; m_destinationName = std::move(value); }
96 
100  inline void SetDestinationName(const char* value) { m_destinationNameHasBeenSet = true; m_destinationName.assign(value); }
101 
105  inline UpdateWirelessDeviceRequest& WithDestinationName(const Aws::String& value) { SetDestinationName(value); return *this;}
106 
110  inline UpdateWirelessDeviceRequest& WithDestinationName(Aws::String&& value) { SetDestinationName(std::move(value)); return *this;}
111 
115  inline UpdateWirelessDeviceRequest& WithDestinationName(const char* value) { SetDestinationName(value); return *this;}
116 
117 
121  inline const Aws::String& GetName() const{ return m_name; }
122 
126  inline bool NameHasBeenSet() const { return m_nameHasBeenSet; }
127 
131  inline void SetName(const Aws::String& value) { m_nameHasBeenSet = true; m_name = value; }
132 
136  inline void SetName(Aws::String&& value) { m_nameHasBeenSet = true; m_name = std::move(value); }
137 
141  inline void SetName(const char* value) { m_nameHasBeenSet = true; m_name.assign(value); }
142 
146  inline UpdateWirelessDeviceRequest& WithName(const Aws::String& value) { SetName(value); return *this;}
147 
151  inline UpdateWirelessDeviceRequest& WithName(Aws::String&& value) { SetName(std::move(value)); return *this;}
152 
156  inline UpdateWirelessDeviceRequest& WithName(const char* value) { SetName(value); return *this;}
157 
158 
162  inline const Aws::String& GetDescription() const{ return m_description; }
163 
167  inline bool DescriptionHasBeenSet() const { return m_descriptionHasBeenSet; }
168 
172  inline void SetDescription(const Aws::String& value) { m_descriptionHasBeenSet = true; m_description = value; }
173 
177  inline void SetDescription(Aws::String&& value) { m_descriptionHasBeenSet = true; m_description = std::move(value); }
178 
182  inline void SetDescription(const char* value) { m_descriptionHasBeenSet = true; m_description.assign(value); }
183 
187  inline UpdateWirelessDeviceRequest& WithDescription(const Aws::String& value) { SetDescription(value); return *this;}
188 
192  inline UpdateWirelessDeviceRequest& WithDescription(Aws::String&& value) { SetDescription(std::move(value)); return *this;}
193 
197  inline UpdateWirelessDeviceRequest& WithDescription(const char* value) { SetDescription(value); return *this;}
198 
199 
203  inline const LoRaWANUpdateDevice& GetLoRaWAN() const{ return m_loRaWAN; }
204 
208  inline bool LoRaWANHasBeenSet() const { return m_loRaWANHasBeenSet; }
209 
213  inline void SetLoRaWAN(const LoRaWANUpdateDevice& value) { m_loRaWANHasBeenSet = true; m_loRaWAN = value; }
214 
218  inline void SetLoRaWAN(LoRaWANUpdateDevice&& value) { m_loRaWANHasBeenSet = true; m_loRaWAN = std::move(value); }
219 
223  inline UpdateWirelessDeviceRequest& WithLoRaWAN(const LoRaWANUpdateDevice& value) { SetLoRaWAN(value); return *this;}
224 
228  inline UpdateWirelessDeviceRequest& WithLoRaWAN(LoRaWANUpdateDevice&& value) { SetLoRaWAN(std::move(value)); return *this;}
229 
230  private:
231 
232  Aws::String m_id;
233  bool m_idHasBeenSet;
234 
235  Aws::String m_destinationName;
236  bool m_destinationNameHasBeenSet;
237 
238  Aws::String m_name;
239  bool m_nameHasBeenSet;
240 
241  Aws::String m_description;
242  bool m_descriptionHasBeenSet;
243 
244  LoRaWANUpdateDevice m_loRaWAN;
245  bool m_loRaWANHasBeenSet;
246  };
247 
248 } // namespace Model
249 } // namespace IoTWireless
250 } // namespace Aws
AWS_IOTWIRELESS_API
#define AWS_IOTWIRELESS_API
Definition: IoTWireless_EXPORTS.h:28
Aws::IoTWireless::Model::UpdateWirelessDeviceRequest::SetLoRaWAN
void SetLoRaWAN(LoRaWANUpdateDevice &&value)
Definition: UpdateWirelessDeviceRequest.h:218
Aws::IoTWireless::Model::UpdateWirelessDeviceRequest::IdHasBeenSet
bool IdHasBeenSet() const
Definition: UpdateWirelessDeviceRequest.h:44
Aws::IoTWireless::Model::UpdateWirelessDeviceRequest::GetServiceRequestName
virtual const char * GetServiceRequestName() const override
Definition: UpdateWirelessDeviceRequest.h:31
Aws::IoTWireless::Model::UpdateWirelessDeviceRequest::WithId
UpdateWirelessDeviceRequest & WithId(Aws::String &&value)
Definition: UpdateWirelessDeviceRequest.h:69
Aws::IoTWireless::Model::UpdateWirelessDeviceRequest::SetName
void SetName(const char *value)
Definition: UpdateWirelessDeviceRequest.h:141
Aws::IoTWireless::Model::UpdateWirelessDeviceRequest::GetId
const Aws::String & GetId() const
Definition: UpdateWirelessDeviceRequest.h:39
Aws::IoTWireless::Model::UpdateWirelessDeviceRequest::SetName
void SetName(const Aws::String &value)
Definition: UpdateWirelessDeviceRequest.h:131
Aws::IoTWireless::Model::UpdateWirelessDeviceRequest::SetDescription
void SetDescription(const Aws::String &value)
Definition: UpdateWirelessDeviceRequest.h:172
Aws::IoTWireless::Model::UpdateWirelessDeviceRequest::WithDestinationName
UpdateWirelessDeviceRequest & WithDestinationName(const Aws::String &value)
Definition: UpdateWirelessDeviceRequest.h:105
IoTWireless_EXPORTS.h
Aws::IoTWireless::Model::UpdateWirelessDeviceRequest::SetId
void SetId(const Aws::String &value)
Definition: UpdateWirelessDeviceRequest.h:49
Aws::IoTWireless::Model::UpdateWirelessDeviceRequest::GetDestinationName
const Aws::String & GetDestinationName() const
Definition: UpdateWirelessDeviceRequest.h:80
Aws::IoTWireless::Model::UpdateWirelessDeviceRequest::LoRaWANHasBeenSet
bool LoRaWANHasBeenSet() const
Definition: UpdateWirelessDeviceRequest.h:208
Aws::IoTWireless::Model::UpdateWirelessDeviceRequest::SetDestinationName
void SetDestinationName(Aws::String &&value)
Definition: UpdateWirelessDeviceRequest.h:95
Aws::IoTWireless::Model::UpdateWirelessDeviceRequest::SetId
void SetId(Aws::String &&value)
Definition: UpdateWirelessDeviceRequest.h:54
LoRaWANUpdateDevice.h
Aws::IoTWireless::Model::UpdateWirelessDeviceRequest::WithDestinationName
UpdateWirelessDeviceRequest & WithDestinationName(Aws::String &&value)
Definition: UpdateWirelessDeviceRequest.h:110
Aws::IoTWireless::Model::UpdateWirelessDeviceRequest::SetDescription
void SetDescription(const char *value)
Definition: UpdateWirelessDeviceRequest.h:182
Aws::IoTWireless::Model::UpdateWirelessDeviceRequest::WithDestinationName
UpdateWirelessDeviceRequest & WithDestinationName(const char *value)
Definition: UpdateWirelessDeviceRequest.h:115
Aws::IoTWireless::Model::UpdateWirelessDeviceRequest::GetLoRaWAN
const LoRaWANUpdateDevice & GetLoRaWAN() const
Definition: UpdateWirelessDeviceRequest.h:203
Aws::IoTWireless::Model::UpdateWirelessDeviceRequest::WithName
UpdateWirelessDeviceRequest & WithName(const Aws::String &value)
Definition: UpdateWirelessDeviceRequest.h:146
Aws::IoTWireless::Model::UpdateWirelessDeviceRequest::SetDestinationName
void SetDestinationName(const Aws::String &value)
Definition: UpdateWirelessDeviceRequest.h:90
Aws::IoTWireless::Model::UpdateWirelessDeviceRequest::NameHasBeenSet
bool NameHasBeenSet() const
Definition: UpdateWirelessDeviceRequest.h:126
Aws::IoTWireless::Model::UpdateWirelessDeviceRequest::GetDescription
const Aws::String & GetDescription() const
Definition: UpdateWirelessDeviceRequest.h:162
Aws::IoTWireless::Model::UpdateWirelessDeviceRequest::SetName
void SetName(Aws::String &&value)
Definition: UpdateWirelessDeviceRequest.h:136
Aws::IoTWireless::Model::UpdateWirelessDeviceRequest::DescriptionHasBeenSet
bool DescriptionHasBeenSet() const
Definition: UpdateWirelessDeviceRequest.h:167
Aws::IoTWireless::Model::UpdateWirelessDeviceRequest::SetDestinationName
void SetDestinationName(const char *value)
Definition: UpdateWirelessDeviceRequest.h:100
Aws::IoTWireless::Model::UpdateWirelessDeviceRequest::WithLoRaWAN
UpdateWirelessDeviceRequest & WithLoRaWAN(const LoRaWANUpdateDevice &value)
Definition: UpdateWirelessDeviceRequest.h:223
Aws::IoTWireless::IoTWirelessRequest
Definition: IoTWirelessRequest.h:17
AWSString.h
Aws::IoTWireless::Model::UpdateWirelessDeviceRequest
Definition: UpdateWirelessDeviceRequest.h:23
Aws::IoTWireless::Model::UpdateWirelessDeviceRequest::SetDescription
void SetDescription(Aws::String &&value)
Definition: UpdateWirelessDeviceRequest.h:177
Aws::IoTWireless::Model::UpdateWirelessDeviceRequest::GetName
const Aws::String & GetName() const
Definition: UpdateWirelessDeviceRequest.h:121
Aws::IoTWireless::Model::UpdateWirelessDeviceRequest::WithLoRaWAN
UpdateWirelessDeviceRequest & WithLoRaWAN(LoRaWANUpdateDevice &&value)
Definition: UpdateWirelessDeviceRequest.h:228
Aws::IoTWireless::Model::UpdateWirelessDeviceRequest::DestinationNameHasBeenSet
bool DestinationNameHasBeenSet() const
Definition: UpdateWirelessDeviceRequest.h:85
Aws::IoTWireless::Model::UpdateWirelessDeviceRequest::UpdateWirelessDeviceRequest
UpdateWirelessDeviceRequest()
Aws::IoTWireless::Model::UpdateWirelessDeviceRequest::WithDescription
UpdateWirelessDeviceRequest & WithDescription(Aws::String &&value)
Definition: UpdateWirelessDeviceRequest.h:192
Aws::IoTWireless::Model::UpdateWirelessDeviceRequest::SetLoRaWAN
void SetLoRaWAN(const LoRaWANUpdateDevice &value)
Definition: UpdateWirelessDeviceRequest.h:213
Aws::IoTWireless::Model::UpdateWirelessDeviceRequest::WithId
UpdateWirelessDeviceRequest & WithId(const Aws::String &value)
Definition: UpdateWirelessDeviceRequest.h:64
Aws
Definition: AccessManagementClient.h:15
Aws::IoTWireless::Model::UpdateWirelessDeviceRequest::WithId
UpdateWirelessDeviceRequest & WithId(const char *value)
Definition: UpdateWirelessDeviceRequest.h:74
IoTWirelessRequest.h
Aws::IoTWireless::Model::UpdateWirelessDeviceRequest::SetId
void SetId(const char *value)
Definition: UpdateWirelessDeviceRequest.h:59
Aws::IoTWireless::Model::UpdateWirelessDeviceRequest::WithDescription
UpdateWirelessDeviceRequest & WithDescription(const Aws::String &value)
Definition: UpdateWirelessDeviceRequest.h:187
Aws::String
std::basic_string< char, std::char_traits< char >, Aws::Allocator< char > > String
Definition: AWSString.h:97
Aws::IoTWireless::Model::UpdateWirelessDeviceRequest::WithName
UpdateWirelessDeviceRequest & WithName(const char *value)
Definition: UpdateWirelessDeviceRequest.h:156
Aws::IoTWireless::Model::UpdateWirelessDeviceRequest::SerializePayload
Aws::String SerializePayload() const override
Aws::IoTWireless::Model::LoRaWANUpdateDevice
Definition: LoRaWANUpdateDevice.h:32
Aws::IoTWireless::Model::UpdateWirelessDeviceRequest::WithName
UpdateWirelessDeviceRequest & WithName(Aws::String &&value)
Definition: UpdateWirelessDeviceRequest.h:151
Aws::IoTWireless::Model::UpdateWirelessDeviceRequest::WithDescription
UpdateWirelessDeviceRequest & WithDescription(const char *value)
Definition: UpdateWirelessDeviceRequest.h:197