AWS SDK for C++

AWS SDK for C++ Version 1.11.933

Loading...
Searching...
No Matches
DisassociateLinkRequest.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 Http {
15class URI;
16} // namespace Http
17namespace NetworkManager {
18namespace Model {
19
23 public:
24 AWS_NETWORKMANAGER_API DisassociateLinkRequest() = default;
25
26 // Service request name is the Operation name which will send this request out,
27 // each operation should has unique request name, so that we can get operation's name from this request.
28 // Note: this is not true for response, multiple operations may have the same response name,
29 // so we can not get operation's name from response.
30 inline virtual const char* GetServiceRequestName() const override { return "DisassociateLink"; }
31
32 AWS_NETWORKMANAGER_API Aws::String SerializePayload() const override;
33
34 AWS_NETWORKMANAGER_API void AddQueryStringParameters(Aws::Http::URI& uri) const override;
35
37
40 inline const Aws::String& GetGlobalNetworkId() const { return m_globalNetworkId; }
41 inline bool GlobalNetworkIdHasBeenSet() const { return m_globalNetworkIdHasBeenSet; }
42 template <typename GlobalNetworkIdT = Aws::String>
43 void SetGlobalNetworkId(GlobalNetworkIdT&& value) {
44 m_globalNetworkIdHasBeenSet = true;
45 m_globalNetworkId = std::forward<GlobalNetworkIdT>(value);
46 }
47 template <typename GlobalNetworkIdT = Aws::String>
48 DisassociateLinkRequest& WithGlobalNetworkId(GlobalNetworkIdT&& value) {
49 SetGlobalNetworkId(std::forward<GlobalNetworkIdT>(value));
50 return *this;
51 }
53
55
58 inline const Aws::String& GetDeviceId() const { return m_deviceId; }
59 inline bool DeviceIdHasBeenSet() const { return m_deviceIdHasBeenSet; }
60 template <typename DeviceIdT = Aws::String>
61 void SetDeviceId(DeviceIdT&& value) {
62 m_deviceIdHasBeenSet = true;
63 m_deviceId = std::forward<DeviceIdT>(value);
64 }
65 template <typename DeviceIdT = Aws::String>
67 SetDeviceId(std::forward<DeviceIdT>(value));
68 return *this;
69 }
71
73
76 inline const Aws::String& GetLinkId() const { return m_linkId; }
77 inline bool LinkIdHasBeenSet() const { return m_linkIdHasBeenSet; }
78 template <typename LinkIdT = Aws::String>
79 void SetLinkId(LinkIdT&& value) {
80 m_linkIdHasBeenSet = true;
81 m_linkId = std::forward<LinkIdT>(value);
82 }
83 template <typename LinkIdT = Aws::String>
85 SetLinkId(std::forward<LinkIdT>(value));
86 return *this;
87 }
89 private:
90 Aws::String m_globalNetworkId;
91
92 Aws::String m_deviceId;
93
94 Aws::String m_linkId;
95 bool m_globalNetworkIdHasBeenSet = false;
96 bool m_deviceIdHasBeenSet = false;
97 bool m_linkIdHasBeenSet = false;
98};
99
100} // namespace Model
101} // namespace NetworkManager
102} // namespace Aws
std::basic_string< char, std::char_traits< char >, Aws::Allocator< char > > String