AWS SDK for C++

AWS SDK for C++ Version 1.11.607

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() = default;
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 template<typename UpdateTokenT = Aws::String>
56 void SetUpdateToken(UpdateTokenT&& value) { m_updateTokenHasBeenSet = true; m_updateToken = std::forward<UpdateTokenT>(value); }
57 template<typename UpdateTokenT = Aws::String>
58 DisassociateSubnetsRequest& WithUpdateToken(UpdateTokenT&& value) { SetUpdateToken(std::forward<UpdateTokenT>(value)); return *this;}
60
62
66 inline const Aws::String& GetFirewallArn() const { return m_firewallArn; }
67 inline bool FirewallArnHasBeenSet() const { return m_firewallArnHasBeenSet; }
68 template<typename FirewallArnT = Aws::String>
69 void SetFirewallArn(FirewallArnT&& value) { m_firewallArnHasBeenSet = true; m_firewallArn = std::forward<FirewallArnT>(value); }
70 template<typename FirewallArnT = Aws::String>
71 DisassociateSubnetsRequest& WithFirewallArn(FirewallArnT&& value) { SetFirewallArn(std::forward<FirewallArnT>(value)); return *this;}
73
75
80 inline const Aws::String& GetFirewallName() const { return m_firewallName; }
81 inline bool FirewallNameHasBeenSet() const { return m_firewallNameHasBeenSet; }
82 template<typename FirewallNameT = Aws::String>
83 void SetFirewallName(FirewallNameT&& value) { m_firewallNameHasBeenSet = true; m_firewallName = std::forward<FirewallNameT>(value); }
84 template<typename FirewallNameT = Aws::String>
85 DisassociateSubnetsRequest& WithFirewallName(FirewallNameT&& value) { SetFirewallName(std::forward<FirewallNameT>(value)); return *this;}
87
89
92 inline const Aws::Vector<Aws::String>& GetSubnetIds() const { return m_subnetIds; }
93 inline bool SubnetIdsHasBeenSet() const { return m_subnetIdsHasBeenSet; }
94 template<typename SubnetIdsT = Aws::Vector<Aws::String>>
95 void SetSubnetIds(SubnetIdsT&& value) { m_subnetIdsHasBeenSet = true; m_subnetIds = std::forward<SubnetIdsT>(value); }
96 template<typename SubnetIdsT = Aws::Vector<Aws::String>>
97 DisassociateSubnetsRequest& WithSubnetIds(SubnetIdsT&& value) { SetSubnetIds(std::forward<SubnetIdsT>(value)); return *this;}
98 template<typename SubnetIdsT = Aws::String>
99 DisassociateSubnetsRequest& AddSubnetIds(SubnetIdsT&& value) { m_subnetIdsHasBeenSet = true; m_subnetIds.emplace_back(std::forward<SubnetIdsT>(value)); return *this; }
101 private:
102
103 Aws::String m_updateToken;
104 bool m_updateTokenHasBeenSet = false;
105
106 Aws::String m_firewallArn;
107 bool m_firewallArnHasBeenSet = false;
108
109 Aws::String m_firewallName;
110 bool m_firewallNameHasBeenSet = false;
111
112 Aws::Vector<Aws::String> m_subnetIds;
113 bool m_subnetIdsHasBeenSet = false;
114 };
115
116} // namespace Model
117} // namespace NetworkFirewall
118} // namespace Aws
DisassociateSubnetsRequest & WithFirewallName(FirewallNameT &&value)
DisassociateSubnetsRequest & WithUpdateToken(UpdateTokenT &&value)
AWS_NETWORKFIREWALL_API Aws::String SerializePayload() const override
AWS_NETWORKFIREWALL_API Aws::Http::HeaderValueCollection GetRequestSpecificHeaders() const override
DisassociateSubnetsRequest & WithSubnetIds(SubnetIdsT &&value)
DisassociateSubnetsRequest & AddSubnetIds(SubnetIdsT &&value)
AWS_NETWORKFIREWALL_API DisassociateSubnetsRequest()=default
DisassociateSubnetsRequest & WithFirewallArn(FirewallArnT &&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