AWS SDK for C++

AWS SDK for C++ Version 1.11.440

Loading...
Searching...
No Matches
GetNetworkResourcesRequest.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 GetNetworkResourcesRequest();
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 "GetNetworkResources"; }
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 GetNetworkResourcesRequest& WithGlobalNetworkId(Aws::String&& value) { SetGlobalNetworkId(std::move(value)); return *this;}
52 inline GetNetworkResourcesRequest& WithGlobalNetworkId(const char* value) { SetGlobalNetworkId(value); return *this;}
54
56
59 inline const Aws::String& GetCoreNetworkId() const{ return m_coreNetworkId; }
60 inline bool CoreNetworkIdHasBeenSet() const { return m_coreNetworkIdHasBeenSet; }
61 inline void SetCoreNetworkId(const Aws::String& value) { m_coreNetworkIdHasBeenSet = true; m_coreNetworkId = value; }
62 inline void SetCoreNetworkId(Aws::String&& value) { m_coreNetworkIdHasBeenSet = true; m_coreNetworkId = std::move(value); }
63 inline void SetCoreNetworkId(const char* value) { m_coreNetworkIdHasBeenSet = true; m_coreNetworkId.assign(value); }
64 inline GetNetworkResourcesRequest& WithCoreNetworkId(const Aws::String& value) { SetCoreNetworkId(value); return *this;}
65 inline GetNetworkResourcesRequest& WithCoreNetworkId(Aws::String&& value) { SetCoreNetworkId(std::move(value)); return *this;}
66 inline GetNetworkResourcesRequest& WithCoreNetworkId(const char* value) { SetCoreNetworkId(value); return *this;}
68
70
73 inline const Aws::String& GetRegisteredGatewayArn() const{ return m_registeredGatewayArn; }
74 inline bool RegisteredGatewayArnHasBeenSet() const { return m_registeredGatewayArnHasBeenSet; }
75 inline void SetRegisteredGatewayArn(const Aws::String& value) { m_registeredGatewayArnHasBeenSet = true; m_registeredGatewayArn = value; }
76 inline void SetRegisteredGatewayArn(Aws::String&& value) { m_registeredGatewayArnHasBeenSet = true; m_registeredGatewayArn = std::move(value); }
77 inline void SetRegisteredGatewayArn(const char* value) { m_registeredGatewayArnHasBeenSet = true; m_registeredGatewayArn.assign(value); }
80 inline GetNetworkResourcesRequest& WithRegisteredGatewayArn(const char* value) { SetRegisteredGatewayArn(value); return *this;}
82
84
87 inline const Aws::String& GetAwsRegion() const{ return m_awsRegion; }
88 inline bool AwsRegionHasBeenSet() const { return m_awsRegionHasBeenSet; }
89 inline void SetAwsRegion(const Aws::String& value) { m_awsRegionHasBeenSet = true; m_awsRegion = value; }
90 inline void SetAwsRegion(Aws::String&& value) { m_awsRegionHasBeenSet = true; m_awsRegion = std::move(value); }
91 inline void SetAwsRegion(const char* value) { m_awsRegionHasBeenSet = true; m_awsRegion.assign(value); }
92 inline GetNetworkResourcesRequest& WithAwsRegion(const Aws::String& value) { SetAwsRegion(value); return *this;}
93 inline GetNetworkResourcesRequest& WithAwsRegion(Aws::String&& value) { SetAwsRegion(std::move(value)); return *this;}
94 inline GetNetworkResourcesRequest& WithAwsRegion(const char* value) { SetAwsRegion(value); return *this;}
96
98
101 inline const Aws::String& GetAccountId() const{ return m_accountId; }
102 inline bool AccountIdHasBeenSet() const { return m_accountIdHasBeenSet; }
103 inline void SetAccountId(const Aws::String& value) { m_accountIdHasBeenSet = true; m_accountId = value; }
104 inline void SetAccountId(Aws::String&& value) { m_accountIdHasBeenSet = true; m_accountId = std::move(value); }
105 inline void SetAccountId(const char* value) { m_accountIdHasBeenSet = true; m_accountId.assign(value); }
106 inline GetNetworkResourcesRequest& WithAccountId(const Aws::String& value) { SetAccountId(value); return *this;}
107 inline GetNetworkResourcesRequest& WithAccountId(Aws::String&& value) { SetAccountId(std::move(value)); return *this;}
108 inline GetNetworkResourcesRequest& WithAccountId(const char* value) { SetAccountId(value); return *this;}
110
112
129 inline const Aws::String& GetResourceType() const{ return m_resourceType; }
130 inline bool ResourceTypeHasBeenSet() const { return m_resourceTypeHasBeenSet; }
131 inline void SetResourceType(const Aws::String& value) { m_resourceTypeHasBeenSet = true; m_resourceType = value; }
132 inline void SetResourceType(Aws::String&& value) { m_resourceTypeHasBeenSet = true; m_resourceType = std::move(value); }
133 inline void SetResourceType(const char* value) { m_resourceTypeHasBeenSet = true; m_resourceType.assign(value); }
134 inline GetNetworkResourcesRequest& WithResourceType(const Aws::String& value) { SetResourceType(value); return *this;}
135 inline GetNetworkResourcesRequest& WithResourceType(Aws::String&& value) { SetResourceType(std::move(value)); return *this;}
136 inline GetNetworkResourcesRequest& WithResourceType(const char* value) { SetResourceType(value); return *this;}
138
140
143 inline const Aws::String& GetResourceArn() const{ return m_resourceArn; }
144 inline bool ResourceArnHasBeenSet() const { return m_resourceArnHasBeenSet; }
145 inline void SetResourceArn(const Aws::String& value) { m_resourceArnHasBeenSet = true; m_resourceArn = value; }
146 inline void SetResourceArn(Aws::String&& value) { m_resourceArnHasBeenSet = true; m_resourceArn = std::move(value); }
147 inline void SetResourceArn(const char* value) { m_resourceArnHasBeenSet = true; m_resourceArn.assign(value); }
148 inline GetNetworkResourcesRequest& WithResourceArn(const Aws::String& value) { SetResourceArn(value); return *this;}
149 inline GetNetworkResourcesRequest& WithResourceArn(Aws::String&& value) { SetResourceArn(std::move(value)); return *this;}
150 inline GetNetworkResourcesRequest& WithResourceArn(const char* value) { SetResourceArn(value); return *this;}
152
154
157 inline int GetMaxResults() const{ return m_maxResults; }
158 inline bool MaxResultsHasBeenSet() const { return m_maxResultsHasBeenSet; }
159 inline void SetMaxResults(int value) { m_maxResultsHasBeenSet = true; m_maxResults = value; }
160 inline GetNetworkResourcesRequest& WithMaxResults(int value) { SetMaxResults(value); return *this;}
162
164
167 inline const Aws::String& GetNextToken() const{ return m_nextToken; }
168 inline bool NextTokenHasBeenSet() const { return m_nextTokenHasBeenSet; }
169 inline void SetNextToken(const Aws::String& value) { m_nextTokenHasBeenSet = true; m_nextToken = value; }
170 inline void SetNextToken(Aws::String&& value) { m_nextTokenHasBeenSet = true; m_nextToken = std::move(value); }
171 inline void SetNextToken(const char* value) { m_nextTokenHasBeenSet = true; m_nextToken.assign(value); }
172 inline GetNetworkResourcesRequest& WithNextToken(const Aws::String& value) { SetNextToken(value); return *this;}
173 inline GetNetworkResourcesRequest& WithNextToken(Aws::String&& value) { SetNextToken(std::move(value)); return *this;}
174 inline GetNetworkResourcesRequest& WithNextToken(const char* value) { SetNextToken(value); return *this;}
176 private:
177
178 Aws::String m_globalNetworkId;
179 bool m_globalNetworkIdHasBeenSet = false;
180
181 Aws::String m_coreNetworkId;
182 bool m_coreNetworkIdHasBeenSet = false;
183
184 Aws::String m_registeredGatewayArn;
185 bool m_registeredGatewayArnHasBeenSet = false;
186
187 Aws::String m_awsRegion;
188 bool m_awsRegionHasBeenSet = false;
189
190 Aws::String m_accountId;
191 bool m_accountIdHasBeenSet = false;
192
193 Aws::String m_resourceType;
194 bool m_resourceTypeHasBeenSet = false;
195
196 Aws::String m_resourceArn;
197 bool m_resourceArnHasBeenSet = false;
198
199 int m_maxResults;
200 bool m_maxResultsHasBeenSet = false;
201
202 Aws::String m_nextToken;
203 bool m_nextTokenHasBeenSet = false;
204 };
205
206} // namespace Model
207} // namespace NetworkManager
208} // namespace Aws
GetNetworkResourcesRequest & WithNextToken(const char *value)
GetNetworkResourcesRequest & WithRegisteredGatewayArn(Aws::String &&value)
GetNetworkResourcesRequest & WithResourceArn(Aws::String &&value)
GetNetworkResourcesRequest & WithAccountId(Aws::String &&value)
GetNetworkResourcesRequest & WithCoreNetworkId(const char *value)
GetNetworkResourcesRequest & WithResourceArn(const Aws::String &value)
GetNetworkResourcesRequest & WithAwsRegion(const char *value)
GetNetworkResourcesRequest & WithNextToken(const Aws::String &value)
GetNetworkResourcesRequest & WithGlobalNetworkId(const char *value)
AWS_NETWORKMANAGER_API void AddQueryStringParameters(Aws::Http::URI &uri) const override
GetNetworkResourcesRequest & WithRegisteredGatewayArn(const char *value)
GetNetworkResourcesRequest & WithAwsRegion(Aws::String &&value)
GetNetworkResourcesRequest & WithAccountId(const char *value)
GetNetworkResourcesRequest & WithRegisteredGatewayArn(const Aws::String &value)
AWS_NETWORKMANAGER_API Aws::String SerializePayload() const override
GetNetworkResourcesRequest & WithResourceType(Aws::String &&value)
GetNetworkResourcesRequest & WithGlobalNetworkId(const Aws::String &value)
GetNetworkResourcesRequest & WithResourceType(const Aws::String &value)
GetNetworkResourcesRequest & WithNextToken(Aws::String &&value)
GetNetworkResourcesRequest & WithAccountId(const Aws::String &value)
GetNetworkResourcesRequest & WithCoreNetworkId(Aws::String &&value)
GetNetworkResourcesRequest & WithCoreNetworkId(const Aws::String &value)
GetNetworkResourcesRequest & WithResourceArn(const char *value)
GetNetworkResourcesRequest & WithGlobalNetworkId(Aws::String &&value)
GetNetworkResourcesRequest & WithAwsRegion(const Aws::String &value)
GetNetworkResourcesRequest & WithResourceType(const char *value)
std::basic_string< char, std::char_traits< char >, Aws::Allocator< char > > String