AWS SDK for C++

AWS SDK for C++ Version 1.11.440

Loading...
Searching...
No Matches
UpdateDeviceRequest.h
1
6#pragma once
7#include <aws/networkmanager/NetworkManager_EXPORTS.h>
8#include <aws/networkmanager/NetworkManagerRequest.h>
9#include <aws/core/utils/memory/stl/AWSString.h>
10#include <aws/networkmanager/model/AWSLocation.h>
11#include <aws/networkmanager/model/Location.h>
12#include <utility>
13
14namespace Aws
15{
16namespace NetworkManager
17{
18namespace Model
19{
20
24 {
25 public:
26 AWS_NETWORKMANAGER_API UpdateDeviceRequest();
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 "UpdateDevice"; }
33
34 AWS_NETWORKMANAGER_API Aws::String SerializePayload() const override;
35
36
38
41 inline const Aws::String& GetGlobalNetworkId() const{ return m_globalNetworkId; }
42 inline bool GlobalNetworkIdHasBeenSet() const { return m_globalNetworkIdHasBeenSet; }
43 inline void SetGlobalNetworkId(const Aws::String& value) { m_globalNetworkIdHasBeenSet = true; m_globalNetworkId = value; }
44 inline void SetGlobalNetworkId(Aws::String&& value) { m_globalNetworkIdHasBeenSet = true; m_globalNetworkId = std::move(value); }
45 inline void SetGlobalNetworkId(const char* value) { m_globalNetworkIdHasBeenSet = true; m_globalNetworkId.assign(value); }
46 inline UpdateDeviceRequest& WithGlobalNetworkId(const Aws::String& value) { SetGlobalNetworkId(value); return *this;}
47 inline UpdateDeviceRequest& WithGlobalNetworkId(Aws::String&& value) { SetGlobalNetworkId(std::move(value)); return *this;}
48 inline UpdateDeviceRequest& WithGlobalNetworkId(const char* value) { SetGlobalNetworkId(value); return *this;}
50
52
55 inline const Aws::String& GetDeviceId() const{ return m_deviceId; }
56 inline bool DeviceIdHasBeenSet() const { return m_deviceIdHasBeenSet; }
57 inline void SetDeviceId(const Aws::String& value) { m_deviceIdHasBeenSet = true; m_deviceId = value; }
58 inline void SetDeviceId(Aws::String&& value) { m_deviceIdHasBeenSet = true; m_deviceId = std::move(value); }
59 inline void SetDeviceId(const char* value) { m_deviceIdHasBeenSet = true; m_deviceId.assign(value); }
60 inline UpdateDeviceRequest& WithDeviceId(const Aws::String& value) { SetDeviceId(value); return *this;}
61 inline UpdateDeviceRequest& WithDeviceId(Aws::String&& value) { SetDeviceId(std::move(value)); return *this;}
62 inline UpdateDeviceRequest& WithDeviceId(const char* value) { SetDeviceId(value); return *this;}
64
66
70 inline const AWSLocation& GetAWSLocation() const{ return m_aWSLocation; }
71 inline bool AWSLocationHasBeenSet() const { return m_aWSLocationHasBeenSet; }
72 inline void SetAWSLocation(const AWSLocation& value) { m_aWSLocationHasBeenSet = true; m_aWSLocation = value; }
73 inline void SetAWSLocation(AWSLocation&& value) { m_aWSLocationHasBeenSet = true; m_aWSLocation = std::move(value); }
74 inline UpdateDeviceRequest& WithAWSLocation(const AWSLocation& value) { SetAWSLocation(value); return *this;}
75 inline UpdateDeviceRequest& WithAWSLocation(AWSLocation&& value) { SetAWSLocation(std::move(value)); return *this;}
77
79
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 UpdateDeviceRequest& WithDescription(const Aws::String& value) { SetDescription(value); return *this;}
89 inline UpdateDeviceRequest& WithDescription(Aws::String&& value) { SetDescription(std::move(value)); return *this;}
90 inline UpdateDeviceRequest& WithDescription(const char* value) { SetDescription(value); return *this;}
92
94
97 inline const Aws::String& GetType() const{ return m_type; }
98 inline bool TypeHasBeenSet() const { return m_typeHasBeenSet; }
99 inline void SetType(const Aws::String& value) { m_typeHasBeenSet = true; m_type = value; }
100 inline void SetType(Aws::String&& value) { m_typeHasBeenSet = true; m_type = std::move(value); }
101 inline void SetType(const char* value) { m_typeHasBeenSet = true; m_type.assign(value); }
102 inline UpdateDeviceRequest& WithType(const Aws::String& value) { SetType(value); return *this;}
103 inline UpdateDeviceRequest& WithType(Aws::String&& value) { SetType(std::move(value)); return *this;}
104 inline UpdateDeviceRequest& WithType(const char* value) { SetType(value); return *this;}
106
108
112 inline const Aws::String& GetVendor() const{ return m_vendor; }
113 inline bool VendorHasBeenSet() const { return m_vendorHasBeenSet; }
114 inline void SetVendor(const Aws::String& value) { m_vendorHasBeenSet = true; m_vendor = value; }
115 inline void SetVendor(Aws::String&& value) { m_vendorHasBeenSet = true; m_vendor = std::move(value); }
116 inline void SetVendor(const char* value) { m_vendorHasBeenSet = true; m_vendor.assign(value); }
117 inline UpdateDeviceRequest& WithVendor(const Aws::String& value) { SetVendor(value); return *this;}
118 inline UpdateDeviceRequest& WithVendor(Aws::String&& value) { SetVendor(std::move(value)); return *this;}
119 inline UpdateDeviceRequest& WithVendor(const char* value) { SetVendor(value); return *this;}
121
123
127 inline const Aws::String& GetModel() const{ return m_model; }
128 inline bool ModelHasBeenSet() const { return m_modelHasBeenSet; }
129 inline void SetModel(const Aws::String& value) { m_modelHasBeenSet = true; m_model = value; }
130 inline void SetModel(Aws::String&& value) { m_modelHasBeenSet = true; m_model = std::move(value); }
131 inline void SetModel(const char* value) { m_modelHasBeenSet = true; m_model.assign(value); }
132 inline UpdateDeviceRequest& WithModel(const Aws::String& value) { SetModel(value); return *this;}
133 inline UpdateDeviceRequest& WithModel(Aws::String&& value) { SetModel(std::move(value)); return *this;}
134 inline UpdateDeviceRequest& WithModel(const char* value) { SetModel(value); return *this;}
136
138
142 inline const Aws::String& GetSerialNumber() const{ return m_serialNumber; }
143 inline bool SerialNumberHasBeenSet() const { return m_serialNumberHasBeenSet; }
144 inline void SetSerialNumber(const Aws::String& value) { m_serialNumberHasBeenSet = true; m_serialNumber = value; }
145 inline void SetSerialNumber(Aws::String&& value) { m_serialNumberHasBeenSet = true; m_serialNumber = std::move(value); }
146 inline void SetSerialNumber(const char* value) { m_serialNumberHasBeenSet = true; m_serialNumber.assign(value); }
147 inline UpdateDeviceRequest& WithSerialNumber(const Aws::String& value) { SetSerialNumber(value); return *this;}
148 inline UpdateDeviceRequest& WithSerialNumber(Aws::String&& value) { SetSerialNumber(std::move(value)); return *this;}
149 inline UpdateDeviceRequest& WithSerialNumber(const char* value) { SetSerialNumber(value); return *this;}
151
153
154 inline const Location& GetLocation() const{ return m_location; }
155 inline bool LocationHasBeenSet() const { return m_locationHasBeenSet; }
156 inline void SetLocation(const Location& value) { m_locationHasBeenSet = true; m_location = value; }
157 inline void SetLocation(Location&& value) { m_locationHasBeenSet = true; m_location = std::move(value); }
158 inline UpdateDeviceRequest& WithLocation(const Location& value) { SetLocation(value); return *this;}
159 inline UpdateDeviceRequest& WithLocation(Location&& value) { SetLocation(std::move(value)); return *this;}
161
163
166 inline const Aws::String& GetSiteId() const{ return m_siteId; }
167 inline bool SiteIdHasBeenSet() const { return m_siteIdHasBeenSet; }
168 inline void SetSiteId(const Aws::String& value) { m_siteIdHasBeenSet = true; m_siteId = value; }
169 inline void SetSiteId(Aws::String&& value) { m_siteIdHasBeenSet = true; m_siteId = std::move(value); }
170 inline void SetSiteId(const char* value) { m_siteIdHasBeenSet = true; m_siteId.assign(value); }
171 inline UpdateDeviceRequest& WithSiteId(const Aws::String& value) { SetSiteId(value); return *this;}
172 inline UpdateDeviceRequest& WithSiteId(Aws::String&& value) { SetSiteId(std::move(value)); return *this;}
173 inline UpdateDeviceRequest& WithSiteId(const char* value) { SetSiteId(value); return *this;}
175 private:
176
177 Aws::String m_globalNetworkId;
178 bool m_globalNetworkIdHasBeenSet = false;
179
180 Aws::String m_deviceId;
181 bool m_deviceIdHasBeenSet = false;
182
183 AWSLocation m_aWSLocation;
184 bool m_aWSLocationHasBeenSet = false;
185
186 Aws::String m_description;
187 bool m_descriptionHasBeenSet = false;
188
189 Aws::String m_type;
190 bool m_typeHasBeenSet = false;
191
192 Aws::String m_vendor;
193 bool m_vendorHasBeenSet = false;
194
195 Aws::String m_model;
196 bool m_modelHasBeenSet = false;
197
198 Aws::String m_serialNumber;
199 bool m_serialNumberHasBeenSet = false;
200
201 Location m_location;
202 bool m_locationHasBeenSet = false;
203
204 Aws::String m_siteId;
205 bool m_siteIdHasBeenSet = false;
206 };
207
208} // namespace Model
209} // namespace NetworkManager
210} // namespace Aws
UpdateDeviceRequest & WithVendor(const Aws::String &value)
UpdateDeviceRequest & WithDescription(Aws::String &&value)
UpdateDeviceRequest & WithVendor(Aws::String &&value)
UpdateDeviceRequest & WithLocation(Location &&value)
UpdateDeviceRequest & WithType(const Aws::String &value)
UpdateDeviceRequest & WithSerialNumber(const char *value)
UpdateDeviceRequest & WithDescription(const char *value)
UpdateDeviceRequest & WithSiteId(const Aws::String &value)
UpdateDeviceRequest & WithDeviceId(const Aws::String &value)
UpdateDeviceRequest & WithGlobalNetworkId(Aws::String &&value)
UpdateDeviceRequest & WithModel(Aws::String &&value)
UpdateDeviceRequest & WithModel(const char *value)
UpdateDeviceRequest & WithType(Aws::String &&value)
UpdateDeviceRequest & WithGlobalNetworkId(const char *value)
UpdateDeviceRequest & WithModel(const Aws::String &value)
UpdateDeviceRequest & WithSiteId(const char *value)
UpdateDeviceRequest & WithType(const char *value)
UpdateDeviceRequest & WithSiteId(Aws::String &&value)
virtual const char * GetServiceRequestName() const override
UpdateDeviceRequest & WithVendor(const char *value)
UpdateDeviceRequest & WithDeviceId(const char *value)
UpdateDeviceRequest & WithAWSLocation(const AWSLocation &value)
AWS_NETWORKMANAGER_API Aws::String SerializePayload() const override
UpdateDeviceRequest & WithSerialNumber(const Aws::String &value)
UpdateDeviceRequest & WithDeviceId(Aws::String &&value)
UpdateDeviceRequest & WithLocation(const Location &value)
UpdateDeviceRequest & WithGlobalNetworkId(const Aws::String &value)
UpdateDeviceRequest & WithAWSLocation(AWSLocation &&value)
UpdateDeviceRequest & WithDescription(const Aws::String &value)
UpdateDeviceRequest & WithSerialNumber(Aws::String &&value)
std::basic_string< char, std::char_traits< char >, Aws::Allocator< char > > String