AWS SDK for C++

AWS SDK for C++ Version 1.11.607

Loading...
Searching...
No Matches
DescribeFlowOperationResult.h
1
6#pragma once
7#include <aws/network-firewall/NetworkFirewall_EXPORTS.h>
8#include <aws/core/utils/memory/stl/AWSString.h>
9#include <aws/network-firewall/model/FlowOperationType.h>
10#include <aws/network-firewall/model/FlowOperationStatus.h>
11#include <aws/core/utils/DateTime.h>
12#include <aws/network-firewall/model/FlowOperation.h>
13#include <utility>
14
15namespace Aws
16{
17template<typename RESULT_TYPE>
18class AmazonWebServiceResult;
19
20namespace Utils
21{
22namespace Json
23{
24 class JsonValue;
25} // namespace Json
26} // namespace Utils
27namespace NetworkFirewall
28{
29namespace Model
30{
32 {
33 public:
34 AWS_NETWORKFIREWALL_API DescribeFlowOperationResult() = default;
37
38
40
43 inline const Aws::String& GetFirewallArn() const { return m_firewallArn; }
44 template<typename FirewallArnT = Aws::String>
45 void SetFirewallArn(FirewallArnT&& value) { m_firewallArnHasBeenSet = true; m_firewallArn = std::forward<FirewallArnT>(value); }
46 template<typename FirewallArnT = Aws::String>
47 DescribeFlowOperationResult& WithFirewallArn(FirewallArnT&& value) { SetFirewallArn(std::forward<FirewallArnT>(value)); return *this;}
49
51
56 inline const Aws::String& GetAvailabilityZone() const { return m_availabilityZone; }
57 template<typename AvailabilityZoneT = Aws::String>
58 void SetAvailabilityZone(AvailabilityZoneT&& value) { m_availabilityZoneHasBeenSet = true; m_availabilityZone = std::forward<AvailabilityZoneT>(value); }
59 template<typename AvailabilityZoneT = Aws::String>
60 DescribeFlowOperationResult& WithAvailabilityZone(AvailabilityZoneT&& value) { SetAvailabilityZone(std::forward<AvailabilityZoneT>(value)); return *this;}
62
64
67 inline const Aws::String& GetVpcEndpointAssociationArn() const { return m_vpcEndpointAssociationArn; }
68 template<typename VpcEndpointAssociationArnT = Aws::String>
69 void SetVpcEndpointAssociationArn(VpcEndpointAssociationArnT&& value) { m_vpcEndpointAssociationArnHasBeenSet = true; m_vpcEndpointAssociationArn = std::forward<VpcEndpointAssociationArnT>(value); }
70 template<typename VpcEndpointAssociationArnT = Aws::String>
71 DescribeFlowOperationResult& WithVpcEndpointAssociationArn(VpcEndpointAssociationArnT&& value) { SetVpcEndpointAssociationArn(std::forward<VpcEndpointAssociationArnT>(value)); return *this;}
73
75
78 inline const Aws::String& GetVpcEndpointId() const { return m_vpcEndpointId; }
79 template<typename VpcEndpointIdT = Aws::String>
80 void SetVpcEndpointId(VpcEndpointIdT&& value) { m_vpcEndpointIdHasBeenSet = true; m_vpcEndpointId = std::forward<VpcEndpointIdT>(value); }
81 template<typename VpcEndpointIdT = Aws::String>
82 DescribeFlowOperationResult& WithVpcEndpointId(VpcEndpointIdT&& value) { SetVpcEndpointId(std::forward<VpcEndpointIdT>(value)); return *this;}
84
86
90 inline const Aws::String& GetFlowOperationId() const { return m_flowOperationId; }
91 template<typename FlowOperationIdT = Aws::String>
92 void SetFlowOperationId(FlowOperationIdT&& value) { m_flowOperationIdHasBeenSet = true; m_flowOperationId = std::forward<FlowOperationIdT>(value); }
93 template<typename FlowOperationIdT = Aws::String>
94 DescribeFlowOperationResult& WithFlowOperationId(FlowOperationIdT&& value) { SetFlowOperationId(std::forward<FlowOperationIdT>(value)); return *this;}
96
98
101 inline FlowOperationType GetFlowOperationType() const { return m_flowOperationType; }
102 inline void SetFlowOperationType(FlowOperationType value) { m_flowOperationTypeHasBeenSet = true; m_flowOperationType = value; }
105
107
114 inline FlowOperationStatus GetFlowOperationStatus() const { return m_flowOperationStatus; }
115 inline void SetFlowOperationStatus(FlowOperationStatus value) { m_flowOperationStatusHasBeenSet = true; m_flowOperationStatus = value; }
118
120
125 inline const Aws::String& GetStatusMessage() const { return m_statusMessage; }
126 template<typename StatusMessageT = Aws::String>
127 void SetStatusMessage(StatusMessageT&& value) { m_statusMessageHasBeenSet = true; m_statusMessage = std::forward<StatusMessageT>(value); }
128 template<typename StatusMessageT = Aws::String>
129 DescribeFlowOperationResult& WithStatusMessage(StatusMessageT&& value) { SetStatusMessage(std::forward<StatusMessageT>(value)); return *this;}
131
133
137 inline const Aws::Utils::DateTime& GetFlowRequestTimestamp() const { return m_flowRequestTimestamp; }
138 template<typename FlowRequestTimestampT = Aws::Utils::DateTime>
139 void SetFlowRequestTimestamp(FlowRequestTimestampT&& value) { m_flowRequestTimestampHasBeenSet = true; m_flowRequestTimestamp = std::forward<FlowRequestTimestampT>(value); }
140 template<typename FlowRequestTimestampT = Aws::Utils::DateTime>
141 DescribeFlowOperationResult& WithFlowRequestTimestamp(FlowRequestTimestampT&& value) { SetFlowRequestTimestamp(std::forward<FlowRequestTimestampT>(value)); return *this;}
143
145
149 inline const FlowOperation& GetFlowOperation() const { return m_flowOperation; }
150 template<typename FlowOperationT = FlowOperation>
151 void SetFlowOperation(FlowOperationT&& value) { m_flowOperationHasBeenSet = true; m_flowOperation = std::forward<FlowOperationT>(value); }
152 template<typename FlowOperationT = FlowOperation>
153 DescribeFlowOperationResult& WithFlowOperation(FlowOperationT&& value) { SetFlowOperation(std::forward<FlowOperationT>(value)); return *this;}
155
157
158 inline const Aws::String& GetRequestId() const { return m_requestId; }
159 template<typename RequestIdT = Aws::String>
160 void SetRequestId(RequestIdT&& value) { m_requestIdHasBeenSet = true; m_requestId = std::forward<RequestIdT>(value); }
161 template<typename RequestIdT = Aws::String>
162 DescribeFlowOperationResult& WithRequestId(RequestIdT&& value) { SetRequestId(std::forward<RequestIdT>(value)); return *this;}
164 private:
165
166 Aws::String m_firewallArn;
167 bool m_firewallArnHasBeenSet = false;
168
169 Aws::String m_availabilityZone;
170 bool m_availabilityZoneHasBeenSet = false;
171
172 Aws::String m_vpcEndpointAssociationArn;
173 bool m_vpcEndpointAssociationArnHasBeenSet = false;
174
175 Aws::String m_vpcEndpointId;
176 bool m_vpcEndpointIdHasBeenSet = false;
177
178 Aws::String m_flowOperationId;
179 bool m_flowOperationIdHasBeenSet = false;
180
182 bool m_flowOperationTypeHasBeenSet = false;
183
185 bool m_flowOperationStatusHasBeenSet = false;
186
187 Aws::String m_statusMessage;
188 bool m_statusMessageHasBeenSet = false;
189
190 Aws::Utils::DateTime m_flowRequestTimestamp{};
191 bool m_flowRequestTimestampHasBeenSet = false;
192
193 FlowOperation m_flowOperation;
194 bool m_flowOperationHasBeenSet = false;
195
196 Aws::String m_requestId;
197 bool m_requestIdHasBeenSet = false;
198 };
199
200} // namespace Model
201} // namespace NetworkFirewall
202} // 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)
DescribeFlowOperationResult & WithFlowOperation(FlowOperationT &&value)
DescribeFlowOperationResult & WithAvailabilityZone(AvailabilityZoneT &&value)
DescribeFlowOperationResult & WithFlowOperationStatus(FlowOperationStatus value)
AWS_NETWORKFIREWALL_API DescribeFlowOperationResult(const Aws::AmazonWebServiceResult< Aws::Utils::Json::JsonValue > &result)
DescribeFlowOperationResult & WithFlowOperationId(FlowOperationIdT &&value)
AWS_NETWORKFIREWALL_API DescribeFlowOperationResult & operator=(const Aws::AmazonWebServiceResult< Aws::Utils::Json::JsonValue > &result)
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
Aws::Utils::Json::JsonValue JsonValue