AWS SDK for C++

AWS SDK for C++ Version 1.11.944

Loading...
Searching...
No Matches
DisassociateSubnetsRequest.h
1
6#pragma once
7#include <aws/core/utils/memory/stl/AWSString.h>
8#include <aws/core/utils/memory/stl/AWSVector.h>
9#include <aws/network-firewall/NetworkFirewallRequest.h>
10#include <aws/network-firewall/NetworkFirewall_EXPORTS.h>
11
12#include <utility>
13
14namespace Aws {
15namespace NetworkFirewall {
16namespace Model {
17
21 public:
22 AWS_NETWORKFIREWALL_API DisassociateSubnetsRequest() = default;
23
24 // Service request name is the Operation name which will send this request out,
25 // each operation should has unique request name, so that we can get operation's name from this request.
26 // Note: this is not true for response, multiple operations may have the same response name,
27 // so we can not get operation's name from response.
28 inline virtual const char* GetServiceRequestName() const override { return "DisassociateSubnets"; }
29
30 AWS_NETWORKFIREWALL_API Aws::String SerializePayload() const override;
31
32 AWS_NETWORKFIREWALL_API Aws::Http::HeaderValueCollection GetRequestSpecificHeaders() const override;
33
35
49 inline const Aws::String& GetUpdateToken() const { return m_updateToken; }
50 inline bool UpdateTokenHasBeenSet() const { return m_updateTokenHasBeenSet; }
51 template <typename UpdateTokenT = Aws::String>
52 void SetUpdateToken(UpdateTokenT&& value) {
53 m_updateTokenHasBeenSet = true;
54 m_updateToken = std::forward<UpdateTokenT>(value);
55 }
56 template <typename UpdateTokenT = Aws::String>
58 SetUpdateToken(std::forward<UpdateTokenT>(value));
59 return *this;
60 }
62
64
68 inline const Aws::String& GetFirewallArn() const { return m_firewallArn; }
69 inline bool FirewallArnHasBeenSet() const { return m_firewallArnHasBeenSet; }
70 template <typename FirewallArnT = Aws::String>
71 void SetFirewallArn(FirewallArnT&& value) {
72 m_firewallArnHasBeenSet = true;
73 m_firewallArn = std::forward<FirewallArnT>(value);
74 }
75 template <typename FirewallArnT = Aws::String>
77 SetFirewallArn(std::forward<FirewallArnT>(value));
78 return *this;
79 }
81
83
88 inline const Aws::String& GetFirewallName() const { return m_firewallName; }
89 inline bool FirewallNameHasBeenSet() const { return m_firewallNameHasBeenSet; }
90 template <typename FirewallNameT = Aws::String>
91 void SetFirewallName(FirewallNameT&& value) {
92 m_firewallNameHasBeenSet = true;
93 m_firewallName = std::forward<FirewallNameT>(value);
94 }
95 template <typename FirewallNameT = Aws::String>
97 SetFirewallName(std::forward<FirewallNameT>(value));
98 return *this;
99 }
101
103
106 inline const Aws::Vector<Aws::String>& GetSubnetIds() const { return m_subnetIds; }
107 inline bool SubnetIdsHasBeenSet() const { return m_subnetIdsHasBeenSet; }
108 template <typename SubnetIdsT = Aws::Vector<Aws::String>>
109 void SetSubnetIds(SubnetIdsT&& value) {
110 m_subnetIdsHasBeenSet = true;
111 m_subnetIds = std::forward<SubnetIdsT>(value);
112 }
113 template <typename SubnetIdsT = Aws::Vector<Aws::String>>
115 SetSubnetIds(std::forward<SubnetIdsT>(value));
116 return *this;
117 }
118 template <typename SubnetIdsT = Aws::String>
120 m_subnetIdsHasBeenSet = true;
121 m_subnetIds.emplace_back(std::forward<SubnetIdsT>(value));
122 return *this;
123 }
125 private:
126 Aws::String m_updateToken;
127
128 Aws::String m_firewallArn;
129
130 Aws::String m_firewallName;
131
132 Aws::Vector<Aws::String> m_subnetIds;
133 bool m_updateTokenHasBeenSet = false;
134 bool m_firewallArnHasBeenSet = false;
135 bool m_firewallNameHasBeenSet = false;
136 bool m_subnetIdsHasBeenSet = false;
137};
138
139} // namespace Model
140} // namespace NetworkFirewall
141} // 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