AWS SDK for C++

AWS SDK for C++ Version 1.11.607

Loading...
Searching...
No Matches
DisassociateAvailabilityZonesRequest.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 <aws/network-firewall/model/AvailabilityZoneMapping.h>
12#include <utility>
13
14namespace Aws
15{
16namespace NetworkFirewall
17{
18namespace Model
19{
20
24 {
25 public:
26 AWS_NETWORKFIREWALL_API DisassociateAvailabilityZonesRequest() = default;
27
28 // Service request name is the Operation name which will send this request out,
29 // each operation should has unique request name, so that we can get operation's name from this request.
30 // Note: this is not true for response, multiple operations may have the same response name,
31 // so we can not get operation's name from response.
32 inline virtual const char* GetServiceRequestName() const override { return "DisassociateAvailabilityZones"; }
33
34 AWS_NETWORKFIREWALL_API Aws::String SerializePayload() const override;
35
36 AWS_NETWORKFIREWALL_API Aws::Http::HeaderValueCollection GetRequestSpecificHeaders() const override;
37
38
40
54 inline const Aws::String& GetUpdateToken() const { return m_updateToken; }
55 inline bool UpdateTokenHasBeenSet() const { return m_updateTokenHasBeenSet; }
56 template<typename UpdateTokenT = Aws::String>
57 void SetUpdateToken(UpdateTokenT&& value) { m_updateTokenHasBeenSet = true; m_updateToken = std::forward<UpdateTokenT>(value); }
58 template<typename UpdateTokenT = Aws::String>
59 DisassociateAvailabilityZonesRequest& WithUpdateToken(UpdateTokenT&& value) { SetUpdateToken(std::forward<UpdateTokenT>(value)); return *this;}
61
63
67 inline const Aws::String& GetFirewallArn() const { return m_firewallArn; }
68 inline bool FirewallArnHasBeenSet() const { return m_firewallArnHasBeenSet; }
69 template<typename FirewallArnT = Aws::String>
70 void SetFirewallArn(FirewallArnT&& value) { m_firewallArnHasBeenSet = true; m_firewallArn = std::forward<FirewallArnT>(value); }
71 template<typename FirewallArnT = Aws::String>
72 DisassociateAvailabilityZonesRequest& WithFirewallArn(FirewallArnT&& value) { SetFirewallArn(std::forward<FirewallArnT>(value)); return *this;}
74
76
81 inline const Aws::String& GetFirewallName() const { return m_firewallName; }
82 inline bool FirewallNameHasBeenSet() const { return m_firewallNameHasBeenSet; }
83 template<typename FirewallNameT = Aws::String>
84 void SetFirewallName(FirewallNameT&& value) { m_firewallNameHasBeenSet = true; m_firewallName = std::forward<FirewallNameT>(value); }
85 template<typename FirewallNameT = Aws::String>
86 DisassociateAvailabilityZonesRequest& WithFirewallName(FirewallNameT&& value) { SetFirewallName(std::forward<FirewallNameT>(value)); return *this;}
88
90
94 inline const Aws::Vector<AvailabilityZoneMapping>& GetAvailabilityZoneMappings() const { return m_availabilityZoneMappings; }
95 inline bool AvailabilityZoneMappingsHasBeenSet() const { return m_availabilityZoneMappingsHasBeenSet; }
96 template<typename AvailabilityZoneMappingsT = Aws::Vector<AvailabilityZoneMapping>>
97 void SetAvailabilityZoneMappings(AvailabilityZoneMappingsT&& value) { m_availabilityZoneMappingsHasBeenSet = true; m_availabilityZoneMappings = std::forward<AvailabilityZoneMappingsT>(value); }
98 template<typename AvailabilityZoneMappingsT = Aws::Vector<AvailabilityZoneMapping>>
99 DisassociateAvailabilityZonesRequest& WithAvailabilityZoneMappings(AvailabilityZoneMappingsT&& value) { SetAvailabilityZoneMappings(std::forward<AvailabilityZoneMappingsT>(value)); return *this;}
100 template<typename AvailabilityZoneMappingsT = AvailabilityZoneMapping>
101 DisassociateAvailabilityZonesRequest& AddAvailabilityZoneMappings(AvailabilityZoneMappingsT&& value) { m_availabilityZoneMappingsHasBeenSet = true; m_availabilityZoneMappings.emplace_back(std::forward<AvailabilityZoneMappingsT>(value)); return *this; }
103 private:
104
105 Aws::String m_updateToken;
106 bool m_updateTokenHasBeenSet = false;
107
108 Aws::String m_firewallArn;
109 bool m_firewallArnHasBeenSet = false;
110
111 Aws::String m_firewallName;
112 bool m_firewallNameHasBeenSet = false;
113
114 Aws::Vector<AvailabilityZoneMapping> m_availabilityZoneMappings;
115 bool m_availabilityZoneMappingsHasBeenSet = false;
116 };
117
118} // namespace Model
119} // namespace NetworkFirewall
120} // namespace Aws
DisassociateAvailabilityZonesRequest & WithAvailabilityZoneMappings(AvailabilityZoneMappingsT &&value)
DisassociateAvailabilityZonesRequest & AddAvailabilityZoneMappings(AvailabilityZoneMappingsT &&value)
AWS_NETWORKFIREWALL_API Aws::Http::HeaderValueCollection GetRequestSpecificHeaders() const override
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