AWS SDK for C++
AWS SDK for C++
Loading...
Searching...
No Matches
DisassociateSubnetsRequest.h
Go to the documentation of this file.
1
6#pragma once
11#include <utility>
12
13namespace Aws
14{
15namespace NetworkFirewall
16{
17namespace Model
18{
19
23 {
24 public:
26
27 // Service request name is the Operation name which will send this request out,
28 // each operation should has unique request name, so that we can get operation's name from this request.
29 // Note: this is not true for response, multiple operations may have the same response name,
30 // so we can not get operation's name from response.
31 inline virtual const char* GetServiceRequestName() const override { return "DisassociateSubnets"; }
32
34
36
37
52 inline const Aws::String& GetUpdateToken() const{ return m_updateToken; }
53
68 inline bool UpdateTokenHasBeenSet() const { return m_updateTokenHasBeenSet; }
69
84 inline void SetUpdateToken(const Aws::String& value) { m_updateTokenHasBeenSet = true; m_updateToken = value; }
85
100 inline void SetUpdateToken(Aws::String&& value) { m_updateTokenHasBeenSet = true; m_updateToken = std::move(value); }
101
116 inline void SetUpdateToken(const char* value) { m_updateTokenHasBeenSet = true; m_updateToken.assign(value); }
117
132 inline DisassociateSubnetsRequest& WithUpdateToken(const Aws::String& value) { SetUpdateToken(value); return *this;}
133
148 inline DisassociateSubnetsRequest& WithUpdateToken(Aws::String&& value) { SetUpdateToken(std::move(value)); return *this;}
149
164 inline DisassociateSubnetsRequest& WithUpdateToken(const char* value) { SetUpdateToken(value); return *this;}
165
166
171 inline const Aws::String& GetFirewallArn() const{ return m_firewallArn; }
172
177 inline bool FirewallArnHasBeenSet() const { return m_firewallArnHasBeenSet; }
178
183 inline void SetFirewallArn(const Aws::String& value) { m_firewallArnHasBeenSet = true; m_firewallArn = value; }
184
189 inline void SetFirewallArn(Aws::String&& value) { m_firewallArnHasBeenSet = true; m_firewallArn = std::move(value); }
190
195 inline void SetFirewallArn(const char* value) { m_firewallArnHasBeenSet = true; m_firewallArn.assign(value); }
196
201 inline DisassociateSubnetsRequest& WithFirewallArn(const Aws::String& value) { SetFirewallArn(value); return *this;}
202
207 inline DisassociateSubnetsRequest& WithFirewallArn(Aws::String&& value) { SetFirewallArn(std::move(value)); return *this;}
208
213 inline DisassociateSubnetsRequest& WithFirewallArn(const char* value) { SetFirewallArn(value); return *this;}
214
215
221 inline const Aws::String& GetFirewallName() const{ return m_firewallName; }
222
228 inline bool FirewallNameHasBeenSet() const { return m_firewallNameHasBeenSet; }
229
235 inline void SetFirewallName(const Aws::String& value) { m_firewallNameHasBeenSet = true; m_firewallName = value; }
236
242 inline void SetFirewallName(Aws::String&& value) { m_firewallNameHasBeenSet = true; m_firewallName = std::move(value); }
243
249 inline void SetFirewallName(const char* value) { m_firewallNameHasBeenSet = true; m_firewallName.assign(value); }
250
256 inline DisassociateSubnetsRequest& WithFirewallName(const Aws::String& value) { SetFirewallName(value); return *this;}
257
263 inline DisassociateSubnetsRequest& WithFirewallName(Aws::String&& value) { SetFirewallName(std::move(value)); return *this;}
264
270 inline DisassociateSubnetsRequest& WithFirewallName(const char* value) { SetFirewallName(value); return *this;}
271
272
276 inline const Aws::Vector<Aws::String>& GetSubnetIds() const{ return m_subnetIds; }
277
281 inline bool SubnetIdsHasBeenSet() const { return m_subnetIdsHasBeenSet; }
282
286 inline void SetSubnetIds(const Aws::Vector<Aws::String>& value) { m_subnetIdsHasBeenSet = true; m_subnetIds = value; }
287
291 inline void SetSubnetIds(Aws::Vector<Aws::String>&& value) { m_subnetIdsHasBeenSet = true; m_subnetIds = std::move(value); }
292
297
301 inline DisassociateSubnetsRequest& WithSubnetIds(Aws::Vector<Aws::String>&& value) { SetSubnetIds(std::move(value)); return *this;}
302
306 inline DisassociateSubnetsRequest& AddSubnetIds(const Aws::String& value) { m_subnetIdsHasBeenSet = true; m_subnetIds.push_back(value); return *this; }
307
311 inline DisassociateSubnetsRequest& AddSubnetIds(Aws::String&& value) { m_subnetIdsHasBeenSet = true; m_subnetIds.push_back(std::move(value)); return *this; }
312
316 inline DisassociateSubnetsRequest& AddSubnetIds(const char* value) { m_subnetIdsHasBeenSet = true; m_subnetIds.push_back(value); return *this; }
317
318 private:
319
320 Aws::String m_updateToken;
321 bool m_updateTokenHasBeenSet = false;
322
323 Aws::String m_firewallArn;
324 bool m_firewallArnHasBeenSet = false;
325
326 Aws::String m_firewallName;
327 bool m_firewallNameHasBeenSet = false;
328
329 Aws::Vector<Aws::String> m_subnetIds;
330 bool m_subnetIdsHasBeenSet = false;
331 };
332
333} // namespace Model
334} // namespace NetworkFirewall
335} // namespace Aws
#define AWS_NETWORKFIREWALL_API
DisassociateSubnetsRequest & WithSubnetIds(Aws::Vector< Aws::String > &&value)
DisassociateSubnetsRequest & AddSubnetIds(const char *value)
DisassociateSubnetsRequest & WithFirewallArn(Aws::String &&value)
DisassociateSubnetsRequest & WithFirewallName(const Aws::String &value)
DisassociateSubnetsRequest & WithFirewallArn(const Aws::String &value)
void SetSubnetIds(const Aws::Vector< Aws::String > &value)
AWS_NETWORKFIREWALL_API Aws::String SerializePayload() const override
DisassociateSubnetsRequest & AddSubnetIds(const Aws::String &value)
DisassociateSubnetsRequest & WithUpdateToken(const Aws::String &value)
DisassociateSubnetsRequest & WithSubnetIds(const Aws::Vector< Aws::String > &value)
DisassociateSubnetsRequest & AddSubnetIds(Aws::String &&value)
AWS_NETWORKFIREWALL_API Aws::Http::HeaderValueCollection GetRequestSpecificHeaders() const override
DisassociateSubnetsRequest & WithFirewallName(Aws::String &&value)
DisassociateSubnetsRequest & WithUpdateToken(const char *value)
DisassociateSubnetsRequest & WithUpdateToken(Aws::String &&value)
DisassociateSubnetsRequest & WithFirewallArn(const char *value)
DisassociateSubnetsRequest & WithFirewallName(const char *value)
Aws::Map< Aws::String, Aws::String > HeaderValueCollection
std::basic_string< char, std::char_traits< char >, Aws::Allocator< char > > String
std::vector< T, Aws::Allocator< T > > Vector