AWS SDK for C++

AWS SDK for C++ Version 1.11.607

Loading...
Searching...
No Matches
StartFlowFlushRequest.h
1
6#pragma once
7#include <aws/network-firewall/NetworkFirewall_EXPORTS.h>
8#include <aws/network-firewall/NetworkFirewallRequest.h>
9#include <aws/core/utils/memory/stl/AWSString.h>
10#include <aws/core/utils/memory/stl/AWSVector.h>
11#include <aws/network-firewall/model/FlowFilter.h>
12#include <utility>
13
14namespace Aws
15{
16namespace NetworkFirewall
17{
18namespace Model
19{
20
24 {
25 public:
26 AWS_NETWORKFIREWALL_API StartFlowFlushRequest() = default;
27
28 // Service request name is the Operation name which will send this request out,
29 // each operation should has unique request name, so that we can get operation's name from this request.
30 // Note: this is not true for response, multiple operations may have the same response name,
31 // so we can not get operation's name from response.
32 inline virtual const char* GetServiceRequestName() const override { return "StartFlowFlush"; }
33
34 AWS_NETWORKFIREWALL_API Aws::String SerializePayload() const override;
35
36 AWS_NETWORKFIREWALL_API Aws::Http::HeaderValueCollection GetRequestSpecificHeaders() const override;
37
38
40
43 inline const Aws::String& GetFirewallArn() const { return m_firewallArn; }
44 inline bool FirewallArnHasBeenSet() const { return m_firewallArnHasBeenSet; }
45 template<typename FirewallArnT = Aws::String>
46 void SetFirewallArn(FirewallArnT&& value) { m_firewallArnHasBeenSet = true; m_firewallArn = std::forward<FirewallArnT>(value); }
47 template<typename FirewallArnT = Aws::String>
48 StartFlowFlushRequest& WithFirewallArn(FirewallArnT&& value) { SetFirewallArn(std::forward<FirewallArnT>(value)); return *this;}
50
52
57 inline const Aws::String& GetAvailabilityZone() const { return m_availabilityZone; }
58 inline bool AvailabilityZoneHasBeenSet() const { return m_availabilityZoneHasBeenSet; }
59 template<typename AvailabilityZoneT = Aws::String>
60 void SetAvailabilityZone(AvailabilityZoneT&& value) { m_availabilityZoneHasBeenSet = true; m_availabilityZone = std::forward<AvailabilityZoneT>(value); }
61 template<typename AvailabilityZoneT = Aws::String>
62 StartFlowFlushRequest& WithAvailabilityZone(AvailabilityZoneT&& value) { SetAvailabilityZone(std::forward<AvailabilityZoneT>(value)); return *this;}
64
66
69 inline const Aws::String& GetVpcEndpointAssociationArn() const { return m_vpcEndpointAssociationArn; }
70 inline bool VpcEndpointAssociationArnHasBeenSet() const { return m_vpcEndpointAssociationArnHasBeenSet; }
71 template<typename VpcEndpointAssociationArnT = Aws::String>
72 void SetVpcEndpointAssociationArn(VpcEndpointAssociationArnT&& value) { m_vpcEndpointAssociationArnHasBeenSet = true; m_vpcEndpointAssociationArn = std::forward<VpcEndpointAssociationArnT>(value); }
73 template<typename VpcEndpointAssociationArnT = Aws::String>
74 StartFlowFlushRequest& WithVpcEndpointAssociationArn(VpcEndpointAssociationArnT&& value) { SetVpcEndpointAssociationArn(std::forward<VpcEndpointAssociationArnT>(value)); return *this;}
76
78
81 inline const Aws::String& GetVpcEndpointId() const { return m_vpcEndpointId; }
82 inline bool VpcEndpointIdHasBeenSet() const { return m_vpcEndpointIdHasBeenSet; }
83 template<typename VpcEndpointIdT = Aws::String>
84 void SetVpcEndpointId(VpcEndpointIdT&& value) { m_vpcEndpointIdHasBeenSet = true; m_vpcEndpointId = std::forward<VpcEndpointIdT>(value); }
85 template<typename VpcEndpointIdT = Aws::String>
86 StartFlowFlushRequest& WithVpcEndpointId(VpcEndpointIdT&& value) { SetVpcEndpointId(std::forward<VpcEndpointIdT>(value)); return *this;}
88
90
95 inline int GetMinimumFlowAgeInSeconds() const { return m_minimumFlowAgeInSeconds; }
96 inline bool MinimumFlowAgeInSecondsHasBeenSet() const { return m_minimumFlowAgeInSecondsHasBeenSet; }
97 inline void SetMinimumFlowAgeInSeconds(int value) { m_minimumFlowAgeInSecondsHasBeenSet = true; m_minimumFlowAgeInSeconds = value; }
100
102
106 inline const Aws::Vector<FlowFilter>& GetFlowFilters() const { return m_flowFilters; }
107 inline bool FlowFiltersHasBeenSet() const { return m_flowFiltersHasBeenSet; }
108 template<typename FlowFiltersT = Aws::Vector<FlowFilter>>
109 void SetFlowFilters(FlowFiltersT&& value) { m_flowFiltersHasBeenSet = true; m_flowFilters = std::forward<FlowFiltersT>(value); }
110 template<typename FlowFiltersT = Aws::Vector<FlowFilter>>
111 StartFlowFlushRequest& WithFlowFilters(FlowFiltersT&& value) { SetFlowFilters(std::forward<FlowFiltersT>(value)); return *this;}
112 template<typename FlowFiltersT = FlowFilter>
113 StartFlowFlushRequest& AddFlowFilters(FlowFiltersT&& value) { m_flowFiltersHasBeenSet = true; m_flowFilters.emplace_back(std::forward<FlowFiltersT>(value)); return *this; }
115 private:
116
117 Aws::String m_firewallArn;
118 bool m_firewallArnHasBeenSet = false;
119
120 Aws::String m_availabilityZone;
121 bool m_availabilityZoneHasBeenSet = false;
122
123 Aws::String m_vpcEndpointAssociationArn;
124 bool m_vpcEndpointAssociationArnHasBeenSet = false;
125
126 Aws::String m_vpcEndpointId;
127 bool m_vpcEndpointIdHasBeenSet = false;
128
129 int m_minimumFlowAgeInSeconds{0};
130 bool m_minimumFlowAgeInSecondsHasBeenSet = false;
131
132 Aws::Vector<FlowFilter> m_flowFilters;
133 bool m_flowFiltersHasBeenSet = false;
134 };
135
136} // namespace Model
137} // namespace NetworkFirewall
138} // namespace Aws
void SetVpcEndpointAssociationArn(VpcEndpointAssociationArnT &&value)
AWS_NETWORKFIREWALL_API StartFlowFlushRequest()=default
StartFlowFlushRequest & WithFlowFilters(FlowFiltersT &&value)
AWS_NETWORKFIREWALL_API Aws::Http::HeaderValueCollection GetRequestSpecificHeaders() const override
StartFlowFlushRequest & WithVpcEndpointAssociationArn(VpcEndpointAssociationArnT &&value)
StartFlowFlushRequest & WithMinimumFlowAgeInSeconds(int value)
StartFlowFlushRequest & AddFlowFilters(FlowFiltersT &&value)
virtual const char * GetServiceRequestName() const override
StartFlowFlushRequest & WithAvailabilityZone(AvailabilityZoneT &&value)
StartFlowFlushRequest & WithFirewallArn(FirewallArnT &&value)
StartFlowFlushRequest & WithVpcEndpointId(VpcEndpointIdT &&value)
const Aws::Vector< FlowFilter > & GetFlowFilters() const
AWS_NETWORKFIREWALL_API Aws::String SerializePayload() const override
Aws::Map< Aws::String, Aws::String > HeaderValueCollection
std::basic_string< char, std::char_traits< char >, Aws::Allocator< char > > String
std::vector< T, Aws::Allocator< T > > Vector