AWS SDK for C++

AWS SDK for C++ Version 1.11.440

Loading...
Searching...
No Matches
Explanation.h
1
6#pragma once
7#include <aws/ec2/EC2_EXPORTS.h>
8#include <aws/core/utils/memory/stl/AWSStreamFwd.h>
9#include <aws/ec2/model/AnalysisComponent.h>
10#include <aws/ec2/model/AnalysisAclRule.h>
11#include <aws/core/utils/memory/stl/AWSString.h>
12#include <aws/core/utils/memory/stl/AWSVector.h>
13#include <aws/ec2/model/AnalysisLoadBalancerListener.h>
14#include <aws/ec2/model/AnalysisLoadBalancerTarget.h>
15#include <aws/ec2/model/AnalysisRouteTableRoute.h>
16#include <aws/ec2/model/AnalysisSecurityGroupRule.h>
17#include <aws/ec2/model/TransitGatewayRouteTableRoute.h>
18#include <aws/ec2/model/FirewallStatelessRule.h>
19#include <aws/ec2/model/FirewallStatefulRule.h>
20#include <aws/ec2/model/PortRange.h>
21#include <utility>
22
23namespace Aws
24{
25namespace Utils
26{
27namespace Xml
28{
29 class XmlNode;
30} // namespace Xml
31} // namespace Utils
32namespace EC2
33{
34namespace Model
35{
36
46 {
47 public:
48 AWS_EC2_API Explanation();
49 AWS_EC2_API Explanation(const Aws::Utils::Xml::XmlNode& xmlNode);
50 AWS_EC2_API Explanation& operator=(const Aws::Utils::Xml::XmlNode& xmlNode);
51
52 AWS_EC2_API void OutputToStream(Aws::OStream& ostream, const char* location, unsigned index, const char* locationValue) const;
53 AWS_EC2_API void OutputToStream(Aws::OStream& oStream, const char* location) const;
54
55
57
60 inline const AnalysisComponent& GetAcl() const{ return m_acl; }
61 inline bool AclHasBeenSet() const { return m_aclHasBeenSet; }
62 inline void SetAcl(const AnalysisComponent& value) { m_aclHasBeenSet = true; m_acl = value; }
63 inline void SetAcl(AnalysisComponent&& value) { m_aclHasBeenSet = true; m_acl = std::move(value); }
64 inline Explanation& WithAcl(const AnalysisComponent& value) { SetAcl(value); return *this;}
65 inline Explanation& WithAcl(AnalysisComponent&& value) { SetAcl(std::move(value)); return *this;}
67
69
72 inline const AnalysisAclRule& GetAclRule() const{ return m_aclRule; }
73 inline bool AclRuleHasBeenSet() const { return m_aclRuleHasBeenSet; }
74 inline void SetAclRule(const AnalysisAclRule& value) { m_aclRuleHasBeenSet = true; m_aclRule = value; }
75 inline void SetAclRule(AnalysisAclRule&& value) { m_aclRuleHasBeenSet = true; m_aclRule = std::move(value); }
76 inline Explanation& WithAclRule(const AnalysisAclRule& value) { SetAclRule(value); return *this;}
77 inline Explanation& WithAclRule(AnalysisAclRule&& value) { SetAclRule(std::move(value)); return *this;}
79
81
84 inline const Aws::String& GetAddress() const{ return m_address; }
85 inline bool AddressHasBeenSet() const { return m_addressHasBeenSet; }
86 inline void SetAddress(const Aws::String& value) { m_addressHasBeenSet = true; m_address = value; }
87 inline void SetAddress(Aws::String&& value) { m_addressHasBeenSet = true; m_address = std::move(value); }
88 inline void SetAddress(const char* value) { m_addressHasBeenSet = true; m_address.assign(value); }
89 inline Explanation& WithAddress(const Aws::String& value) { SetAddress(value); return *this;}
90 inline Explanation& WithAddress(Aws::String&& value) { SetAddress(std::move(value)); return *this;}
91 inline Explanation& WithAddress(const char* value) { SetAddress(value); return *this;}
93
95
98 inline const Aws::Vector<Aws::String>& GetAddresses() const{ return m_addresses; }
99 inline bool AddressesHasBeenSet() const { return m_addressesHasBeenSet; }
100 inline void SetAddresses(const Aws::Vector<Aws::String>& value) { m_addressesHasBeenSet = true; m_addresses = value; }
101 inline void SetAddresses(Aws::Vector<Aws::String>&& value) { m_addressesHasBeenSet = true; m_addresses = std::move(value); }
102 inline Explanation& WithAddresses(const Aws::Vector<Aws::String>& value) { SetAddresses(value); return *this;}
103 inline Explanation& WithAddresses(Aws::Vector<Aws::String>&& value) { SetAddresses(std::move(value)); return *this;}
104 inline Explanation& AddAddresses(const Aws::String& value) { m_addressesHasBeenSet = true; m_addresses.push_back(value); return *this; }
105 inline Explanation& AddAddresses(Aws::String&& value) { m_addressesHasBeenSet = true; m_addresses.push_back(std::move(value)); return *this; }
106 inline Explanation& AddAddresses(const char* value) { m_addressesHasBeenSet = true; m_addresses.push_back(value); return *this; }
108
110
113 inline const AnalysisComponent& GetAttachedTo() const{ return m_attachedTo; }
114 inline bool AttachedToHasBeenSet() const { return m_attachedToHasBeenSet; }
115 inline void SetAttachedTo(const AnalysisComponent& value) { m_attachedToHasBeenSet = true; m_attachedTo = value; }
116 inline void SetAttachedTo(AnalysisComponent&& value) { m_attachedToHasBeenSet = true; m_attachedTo = std::move(value); }
117 inline Explanation& WithAttachedTo(const AnalysisComponent& value) { SetAttachedTo(value); return *this;}
118 inline Explanation& WithAttachedTo(AnalysisComponent&& value) { SetAttachedTo(std::move(value)); return *this;}
120
122
125 inline const Aws::Vector<Aws::String>& GetAvailabilityZones() const{ return m_availabilityZones; }
126 inline bool AvailabilityZonesHasBeenSet() const { return m_availabilityZonesHasBeenSet; }
127 inline void SetAvailabilityZones(const Aws::Vector<Aws::String>& value) { m_availabilityZonesHasBeenSet = true; m_availabilityZones = value; }
128 inline void SetAvailabilityZones(Aws::Vector<Aws::String>&& value) { m_availabilityZonesHasBeenSet = true; m_availabilityZones = std::move(value); }
130 inline Explanation& WithAvailabilityZones(Aws::Vector<Aws::String>&& value) { SetAvailabilityZones(std::move(value)); return *this;}
131 inline Explanation& AddAvailabilityZones(const Aws::String& value) { m_availabilityZonesHasBeenSet = true; m_availabilityZones.push_back(value); return *this; }
132 inline Explanation& AddAvailabilityZones(Aws::String&& value) { m_availabilityZonesHasBeenSet = true; m_availabilityZones.push_back(std::move(value)); return *this; }
133 inline Explanation& AddAvailabilityZones(const char* value) { m_availabilityZonesHasBeenSet = true; m_availabilityZones.push_back(value); return *this; }
135
137
140 inline const Aws::Vector<Aws::String>& GetCidrs() const{ return m_cidrs; }
141 inline bool CidrsHasBeenSet() const { return m_cidrsHasBeenSet; }
142 inline void SetCidrs(const Aws::Vector<Aws::String>& value) { m_cidrsHasBeenSet = true; m_cidrs = value; }
143 inline void SetCidrs(Aws::Vector<Aws::String>&& value) { m_cidrsHasBeenSet = true; m_cidrs = std::move(value); }
144 inline Explanation& WithCidrs(const Aws::Vector<Aws::String>& value) { SetCidrs(value); return *this;}
145 inline Explanation& WithCidrs(Aws::Vector<Aws::String>&& value) { SetCidrs(std::move(value)); return *this;}
146 inline Explanation& AddCidrs(const Aws::String& value) { m_cidrsHasBeenSet = true; m_cidrs.push_back(value); return *this; }
147 inline Explanation& AddCidrs(Aws::String&& value) { m_cidrsHasBeenSet = true; m_cidrs.push_back(std::move(value)); return *this; }
148 inline Explanation& AddCidrs(const char* value) { m_cidrsHasBeenSet = true; m_cidrs.push_back(value); return *this; }
150
152
155 inline const AnalysisComponent& GetComponent() const{ return m_component; }
156 inline bool ComponentHasBeenSet() const { return m_componentHasBeenSet; }
157 inline void SetComponent(const AnalysisComponent& value) { m_componentHasBeenSet = true; m_component = value; }
158 inline void SetComponent(AnalysisComponent&& value) { m_componentHasBeenSet = true; m_component = std::move(value); }
159 inline Explanation& WithComponent(const AnalysisComponent& value) { SetComponent(value); return *this;}
160 inline Explanation& WithComponent(AnalysisComponent&& value) { SetComponent(std::move(value)); return *this;}
162
164
167 inline const AnalysisComponent& GetCustomerGateway() const{ return m_customerGateway; }
168 inline bool CustomerGatewayHasBeenSet() const { return m_customerGatewayHasBeenSet; }
169 inline void SetCustomerGateway(const AnalysisComponent& value) { m_customerGatewayHasBeenSet = true; m_customerGateway = value; }
170 inline void SetCustomerGateway(AnalysisComponent&& value) { m_customerGatewayHasBeenSet = true; m_customerGateway = std::move(value); }
171 inline Explanation& WithCustomerGateway(const AnalysisComponent& value) { SetCustomerGateway(value); return *this;}
172 inline Explanation& WithCustomerGateway(AnalysisComponent&& value) { SetCustomerGateway(std::move(value)); return *this;}
174
176
179 inline const AnalysisComponent& GetDestination() const{ return m_destination; }
180 inline bool DestinationHasBeenSet() const { return m_destinationHasBeenSet; }
181 inline void SetDestination(const AnalysisComponent& value) { m_destinationHasBeenSet = true; m_destination = value; }
182 inline void SetDestination(AnalysisComponent&& value) { m_destinationHasBeenSet = true; m_destination = std::move(value); }
183 inline Explanation& WithDestination(const AnalysisComponent& value) { SetDestination(value); return *this;}
184 inline Explanation& WithDestination(AnalysisComponent&& value) { SetDestination(std::move(value)); return *this;}
186
188
191 inline const AnalysisComponent& GetDestinationVpc() const{ return m_destinationVpc; }
192 inline bool DestinationVpcHasBeenSet() const { return m_destinationVpcHasBeenSet; }
193 inline void SetDestinationVpc(const AnalysisComponent& value) { m_destinationVpcHasBeenSet = true; m_destinationVpc = value; }
194 inline void SetDestinationVpc(AnalysisComponent&& value) { m_destinationVpcHasBeenSet = true; m_destinationVpc = std::move(value); }
195 inline Explanation& WithDestinationVpc(const AnalysisComponent& value) { SetDestinationVpc(value); return *this;}
196 inline Explanation& WithDestinationVpc(AnalysisComponent&& value) { SetDestinationVpc(std::move(value)); return *this;}
198
200
204 inline const Aws::String& GetDirection() const{ return m_direction; }
205 inline bool DirectionHasBeenSet() const { return m_directionHasBeenSet; }
206 inline void SetDirection(const Aws::String& value) { m_directionHasBeenSet = true; m_direction = value; }
207 inline void SetDirection(Aws::String&& value) { m_directionHasBeenSet = true; m_direction = std::move(value); }
208 inline void SetDirection(const char* value) { m_directionHasBeenSet = true; m_direction.assign(value); }
209 inline Explanation& WithDirection(const Aws::String& value) { SetDirection(value); return *this;}
210 inline Explanation& WithDirection(Aws::String&& value) { SetDirection(std::move(value)); return *this;}
211 inline Explanation& WithDirection(const char* value) { SetDirection(value); return *this;}
213
215
218 inline const Aws::String& GetExplanationCode() const{ return m_explanationCode; }
219 inline bool ExplanationCodeHasBeenSet() const { return m_explanationCodeHasBeenSet; }
220 inline void SetExplanationCode(const Aws::String& value) { m_explanationCodeHasBeenSet = true; m_explanationCode = value; }
221 inline void SetExplanationCode(Aws::String&& value) { m_explanationCodeHasBeenSet = true; m_explanationCode = std::move(value); }
222 inline void SetExplanationCode(const char* value) { m_explanationCodeHasBeenSet = true; m_explanationCode.assign(value); }
223 inline Explanation& WithExplanationCode(const Aws::String& value) { SetExplanationCode(value); return *this;}
224 inline Explanation& WithExplanationCode(Aws::String&& value) { SetExplanationCode(std::move(value)); return *this;}
225 inline Explanation& WithExplanationCode(const char* value) { SetExplanationCode(value); return *this;}
227
229
232 inline const AnalysisComponent& GetIngressRouteTable() const{ return m_ingressRouteTable; }
233 inline bool IngressRouteTableHasBeenSet() const { return m_ingressRouteTableHasBeenSet; }
234 inline void SetIngressRouteTable(const AnalysisComponent& value) { m_ingressRouteTableHasBeenSet = true; m_ingressRouteTable = value; }
235 inline void SetIngressRouteTable(AnalysisComponent&& value) { m_ingressRouteTableHasBeenSet = true; m_ingressRouteTable = std::move(value); }
236 inline Explanation& WithIngressRouteTable(const AnalysisComponent& value) { SetIngressRouteTable(value); return *this;}
237 inline Explanation& WithIngressRouteTable(AnalysisComponent&& value) { SetIngressRouteTable(std::move(value)); return *this;}
239
241
244 inline const AnalysisComponent& GetInternetGateway() const{ return m_internetGateway; }
245 inline bool InternetGatewayHasBeenSet() const { return m_internetGatewayHasBeenSet; }
246 inline void SetInternetGateway(const AnalysisComponent& value) { m_internetGatewayHasBeenSet = true; m_internetGateway = value; }
247 inline void SetInternetGateway(AnalysisComponent&& value) { m_internetGatewayHasBeenSet = true; m_internetGateway = std::move(value); }
248 inline Explanation& WithInternetGateway(const AnalysisComponent& value) { SetInternetGateway(value); return *this;}
249 inline Explanation& WithInternetGateway(AnalysisComponent&& value) { SetInternetGateway(std::move(value)); return *this;}
251
253
256 inline const Aws::String& GetLoadBalancerArn() const{ return m_loadBalancerArn; }
257 inline bool LoadBalancerArnHasBeenSet() const { return m_loadBalancerArnHasBeenSet; }
258 inline void SetLoadBalancerArn(const Aws::String& value) { m_loadBalancerArnHasBeenSet = true; m_loadBalancerArn = value; }
259 inline void SetLoadBalancerArn(Aws::String&& value) { m_loadBalancerArnHasBeenSet = true; m_loadBalancerArn = std::move(value); }
260 inline void SetLoadBalancerArn(const char* value) { m_loadBalancerArnHasBeenSet = true; m_loadBalancerArn.assign(value); }
261 inline Explanation& WithLoadBalancerArn(const Aws::String& value) { SetLoadBalancerArn(value); return *this;}
262 inline Explanation& WithLoadBalancerArn(Aws::String&& value) { SetLoadBalancerArn(std::move(value)); return *this;}
263 inline Explanation& WithLoadBalancerArn(const char* value) { SetLoadBalancerArn(value); return *this;}
265
267
270 inline const AnalysisLoadBalancerListener& GetClassicLoadBalancerListener() const{ return m_classicLoadBalancerListener; }
271 inline bool ClassicLoadBalancerListenerHasBeenSet() const { return m_classicLoadBalancerListenerHasBeenSet; }
272 inline void SetClassicLoadBalancerListener(const AnalysisLoadBalancerListener& value) { m_classicLoadBalancerListenerHasBeenSet = true; m_classicLoadBalancerListener = value; }
273 inline void SetClassicLoadBalancerListener(AnalysisLoadBalancerListener&& value) { m_classicLoadBalancerListenerHasBeenSet = true; m_classicLoadBalancerListener = std::move(value); }
277
279
282 inline int GetLoadBalancerListenerPort() const{ return m_loadBalancerListenerPort; }
283 inline bool LoadBalancerListenerPortHasBeenSet() const { return m_loadBalancerListenerPortHasBeenSet; }
284 inline void SetLoadBalancerListenerPort(int value) { m_loadBalancerListenerPortHasBeenSet = true; m_loadBalancerListenerPort = value; }
285 inline Explanation& WithLoadBalancerListenerPort(int value) { SetLoadBalancerListenerPort(value); return *this;}
287
289
292 inline const AnalysisLoadBalancerTarget& GetLoadBalancerTarget() const{ return m_loadBalancerTarget; }
293 inline bool LoadBalancerTargetHasBeenSet() const { return m_loadBalancerTargetHasBeenSet; }
294 inline void SetLoadBalancerTarget(const AnalysisLoadBalancerTarget& value) { m_loadBalancerTargetHasBeenSet = true; m_loadBalancerTarget = value; }
295 inline void SetLoadBalancerTarget(AnalysisLoadBalancerTarget&& value) { m_loadBalancerTargetHasBeenSet = true; m_loadBalancerTarget = std::move(value); }
297 inline Explanation& WithLoadBalancerTarget(AnalysisLoadBalancerTarget&& value) { SetLoadBalancerTarget(std::move(value)); return *this;}
299
301
304 inline const AnalysisComponent& GetLoadBalancerTargetGroup() const{ return m_loadBalancerTargetGroup; }
305 inline bool LoadBalancerTargetGroupHasBeenSet() const { return m_loadBalancerTargetGroupHasBeenSet; }
306 inline void SetLoadBalancerTargetGroup(const AnalysisComponent& value) { m_loadBalancerTargetGroupHasBeenSet = true; m_loadBalancerTargetGroup = value; }
307 inline void SetLoadBalancerTargetGroup(AnalysisComponent&& value) { m_loadBalancerTargetGroupHasBeenSet = true; m_loadBalancerTargetGroup = std::move(value); }
309 inline Explanation& WithLoadBalancerTargetGroup(AnalysisComponent&& value) { SetLoadBalancerTargetGroup(std::move(value)); return *this;}
311
313
316 inline const Aws::Vector<AnalysisComponent>& GetLoadBalancerTargetGroups() const{ return m_loadBalancerTargetGroups; }
317 inline bool LoadBalancerTargetGroupsHasBeenSet() const { return m_loadBalancerTargetGroupsHasBeenSet; }
318 inline void SetLoadBalancerTargetGroups(const Aws::Vector<AnalysisComponent>& value) { m_loadBalancerTargetGroupsHasBeenSet = true; m_loadBalancerTargetGroups = value; }
319 inline void SetLoadBalancerTargetGroups(Aws::Vector<AnalysisComponent>&& value) { m_loadBalancerTargetGroupsHasBeenSet = true; m_loadBalancerTargetGroups = std::move(value); }
322 inline Explanation& AddLoadBalancerTargetGroups(const AnalysisComponent& value) { m_loadBalancerTargetGroupsHasBeenSet = true; m_loadBalancerTargetGroups.push_back(value); return *this; }
323 inline Explanation& AddLoadBalancerTargetGroups(AnalysisComponent&& value) { m_loadBalancerTargetGroupsHasBeenSet = true; m_loadBalancerTargetGroups.push_back(std::move(value)); return *this; }
325
327
330 inline int GetLoadBalancerTargetPort() const{ return m_loadBalancerTargetPort; }
331 inline bool LoadBalancerTargetPortHasBeenSet() const { return m_loadBalancerTargetPortHasBeenSet; }
332 inline void SetLoadBalancerTargetPort(int value) { m_loadBalancerTargetPortHasBeenSet = true; m_loadBalancerTargetPort = value; }
333 inline Explanation& WithLoadBalancerTargetPort(int value) { SetLoadBalancerTargetPort(value); return *this;}
335
337
340 inline const AnalysisComponent& GetElasticLoadBalancerListener() const{ return m_elasticLoadBalancerListener; }
341 inline bool ElasticLoadBalancerListenerHasBeenSet() const { return m_elasticLoadBalancerListenerHasBeenSet; }
342 inline void SetElasticLoadBalancerListener(const AnalysisComponent& value) { m_elasticLoadBalancerListenerHasBeenSet = true; m_elasticLoadBalancerListener = value; }
343 inline void SetElasticLoadBalancerListener(AnalysisComponent&& value) { m_elasticLoadBalancerListenerHasBeenSet = true; m_elasticLoadBalancerListener = std::move(value); }
347
349
352 inline const Aws::String& GetMissingComponent() const{ return m_missingComponent; }
353 inline bool MissingComponentHasBeenSet() const { return m_missingComponentHasBeenSet; }
354 inline void SetMissingComponent(const Aws::String& value) { m_missingComponentHasBeenSet = true; m_missingComponent = value; }
355 inline void SetMissingComponent(Aws::String&& value) { m_missingComponentHasBeenSet = true; m_missingComponent = std::move(value); }
356 inline void SetMissingComponent(const char* value) { m_missingComponentHasBeenSet = true; m_missingComponent.assign(value); }
357 inline Explanation& WithMissingComponent(const Aws::String& value) { SetMissingComponent(value); return *this;}
358 inline Explanation& WithMissingComponent(Aws::String&& value) { SetMissingComponent(std::move(value)); return *this;}
359 inline Explanation& WithMissingComponent(const char* value) { SetMissingComponent(value); return *this;}
361
363
366 inline const AnalysisComponent& GetNatGateway() const{ return m_natGateway; }
367 inline bool NatGatewayHasBeenSet() const { return m_natGatewayHasBeenSet; }
368 inline void SetNatGateway(const AnalysisComponent& value) { m_natGatewayHasBeenSet = true; m_natGateway = value; }
369 inline void SetNatGateway(AnalysisComponent&& value) { m_natGatewayHasBeenSet = true; m_natGateway = std::move(value); }
370 inline Explanation& WithNatGateway(const AnalysisComponent& value) { SetNatGateway(value); return *this;}
371 inline Explanation& WithNatGateway(AnalysisComponent&& value) { SetNatGateway(std::move(value)); return *this;}
373
375
378 inline const AnalysisComponent& GetNetworkInterface() const{ return m_networkInterface; }
379 inline bool NetworkInterfaceHasBeenSet() const { return m_networkInterfaceHasBeenSet; }
380 inline void SetNetworkInterface(const AnalysisComponent& value) { m_networkInterfaceHasBeenSet = true; m_networkInterface = value; }
381 inline void SetNetworkInterface(AnalysisComponent&& value) { m_networkInterfaceHasBeenSet = true; m_networkInterface = std::move(value); }
382 inline Explanation& WithNetworkInterface(const AnalysisComponent& value) { SetNetworkInterface(value); return *this;}
383 inline Explanation& WithNetworkInterface(AnalysisComponent&& value) { SetNetworkInterface(std::move(value)); return *this;}
385
387
390 inline const Aws::String& GetPacketField() const{ return m_packetField; }
391 inline bool PacketFieldHasBeenSet() const { return m_packetFieldHasBeenSet; }
392 inline void SetPacketField(const Aws::String& value) { m_packetFieldHasBeenSet = true; m_packetField = value; }
393 inline void SetPacketField(Aws::String&& value) { m_packetFieldHasBeenSet = true; m_packetField = std::move(value); }
394 inline void SetPacketField(const char* value) { m_packetFieldHasBeenSet = true; m_packetField.assign(value); }
395 inline Explanation& WithPacketField(const Aws::String& value) { SetPacketField(value); return *this;}
396 inline Explanation& WithPacketField(Aws::String&& value) { SetPacketField(std::move(value)); return *this;}
397 inline Explanation& WithPacketField(const char* value) { SetPacketField(value); return *this;}
399
401
404 inline const AnalysisComponent& GetVpcPeeringConnection() const{ return m_vpcPeeringConnection; }
405 inline bool VpcPeeringConnectionHasBeenSet() const { return m_vpcPeeringConnectionHasBeenSet; }
406 inline void SetVpcPeeringConnection(const AnalysisComponent& value) { m_vpcPeeringConnectionHasBeenSet = true; m_vpcPeeringConnection = value; }
407 inline void SetVpcPeeringConnection(AnalysisComponent&& value) { m_vpcPeeringConnectionHasBeenSet = true; m_vpcPeeringConnection = std::move(value); }
409 inline Explanation& WithVpcPeeringConnection(AnalysisComponent&& value) { SetVpcPeeringConnection(std::move(value)); return *this;}
411
413
416 inline int GetPort() const{ return m_port; }
417 inline bool PortHasBeenSet() const { return m_portHasBeenSet; }
418 inline void SetPort(int value) { m_portHasBeenSet = true; m_port = value; }
419 inline Explanation& WithPort(int value) { SetPort(value); return *this;}
421
423
426 inline const Aws::Vector<PortRange>& GetPortRanges() const{ return m_portRanges; }
427 inline bool PortRangesHasBeenSet() const { return m_portRangesHasBeenSet; }
428 inline void SetPortRanges(const Aws::Vector<PortRange>& value) { m_portRangesHasBeenSet = true; m_portRanges = value; }
429 inline void SetPortRanges(Aws::Vector<PortRange>&& value) { m_portRangesHasBeenSet = true; m_portRanges = std::move(value); }
430 inline Explanation& WithPortRanges(const Aws::Vector<PortRange>& value) { SetPortRanges(value); return *this;}
431 inline Explanation& WithPortRanges(Aws::Vector<PortRange>&& value) { SetPortRanges(std::move(value)); return *this;}
432 inline Explanation& AddPortRanges(const PortRange& value) { m_portRangesHasBeenSet = true; m_portRanges.push_back(value); return *this; }
433 inline Explanation& AddPortRanges(PortRange&& value) { m_portRangesHasBeenSet = true; m_portRanges.push_back(std::move(value)); return *this; }
435
437
440 inline const AnalysisComponent& GetPrefixList() const{ return m_prefixList; }
441 inline bool PrefixListHasBeenSet() const { return m_prefixListHasBeenSet; }
442 inline void SetPrefixList(const AnalysisComponent& value) { m_prefixListHasBeenSet = true; m_prefixList = value; }
443 inline void SetPrefixList(AnalysisComponent&& value) { m_prefixListHasBeenSet = true; m_prefixList = std::move(value); }
444 inline Explanation& WithPrefixList(const AnalysisComponent& value) { SetPrefixList(value); return *this;}
445 inline Explanation& WithPrefixList(AnalysisComponent&& value) { SetPrefixList(std::move(value)); return *this;}
447
449
452 inline const Aws::Vector<Aws::String>& GetProtocols() const{ return m_protocols; }
453 inline bool ProtocolsHasBeenSet() const { return m_protocolsHasBeenSet; }
454 inline void SetProtocols(const Aws::Vector<Aws::String>& value) { m_protocolsHasBeenSet = true; m_protocols = value; }
455 inline void SetProtocols(Aws::Vector<Aws::String>&& value) { m_protocolsHasBeenSet = true; m_protocols = std::move(value); }
456 inline Explanation& WithProtocols(const Aws::Vector<Aws::String>& value) { SetProtocols(value); return *this;}
457 inline Explanation& WithProtocols(Aws::Vector<Aws::String>&& value) { SetProtocols(std::move(value)); return *this;}
458 inline Explanation& AddProtocols(const Aws::String& value) { m_protocolsHasBeenSet = true; m_protocols.push_back(value); return *this; }
459 inline Explanation& AddProtocols(Aws::String&& value) { m_protocolsHasBeenSet = true; m_protocols.push_back(std::move(value)); return *this; }
460 inline Explanation& AddProtocols(const char* value) { m_protocolsHasBeenSet = true; m_protocols.push_back(value); return *this; }
462
464
467 inline const AnalysisRouteTableRoute& GetRouteTableRoute() const{ return m_routeTableRoute; }
468 inline bool RouteTableRouteHasBeenSet() const { return m_routeTableRouteHasBeenSet; }
469 inline void SetRouteTableRoute(const AnalysisRouteTableRoute& value) { m_routeTableRouteHasBeenSet = true; m_routeTableRoute = value; }
470 inline void SetRouteTableRoute(AnalysisRouteTableRoute&& value) { m_routeTableRouteHasBeenSet = true; m_routeTableRoute = std::move(value); }
471 inline Explanation& WithRouteTableRoute(const AnalysisRouteTableRoute& value) { SetRouteTableRoute(value); return *this;}
472 inline Explanation& WithRouteTableRoute(AnalysisRouteTableRoute&& value) { SetRouteTableRoute(std::move(value)); return *this;}
474
476
479 inline const AnalysisComponent& GetRouteTable() const{ return m_routeTable; }
480 inline bool RouteTableHasBeenSet() const { return m_routeTableHasBeenSet; }
481 inline void SetRouteTable(const AnalysisComponent& value) { m_routeTableHasBeenSet = true; m_routeTable = value; }
482 inline void SetRouteTable(AnalysisComponent&& value) { m_routeTableHasBeenSet = true; m_routeTable = std::move(value); }
483 inline Explanation& WithRouteTable(const AnalysisComponent& value) { SetRouteTable(value); return *this;}
484 inline Explanation& WithRouteTable(AnalysisComponent&& value) { SetRouteTable(std::move(value)); return *this;}
486
488
491 inline const AnalysisComponent& GetSecurityGroup() const{ return m_securityGroup; }
492 inline bool SecurityGroupHasBeenSet() const { return m_securityGroupHasBeenSet; }
493 inline void SetSecurityGroup(const AnalysisComponent& value) { m_securityGroupHasBeenSet = true; m_securityGroup = value; }
494 inline void SetSecurityGroup(AnalysisComponent&& value) { m_securityGroupHasBeenSet = true; m_securityGroup = std::move(value); }
495 inline Explanation& WithSecurityGroup(const AnalysisComponent& value) { SetSecurityGroup(value); return *this;}
496 inline Explanation& WithSecurityGroup(AnalysisComponent&& value) { SetSecurityGroup(std::move(value)); return *this;}
498
500
503 inline const AnalysisSecurityGroupRule& GetSecurityGroupRule() const{ return m_securityGroupRule; }
504 inline bool SecurityGroupRuleHasBeenSet() const { return m_securityGroupRuleHasBeenSet; }
505 inline void SetSecurityGroupRule(const AnalysisSecurityGroupRule& value) { m_securityGroupRuleHasBeenSet = true; m_securityGroupRule = value; }
506 inline void SetSecurityGroupRule(AnalysisSecurityGroupRule&& value) { m_securityGroupRuleHasBeenSet = true; m_securityGroupRule = std::move(value); }
508 inline Explanation& WithSecurityGroupRule(AnalysisSecurityGroupRule&& value) { SetSecurityGroupRule(std::move(value)); return *this;}
510
512
515 inline const Aws::Vector<AnalysisComponent>& GetSecurityGroups() const{ return m_securityGroups; }
516 inline bool SecurityGroupsHasBeenSet() const { return m_securityGroupsHasBeenSet; }
517 inline void SetSecurityGroups(const Aws::Vector<AnalysisComponent>& value) { m_securityGroupsHasBeenSet = true; m_securityGroups = value; }
518 inline void SetSecurityGroups(Aws::Vector<AnalysisComponent>&& value) { m_securityGroupsHasBeenSet = true; m_securityGroups = std::move(value); }
520 inline Explanation& WithSecurityGroups(Aws::Vector<AnalysisComponent>&& value) { SetSecurityGroups(std::move(value)); return *this;}
521 inline Explanation& AddSecurityGroups(const AnalysisComponent& value) { m_securityGroupsHasBeenSet = true; m_securityGroups.push_back(value); return *this; }
522 inline Explanation& AddSecurityGroups(AnalysisComponent&& value) { m_securityGroupsHasBeenSet = true; m_securityGroups.push_back(std::move(value)); return *this; }
524
526
529 inline const AnalysisComponent& GetSourceVpc() const{ return m_sourceVpc; }
530 inline bool SourceVpcHasBeenSet() const { return m_sourceVpcHasBeenSet; }
531 inline void SetSourceVpc(const AnalysisComponent& value) { m_sourceVpcHasBeenSet = true; m_sourceVpc = value; }
532 inline void SetSourceVpc(AnalysisComponent&& value) { m_sourceVpcHasBeenSet = true; m_sourceVpc = std::move(value); }
533 inline Explanation& WithSourceVpc(const AnalysisComponent& value) { SetSourceVpc(value); return *this;}
534 inline Explanation& WithSourceVpc(AnalysisComponent&& value) { SetSourceVpc(std::move(value)); return *this;}
536
538
541 inline const Aws::String& GetState() const{ return m_state; }
542 inline bool StateHasBeenSet() const { return m_stateHasBeenSet; }
543 inline void SetState(const Aws::String& value) { m_stateHasBeenSet = true; m_state = value; }
544 inline void SetState(Aws::String&& value) { m_stateHasBeenSet = true; m_state = std::move(value); }
545 inline void SetState(const char* value) { m_stateHasBeenSet = true; m_state.assign(value); }
546 inline Explanation& WithState(const Aws::String& value) { SetState(value); return *this;}
547 inline Explanation& WithState(Aws::String&& value) { SetState(std::move(value)); return *this;}
548 inline Explanation& WithState(const char* value) { SetState(value); return *this;}
550
552
555 inline const AnalysisComponent& GetSubnet() const{ return m_subnet; }
556 inline bool SubnetHasBeenSet() const { return m_subnetHasBeenSet; }
557 inline void SetSubnet(const AnalysisComponent& value) { m_subnetHasBeenSet = true; m_subnet = value; }
558 inline void SetSubnet(AnalysisComponent&& value) { m_subnetHasBeenSet = true; m_subnet = std::move(value); }
559 inline Explanation& WithSubnet(const AnalysisComponent& value) { SetSubnet(value); return *this;}
560 inline Explanation& WithSubnet(AnalysisComponent&& value) { SetSubnet(std::move(value)); return *this;}
562
564
567 inline const AnalysisComponent& GetSubnetRouteTable() const{ return m_subnetRouteTable; }
568 inline bool SubnetRouteTableHasBeenSet() const { return m_subnetRouteTableHasBeenSet; }
569 inline void SetSubnetRouteTable(const AnalysisComponent& value) { m_subnetRouteTableHasBeenSet = true; m_subnetRouteTable = value; }
570 inline void SetSubnetRouteTable(AnalysisComponent&& value) { m_subnetRouteTableHasBeenSet = true; m_subnetRouteTable = std::move(value); }
571 inline Explanation& WithSubnetRouteTable(const AnalysisComponent& value) { SetSubnetRouteTable(value); return *this;}
572 inline Explanation& WithSubnetRouteTable(AnalysisComponent&& value) { SetSubnetRouteTable(std::move(value)); return *this;}
574
576
579 inline const AnalysisComponent& GetVpc() const{ return m_vpc; }
580 inline bool VpcHasBeenSet() const { return m_vpcHasBeenSet; }
581 inline void SetVpc(const AnalysisComponent& value) { m_vpcHasBeenSet = true; m_vpc = value; }
582 inline void SetVpc(AnalysisComponent&& value) { m_vpcHasBeenSet = true; m_vpc = std::move(value); }
583 inline Explanation& WithVpc(const AnalysisComponent& value) { SetVpc(value); return *this;}
584 inline Explanation& WithVpc(AnalysisComponent&& value) { SetVpc(std::move(value)); return *this;}
586
588
591 inline const AnalysisComponent& GetVpcEndpoint() const{ return m_vpcEndpoint; }
592 inline bool VpcEndpointHasBeenSet() const { return m_vpcEndpointHasBeenSet; }
593 inline void SetVpcEndpoint(const AnalysisComponent& value) { m_vpcEndpointHasBeenSet = true; m_vpcEndpoint = value; }
594 inline void SetVpcEndpoint(AnalysisComponent&& value) { m_vpcEndpointHasBeenSet = true; m_vpcEndpoint = std::move(value); }
595 inline Explanation& WithVpcEndpoint(const AnalysisComponent& value) { SetVpcEndpoint(value); return *this;}
596 inline Explanation& WithVpcEndpoint(AnalysisComponent&& value) { SetVpcEndpoint(std::move(value)); return *this;}
598
600
603 inline const AnalysisComponent& GetVpnConnection() const{ return m_vpnConnection; }
604 inline bool VpnConnectionHasBeenSet() const { return m_vpnConnectionHasBeenSet; }
605 inline void SetVpnConnection(const AnalysisComponent& value) { m_vpnConnectionHasBeenSet = true; m_vpnConnection = value; }
606 inline void SetVpnConnection(AnalysisComponent&& value) { m_vpnConnectionHasBeenSet = true; m_vpnConnection = std::move(value); }
607 inline Explanation& WithVpnConnection(const AnalysisComponent& value) { SetVpnConnection(value); return *this;}
608 inline Explanation& WithVpnConnection(AnalysisComponent&& value) { SetVpnConnection(std::move(value)); return *this;}
610
612
615 inline const AnalysisComponent& GetVpnGateway() const{ return m_vpnGateway; }
616 inline bool VpnGatewayHasBeenSet() const { return m_vpnGatewayHasBeenSet; }
617 inline void SetVpnGateway(const AnalysisComponent& value) { m_vpnGatewayHasBeenSet = true; m_vpnGateway = value; }
618 inline void SetVpnGateway(AnalysisComponent&& value) { m_vpnGatewayHasBeenSet = true; m_vpnGateway = std::move(value); }
619 inline Explanation& WithVpnGateway(const AnalysisComponent& value) { SetVpnGateway(value); return *this;}
620 inline Explanation& WithVpnGateway(AnalysisComponent&& value) { SetVpnGateway(std::move(value)); return *this;}
622
624
627 inline const AnalysisComponent& GetTransitGateway() const{ return m_transitGateway; }
628 inline bool TransitGatewayHasBeenSet() const { return m_transitGatewayHasBeenSet; }
629 inline void SetTransitGateway(const AnalysisComponent& value) { m_transitGatewayHasBeenSet = true; m_transitGateway = value; }
630 inline void SetTransitGateway(AnalysisComponent&& value) { m_transitGatewayHasBeenSet = true; m_transitGateway = std::move(value); }
631 inline Explanation& WithTransitGateway(const AnalysisComponent& value) { SetTransitGateway(value); return *this;}
632 inline Explanation& WithTransitGateway(AnalysisComponent&& value) { SetTransitGateway(std::move(value)); return *this;}
634
636
639 inline const AnalysisComponent& GetTransitGatewayRouteTable() const{ return m_transitGatewayRouteTable; }
640 inline bool TransitGatewayRouteTableHasBeenSet() const { return m_transitGatewayRouteTableHasBeenSet; }
641 inline void SetTransitGatewayRouteTable(const AnalysisComponent& value) { m_transitGatewayRouteTableHasBeenSet = true; m_transitGatewayRouteTable = value; }
642 inline void SetTransitGatewayRouteTable(AnalysisComponent&& value) { m_transitGatewayRouteTableHasBeenSet = true; m_transitGatewayRouteTable = std::move(value); }
646
648
651 inline const TransitGatewayRouteTableRoute& GetTransitGatewayRouteTableRoute() const{ return m_transitGatewayRouteTableRoute; }
652 inline bool TransitGatewayRouteTableRouteHasBeenSet() const { return m_transitGatewayRouteTableRouteHasBeenSet; }
653 inline void SetTransitGatewayRouteTableRoute(const TransitGatewayRouteTableRoute& value) { m_transitGatewayRouteTableRouteHasBeenSet = true; m_transitGatewayRouteTableRoute = value; }
654 inline void SetTransitGatewayRouteTableRoute(TransitGatewayRouteTableRoute&& value) { m_transitGatewayRouteTableRouteHasBeenSet = true; m_transitGatewayRouteTableRoute = std::move(value); }
658
660
663 inline const AnalysisComponent& GetTransitGatewayAttachment() const{ return m_transitGatewayAttachment; }
664 inline bool TransitGatewayAttachmentHasBeenSet() const { return m_transitGatewayAttachmentHasBeenSet; }
665 inline void SetTransitGatewayAttachment(const AnalysisComponent& value) { m_transitGatewayAttachmentHasBeenSet = true; m_transitGatewayAttachment = value; }
666 inline void SetTransitGatewayAttachment(AnalysisComponent&& value) { m_transitGatewayAttachmentHasBeenSet = true; m_transitGatewayAttachment = std::move(value); }
670
672
675 inline const Aws::String& GetComponentAccount() const{ return m_componentAccount; }
676 inline bool ComponentAccountHasBeenSet() const { return m_componentAccountHasBeenSet; }
677 inline void SetComponentAccount(const Aws::String& value) { m_componentAccountHasBeenSet = true; m_componentAccount = value; }
678 inline void SetComponentAccount(Aws::String&& value) { m_componentAccountHasBeenSet = true; m_componentAccount = std::move(value); }
679 inline void SetComponentAccount(const char* value) { m_componentAccountHasBeenSet = true; m_componentAccount.assign(value); }
680 inline Explanation& WithComponentAccount(const Aws::String& value) { SetComponentAccount(value); return *this;}
681 inline Explanation& WithComponentAccount(Aws::String&& value) { SetComponentAccount(std::move(value)); return *this;}
682 inline Explanation& WithComponentAccount(const char* value) { SetComponentAccount(value); return *this;}
684
686
689 inline const Aws::String& GetComponentRegion() const{ return m_componentRegion; }
690 inline bool ComponentRegionHasBeenSet() const { return m_componentRegionHasBeenSet; }
691 inline void SetComponentRegion(const Aws::String& value) { m_componentRegionHasBeenSet = true; m_componentRegion = value; }
692 inline void SetComponentRegion(Aws::String&& value) { m_componentRegionHasBeenSet = true; m_componentRegion = std::move(value); }
693 inline void SetComponentRegion(const char* value) { m_componentRegionHasBeenSet = true; m_componentRegion.assign(value); }
694 inline Explanation& WithComponentRegion(const Aws::String& value) { SetComponentRegion(value); return *this;}
695 inline Explanation& WithComponentRegion(Aws::String&& value) { SetComponentRegion(std::move(value)); return *this;}
696 inline Explanation& WithComponentRegion(const char* value) { SetComponentRegion(value); return *this;}
698
700
703 inline const FirewallStatelessRule& GetFirewallStatelessRule() const{ return m_firewallStatelessRule; }
704 inline bool FirewallStatelessRuleHasBeenSet() const { return m_firewallStatelessRuleHasBeenSet; }
705 inline void SetFirewallStatelessRule(const FirewallStatelessRule& value) { m_firewallStatelessRuleHasBeenSet = true; m_firewallStatelessRule = value; }
706 inline void SetFirewallStatelessRule(FirewallStatelessRule&& value) { m_firewallStatelessRuleHasBeenSet = true; m_firewallStatelessRule = std::move(value); }
708 inline Explanation& WithFirewallStatelessRule(FirewallStatelessRule&& value) { SetFirewallStatelessRule(std::move(value)); return *this;}
710
712
715 inline const FirewallStatefulRule& GetFirewallStatefulRule() const{ return m_firewallStatefulRule; }
716 inline bool FirewallStatefulRuleHasBeenSet() const { return m_firewallStatefulRuleHasBeenSet; }
717 inline void SetFirewallStatefulRule(const FirewallStatefulRule& value) { m_firewallStatefulRuleHasBeenSet = true; m_firewallStatefulRule = value; }
718 inline void SetFirewallStatefulRule(FirewallStatefulRule&& value) { m_firewallStatefulRuleHasBeenSet = true; m_firewallStatefulRule = std::move(value); }
720 inline Explanation& WithFirewallStatefulRule(FirewallStatefulRule&& value) { SetFirewallStatefulRule(std::move(value)); return *this;}
722 private:
723
724 AnalysisComponent m_acl;
725 bool m_aclHasBeenSet = false;
726
727 AnalysisAclRule m_aclRule;
728 bool m_aclRuleHasBeenSet = false;
729
730 Aws::String m_address;
731 bool m_addressHasBeenSet = false;
732
733 Aws::Vector<Aws::String> m_addresses;
734 bool m_addressesHasBeenSet = false;
735
736 AnalysisComponent m_attachedTo;
737 bool m_attachedToHasBeenSet = false;
738
739 Aws::Vector<Aws::String> m_availabilityZones;
740 bool m_availabilityZonesHasBeenSet = false;
741
743 bool m_cidrsHasBeenSet = false;
744
745 AnalysisComponent m_component;
746 bool m_componentHasBeenSet = false;
747
748 AnalysisComponent m_customerGateway;
749 bool m_customerGatewayHasBeenSet = false;
750
751 AnalysisComponent m_destination;
752 bool m_destinationHasBeenSet = false;
753
754 AnalysisComponent m_destinationVpc;
755 bool m_destinationVpcHasBeenSet = false;
756
757 Aws::String m_direction;
758 bool m_directionHasBeenSet = false;
759
760 Aws::String m_explanationCode;
761 bool m_explanationCodeHasBeenSet = false;
762
763 AnalysisComponent m_ingressRouteTable;
764 bool m_ingressRouteTableHasBeenSet = false;
765
766 AnalysisComponent m_internetGateway;
767 bool m_internetGatewayHasBeenSet = false;
768
769 Aws::String m_loadBalancerArn;
770 bool m_loadBalancerArnHasBeenSet = false;
771
772 AnalysisLoadBalancerListener m_classicLoadBalancerListener;
773 bool m_classicLoadBalancerListenerHasBeenSet = false;
774
775 int m_loadBalancerListenerPort;
776 bool m_loadBalancerListenerPortHasBeenSet = false;
777
778 AnalysisLoadBalancerTarget m_loadBalancerTarget;
779 bool m_loadBalancerTargetHasBeenSet = false;
780
781 AnalysisComponent m_loadBalancerTargetGroup;
782 bool m_loadBalancerTargetGroupHasBeenSet = false;
783
784 Aws::Vector<AnalysisComponent> m_loadBalancerTargetGroups;
785 bool m_loadBalancerTargetGroupsHasBeenSet = false;
786
787 int m_loadBalancerTargetPort;
788 bool m_loadBalancerTargetPortHasBeenSet = false;
789
790 AnalysisComponent m_elasticLoadBalancerListener;
791 bool m_elasticLoadBalancerListenerHasBeenSet = false;
792
793 Aws::String m_missingComponent;
794 bool m_missingComponentHasBeenSet = false;
795
796 AnalysisComponent m_natGateway;
797 bool m_natGatewayHasBeenSet = false;
798
799 AnalysisComponent m_networkInterface;
800 bool m_networkInterfaceHasBeenSet = false;
801
802 Aws::String m_packetField;
803 bool m_packetFieldHasBeenSet = false;
804
805 AnalysisComponent m_vpcPeeringConnection;
806 bool m_vpcPeeringConnectionHasBeenSet = false;
807
808 int m_port;
809 bool m_portHasBeenSet = false;
810
811 Aws::Vector<PortRange> m_portRanges;
812 bool m_portRangesHasBeenSet = false;
813
814 AnalysisComponent m_prefixList;
815 bool m_prefixListHasBeenSet = false;
816
817 Aws::Vector<Aws::String> m_protocols;
818 bool m_protocolsHasBeenSet = false;
819
820 AnalysisRouteTableRoute m_routeTableRoute;
821 bool m_routeTableRouteHasBeenSet = false;
822
823 AnalysisComponent m_routeTable;
824 bool m_routeTableHasBeenSet = false;
825
826 AnalysisComponent m_securityGroup;
827 bool m_securityGroupHasBeenSet = false;
828
829 AnalysisSecurityGroupRule m_securityGroupRule;
830 bool m_securityGroupRuleHasBeenSet = false;
831
832 Aws::Vector<AnalysisComponent> m_securityGroups;
833 bool m_securityGroupsHasBeenSet = false;
834
835 AnalysisComponent m_sourceVpc;
836 bool m_sourceVpcHasBeenSet = false;
837
838 Aws::String m_state;
839 bool m_stateHasBeenSet = false;
840
841 AnalysisComponent m_subnet;
842 bool m_subnetHasBeenSet = false;
843
844 AnalysisComponent m_subnetRouteTable;
845 bool m_subnetRouteTableHasBeenSet = false;
846
847 AnalysisComponent m_vpc;
848 bool m_vpcHasBeenSet = false;
849
850 AnalysisComponent m_vpcEndpoint;
851 bool m_vpcEndpointHasBeenSet = false;
852
853 AnalysisComponent m_vpnConnection;
854 bool m_vpnConnectionHasBeenSet = false;
855
856 AnalysisComponent m_vpnGateway;
857 bool m_vpnGatewayHasBeenSet = false;
858
859 AnalysisComponent m_transitGateway;
860 bool m_transitGatewayHasBeenSet = false;
861
862 AnalysisComponent m_transitGatewayRouteTable;
863 bool m_transitGatewayRouteTableHasBeenSet = false;
864
865 TransitGatewayRouteTableRoute m_transitGatewayRouteTableRoute;
866 bool m_transitGatewayRouteTableRouteHasBeenSet = false;
867
868 AnalysisComponent m_transitGatewayAttachment;
869 bool m_transitGatewayAttachmentHasBeenSet = false;
870
871 Aws::String m_componentAccount;
872 bool m_componentAccountHasBeenSet = false;
873
874 Aws::String m_componentRegion;
875 bool m_componentRegionHasBeenSet = false;
876
877 FirewallStatelessRule m_firewallStatelessRule;
878 bool m_firewallStatelessRuleHasBeenSet = false;
879
880 FirewallStatefulRule m_firewallStatefulRule;
881 bool m_firewallStatefulRuleHasBeenSet = false;
882 };
883
884} // namespace Model
885} // namespace EC2
886} // namespace Aws
Explanation & WithFirewallStatelessRule(FirewallStatelessRule &&value)
const AnalysisComponent & GetAcl() const
Definition Explanation.h:60
const TransitGatewayRouteTableRoute & GetTransitGatewayRouteTableRoute() const
void SetComponentRegion(const Aws::String &value)
bool IngressRouteTableHasBeenSet() const
AWS_EC2_API void OutputToStream(Aws::OStream &oStream, const char *location) const
Explanation & AddSecurityGroups(AnalysisComponent &&value)
void SetComponent(const AnalysisComponent &value)
void SetProtocols(Aws::Vector< Aws::String > &&value)
const AnalysisComponent & GetElasticLoadBalancerListener() const
Explanation & AddLoadBalancerTargetGroups(AnalysisComponent &&value)
const AnalysisComponent & GetIngressRouteTable() const
void SetMissingComponent(Aws::String &&value)
void SetComponentAccount(Aws::String &&value)
void SetLoadBalancerTargetGroup(const AnalysisComponent &value)
void SetRouteTable(AnalysisComponent &&value)
Explanation & WithClassicLoadBalancerListener(const AnalysisLoadBalancerListener &value)
void SetLoadBalancerArn(const char *value)
void SetVpcPeeringConnection(const AnalysisComponent &value)
Explanation & AddAvailabilityZones(const Aws::String &value)
const AnalysisAclRule & GetAclRule() const
Definition Explanation.h:72
void SetSecurityGroups(Aws::Vector< AnalysisComponent > &&value)
Explanation & WithTransitGatewayRouteTableRoute(TransitGatewayRouteTableRoute &&value)
void SetInternetGateway(AnalysisComponent &&value)
Explanation & WithLoadBalancerArn(const char *value)
void SetSourceVpc(const AnalysisComponent &value)
Explanation & WithNetworkInterface(const AnalysisComponent &value)
void SetVpnConnection(AnalysisComponent &&value)
void SetDestination(const AnalysisComponent &value)
void SetIngressRouteTable(const AnalysisComponent &value)
Explanation & WithInternetGateway(AnalysisComponent &&value)
void SetSubnetRouteTable(AnalysisComponent &&value)
Explanation & WithLoadBalancerTargetGroup(const AnalysisComponent &value)
void SetAvailabilityZones(const Aws::Vector< Aws::String > &value)
void SetDirection(const char *value)
const AnalysisComponent & GetAttachedTo() const
Explanation & WithAddress(Aws::String &&value)
Definition Explanation.h:90
Explanation & WithCustomerGateway(const AnalysisComponent &value)
const AnalysisComponent & GetDestinationVpc() const
Explanation & WithTransitGatewayAttachment(const AnalysisComponent &value)
Explanation & WithLoadBalancerTargetPort(int value)
Explanation & WithSecurityGroups(Aws::Vector< AnalysisComponent > &&value)
Explanation & WithComponent(AnalysisComponent &&value)
bool LoadBalancerTargetGroupHasBeenSet() const
void SetAddresses(Aws::Vector< Aws::String > &&value)
Explanation & WithVpnGateway(const AnalysisComponent &value)
void SetPrefixList(AnalysisComponent &&value)
const AnalysisComponent & GetNatGateway() const
const Aws::Vector< PortRange > & GetPortRanges() const
Explanation & WithVpcEndpoint(const AnalysisComponent &value)
void SetFirewallStatefulRule(FirewallStatefulRule &&value)
Explanation & WithCidrs(Aws::Vector< Aws::String > &&value)
Explanation & WithDirection(const char *value)
void SetExplanationCode(Aws::String &&value)
Explanation & WithAttachedTo(AnalysisComponent &&value)
bool NetworkInterfaceHasBeenSet() const
const AnalysisComponent & GetRouteTable() const
void SetComponentRegion(Aws::String &&value)
void SetCustomerGateway(const AnalysisComponent &value)
const Aws::String & GetDirection() const
const AnalysisSecurityGroupRule & GetSecurityGroupRule() const
bool DestinationVpcHasBeenSet() const
void SetNetworkInterface(AnalysisComponent &&value)
Explanation & AddProtocols(Aws::String &&value)
void SetAvailabilityZones(Aws::Vector< Aws::String > &&value)
void SetSecurityGroup(AnalysisComponent &&value)
const AnalysisComponent & GetPrefixList() const
const AnalysisComponent & GetNetworkInterface() const
Explanation & AddCidrs(const Aws::String &value)
void SetAcl(AnalysisComponent &&value)
Definition Explanation.h:63
Explanation & WithRouteTable(AnalysisComponent &&value)
void SetLoadBalancerArn(Aws::String &&value)
Explanation & WithPacketField(const char *value)
Explanation & AddAvailabilityZones(const char *value)
Explanation & WithPrefixList(AnalysisComponent &&value)
void SetDestinationVpc(AnalysisComponent &&value)
Explanation & WithMissingComponent(Aws::String &&value)
void SetNatGateway(const AnalysisComponent &value)
AWS_EC2_API void OutputToStream(Aws::OStream &ostream, const char *location, unsigned index, const char *locationValue) const
Explanation & WithSecurityGroups(const Aws::Vector< AnalysisComponent > &value)
const AnalysisComponent & GetSourceVpc() const
Explanation & WithDirection(const Aws::String &value)
const AnalysisLoadBalancerListener & GetClassicLoadBalancerListener() const
bool TransitGatewayHasBeenSet() const
const Aws::String & GetExplanationCode() const
bool SecurityGroupsHasBeenSet() const
void SetLoadBalancerTargetGroups(Aws::Vector< AnalysisComponent > &&value)
Explanation & WithVpnConnection(AnalysisComponent &&value)
void SetLoadBalancerTarget(const AnalysisLoadBalancerTarget &value)
Explanation & WithSecurityGroup(const AnalysisComponent &value)
void SetState(Aws::String &&value)
Explanation & WithLoadBalancerArn(Aws::String &&value)
bool SubnetRouteTableHasBeenSet() const
void SetCustomerGateway(AnalysisComponent &&value)
const AnalysisComponent & GetVpnGateway() const
Explanation & WithLoadBalancerTargetGroups(const Aws::Vector< AnalysisComponent > &value)
Explanation & WithLoadBalancerTargetGroups(Aws::Vector< AnalysisComponent > &&value)
Explanation & WithLoadBalancerListenerPort(int value)
void SetExplanationCode(const Aws::String &value)
Explanation & WithTransitGatewayAttachment(AnalysisComponent &&value)
Explanation & AddCidrs(Aws::String &&value)
bool ComponentAccountHasBeenSet() const
const AnalysisComponent & GetLoadBalancerTargetGroup() const
void SetDirection(Aws::String &&value)
void SetAttachedTo(AnalysisComponent &&value)
Explanation & WithTransitGateway(AnalysisComponent &&value)
void SetAddress(const char *value)
Definition Explanation.h:88
Explanation & AddAddresses(Aws::String &&value)
void SetSourceVpc(AnalysisComponent &&value)
Explanation & WithState(Aws::String &&value)
bool FirewallStatelessRuleHasBeenSet() const
Explanation & WithSourceVpc(const AnalysisComponent &value)
Explanation & WithVpc(const AnalysisComponent &value)
void SetPrefixList(const AnalysisComponent &value)
Explanation & WithSubnetRouteTable(const AnalysisComponent &value)
void SetCidrs(const Aws::Vector< Aws::String > &value)
Explanation & WithSubnet(const AnalysisComponent &value)
Explanation & WithElasticLoadBalancerListener(const AnalysisComponent &value)
Explanation & WithAddress(const Aws::String &value)
Definition Explanation.h:89
Explanation & WithAddresses(Aws::Vector< Aws::String > &&value)
Explanation & WithCidrs(const Aws::Vector< Aws::String > &value)
bool LoadBalancerTargetHasBeenSet() const
void SetVpc(const AnalysisComponent &value)
void SetVpcEndpoint(AnalysisComponent &&value)
const AnalysisComponent & GetVpnConnection() const
Explanation & WithComponentRegion(const Aws::String &value)
void SetLoadBalancerListenerPort(int value)
void SetFirewallStatefulRule(const FirewallStatefulRule &value)
const AnalysisComponent & GetSubnet() const
Explanation & WithPacketField(Aws::String &&value)
Explanation & WithComponentAccount(const Aws::String &value)
Explanation & AddProtocols(const char *value)
void SetAddress(Aws::String &&value)
Definition Explanation.h:87
Explanation & WithPacketField(const Aws::String &value)
const Aws::String & GetPacketField() const
Explanation & WithMissingComponent(const char *value)
const AnalysisComponent & GetTransitGatewayAttachment() const
int GetLoadBalancerTargetPort() const
void SetSubnet(AnalysisComponent &&value)
Explanation & WithState(const char *value)
void SetVpnConnection(const AnalysisComponent &value)
Explanation & WithSecurityGroupRule(AnalysisSecurityGroupRule &&value)
Explanation & WithSecurityGroupRule(const AnalysisSecurityGroupRule &value)
Explanation & WithDestinationVpc(AnalysisComponent &&value)
Explanation & WithIngressRouteTable(AnalysisComponent &&value)
const AnalysisComponent & GetInternetGateway() const
void SetTransitGatewayAttachment(AnalysisComponent &&value)
bool LoadBalancerTargetPortHasBeenSet() const
Explanation & WithRouteTable(const AnalysisComponent &value)
Explanation & WithClassicLoadBalancerListener(AnalysisLoadBalancerListener &&value)
void SetState(const Aws::String &value)
void SetIngressRouteTable(AnalysisComponent &&value)
const Aws::Vector< Aws::String > & GetProtocols() const
Explanation & WithFirewallStatefulRule(const FirewallStatefulRule &value)
void SetSecurityGroup(const AnalysisComponent &value)
void SetFirewallStatelessRule(FirewallStatelessRule &&value)
Explanation & WithLoadBalancerArn(const Aws::String &value)
Explanation & WithInternetGateway(const AnalysisComponent &value)
Explanation & AddAddresses(const char *value)
Explanation & WithComponentAccount(Aws::String &&value)
bool ExplanationCodeHasBeenSet() const
const AnalysisComponent & GetVpcPeeringConnection() const
const AnalysisComponent & GetDestination() const
Explanation & WithRouteTableRoute(AnalysisRouteTableRoute &&value)
void SetState(const char *value)
Explanation & WithPortRanges(Aws::Vector< PortRange > &&value)
Explanation & WithAttachedTo(const AnalysisComponent &value)
void SetSecurityGroupRule(AnalysisSecurityGroupRule &&value)
void SetDestinationVpc(const AnalysisComponent &value)
Explanation & WithVpnGateway(AnalysisComponent &&value)
Explanation & WithComponentAccount(const char *value)
AWS_EC2_API Explanation & operator=(const Aws::Utils::Xml::XmlNode &xmlNode)
void SetRouteTableRoute(AnalysisRouteTableRoute &&value)
Explanation & AddSecurityGroups(const AnalysisComponent &value)
Explanation & WithRouteTableRoute(const AnalysisRouteTableRoute &value)
void SetComponentAccount(const Aws::String &value)
Explanation & WithTransitGateway(const AnalysisComponent &value)
Explanation & WithProtocols(Aws::Vector< Aws::String > &&value)
Explanation & AddProtocols(const Aws::String &value)
const Aws::Vector< AnalysisComponent > & GetLoadBalancerTargetGroups() const
bool AvailabilityZonesHasBeenSet() const
Explanation & WithVpcEndpoint(AnalysisComponent &&value)
bool InternetGatewayHasBeenSet() const
void SetElasticLoadBalancerListener(const AnalysisComponent &value)
bool LoadBalancerTargetGroupsHasBeenSet() const
Explanation & WithDirection(Aws::String &&value)
void SetPacketField(const char *value)
void SetSecurityGroupRule(const AnalysisSecurityGroupRule &value)
Explanation & WithNatGateway(const AnalysisComponent &value)
Explanation & WithVpcPeeringConnection(AnalysisComponent &&value)
Explanation & WithTransitGatewayRouteTableRoute(const TransitGatewayRouteTableRoute &value)
Explanation & WithAddress(const char *value)
Definition Explanation.h:91
void SetClassicLoadBalancerListener(AnalysisLoadBalancerListener &&value)
const AnalysisComponent & GetSecurityGroup() const
Explanation & WithAvailabilityZones(const Aws::Vector< Aws::String > &value)
Explanation & WithState(const Aws::String &value)
void SetPacketField(const Aws::String &value)
void SetProtocols(const Aws::Vector< Aws::String > &value)
bool TransitGatewayRouteTableRouteHasBeenSet() const
void SetComponentRegion(const char *value)
bool VpnConnectionHasBeenSet() const
bool FirewallStatefulRuleHasBeenSet() const
const AnalysisComponent & GetVpc() const
const AnalysisComponent & GetComponent() const
void SetVpnGateway(const AnalysisComponent &value)
Explanation & WithAvailabilityZones(Aws::Vector< Aws::String > &&value)
const Aws::Vector< Aws::String > & GetAvailabilityZones() const
void SetLoadBalancerTargetPort(int value)
Explanation & WithAclRule(const AnalysisAclRule &value)
Definition Explanation.h:76
void SetComponent(AnalysisComponent &&value)
const FirewallStatelessRule & GetFirewallStatelessRule() const
const AnalysisComponent & GetVpcEndpoint() const
Explanation & WithDestinationVpc(const AnalysisComponent &value)
void SetDestination(AnalysisComponent &&value)
Explanation & WithVpc(AnalysisComponent &&value)
const Aws::String & GetComponentAccount() const
void SetVpnGateway(AnalysisComponent &&value)
Explanation & WithSubnetRouteTable(AnalysisComponent &&value)
bool TransitGatewayRouteTableHasBeenSet() const
void SetAclRule(const AnalysisAclRule &value)
Definition Explanation.h:74
Explanation & WithLoadBalancerTarget(AnalysisLoadBalancerTarget &&value)
bool RouteTableRouteHasBeenSet() const
Explanation & WithCustomerGateway(AnalysisComponent &&value)
void SetVpc(AnalysisComponent &&value)
Explanation & WithTransitGatewayRouteTable(const AnalysisComponent &value)
Explanation & WithPort(int value)
Explanation & WithIngressRouteTable(const AnalysisComponent &value)
Explanation & WithNetworkInterface(AnalysisComponent &&value)
void SetElasticLoadBalancerListener(AnalysisComponent &&value)
void SetClassicLoadBalancerListener(const AnalysisLoadBalancerListener &value)
bool SecurityGroupHasBeenSet() const
const Aws::String & GetComponentRegion() const
void SetTransitGatewayAttachment(const AnalysisComponent &value)
const Aws::Vector< Aws::String > & GetAddresses() const
Definition Explanation.h:98
void SetAttachedTo(const AnalysisComponent &value)
bool SecurityGroupRuleHasBeenSet() const
const AnalysisLoadBalancerTarget & GetLoadBalancerTarget() const
Explanation & WithExplanationCode(const Aws::String &value)
void SetTransitGateway(AnalysisComponent &&value)
Explanation & AddAvailabilityZones(Aws::String &&value)
void SetExplanationCode(const char *value)
Explanation & WithAcl(const AnalysisComponent &value)
Definition Explanation.h:64
AWS_EC2_API Explanation(const Aws::Utils::Xml::XmlNode &xmlNode)
int GetLoadBalancerListenerPort() const
Explanation & WithPortRanges(const Aws::Vector< PortRange > &value)
void SetPortRanges(const Aws::Vector< PortRange > &value)
Explanation & WithTransitGatewayRouteTable(AnalysisComponent &&value)
void SetSubnetRouteTable(const AnalysisComponent &value)
const Aws::String & GetLoadBalancerArn() const
const AnalysisComponent & GetSubnetRouteTable() const
Explanation & AddCidrs(const char *value)
Explanation & AddAddresses(const Aws::String &value)
bool LoadBalancerListenerPortHasBeenSet() const
Explanation & AddLoadBalancerTargetGroups(const AnalysisComponent &value)
void SetTransitGatewayRouteTableRoute(TransitGatewayRouteTableRoute &&value)
const Aws::Vector< Aws::String > & GetCidrs() const
Explanation & WithVpnConnection(const AnalysisComponent &value)
void SetTransitGateway(const AnalysisComponent &value)
const AnalysisComponent & GetTransitGatewayRouteTable() const
Explanation & WithExplanationCode(Aws::String &&value)
const FirewallStatefulRule & GetFirewallStatefulRule() const
Explanation & WithSubnet(AnalysisComponent &&value)
void SetDirection(const Aws::String &value)
void SetLoadBalancerTargetGroups(const Aws::Vector< AnalysisComponent > &value)
void SetRouteTable(const AnalysisComponent &value)
Explanation & WithComponentRegion(const char *value)
void SetLoadBalancerTargetGroup(AnalysisComponent &&value)
bool VpcPeeringConnectionHasBeenSet() const
Explanation & WithMissingComponent(const Aws::String &value)
void SetAclRule(AnalysisAclRule &&value)
Definition Explanation.h:75
void SetNatGateway(AnalysisComponent &&value)
void SetSubnet(const AnalysisComponent &value)
void SetAddress(const Aws::String &value)
Definition Explanation.h:86
bool ClassicLoadBalancerListenerHasBeenSet() const
const Aws::Vector< AnalysisComponent > & GetSecurityGroups() const
Explanation & WithComponentRegion(Aws::String &&value)
bool MissingComponentHasBeenSet() const
void SetComponentAccount(const char *value)
Explanation & WithFirewallStatefulRule(FirewallStatefulRule &&value)
bool TransitGatewayAttachmentHasBeenSet() const
const AnalysisComponent & GetCustomerGateway() const
const Aws::String & GetAddress() const
Definition Explanation.h:84
Explanation & WithAclRule(AnalysisAclRule &&value)
Definition Explanation.h:77
Explanation & WithVpcPeeringConnection(const AnalysisComponent &value)
void SetAddresses(const Aws::Vector< Aws::String > &value)
void SetMissingComponent(const Aws::String &value)
const AnalysisComponent & GetTransitGateway() const
void SetTransitGatewayRouteTableRoute(const TransitGatewayRouteTableRoute &value)
void SetVpcPeeringConnection(AnalysisComponent &&value)
Explanation & AddPortRanges(PortRange &&value)
void SetMissingComponent(const char *value)
void SetLoadBalancerArn(const Aws::String &value)
Explanation & WithSourceVpc(AnalysisComponent &&value)
void SetInternetGateway(const AnalysisComponent &value)
bool ElasticLoadBalancerListenerHasBeenSet() const
void SetVpcEndpoint(const AnalysisComponent &value)
bool ComponentRegionHasBeenSet() const
void SetLoadBalancerTarget(AnalysisLoadBalancerTarget &&value)
Explanation & WithLoadBalancerTarget(const AnalysisLoadBalancerTarget &value)
void SetTransitGatewayRouteTable(AnalysisComponent &&value)
void SetSecurityGroups(const Aws::Vector< AnalysisComponent > &value)
Explanation & WithAcl(AnalysisComponent &&value)
Definition Explanation.h:65
Explanation & WithFirewallStatelessRule(const FirewallStatelessRule &value)
void SetFirewallStatelessRule(const FirewallStatelessRule &value)
void SetNetworkInterface(const AnalysisComponent &value)
Explanation & WithDestination(AnalysisComponent &&value)
Explanation & WithExplanationCode(const char *value)
const AnalysisRouteTableRoute & GetRouteTableRoute() const
void SetPacketField(Aws::String &&value)
Explanation & WithProtocols(const Aws::Vector< Aws::String > &value)
Explanation & WithPrefixList(const AnalysisComponent &value)
bool LoadBalancerArnHasBeenSet() const
Explanation & WithSecurityGroup(AnalysisComponent &&value)
bool CustomerGatewayHasBeenSet() const
Explanation & AddPortRanges(const PortRange &value)
void SetTransitGatewayRouteTable(const AnalysisComponent &value)
Explanation & WithAddresses(const Aws::Vector< Aws::String > &value)
void SetPortRanges(Aws::Vector< PortRange > &&value)
const Aws::String & GetState() const
void SetRouteTableRoute(const AnalysisRouteTableRoute &value)
Explanation & WithComponent(const AnalysisComponent &value)
Explanation & WithElasticLoadBalancerListener(AnalysisComponent &&value)
Explanation & WithLoadBalancerTargetGroup(AnalysisComponent &&value)
const Aws::String & GetMissingComponent() const
Explanation & WithDestination(const AnalysisComponent &value)
Explanation & WithNatGateway(AnalysisComponent &&value)
void SetCidrs(Aws::Vector< Aws::String > &&value)
void SetAcl(const AnalysisComponent &value)
Definition Explanation.h:62
std::basic_string< char, std::char_traits< char >, Aws::Allocator< char > > String
std::vector< T, Aws::Allocator< T > > Vector
std::basic_ostream< char, std::char_traits< char > > OStream