AWS SDK for C++

AWS SDK for C++ Version 1.11.933

Loading...
Searching...
No Matches
DeleteDeviceRequest.h
1
6#pragma once
7#include <aws/core/utils/memory/stl/AWSString.h>
8#include <aws/networkmanager/NetworkManagerRequest.h>
9#include <aws/networkmanager/NetworkManager_EXPORTS.h>
10
11#include <utility>
12
13namespace Aws {
14namespace NetworkManager {
15namespace Model {
16
20 public:
21 AWS_NETWORKMANAGER_API DeleteDeviceRequest() = default;
22
23 // Service request name is the Operation name which will send this request out,
24 // each operation should has unique request name, so that we can get operation's name from this request.
25 // Note: this is not true for response, multiple operations may have the same response name,
26 // so we can not get operation's name from response.
27 inline virtual const char* GetServiceRequestName() const override { return "DeleteDevice"; }
28
29 AWS_NETWORKMANAGER_API Aws::String SerializePayload() const override;
30
32
35 inline const Aws::String& GetGlobalNetworkId() const { return m_globalNetworkId; }
36 inline bool GlobalNetworkIdHasBeenSet() const { return m_globalNetworkIdHasBeenSet; }
37 template <typename GlobalNetworkIdT = Aws::String>
38 void SetGlobalNetworkId(GlobalNetworkIdT&& value) {
39 m_globalNetworkIdHasBeenSet = true;
40 m_globalNetworkId = std::forward<GlobalNetworkIdT>(value);
41 }
42 template <typename GlobalNetworkIdT = Aws::String>
43 DeleteDeviceRequest& WithGlobalNetworkId(GlobalNetworkIdT&& value) {
44 SetGlobalNetworkId(std::forward<GlobalNetworkIdT>(value));
45 return *this;
46 }
48
50
53 inline const Aws::String& GetDeviceId() const { return m_deviceId; }
54 inline bool DeviceIdHasBeenSet() const { return m_deviceIdHasBeenSet; }
55 template <typename DeviceIdT = Aws::String>
56 void SetDeviceId(DeviceIdT&& value) {
57 m_deviceIdHasBeenSet = true;
58 m_deviceId = std::forward<DeviceIdT>(value);
59 }
60 template <typename DeviceIdT = Aws::String>
61 DeleteDeviceRequest& WithDeviceId(DeviceIdT&& value) {
62 SetDeviceId(std::forward<DeviceIdT>(value));
63 return *this;
64 }
66 private:
67 Aws::String m_globalNetworkId;
68
69 Aws::String m_deviceId;
70 bool m_globalNetworkIdHasBeenSet = false;
71 bool m_deviceIdHasBeenSet = false;
72};
73
74} // namespace Model
75} // namespace NetworkManager
76} // namespace Aws
DeleteDeviceRequest & WithDeviceId(DeviceIdT &&value)
virtual const char * GetServiceRequestName() const override
AWS_NETWORKMANAGER_API DeleteDeviceRequest()=default
DeleteDeviceRequest & WithGlobalNetworkId(GlobalNetworkIdT &&value)
AWS_NETWORKMANAGER_API Aws::String SerializePayload() const override
std::basic_string< char, std::char_traits< char >, Aws::Allocator< char > > String