AWS SDK for C++

AWS SDK for C++ Version 1.11.440

Loading...
Searching...
No Matches
UpdateWirelessDeviceRequest.h
1
6#pragma once
7#include <aws/iotwireless/IoTWireless_EXPORTS.h>
8#include <aws/iotwireless/IoTWirelessRequest.h>
9#include <aws/core/utils/memory/stl/AWSString.h>
10#include <aws/iotwireless/model/LoRaWANUpdateDevice.h>
11#include <aws/iotwireless/model/PositioningConfigStatus.h>
12#include <utility>
13
14namespace Aws
15{
16namespace IoTWireless
17{
18namespace Model
19{
20
24 {
25 public:
26 AWS_IOTWIRELESS_API UpdateWirelessDeviceRequest();
27
28 // Service request name is the Operation name which will send this request out,
29 // each operation should has unique request name, so that we can get operation's name from this request.
30 // Note: this is not true for response, multiple operations may have the same response name,
31 // so we can not get operation's name from response.
32 inline virtual const char* GetServiceRequestName() const override { return "UpdateWirelessDevice"; }
33
34 AWS_IOTWIRELESS_API Aws::String SerializePayload() const override;
35
36
38
41 inline const Aws::String& GetId() const{ return m_id; }
42 inline bool IdHasBeenSet() const { return m_idHasBeenSet; }
43 inline void SetId(const Aws::String& value) { m_idHasBeenSet = true; m_id = value; }
44 inline void SetId(Aws::String&& value) { m_idHasBeenSet = true; m_id = std::move(value); }
45 inline void SetId(const char* value) { m_idHasBeenSet = true; m_id.assign(value); }
46 inline UpdateWirelessDeviceRequest& WithId(const Aws::String& value) { SetId(value); return *this;}
47 inline UpdateWirelessDeviceRequest& WithId(Aws::String&& value) { SetId(std::move(value)); return *this;}
48 inline UpdateWirelessDeviceRequest& WithId(const char* value) { SetId(value); return *this;}
50
52
55 inline const Aws::String& GetDestinationName() const{ return m_destinationName; }
56 inline bool DestinationNameHasBeenSet() const { return m_destinationNameHasBeenSet; }
57 inline void SetDestinationName(const Aws::String& value) { m_destinationNameHasBeenSet = true; m_destinationName = value; }
58 inline void SetDestinationName(Aws::String&& value) { m_destinationNameHasBeenSet = true; m_destinationName = std::move(value); }
59 inline void SetDestinationName(const char* value) { m_destinationNameHasBeenSet = true; m_destinationName.assign(value); }
61 inline UpdateWirelessDeviceRequest& WithDestinationName(Aws::String&& value) { SetDestinationName(std::move(value)); return *this;}
62 inline UpdateWirelessDeviceRequest& WithDestinationName(const char* value) { SetDestinationName(value); return *this;}
64
66
69 inline const Aws::String& GetName() const{ return m_name; }
70 inline bool NameHasBeenSet() const { return m_nameHasBeenSet; }
71 inline void SetName(const Aws::String& value) { m_nameHasBeenSet = true; m_name = value; }
72 inline void SetName(Aws::String&& value) { m_nameHasBeenSet = true; m_name = std::move(value); }
73 inline void SetName(const char* value) { m_nameHasBeenSet = true; m_name.assign(value); }
74 inline UpdateWirelessDeviceRequest& WithName(const Aws::String& value) { SetName(value); return *this;}
75 inline UpdateWirelessDeviceRequest& WithName(Aws::String&& value) { SetName(std::move(value)); return *this;}
76 inline UpdateWirelessDeviceRequest& WithName(const char* value) { SetName(value); return *this;}
78
80
83 inline const Aws::String& GetDescription() const{ return m_description; }
84 inline bool DescriptionHasBeenSet() const { return m_descriptionHasBeenSet; }
85 inline void SetDescription(const Aws::String& value) { m_descriptionHasBeenSet = true; m_description = value; }
86 inline void SetDescription(Aws::String&& value) { m_descriptionHasBeenSet = true; m_description = std::move(value); }
87 inline void SetDescription(const char* value) { m_descriptionHasBeenSet = true; m_description.assign(value); }
88 inline UpdateWirelessDeviceRequest& WithDescription(const Aws::String& value) { SetDescription(value); return *this;}
89 inline UpdateWirelessDeviceRequest& WithDescription(Aws::String&& value) { SetDescription(std::move(value)); return *this;}
90 inline UpdateWirelessDeviceRequest& WithDescription(const char* value) { SetDescription(value); return *this;}
92
94
97 inline const LoRaWANUpdateDevice& GetLoRaWAN() const{ return m_loRaWAN; }
98 inline bool LoRaWANHasBeenSet() const { return m_loRaWANHasBeenSet; }
99 inline void SetLoRaWAN(const LoRaWANUpdateDevice& value) { m_loRaWANHasBeenSet = true; m_loRaWAN = value; }
100 inline void SetLoRaWAN(LoRaWANUpdateDevice&& value) { m_loRaWANHasBeenSet = true; m_loRaWAN = std::move(value); }
101 inline UpdateWirelessDeviceRequest& WithLoRaWAN(const LoRaWANUpdateDevice& value) { SetLoRaWAN(value); return *this;}
102 inline UpdateWirelessDeviceRequest& WithLoRaWAN(LoRaWANUpdateDevice&& value) { SetLoRaWAN(std::move(value)); return *this;}
104
106
110 inline const PositioningConfigStatus& GetPositioning() const{ return m_positioning; }
111 inline bool PositioningHasBeenSet() const { return m_positioningHasBeenSet; }
112 inline void SetPositioning(const PositioningConfigStatus& value) { m_positioningHasBeenSet = true; m_positioning = value; }
113 inline void SetPositioning(PositioningConfigStatus&& value) { m_positioningHasBeenSet = true; m_positioning = std::move(value); }
115 inline UpdateWirelessDeviceRequest& WithPositioning(PositioningConfigStatus&& value) { SetPositioning(std::move(value)); return *this;}
117 private:
118
119 Aws::String m_id;
120 bool m_idHasBeenSet = false;
121
122 Aws::String m_destinationName;
123 bool m_destinationNameHasBeenSet = false;
124
125 Aws::String m_name;
126 bool m_nameHasBeenSet = false;
127
128 Aws::String m_description;
129 bool m_descriptionHasBeenSet = false;
130
131 LoRaWANUpdateDevice m_loRaWAN;
132 bool m_loRaWANHasBeenSet = false;
133
134 PositioningConfigStatus m_positioning;
135 bool m_positioningHasBeenSet = false;
136 };
137
138} // namespace Model
139} // namespace IoTWireless
140} // namespace Aws
UpdateWirelessDeviceRequest & WithId(const Aws::String &value)
UpdateWirelessDeviceRequest & WithId(const char *value)
UpdateWirelessDeviceRequest & WithLoRaWAN(const LoRaWANUpdateDevice &value)
UpdateWirelessDeviceRequest & WithDescription(const Aws::String &value)
UpdateWirelessDeviceRequest & WithDestinationName(const char *value)
UpdateWirelessDeviceRequest & WithDestinationName(const Aws::String &value)
UpdateWirelessDeviceRequest & WithName(const Aws::String &value)
UpdateWirelessDeviceRequest & WithName(Aws::String &&value)
UpdateWirelessDeviceRequest & WithDescription(const char *value)
UpdateWirelessDeviceRequest & WithDestinationName(Aws::String &&value)
void SetPositioning(const PositioningConfigStatus &value)
UpdateWirelessDeviceRequest & WithId(Aws::String &&value)
AWS_IOTWIRELESS_API Aws::String SerializePayload() const override
UpdateWirelessDeviceRequest & WithPositioning(PositioningConfigStatus &&value)
UpdateWirelessDeviceRequest & WithPositioning(const PositioningConfigStatus &value)
UpdateWirelessDeviceRequest & WithDescription(Aws::String &&value)
UpdateWirelessDeviceRequest & WithLoRaWAN(LoRaWANUpdateDevice &&value)
UpdateWirelessDeviceRequest & WithName(const char *value)
std::basic_string< char, std::char_traits< char >, Aws::Allocator< char > > String