AWS SDK for C++

AWS SDK for C++ Version 1.11.944

Loading...
Searching...
No Matches
DisassociateAvailabilityZonesResult.h
1
6#pragma once
7#include <aws/core/http/HttpResponse.h>
8#include <aws/core/utils/memory/stl/AWSString.h>
9#include <aws/core/utils/memory/stl/AWSVector.h>
10#include <aws/crt/cbor/Cbor.h>
11#include <aws/network-firewall/NetworkFirewall_EXPORTS.h>
12#include <aws/network-firewall/model/AvailabilityZoneMapping.h>
13
14#include <utility>
15namespace Aws {
16template <typename RESULT_TYPE>
17class AmazonWebServiceResult;
18
19namespace Utils {
20namespace Cbor {
21class CborValue;
22} // namespace Cbor
23} // namespace Utils
24namespace NetworkFirewall {
25namespace Model {
27 public:
28 AWS_NETWORKFIREWALL_API DisassociateAvailabilityZonesResult() = default;
32
34
37 inline const Aws::String& GetFirewallArn() const { return m_firewallArn; }
38 template <typename FirewallArnT = Aws::String>
39 void SetFirewallArn(FirewallArnT&& value) {
40 m_firewallArnHasBeenSet = true;
41 m_firewallArn = std::forward<FirewallArnT>(value);
42 }
43 template <typename FirewallArnT = Aws::String>
45 SetFirewallArn(std::forward<FirewallArnT>(value));
46 return *this;
47 }
49
51
55 inline const Aws::String& GetFirewallName() const { return m_firewallName; }
56 template <typename FirewallNameT = Aws::String>
57 void SetFirewallName(FirewallNameT&& value) {
58 m_firewallNameHasBeenSet = true;
59 m_firewallName = std::forward<FirewallNameT>(value);
60 }
61 template <typename FirewallNameT = Aws::String>
63 SetFirewallName(std::forward<FirewallNameT>(value));
64 return *this;
65 }
67
69
73 inline const Aws::Vector<AvailabilityZoneMapping>& GetAvailabilityZoneMappings() const { return m_availabilityZoneMappings; }
74 template <typename AvailabilityZoneMappingsT = Aws::Vector<AvailabilityZoneMapping>>
75 void SetAvailabilityZoneMappings(AvailabilityZoneMappingsT&& value) {
76 m_availabilityZoneMappingsHasBeenSet = true;
77 m_availabilityZoneMappings = std::forward<AvailabilityZoneMappingsT>(value);
78 }
79 template <typename AvailabilityZoneMappingsT = Aws::Vector<AvailabilityZoneMapping>>
81 SetAvailabilityZoneMappings(std::forward<AvailabilityZoneMappingsT>(value));
82 return *this;
83 }
84 template <typename AvailabilityZoneMappingsT = AvailabilityZoneMapping>
86 m_availabilityZoneMappingsHasBeenSet = true;
87 m_availabilityZoneMappings.emplace_back(std::forward<AvailabilityZoneMappingsT>(value));
88 return *this;
89 }
91
93
107 inline const Aws::String& GetUpdateToken() const { return m_updateToken; }
108 template <typename UpdateTokenT = Aws::String>
109 void SetUpdateToken(UpdateTokenT&& value) {
110 m_updateTokenHasBeenSet = true;
111 m_updateToken = std::forward<UpdateTokenT>(value);
112 }
113 template <typename UpdateTokenT = Aws::String>
115 SetUpdateToken(std::forward<UpdateTokenT>(value));
116 return *this;
117 }
119
121
122 inline const Aws::String& GetRequestId() const { return m_requestId; }
123 template <typename RequestIdT = Aws::String>
124 void SetRequestId(RequestIdT&& value) {
125 m_requestIdHasBeenSet = true;
126 m_requestId = std::forward<RequestIdT>(value);
127 }
128 template <typename RequestIdT = Aws::String>
130 SetRequestId(std::forward<RequestIdT>(value));
131 return *this;
132 }
134 inline Aws::Http::HttpResponseCode GetHttpResponseCode() const { return m_HttpResponseCode; }
135
136 private:
137 Aws::String m_firewallArn;
138
139 Aws::String m_firewallName;
140
141 Aws::Vector<AvailabilityZoneMapping> m_availabilityZoneMappings;
142
143 Aws::String m_updateToken;
144
145 Aws::String m_requestId;
146 Aws::Http::HttpResponseCode m_HttpResponseCode;
147 bool m_firewallArnHasBeenSet = false;
148 bool m_firewallNameHasBeenSet = false;
149 bool m_availabilityZoneMappingsHasBeenSet = false;
150 bool m_updateTokenHasBeenSet = false;
151 bool m_requestIdHasBeenSet = false;
152};
153
154} // namespace Model
155} // namespace NetworkFirewall
156} // namespace Aws
DisassociateAvailabilityZonesResult & WithAvailabilityZoneMappings(AvailabilityZoneMappingsT &&value)
DisassociateAvailabilityZonesResult & WithFirewallArn(FirewallArnT &&value)
DisassociateAvailabilityZonesResult & WithUpdateToken(UpdateTokenT &&value)
const Aws::Vector< AvailabilityZoneMapping > & GetAvailabilityZoneMappings() const
DisassociateAvailabilityZonesResult & WithFirewallName(FirewallNameT &&value)
DisassociateAvailabilityZonesResult & WithRequestId(RequestIdT &&value)
AWS_NETWORKFIREWALL_API DisassociateAvailabilityZonesResult()=default
DisassociateAvailabilityZonesResult & AddAvailabilityZoneMappings(AvailabilityZoneMappingsT &&value)
AWS_NETWORKFIREWALL_API DisassociateAvailabilityZonesResult(const Aws::AmazonWebServiceResult< Aws::Utils::Cbor::CborValue > &result)
AWS_NETWORKFIREWALL_API DisassociateAvailabilityZonesResult & operator=(const Aws::AmazonWebServiceResult< Aws::Utils::Cbor::CborValue > &result)
std::basic_string< char, std::char_traits< char >, Aws::Allocator< char > > String
std::vector< T, Aws::Allocator< T > > Vector