AWS SDK for C++

AWS SDK for C++ Version 1.11.440

Loading...
Searching...
No Matches
DisassociateSubnetsRequest.h
1
6#pragma once
7#include <aws/network-firewall/NetworkFirewall_EXPORTS.h>
8#include <aws/network-firewall/NetworkFirewallRequest.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 NetworkFirewall
16{
17namespace Model
18{
19
23 {
24 public:
25 AWS_NETWORKFIREWALL_API DisassociateSubnetsRequest();
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
33 AWS_NETWORKFIREWALL_API Aws::String SerializePayload() const override;
34
35 AWS_NETWORKFIREWALL_API Aws::Http::HeaderValueCollection GetRequestSpecificHeaders() const override;
36
37
39
53 inline const Aws::String& GetUpdateToken() const{ return m_updateToken; }
54 inline bool UpdateTokenHasBeenSet() const { return m_updateTokenHasBeenSet; }
55 inline void SetUpdateToken(const Aws::String& value) { m_updateTokenHasBeenSet = true; m_updateToken = value; }
56 inline void SetUpdateToken(Aws::String&& value) { m_updateTokenHasBeenSet = true; m_updateToken = std::move(value); }
57 inline void SetUpdateToken(const char* value) { m_updateTokenHasBeenSet = true; m_updateToken.assign(value); }
58 inline DisassociateSubnetsRequest& WithUpdateToken(const Aws::String& value) { SetUpdateToken(value); return *this;}
59 inline DisassociateSubnetsRequest& WithUpdateToken(Aws::String&& value) { SetUpdateToken(std::move(value)); return *this;}
60 inline DisassociateSubnetsRequest& WithUpdateToken(const char* value) { SetUpdateToken(value); return *this;}
62
64
68 inline const Aws::String& GetFirewallArn() const{ return m_firewallArn; }
69 inline bool FirewallArnHasBeenSet() const { return m_firewallArnHasBeenSet; }
70 inline void SetFirewallArn(const Aws::String& value) { m_firewallArnHasBeenSet = true; m_firewallArn = value; }
71 inline void SetFirewallArn(Aws::String&& value) { m_firewallArnHasBeenSet = true; m_firewallArn = std::move(value); }
72 inline void SetFirewallArn(const char* value) { m_firewallArnHasBeenSet = true; m_firewallArn.assign(value); }
73 inline DisassociateSubnetsRequest& WithFirewallArn(const Aws::String& value) { SetFirewallArn(value); return *this;}
74 inline DisassociateSubnetsRequest& WithFirewallArn(Aws::String&& value) { SetFirewallArn(std::move(value)); return *this;}
75 inline DisassociateSubnetsRequest& WithFirewallArn(const char* value) { SetFirewallArn(value); return *this;}
77
79
84 inline const Aws::String& GetFirewallName() const{ return m_firewallName; }
85 inline bool FirewallNameHasBeenSet() const { return m_firewallNameHasBeenSet; }
86 inline void SetFirewallName(const Aws::String& value) { m_firewallNameHasBeenSet = true; m_firewallName = value; }
87 inline void SetFirewallName(Aws::String&& value) { m_firewallNameHasBeenSet = true; m_firewallName = std::move(value); }
88 inline void SetFirewallName(const char* value) { m_firewallNameHasBeenSet = true; m_firewallName.assign(value); }
89 inline DisassociateSubnetsRequest& WithFirewallName(const Aws::String& value) { SetFirewallName(value); return *this;}
90 inline DisassociateSubnetsRequest& WithFirewallName(Aws::String&& value) { SetFirewallName(std::move(value)); return *this;}
91 inline DisassociateSubnetsRequest& WithFirewallName(const char* value) { SetFirewallName(value); return *this;}
93
95
98 inline const Aws::Vector<Aws::String>& GetSubnetIds() const{ return m_subnetIds; }
99 inline bool SubnetIdsHasBeenSet() const { return m_subnetIdsHasBeenSet; }
100 inline void SetSubnetIds(const Aws::Vector<Aws::String>& value) { m_subnetIdsHasBeenSet = true; m_subnetIds = value; }
101 inline void SetSubnetIds(Aws::Vector<Aws::String>&& value) { m_subnetIdsHasBeenSet = true; m_subnetIds = std::move(value); }
103 inline DisassociateSubnetsRequest& WithSubnetIds(Aws::Vector<Aws::String>&& value) { SetSubnetIds(std::move(value)); return *this;}
104 inline DisassociateSubnetsRequest& AddSubnetIds(const Aws::String& value) { m_subnetIdsHasBeenSet = true; m_subnetIds.push_back(value); return *this; }
105 inline DisassociateSubnetsRequest& AddSubnetIds(Aws::String&& value) { m_subnetIdsHasBeenSet = true; m_subnetIds.push_back(std::move(value)); return *this; }
106 inline DisassociateSubnetsRequest& AddSubnetIds(const char* value) { m_subnetIdsHasBeenSet = true; m_subnetIds.push_back(value); return *this; }
108 private:
109
110 Aws::String m_updateToken;
111 bool m_updateTokenHasBeenSet = false;
112
113 Aws::String m_firewallArn;
114 bool m_firewallArnHasBeenSet = false;
115
116 Aws::String m_firewallName;
117 bool m_firewallNameHasBeenSet = false;
118
119 Aws::Vector<Aws::String> m_subnetIds;
120 bool m_subnetIdsHasBeenSet = false;
121 };
122
123} // namespace Model
124} // namespace NetworkFirewall
125} // namespace Aws
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