AWS SDK for C++

AWS SDK for C++ Version 1.11.607

Loading...
Searching...
No Matches
GetLinkAssociationsRequest.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 GetLinkAssociationsRequest() = default;
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 "GetLinkAssociations"; }
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 template<typename GlobalNetworkIdT = Aws::String>
48 void SetGlobalNetworkId(GlobalNetworkIdT&& value) { m_globalNetworkIdHasBeenSet = true; m_globalNetworkId = std::forward<GlobalNetworkIdT>(value); }
49 template<typename GlobalNetworkIdT = Aws::String>
50 GetLinkAssociationsRequest& WithGlobalNetworkId(GlobalNetworkIdT&& value) { SetGlobalNetworkId(std::forward<GlobalNetworkIdT>(value)); return *this;}
52
54
57 inline const Aws::String& GetDeviceId() const { return m_deviceId; }
58 inline bool DeviceIdHasBeenSet() const { return m_deviceIdHasBeenSet; }
59 template<typename DeviceIdT = Aws::String>
60 void SetDeviceId(DeviceIdT&& value) { m_deviceIdHasBeenSet = true; m_deviceId = std::forward<DeviceIdT>(value); }
61 template<typename DeviceIdT = Aws::String>
62 GetLinkAssociationsRequest& WithDeviceId(DeviceIdT&& value) { SetDeviceId(std::forward<DeviceIdT>(value)); return *this;}
64
66
69 inline const Aws::String& GetLinkId() const { return m_linkId; }
70 inline bool LinkIdHasBeenSet() const { return m_linkIdHasBeenSet; }
71 template<typename LinkIdT = Aws::String>
72 void SetLinkId(LinkIdT&& value) { m_linkIdHasBeenSet = true; m_linkId = std::forward<LinkIdT>(value); }
73 template<typename LinkIdT = Aws::String>
74 GetLinkAssociationsRequest& WithLinkId(LinkIdT&& value) { SetLinkId(std::forward<LinkIdT>(value)); return *this;}
76
78
81 inline int GetMaxResults() const { return m_maxResults; }
82 inline bool MaxResultsHasBeenSet() const { return m_maxResultsHasBeenSet; }
83 inline void SetMaxResults(int value) { m_maxResultsHasBeenSet = true; m_maxResults = value; }
84 inline GetLinkAssociationsRequest& WithMaxResults(int value) { SetMaxResults(value); return *this;}
86
88
91 inline const Aws::String& GetNextToken() const { return m_nextToken; }
92 inline bool NextTokenHasBeenSet() const { return m_nextTokenHasBeenSet; }
93 template<typename NextTokenT = Aws::String>
94 void SetNextToken(NextTokenT&& value) { m_nextTokenHasBeenSet = true; m_nextToken = std::forward<NextTokenT>(value); }
95 template<typename NextTokenT = Aws::String>
96 GetLinkAssociationsRequest& WithNextToken(NextTokenT&& value) { SetNextToken(std::forward<NextTokenT>(value)); return *this;}
98 private:
99
100 Aws::String m_globalNetworkId;
101 bool m_globalNetworkIdHasBeenSet = false;
102
103 Aws::String m_deviceId;
104 bool m_deviceIdHasBeenSet = false;
105
106 Aws::String m_linkId;
107 bool m_linkIdHasBeenSet = false;
108
109 int m_maxResults{0};
110 bool m_maxResultsHasBeenSet = false;
111
112 Aws::String m_nextToken;
113 bool m_nextTokenHasBeenSet = false;
114 };
115
116} // namespace Model
117} // namespace NetworkManager
118} // namespace Aws
std::basic_string< char, std::char_traits< char >, Aws::Allocator< char > > String