AWS SDK for C++

AWS SDK for C++ Version 1.11.944

Loading...
Searching...
No Matches
DisassociateAvailabilityZonesRequest.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#include <aws/network-firewall/model/AvailabilityZoneMapping.h>
12#include <aws/network-firewall/model/FirewallType.h>
13
14#include <utility>
15
16namespace Aws {
17namespace NetworkFirewall {
18namespace Model {
19
23 public:
24 AWS_NETWORKFIREWALL_API DisassociateAvailabilityZonesRequest() = default;
25
26 // Service request name is the Operation name which will send this request out,
27 // each operation should has unique request name, so that we can get operation's name from this request.
28 // Note: this is not true for response, multiple operations may have the same response name,
29 // so we can not get operation's name from response.
30 inline virtual const char* GetServiceRequestName() const override { return "DisassociateAvailabilityZones"; }
31
32 AWS_NETWORKFIREWALL_API Aws::String SerializePayload() const override;
33
34 AWS_NETWORKFIREWALL_API Aws::Http::HeaderValueCollection GetRequestSpecificHeaders() const override;
35
37
51 inline const Aws::String& GetUpdateToken() const { return m_updateToken; }
52 inline bool UpdateTokenHasBeenSet() const { return m_updateTokenHasBeenSet; }
53 template <typename UpdateTokenT = Aws::String>
54 void SetUpdateToken(UpdateTokenT&& value) {
55 m_updateTokenHasBeenSet = true;
56 m_updateToken = std::forward<UpdateTokenT>(value);
57 }
58 template <typename UpdateTokenT = Aws::String>
60 SetUpdateToken(std::forward<UpdateTokenT>(value));
61 return *this;
62 }
64
66
70 inline const Aws::String& GetFirewallArn() const { return m_firewallArn; }
71 inline bool FirewallArnHasBeenSet() const { return m_firewallArnHasBeenSet; }
72 template <typename FirewallArnT = Aws::String>
73 void SetFirewallArn(FirewallArnT&& value) {
74 m_firewallArnHasBeenSet = true;
75 m_firewallArn = std::forward<FirewallArnT>(value);
76 }
77 template <typename FirewallArnT = Aws::String>
79 SetFirewallArn(std::forward<FirewallArnT>(value));
80 return *this;
81 }
83
85
90 inline const Aws::String& GetFirewallName() const { return m_firewallName; }
91 inline bool FirewallNameHasBeenSet() const { return m_firewallNameHasBeenSet; }
92 template <typename FirewallNameT = Aws::String>
93 void SetFirewallName(FirewallNameT&& value) {
94 m_firewallNameHasBeenSet = true;
95 m_firewallName = std::forward<FirewallNameT>(value);
96 }
97 template <typename FirewallNameT = Aws::String>
99 SetFirewallName(std::forward<FirewallNameT>(value));
100 return *this;
101 }
103
105
109 inline const Aws::Vector<AvailabilityZoneMapping>& GetAvailabilityZoneMappings() const { return m_availabilityZoneMappings; }
110 inline bool AvailabilityZoneMappingsHasBeenSet() const { return m_availabilityZoneMappingsHasBeenSet; }
111 template <typename AvailabilityZoneMappingsT = Aws::Vector<AvailabilityZoneMapping>>
112 void SetAvailabilityZoneMappings(AvailabilityZoneMappingsT&& value) {
113 m_availabilityZoneMappingsHasBeenSet = true;
114 m_availabilityZoneMappings = std::forward<AvailabilityZoneMappingsT>(value);
115 }
116 template <typename AvailabilityZoneMappingsT = Aws::Vector<AvailabilityZoneMapping>>
118 SetAvailabilityZoneMappings(std::forward<AvailabilityZoneMappingsT>(value));
119 return *this;
120 }
121 template <typename AvailabilityZoneMappingsT = AvailabilityZoneMapping>
123 m_availabilityZoneMappingsHasBeenSet = true;
124 m_availabilityZoneMappings.emplace_back(std::forward<AvailabilityZoneMappingsT>(value));
125 return *this;
126 }
128
130
140 inline FirewallType GetFirewallType() const { return m_firewallType; }
141 inline bool FirewallTypeHasBeenSet() const { return m_firewallTypeHasBeenSet; }
142 inline void SetFirewallType(FirewallType value) {
143 m_firewallTypeHasBeenSet = true;
144 m_firewallType = value;
145 }
147 SetFirewallType(value);
148 return *this;
149 }
151 private:
152 Aws::String m_updateToken;
153
154 Aws::String m_firewallArn;
155
156 Aws::String m_firewallName;
157
158 Aws::Vector<AvailabilityZoneMapping> m_availabilityZoneMappings;
159
160 FirewallType m_firewallType{FirewallType::NOT_SET};
161 bool m_updateTokenHasBeenSet = false;
162 bool m_firewallArnHasBeenSet = false;
163 bool m_firewallNameHasBeenSet = false;
164 bool m_availabilityZoneMappingsHasBeenSet = false;
165 bool m_firewallTypeHasBeenSet = false;
166};
167
168} // namespace Model
169} // namespace NetworkFirewall
170} // namespace Aws
DisassociateAvailabilityZonesRequest & WithAvailabilityZoneMappings(AvailabilityZoneMappingsT &&value)
DisassociateAvailabilityZonesRequest & AddAvailabilityZoneMappings(AvailabilityZoneMappingsT &&value)
AWS_NETWORKFIREWALL_API Aws::Http::HeaderValueCollection GetRequestSpecificHeaders() const override
DisassociateAvailabilityZonesRequest & WithFirewallType(FirewallType value)
AWS_NETWORKFIREWALL_API Aws::String SerializePayload() const override
DisassociateAvailabilityZonesRequest & WithFirewallName(FirewallNameT &&value)
AWS_NETWORKFIREWALL_API DisassociateAvailabilityZonesRequest()=default
const Aws::Vector< AvailabilityZoneMapping > & GetAvailabilityZoneMappings() const
DisassociateAvailabilityZonesRequest & WithUpdateToken(UpdateTokenT &&value)
DisassociateAvailabilityZonesRequest & 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