AWS SDK for C++

AWS SDK for C++ Version 1.11.440

Loading...
Searching...
No Matches
DisassociateLinkRequest.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 <utility>
11
12namespace Aws
13{
14namespace Http
15{
16 class URI;
17} //namespace Http
18namespace NetworkManager
19{
20namespace Model
21{
22
26 {
27 public:
28 AWS_NETWORKMANAGER_API DisassociateLinkRequest();
29
30 // Service request name is the Operation name which will send this request out,
31 // each operation should has unique request name, so that we can get operation's name from this request.
32 // Note: this is not true for response, multiple operations may have the same response name,
33 // so we can not get operation's name from response.
34 inline virtual const char* GetServiceRequestName() const override { return "DisassociateLink"; }
35
36 AWS_NETWORKMANAGER_API Aws::String SerializePayload() const override;
37
38 AWS_NETWORKMANAGER_API void AddQueryStringParameters(Aws::Http::URI& uri) const override;
39
40
42
45 inline const Aws::String& GetGlobalNetworkId() const{ return m_globalNetworkId; }
46 inline bool GlobalNetworkIdHasBeenSet() const { return m_globalNetworkIdHasBeenSet; }
47 inline void SetGlobalNetworkId(const Aws::String& value) { m_globalNetworkIdHasBeenSet = true; m_globalNetworkId = value; }
48 inline void SetGlobalNetworkId(Aws::String&& value) { m_globalNetworkIdHasBeenSet = true; m_globalNetworkId = std::move(value); }
49 inline void SetGlobalNetworkId(const char* value) { m_globalNetworkIdHasBeenSet = true; m_globalNetworkId.assign(value); }
50 inline DisassociateLinkRequest& WithGlobalNetworkId(const Aws::String& value) { SetGlobalNetworkId(value); return *this;}
51 inline DisassociateLinkRequest& WithGlobalNetworkId(Aws::String&& value) { SetGlobalNetworkId(std::move(value)); return *this;}
52 inline DisassociateLinkRequest& WithGlobalNetworkId(const char* value) { SetGlobalNetworkId(value); return *this;}
54
56
59 inline const Aws::String& GetDeviceId() const{ return m_deviceId; }
60 inline bool DeviceIdHasBeenSet() const { return m_deviceIdHasBeenSet; }
61 inline void SetDeviceId(const Aws::String& value) { m_deviceIdHasBeenSet = true; m_deviceId = value; }
62 inline void SetDeviceId(Aws::String&& value) { m_deviceIdHasBeenSet = true; m_deviceId = std::move(value); }
63 inline void SetDeviceId(const char* value) { m_deviceIdHasBeenSet = true; m_deviceId.assign(value); }
64 inline DisassociateLinkRequest& WithDeviceId(const Aws::String& value) { SetDeviceId(value); return *this;}
65 inline DisassociateLinkRequest& WithDeviceId(Aws::String&& value) { SetDeviceId(std::move(value)); return *this;}
66 inline DisassociateLinkRequest& WithDeviceId(const char* value) { SetDeviceId(value); return *this;}
68
70
73 inline const Aws::String& GetLinkId() const{ return m_linkId; }
74 inline bool LinkIdHasBeenSet() const { return m_linkIdHasBeenSet; }
75 inline void SetLinkId(const Aws::String& value) { m_linkIdHasBeenSet = true; m_linkId = value; }
76 inline void SetLinkId(Aws::String&& value) { m_linkIdHasBeenSet = true; m_linkId = std::move(value); }
77 inline void SetLinkId(const char* value) { m_linkIdHasBeenSet = true; m_linkId.assign(value); }
78 inline DisassociateLinkRequest& WithLinkId(const Aws::String& value) { SetLinkId(value); return *this;}
79 inline DisassociateLinkRequest& WithLinkId(Aws::String&& value) { SetLinkId(std::move(value)); return *this;}
80 inline DisassociateLinkRequest& WithLinkId(const char* value) { SetLinkId(value); return *this;}
82 private:
83
84 Aws::String m_globalNetworkId;
85 bool m_globalNetworkIdHasBeenSet = false;
86
87 Aws::String m_deviceId;
88 bool m_deviceIdHasBeenSet = false;
89
90 Aws::String m_linkId;
91 bool m_linkIdHasBeenSet = false;
92 };
93
94} // namespace Model
95} // namespace NetworkManager
96} // namespace Aws
std::basic_string< char, std::char_traits< char >, Aws::Allocator< char > > String