AWS SDK for C++

AWS SDK for C++ Version 1.11.440

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();
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 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); }
51 inline GetLinkAssociationsRequest& WithGlobalNetworkId(Aws::String&& value) { SetGlobalNetworkId(std::move(value)); return *this;}
52 inline GetLinkAssociationsRequest& 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 GetLinkAssociationsRequest& WithDeviceId(const Aws::String& value) { SetDeviceId(value); return *this;}
65 inline GetLinkAssociationsRequest& WithDeviceId(Aws::String&& value) { SetDeviceId(std::move(value)); return *this;}
66 inline GetLinkAssociationsRequest& 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 GetLinkAssociationsRequest& WithLinkId(const Aws::String& value) { SetLinkId(value); return *this;}
79 inline GetLinkAssociationsRequest& WithLinkId(Aws::String&& value) { SetLinkId(std::move(value)); return *this;}
80 inline GetLinkAssociationsRequest& WithLinkId(const char* value) { SetLinkId(value); return *this;}
82
84
87 inline int GetMaxResults() const{ return m_maxResults; }
88 inline bool MaxResultsHasBeenSet() const { return m_maxResultsHasBeenSet; }
89 inline void SetMaxResults(int value) { m_maxResultsHasBeenSet = true; m_maxResults = value; }
90 inline GetLinkAssociationsRequest& WithMaxResults(int value) { SetMaxResults(value); return *this;}
92
94
97 inline const Aws::String& GetNextToken() const{ return m_nextToken; }
98 inline bool NextTokenHasBeenSet() const { return m_nextTokenHasBeenSet; }
99 inline void SetNextToken(const Aws::String& value) { m_nextTokenHasBeenSet = true; m_nextToken = value; }
100 inline void SetNextToken(Aws::String&& value) { m_nextTokenHasBeenSet = true; m_nextToken = std::move(value); }
101 inline void SetNextToken(const char* value) { m_nextTokenHasBeenSet = true; m_nextToken.assign(value); }
102 inline GetLinkAssociationsRequest& WithNextToken(const Aws::String& value) { SetNextToken(value); return *this;}
103 inline GetLinkAssociationsRequest& WithNextToken(Aws::String&& value) { SetNextToken(std::move(value)); return *this;}
104 inline GetLinkAssociationsRequest& WithNextToken(const char* value) { SetNextToken(value); return *this;}
106 private:
107
108 Aws::String m_globalNetworkId;
109 bool m_globalNetworkIdHasBeenSet = false;
110
111 Aws::String m_deviceId;
112 bool m_deviceIdHasBeenSet = false;
113
114 Aws::String m_linkId;
115 bool m_linkIdHasBeenSet = false;
116
117 int m_maxResults;
118 bool m_maxResultsHasBeenSet = false;
119
120 Aws::String m_nextToken;
121 bool m_nextTokenHasBeenSet = false;
122 };
123
124} // namespace Model
125} // namespace NetworkManager
126} // namespace Aws
std::basic_string< char, std::char_traits< char >, Aws::Allocator< char > > String