AWS SDK for C++

AWS SDK for C++ Version 1.11.440

Loading...
Searching...
No Matches
GetLinksRequest.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 <aws/core/utils/memory/stl/AWSVector.h>
11#include <utility>
12
13namespace Aws
14{
15namespace Http
16{
17 class URI;
18} //namespace Http
19namespace NetworkManager
20{
21namespace Model
22{
23
27 {
28 public:
29 AWS_NETWORKMANAGER_API GetLinksRequest();
30
31 // Service request name is the Operation name which will send this request out,
32 // each operation should has unique request name, so that we can get operation's name from this request.
33 // Note: this is not true for response, multiple operations may have the same response name,
34 // so we can not get operation's name from response.
35 inline virtual const char* GetServiceRequestName() const override { return "GetLinks"; }
36
37 AWS_NETWORKMANAGER_API Aws::String SerializePayload() const override;
38
39 AWS_NETWORKMANAGER_API void AddQueryStringParameters(Aws::Http::URI& uri) const override;
40
41
43
46 inline const Aws::String& GetGlobalNetworkId() const{ return m_globalNetworkId; }
47 inline bool GlobalNetworkIdHasBeenSet() const { return m_globalNetworkIdHasBeenSet; }
48 inline void SetGlobalNetworkId(const Aws::String& value) { m_globalNetworkIdHasBeenSet = true; m_globalNetworkId = value; }
49 inline void SetGlobalNetworkId(Aws::String&& value) { m_globalNetworkIdHasBeenSet = true; m_globalNetworkId = std::move(value); }
50 inline void SetGlobalNetworkId(const char* value) { m_globalNetworkIdHasBeenSet = true; m_globalNetworkId.assign(value); }
51 inline GetLinksRequest& WithGlobalNetworkId(const Aws::String& value) { SetGlobalNetworkId(value); return *this;}
52 inline GetLinksRequest& WithGlobalNetworkId(Aws::String&& value) { SetGlobalNetworkId(std::move(value)); return *this;}
53 inline GetLinksRequest& WithGlobalNetworkId(const char* value) { SetGlobalNetworkId(value); return *this;}
55
57
60 inline const Aws::Vector<Aws::String>& GetLinkIds() const{ return m_linkIds; }
61 inline bool LinkIdsHasBeenSet() const { return m_linkIdsHasBeenSet; }
62 inline void SetLinkIds(const Aws::Vector<Aws::String>& value) { m_linkIdsHasBeenSet = true; m_linkIds = value; }
63 inline void SetLinkIds(Aws::Vector<Aws::String>&& value) { m_linkIdsHasBeenSet = true; m_linkIds = std::move(value); }
64 inline GetLinksRequest& WithLinkIds(const Aws::Vector<Aws::String>& value) { SetLinkIds(value); return *this;}
65 inline GetLinksRequest& WithLinkIds(Aws::Vector<Aws::String>&& value) { SetLinkIds(std::move(value)); return *this;}
66 inline GetLinksRequest& AddLinkIds(const Aws::String& value) { m_linkIdsHasBeenSet = true; m_linkIds.push_back(value); return *this; }
67 inline GetLinksRequest& AddLinkIds(Aws::String&& value) { m_linkIdsHasBeenSet = true; m_linkIds.push_back(std::move(value)); return *this; }
68 inline GetLinksRequest& AddLinkIds(const char* value) { m_linkIdsHasBeenSet = true; m_linkIds.push_back(value); return *this; }
70
72
75 inline const Aws::String& GetSiteId() const{ return m_siteId; }
76 inline bool SiteIdHasBeenSet() const { return m_siteIdHasBeenSet; }
77 inline void SetSiteId(const Aws::String& value) { m_siteIdHasBeenSet = true; m_siteId = value; }
78 inline void SetSiteId(Aws::String&& value) { m_siteIdHasBeenSet = true; m_siteId = std::move(value); }
79 inline void SetSiteId(const char* value) { m_siteIdHasBeenSet = true; m_siteId.assign(value); }
80 inline GetLinksRequest& WithSiteId(const Aws::String& value) { SetSiteId(value); return *this;}
81 inline GetLinksRequest& WithSiteId(Aws::String&& value) { SetSiteId(std::move(value)); return *this;}
82 inline GetLinksRequest& WithSiteId(const char* value) { SetSiteId(value); return *this;}
84
86
89 inline const Aws::String& GetType() const{ return m_type; }
90 inline bool TypeHasBeenSet() const { return m_typeHasBeenSet; }
91 inline void SetType(const Aws::String& value) { m_typeHasBeenSet = true; m_type = value; }
92 inline void SetType(Aws::String&& value) { m_typeHasBeenSet = true; m_type = std::move(value); }
93 inline void SetType(const char* value) { m_typeHasBeenSet = true; m_type.assign(value); }
94 inline GetLinksRequest& WithType(const Aws::String& value) { SetType(value); return *this;}
95 inline GetLinksRequest& WithType(Aws::String&& value) { SetType(std::move(value)); return *this;}
96 inline GetLinksRequest& WithType(const char* value) { SetType(value); return *this;}
98
100
103 inline const Aws::String& GetProvider() const{ return m_provider; }
104 inline bool ProviderHasBeenSet() const { return m_providerHasBeenSet; }
105 inline void SetProvider(const Aws::String& value) { m_providerHasBeenSet = true; m_provider = value; }
106 inline void SetProvider(Aws::String&& value) { m_providerHasBeenSet = true; m_provider = std::move(value); }
107 inline void SetProvider(const char* value) { m_providerHasBeenSet = true; m_provider.assign(value); }
108 inline GetLinksRequest& WithProvider(const Aws::String& value) { SetProvider(value); return *this;}
109 inline GetLinksRequest& WithProvider(Aws::String&& value) { SetProvider(std::move(value)); return *this;}
110 inline GetLinksRequest& WithProvider(const char* value) { SetProvider(value); return *this;}
112
114
117 inline int GetMaxResults() const{ return m_maxResults; }
118 inline bool MaxResultsHasBeenSet() const { return m_maxResultsHasBeenSet; }
119 inline void SetMaxResults(int value) { m_maxResultsHasBeenSet = true; m_maxResults = value; }
120 inline GetLinksRequest& WithMaxResults(int value) { SetMaxResults(value); return *this;}
122
124
127 inline const Aws::String& GetNextToken() const{ return m_nextToken; }
128 inline bool NextTokenHasBeenSet() const { return m_nextTokenHasBeenSet; }
129 inline void SetNextToken(const Aws::String& value) { m_nextTokenHasBeenSet = true; m_nextToken = value; }
130 inline void SetNextToken(Aws::String&& value) { m_nextTokenHasBeenSet = true; m_nextToken = std::move(value); }
131 inline void SetNextToken(const char* value) { m_nextTokenHasBeenSet = true; m_nextToken.assign(value); }
132 inline GetLinksRequest& WithNextToken(const Aws::String& value) { SetNextToken(value); return *this;}
133 inline GetLinksRequest& WithNextToken(Aws::String&& value) { SetNextToken(std::move(value)); return *this;}
134 inline GetLinksRequest& WithNextToken(const char* value) { SetNextToken(value); return *this;}
136 private:
137
138 Aws::String m_globalNetworkId;
139 bool m_globalNetworkIdHasBeenSet = false;
140
141 Aws::Vector<Aws::String> m_linkIds;
142 bool m_linkIdsHasBeenSet = false;
143
144 Aws::String m_siteId;
145 bool m_siteIdHasBeenSet = false;
146
147 Aws::String m_type;
148 bool m_typeHasBeenSet = false;
149
150 Aws::String m_provider;
151 bool m_providerHasBeenSet = false;
152
153 int m_maxResults;
154 bool m_maxResultsHasBeenSet = false;
155
156 Aws::String m_nextToken;
157 bool m_nextTokenHasBeenSet = false;
158 };
159
160} // namespace Model
161} // namespace NetworkManager
162} // namespace Aws
std::basic_string< char, std::char_traits< char >, Aws::Allocator< char > > String
std::vector< T, Aws::Allocator< T > > Vector