AWS SDK for C++

AWS SDK for C++ Version 1.11.944

Loading...
Searching...
No Matches
DescribeFlowOperationResult.h
1
6#pragma once
7#include <aws/core/http/HttpResponse.h>
8#include <aws/core/utils/DateTime.h>
9#include <aws/core/utils/memory/stl/AWSString.h>
10#include <aws/crt/cbor/Cbor.h>
11#include <aws/network-firewall/NetworkFirewall_EXPORTS.h>
12#include <aws/network-firewall/model/FlowOperation.h>
13#include <aws/network-firewall/model/FlowOperationStatus.h>
14#include <aws/network-firewall/model/FlowOperationType.h>
15
16#include <utility>
17namespace Aws {
18template <typename RESULT_TYPE>
19class AmazonWebServiceResult;
20
21namespace Utils {
22namespace Cbor {
23class CborValue;
24} // namespace Cbor
25} // namespace Utils
26namespace NetworkFirewall {
27namespace Model {
29 public:
30 AWS_NETWORKFIREWALL_API DescribeFlowOperationResult() = default;
33
35
38 inline const Aws::String& GetFirewallArn() const { return m_firewallArn; }
39 template <typename FirewallArnT = Aws::String>
40 void SetFirewallArn(FirewallArnT&& value) {
41 m_firewallArnHasBeenSet = true;
42 m_firewallArn = std::forward<FirewallArnT>(value);
43 }
44 template <typename FirewallArnT = Aws::String>
46 SetFirewallArn(std::forward<FirewallArnT>(value));
47 return *this;
48 }
50
52
57 inline const Aws::String& GetAvailabilityZone() const { return m_availabilityZone; }
58 template <typename AvailabilityZoneT = Aws::String>
59 void SetAvailabilityZone(AvailabilityZoneT&& value) {
60 m_availabilityZoneHasBeenSet = true;
61 m_availabilityZone = std::forward<AvailabilityZoneT>(value);
62 }
63 template <typename AvailabilityZoneT = Aws::String>
65 SetAvailabilityZone(std::forward<AvailabilityZoneT>(value));
66 return *this;
67 }
69
71
75 inline const Aws::String& GetAvailabilityZoneId() const { return m_availabilityZoneId; }
76 template <typename AvailabilityZoneIdT = Aws::String>
77 void SetAvailabilityZoneId(AvailabilityZoneIdT&& value) {
78 m_availabilityZoneIdHasBeenSet = true;
79 m_availabilityZoneId = std::forward<AvailabilityZoneIdT>(value);
80 }
81 template <typename AvailabilityZoneIdT = Aws::String>
83 SetAvailabilityZoneId(std::forward<AvailabilityZoneIdT>(value));
84 return *this;
85 }
87
89
92 inline const Aws::String& GetVpcEndpointAssociationArn() const { return m_vpcEndpointAssociationArn; }
93 template <typename VpcEndpointAssociationArnT = Aws::String>
94 void SetVpcEndpointAssociationArn(VpcEndpointAssociationArnT&& value) {
95 m_vpcEndpointAssociationArnHasBeenSet = true;
96 m_vpcEndpointAssociationArn = std::forward<VpcEndpointAssociationArnT>(value);
97 }
98 template <typename VpcEndpointAssociationArnT = Aws::String>
99 DescribeFlowOperationResult& WithVpcEndpointAssociationArn(VpcEndpointAssociationArnT&& value) {
100 SetVpcEndpointAssociationArn(std::forward<VpcEndpointAssociationArnT>(value));
101 return *this;
102 }
104
106
109 inline const Aws::String& GetVpcEndpointId() const { return m_vpcEndpointId; }
110 template <typename VpcEndpointIdT = Aws::String>
111 void SetVpcEndpointId(VpcEndpointIdT&& value) {
112 m_vpcEndpointIdHasBeenSet = true;
113 m_vpcEndpointId = std::forward<VpcEndpointIdT>(value);
114 }
115 template <typename VpcEndpointIdT = Aws::String>
117 SetVpcEndpointId(std::forward<VpcEndpointIdT>(value));
118 return *this;
119 }
121
123
127 inline const Aws::String& GetFlowOperationId() const { return m_flowOperationId; }
128 template <typename FlowOperationIdT = Aws::String>
129 void SetFlowOperationId(FlowOperationIdT&& value) {
130 m_flowOperationIdHasBeenSet = true;
131 m_flowOperationId = std::forward<FlowOperationIdT>(value);
132 }
133 template <typename FlowOperationIdT = Aws::String>
135 SetFlowOperationId(std::forward<FlowOperationIdT>(value));
136 return *this;
137 }
139
141
144 inline FlowOperationType GetFlowOperationType() const { return m_flowOperationType; }
146 m_flowOperationTypeHasBeenSet = true;
147 m_flowOperationType = value;
148 }
154
156
163 inline FlowOperationStatus GetFlowOperationStatus() const { return m_flowOperationStatus; }
165 m_flowOperationStatusHasBeenSet = true;
166 m_flowOperationStatus = value;
167 }
173
175
180 inline const Aws::String& GetStatusMessage() const { return m_statusMessage; }
181 template <typename StatusMessageT = Aws::String>
182 void SetStatusMessage(StatusMessageT&& value) {
183 m_statusMessageHasBeenSet = true;
184 m_statusMessage = std::forward<StatusMessageT>(value);
185 }
186 template <typename StatusMessageT = Aws::String>
188 SetStatusMessage(std::forward<StatusMessageT>(value));
189 return *this;
190 }
192
194
198 inline const Aws::Utils::DateTime& GetFlowRequestTimestamp() const { return m_flowRequestTimestamp; }
199 template <typename FlowRequestTimestampT = Aws::Utils::DateTime>
200 void SetFlowRequestTimestamp(FlowRequestTimestampT&& value) {
201 m_flowRequestTimestampHasBeenSet = true;
202 m_flowRequestTimestamp = std::forward<FlowRequestTimestampT>(value);
203 }
204 template <typename FlowRequestTimestampT = Aws::Utils::DateTime>
206 SetFlowRequestTimestamp(std::forward<FlowRequestTimestampT>(value));
207 return *this;
208 }
210
212
216 inline const FlowOperation& GetFlowOperation() const { return m_flowOperation; }
217 template <typename FlowOperationT = FlowOperation>
218 void SetFlowOperation(FlowOperationT&& value) {
219 m_flowOperationHasBeenSet = true;
220 m_flowOperation = std::forward<FlowOperationT>(value);
221 }
222 template <typename FlowOperationT = FlowOperation>
224 SetFlowOperation(std::forward<FlowOperationT>(value));
225 return *this;
226 }
228
230
231 inline const Aws::String& GetRequestId() const { return m_requestId; }
232 template <typename RequestIdT = Aws::String>
233 void SetRequestId(RequestIdT&& value) {
234 m_requestIdHasBeenSet = true;
235 m_requestId = std::forward<RequestIdT>(value);
236 }
237 template <typename RequestIdT = Aws::String>
239 SetRequestId(std::forward<RequestIdT>(value));
240 return *this;
241 }
243 inline Aws::Http::HttpResponseCode GetHttpResponseCode() const { return m_HttpResponseCode; }
244
245 private:
246 Aws::String m_firewallArn;
247
248 Aws::String m_availabilityZone;
249
250 Aws::String m_availabilityZoneId;
251
252 Aws::String m_vpcEndpointAssociationArn;
253
254 Aws::String m_vpcEndpointId;
255
256 Aws::String m_flowOperationId;
257
259
261
262 Aws::String m_statusMessage;
263
264 Aws::Utils::DateTime m_flowRequestTimestamp{};
265
266 FlowOperation m_flowOperation;
267
268 Aws::String m_requestId;
269 Aws::Http::HttpResponseCode m_HttpResponseCode;
270 bool m_firewallArnHasBeenSet = false;
271 bool m_availabilityZoneHasBeenSet = false;
272 bool m_availabilityZoneIdHasBeenSet = false;
273 bool m_vpcEndpointAssociationArnHasBeenSet = false;
274 bool m_vpcEndpointIdHasBeenSet = false;
275 bool m_flowOperationIdHasBeenSet = false;
276 bool m_flowOperationTypeHasBeenSet = false;
277 bool m_flowOperationStatusHasBeenSet = false;
278 bool m_statusMessageHasBeenSet = false;
279 bool m_flowRequestTimestampHasBeenSet = false;
280 bool m_flowOperationHasBeenSet = false;
281 bool m_requestIdHasBeenSet = false;
282};
283
284} // namespace Model
285} // namespace NetworkFirewall
286} // namespace Aws
DescribeFlowOperationResult & WithFirewallArn(FirewallArnT &&value)
DescribeFlowOperationResult & WithVpcEndpointAssociationArn(VpcEndpointAssociationArnT &&value)
DescribeFlowOperationResult & WithVpcEndpointId(VpcEndpointIdT &&value)
DescribeFlowOperationResult & WithRequestId(RequestIdT &&value)
DescribeFlowOperationResult & WithStatusMessage(StatusMessageT &&value)
void SetVpcEndpointAssociationArn(VpcEndpointAssociationArnT &&value)
AWS_NETWORKFIREWALL_API DescribeFlowOperationResult(const Aws::AmazonWebServiceResult< Aws::Utils::Cbor::CborValue > &result)
DescribeFlowOperationResult & WithFlowOperation(FlowOperationT &&value)
DescribeFlowOperationResult & WithAvailabilityZone(AvailabilityZoneT &&value)
AWS_NETWORKFIREWALL_API DescribeFlowOperationResult & operator=(const Aws::AmazonWebServiceResult< Aws::Utils::Cbor::CborValue > &result)
DescribeFlowOperationResult & WithFlowOperationStatus(FlowOperationStatus value)
DescribeFlowOperationResult & WithFlowOperationId(FlowOperationIdT &&value)
DescribeFlowOperationResult & WithAvailabilityZoneId(AvailabilityZoneIdT &&value)
DescribeFlowOperationResult & WithFlowRequestTimestamp(FlowRequestTimestampT &&value)
AWS_NETWORKFIREWALL_API DescribeFlowOperationResult()=default
DescribeFlowOperationResult & WithFlowOperationType(FlowOperationType value)
std::basic_string< char, std::char_traits< char >, Aws::Allocator< char > > String