AWS SDK for C++

AWS SDK for C++ Version 1.11.606

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() = default;
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 template<typename IdT = Aws::String>
44 void SetId(IdT&& value) { m_idHasBeenSet = true; m_id = std::forward<IdT>(value); }
45 template<typename IdT = Aws::String>
46 UpdateWirelessDeviceRequest& WithId(IdT&& value) { SetId(std::forward<IdT>(value)); return *this;}
48
50
53 inline const Aws::String& GetDestinationName() const { return m_destinationName; }
54 inline bool DestinationNameHasBeenSet() const { return m_destinationNameHasBeenSet; }
55 template<typename DestinationNameT = Aws::String>
56 void SetDestinationName(DestinationNameT&& value) { m_destinationNameHasBeenSet = true; m_destinationName = std::forward<DestinationNameT>(value); }
57 template<typename DestinationNameT = Aws::String>
58 UpdateWirelessDeviceRequest& WithDestinationName(DestinationNameT&& value) { SetDestinationName(std::forward<DestinationNameT>(value)); return *this;}
60
62
66 inline const Aws::String& GetName() const { return m_name; }
67 inline bool NameHasBeenSet() const { return m_nameHasBeenSet; }
68 template<typename NameT = Aws::String>
69 void SetName(NameT&& value) { m_nameHasBeenSet = true; m_name = std::forward<NameT>(value); }
70 template<typename NameT = Aws::String>
71 UpdateWirelessDeviceRequest& WithName(NameT&& value) { SetName(std::forward<NameT>(value)); return *this;}
73
75
78 inline const Aws::String& GetDescription() const { return m_description; }
79 inline bool DescriptionHasBeenSet() const { return m_descriptionHasBeenSet; }
80 template<typename DescriptionT = Aws::String>
81 void SetDescription(DescriptionT&& value) { m_descriptionHasBeenSet = true; m_description = std::forward<DescriptionT>(value); }
82 template<typename DescriptionT = Aws::String>
83 UpdateWirelessDeviceRequest& WithDescription(DescriptionT&& value) { SetDescription(std::forward<DescriptionT>(value)); return *this;}
85
87
90 inline const LoRaWANUpdateDevice& GetLoRaWAN() const { return m_loRaWAN; }
91 inline bool LoRaWANHasBeenSet() const { return m_loRaWANHasBeenSet; }
92 template<typename LoRaWANT = LoRaWANUpdateDevice>
93 void SetLoRaWAN(LoRaWANT&& value) { m_loRaWANHasBeenSet = true; m_loRaWAN = std::forward<LoRaWANT>(value); }
94 template<typename LoRaWANT = LoRaWANUpdateDevice>
95 UpdateWirelessDeviceRequest& WithLoRaWAN(LoRaWANT&& value) { SetLoRaWAN(std::forward<LoRaWANT>(value)); return *this;}
97
99
103 inline PositioningConfigStatus GetPositioning() const { return m_positioning; }
104 inline bool PositioningHasBeenSet() const { return m_positioningHasBeenSet; }
105 inline void SetPositioning(PositioningConfigStatus value) { m_positioningHasBeenSet = true; m_positioning = value; }
108 private:
109
110 Aws::String m_id;
111 bool m_idHasBeenSet = false;
112
113 Aws::String m_destinationName;
114 bool m_destinationNameHasBeenSet = false;
115
116 Aws::String m_name;
117 bool m_nameHasBeenSet = false;
118
119 Aws::String m_description;
120 bool m_descriptionHasBeenSet = false;
121
122 LoRaWANUpdateDevice m_loRaWAN;
123 bool m_loRaWANHasBeenSet = false;
124
126 bool m_positioningHasBeenSet = false;
127 };
128
129} // namespace Model
130} // namespace IoTWireless
131} // namespace Aws
UpdateWirelessDeviceRequest & WithLoRaWAN(LoRaWANT &&value)
UpdateWirelessDeviceRequest & WithDestinationName(DestinationNameT &&value)
UpdateWirelessDeviceRequest & WithName(NameT &&value)
AWS_IOTWIRELESS_API UpdateWirelessDeviceRequest()=default
UpdateWirelessDeviceRequest & WithDescription(DescriptionT &&value)
AWS_IOTWIRELESS_API Aws::String SerializePayload() const override
UpdateWirelessDeviceRequest & WithPositioning(PositioningConfigStatus value)
std::basic_string< char, std::char_traits< char >, Aws::Allocator< char > > String