AWS SDK for C++

AWS SDK for C++ Version 1.11.944

Loading...
Searching...
No Matches
AssociateAvailabilityZonesResult.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 AssociateAvailabilityZonesResult() = 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
74 inline const Aws::Vector<AvailabilityZoneMapping>& GetAvailabilityZoneMappings() const { return m_availabilityZoneMappings; }
75 template <typename AvailabilityZoneMappingsT = Aws::Vector<AvailabilityZoneMapping>>
76 void SetAvailabilityZoneMappings(AvailabilityZoneMappingsT&& value) {
77 m_availabilityZoneMappingsHasBeenSet = true;
78 m_availabilityZoneMappings = std::forward<AvailabilityZoneMappingsT>(value);
79 }
80 template <typename AvailabilityZoneMappingsT = Aws::Vector<AvailabilityZoneMapping>>
82 SetAvailabilityZoneMappings(std::forward<AvailabilityZoneMappingsT>(value));
83 return *this;
84 }
85 template <typename AvailabilityZoneMappingsT = AvailabilityZoneMapping>
87 m_availabilityZoneMappingsHasBeenSet = true;
88 m_availabilityZoneMappings.emplace_back(std::forward<AvailabilityZoneMappingsT>(value));
89 return *this;
90 }
92
94
108 inline const Aws::String& GetUpdateToken() const { return m_updateToken; }
109 template <typename UpdateTokenT = Aws::String>
110 void SetUpdateToken(UpdateTokenT&& value) {
111 m_updateTokenHasBeenSet = true;
112 m_updateToken = std::forward<UpdateTokenT>(value);
113 }
114 template <typename UpdateTokenT = Aws::String>
116 SetUpdateToken(std::forward<UpdateTokenT>(value));
117 return *this;
118 }
120
122
123 inline const Aws::String& GetRequestId() const { return m_requestId; }
124 template <typename RequestIdT = Aws::String>
125 void SetRequestId(RequestIdT&& value) {
126 m_requestIdHasBeenSet = true;
127 m_requestId = std::forward<RequestIdT>(value);
128 }
129 template <typename RequestIdT = Aws::String>
131 SetRequestId(std::forward<RequestIdT>(value));
132 return *this;
133 }
135 inline Aws::Http::HttpResponseCode GetHttpResponseCode() const { return m_HttpResponseCode; }
136
137 private:
138 Aws::String m_firewallArn;
139
140 Aws::String m_firewallName;
141
142 Aws::Vector<AvailabilityZoneMapping> m_availabilityZoneMappings;
143
144 Aws::String m_updateToken;
145
146 Aws::String m_requestId;
147 Aws::Http::HttpResponseCode m_HttpResponseCode;
148 bool m_firewallArnHasBeenSet = false;
149 bool m_firewallNameHasBeenSet = false;
150 bool m_availabilityZoneMappingsHasBeenSet = false;
151 bool m_updateTokenHasBeenSet = false;
152 bool m_requestIdHasBeenSet = false;
153};
154
155} // namespace Model
156} // namespace NetworkFirewall
157} // namespace Aws
AWS_NETWORKFIREWALL_API AssociateAvailabilityZonesResult & operator=(const Aws::AmazonWebServiceResult< Aws::Utils::Cbor::CborValue > &result)
AssociateAvailabilityZonesResult & AddAvailabilityZoneMappings(AvailabilityZoneMappingsT &&value)
const Aws::Vector< AvailabilityZoneMapping > & GetAvailabilityZoneMappings() const
AssociateAvailabilityZonesResult & WithUpdateToken(UpdateTokenT &&value)
AWS_NETWORKFIREWALL_API AssociateAvailabilityZonesResult()=default
AssociateAvailabilityZonesResult & WithFirewallArn(FirewallArnT &&value)
AWS_NETWORKFIREWALL_API AssociateAvailabilityZonesResult(const Aws::AmazonWebServiceResult< Aws::Utils::Cbor::CborValue > &result)
AssociateAvailabilityZonesResult & WithFirewallName(FirewallNameT &&value)
AssociateAvailabilityZonesResult & WithRequestId(RequestIdT &&value)
AssociateAvailabilityZonesResult & WithAvailabilityZoneMappings(AvailabilityZoneMappingsT &&value)
std::basic_string< char, std::char_traits< char >, Aws::Allocator< char > > String
std::vector< T, Aws::Allocator< T > > Vector