AWS SDK for C++

AWS SDK for C++ Version 1.11.607

Loading...
Searching...
No Matches
StartFlowCaptureResult.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/FlowOperationStatus.h>
10#include <utility>
11
12namespace Aws
13{
14template<typename RESULT_TYPE>
15class AmazonWebServiceResult;
16
17namespace Utils
18{
19namespace Json
20{
21 class JsonValue;
22} // namespace Json
23} // namespace Utils
24namespace NetworkFirewall
25{
26namespace Model
27{
29 {
30 public:
31 AWS_NETWORKFIREWALL_API StartFlowCaptureResult() = default;
34
35
37
40 inline const Aws::String& GetFirewallArn() const { return m_firewallArn; }
41 template<typename FirewallArnT = Aws::String>
42 void SetFirewallArn(FirewallArnT&& value) { m_firewallArnHasBeenSet = true; m_firewallArn = std::forward<FirewallArnT>(value); }
43 template<typename FirewallArnT = Aws::String>
44 StartFlowCaptureResult& WithFirewallArn(FirewallArnT&& value) { SetFirewallArn(std::forward<FirewallArnT>(value)); return *this;}
46
48
52 inline const Aws::String& GetFlowOperationId() const { return m_flowOperationId; }
53 template<typename FlowOperationIdT = Aws::String>
54 void SetFlowOperationId(FlowOperationIdT&& value) { m_flowOperationIdHasBeenSet = true; m_flowOperationId = std::forward<FlowOperationIdT>(value); }
55 template<typename FlowOperationIdT = Aws::String>
56 StartFlowCaptureResult& WithFlowOperationId(FlowOperationIdT&& value) { SetFlowOperationId(std::forward<FlowOperationIdT>(value)); return *this;}
58
60
67 inline FlowOperationStatus GetFlowOperationStatus() const { return m_flowOperationStatus; }
68 inline void SetFlowOperationStatus(FlowOperationStatus value) { m_flowOperationStatusHasBeenSet = true; m_flowOperationStatus = value; }
71
73
74 inline const Aws::String& GetRequestId() const { return m_requestId; }
75 template<typename RequestIdT = Aws::String>
76 void SetRequestId(RequestIdT&& value) { m_requestIdHasBeenSet = true; m_requestId = std::forward<RequestIdT>(value); }
77 template<typename RequestIdT = Aws::String>
78 StartFlowCaptureResult& WithRequestId(RequestIdT&& value) { SetRequestId(std::forward<RequestIdT>(value)); return *this;}
80 private:
81
82 Aws::String m_firewallArn;
83 bool m_firewallArnHasBeenSet = false;
84
85 Aws::String m_flowOperationId;
86 bool m_flowOperationIdHasBeenSet = false;
87
89 bool m_flowOperationStatusHasBeenSet = false;
90
91 Aws::String m_requestId;
92 bool m_requestIdHasBeenSet = false;
93 };
94
95} // namespace Model
96} // namespace NetworkFirewall
97} // namespace Aws
StartFlowCaptureResult & WithFlowOperationStatus(FlowOperationStatus value)
StartFlowCaptureResult & WithFlowOperationId(FlowOperationIdT &&value)
StartFlowCaptureResult & WithFirewallArn(FirewallArnT &&value)
AWS_NETWORKFIREWALL_API StartFlowCaptureResult()=default
StartFlowCaptureResult & WithRequestId(RequestIdT &&value)
AWS_NETWORKFIREWALL_API StartFlowCaptureResult(const Aws::AmazonWebServiceResult< Aws::Utils::Json::JsonValue > &result)
AWS_NETWORKFIREWALL_API StartFlowCaptureResult & operator=(const Aws::AmazonWebServiceResult< Aws::Utils::Json::JsonValue > &result)
std::basic_string< char, std::char_traits< char >, Aws::Allocator< char > > String
Aws::Utils::Json::JsonValue JsonValue