AWS SDK for C++

AWS SDK for C++ Version 1.11.440

Loading...
Searching...
No Matches
ResourceViolation.h
1
6#pragma once
7#include <aws/fms/FMS_EXPORTS.h>
8#include <aws/fms/model/AwsVPCSecurityGroupViolation.h>
9#include <aws/fms/model/AwsEc2NetworkInterfaceViolation.h>
10#include <aws/fms/model/AwsEc2InstanceViolation.h>
11#include <aws/fms/model/NetworkFirewallMissingFirewallViolation.h>
12#include <aws/fms/model/NetworkFirewallMissingSubnetViolation.h>
13#include <aws/fms/model/NetworkFirewallMissingExpectedRTViolation.h>
14#include <aws/fms/model/NetworkFirewallPolicyModifiedViolation.h>
15#include <aws/fms/model/NetworkFirewallInternetTrafficNotInspectedViolation.h>
16#include <aws/fms/model/NetworkFirewallInvalidRouteConfigurationViolation.h>
17#include <aws/fms/model/NetworkFirewallBlackHoleRouteDetectedViolation.h>
18#include <aws/fms/model/NetworkFirewallUnexpectedFirewallRoutesViolation.h>
19#include <aws/fms/model/NetworkFirewallUnexpectedGatewayRoutesViolation.h>
20#include <aws/fms/model/NetworkFirewallMissingExpectedRoutesViolation.h>
21#include <aws/fms/model/DnsRuleGroupPriorityConflictViolation.h>
22#include <aws/fms/model/DnsDuplicateRuleGroupViolation.h>
23#include <aws/fms/model/DnsRuleGroupLimitExceededViolation.h>
24#include <aws/fms/model/FirewallSubnetIsOutOfScopeViolation.h>
25#include <aws/fms/model/RouteHasOutOfScopeEndpointViolation.h>
26#include <aws/fms/model/ThirdPartyFirewallMissingFirewallViolation.h>
27#include <aws/fms/model/ThirdPartyFirewallMissingSubnetViolation.h>
28#include <aws/fms/model/ThirdPartyFirewallMissingExpectedRouteTableViolation.h>
29#include <aws/fms/model/FirewallSubnetMissingVPCEndpointViolation.h>
30#include <aws/fms/model/InvalidNetworkAclEntriesViolation.h>
31#include <aws/fms/model/PossibleRemediationActions.h>
32#include <aws/fms/model/WebACLHasIncompatibleConfigurationViolation.h>
33#include <aws/fms/model/WebACLHasOutOfScopeResourcesViolation.h>
34#include <utility>
35
36namespace Aws
37{
38namespace Utils
39{
40namespace Json
41{
42 class JsonValue;
43 class JsonView;
44} // namespace Json
45} // namespace Utils
46namespace FMS
47{
48namespace Model
49{
50
57 {
58 public:
59 AWS_FMS_API ResourceViolation();
63
64
66
69 inline const AwsVPCSecurityGroupViolation& GetAwsVPCSecurityGroupViolation() const{ return m_awsVPCSecurityGroupViolation; }
70 inline bool AwsVPCSecurityGroupViolationHasBeenSet() const { return m_awsVPCSecurityGroupViolationHasBeenSet; }
71 inline void SetAwsVPCSecurityGroupViolation(const AwsVPCSecurityGroupViolation& value) { m_awsVPCSecurityGroupViolationHasBeenSet = true; m_awsVPCSecurityGroupViolation = value; }
72 inline void SetAwsVPCSecurityGroupViolation(AwsVPCSecurityGroupViolation&& value) { m_awsVPCSecurityGroupViolationHasBeenSet = true; m_awsVPCSecurityGroupViolation = std::move(value); }
76
78
81 inline const AwsEc2NetworkInterfaceViolation& GetAwsEc2NetworkInterfaceViolation() const{ return m_awsEc2NetworkInterfaceViolation; }
82 inline bool AwsEc2NetworkInterfaceViolationHasBeenSet() const { return m_awsEc2NetworkInterfaceViolationHasBeenSet; }
83 inline void SetAwsEc2NetworkInterfaceViolation(const AwsEc2NetworkInterfaceViolation& value) { m_awsEc2NetworkInterfaceViolationHasBeenSet = true; m_awsEc2NetworkInterfaceViolation = value; }
84 inline void SetAwsEc2NetworkInterfaceViolation(AwsEc2NetworkInterfaceViolation&& value) { m_awsEc2NetworkInterfaceViolationHasBeenSet = true; m_awsEc2NetworkInterfaceViolation = std::move(value); }
88
90
93 inline const AwsEc2InstanceViolation& GetAwsEc2InstanceViolation() const{ return m_awsEc2InstanceViolation; }
94 inline bool AwsEc2InstanceViolationHasBeenSet() const { return m_awsEc2InstanceViolationHasBeenSet; }
95 inline void SetAwsEc2InstanceViolation(const AwsEc2InstanceViolation& value) { m_awsEc2InstanceViolationHasBeenSet = true; m_awsEc2InstanceViolation = value; }
96 inline void SetAwsEc2InstanceViolation(AwsEc2InstanceViolation&& value) { m_awsEc2InstanceViolationHasBeenSet = true; m_awsEc2InstanceViolation = std::move(value); }
100
102
106 inline const NetworkFirewallMissingFirewallViolation& GetNetworkFirewallMissingFirewallViolation() const{ return m_networkFirewallMissingFirewallViolation; }
107 inline bool NetworkFirewallMissingFirewallViolationHasBeenSet() const { return m_networkFirewallMissingFirewallViolationHasBeenSet; }
108 inline void SetNetworkFirewallMissingFirewallViolation(const NetworkFirewallMissingFirewallViolation& value) { m_networkFirewallMissingFirewallViolationHasBeenSet = true; m_networkFirewallMissingFirewallViolation = value; }
109 inline void SetNetworkFirewallMissingFirewallViolation(NetworkFirewallMissingFirewallViolation&& value) { m_networkFirewallMissingFirewallViolationHasBeenSet = true; m_networkFirewallMissingFirewallViolation = std::move(value); }
113
115
119 inline const NetworkFirewallMissingSubnetViolation& GetNetworkFirewallMissingSubnetViolation() const{ return m_networkFirewallMissingSubnetViolation; }
120 inline bool NetworkFirewallMissingSubnetViolationHasBeenSet() const { return m_networkFirewallMissingSubnetViolationHasBeenSet; }
121 inline void SetNetworkFirewallMissingSubnetViolation(const NetworkFirewallMissingSubnetViolation& value) { m_networkFirewallMissingSubnetViolationHasBeenSet = true; m_networkFirewallMissingSubnetViolation = value; }
122 inline void SetNetworkFirewallMissingSubnetViolation(NetworkFirewallMissingSubnetViolation&& value) { m_networkFirewallMissingSubnetViolationHasBeenSet = true; m_networkFirewallMissingSubnetViolation = std::move(value); }
126
128
132 inline const NetworkFirewallMissingExpectedRTViolation& GetNetworkFirewallMissingExpectedRTViolation() const{ return m_networkFirewallMissingExpectedRTViolation; }
133 inline bool NetworkFirewallMissingExpectedRTViolationHasBeenSet() const { return m_networkFirewallMissingExpectedRTViolationHasBeenSet; }
134 inline void SetNetworkFirewallMissingExpectedRTViolation(const NetworkFirewallMissingExpectedRTViolation& value) { m_networkFirewallMissingExpectedRTViolationHasBeenSet = true; m_networkFirewallMissingExpectedRTViolation = value; }
135 inline void SetNetworkFirewallMissingExpectedRTViolation(NetworkFirewallMissingExpectedRTViolation&& value) { m_networkFirewallMissingExpectedRTViolationHasBeenSet = true; m_networkFirewallMissingExpectedRTViolation = std::move(value); }
139
141
148 inline const NetworkFirewallPolicyModifiedViolation& GetNetworkFirewallPolicyModifiedViolation() const{ return m_networkFirewallPolicyModifiedViolation; }
149 inline bool NetworkFirewallPolicyModifiedViolationHasBeenSet() const { return m_networkFirewallPolicyModifiedViolationHasBeenSet; }
150 inline void SetNetworkFirewallPolicyModifiedViolation(const NetworkFirewallPolicyModifiedViolation& value) { m_networkFirewallPolicyModifiedViolationHasBeenSet = true; m_networkFirewallPolicyModifiedViolation = value; }
151 inline void SetNetworkFirewallPolicyModifiedViolation(NetworkFirewallPolicyModifiedViolation&& value) { m_networkFirewallPolicyModifiedViolationHasBeenSet = true; m_networkFirewallPolicyModifiedViolation = std::move(value); }
155
157
161 inline const NetworkFirewallInternetTrafficNotInspectedViolation& GetNetworkFirewallInternetTrafficNotInspectedViolation() const{ return m_networkFirewallInternetTrafficNotInspectedViolation; }
162 inline bool NetworkFirewallInternetTrafficNotInspectedViolationHasBeenSet() const { return m_networkFirewallInternetTrafficNotInspectedViolationHasBeenSet; }
163 inline void SetNetworkFirewallInternetTrafficNotInspectedViolation(const NetworkFirewallInternetTrafficNotInspectedViolation& value) { m_networkFirewallInternetTrafficNotInspectedViolationHasBeenSet = true; m_networkFirewallInternetTrafficNotInspectedViolation = value; }
164 inline void SetNetworkFirewallInternetTrafficNotInspectedViolation(NetworkFirewallInternetTrafficNotInspectedViolation&& value) { m_networkFirewallInternetTrafficNotInspectedViolationHasBeenSet = true; m_networkFirewallInternetTrafficNotInspectedViolation = std::move(value); }
168
170
173 inline const NetworkFirewallInvalidRouteConfigurationViolation& GetNetworkFirewallInvalidRouteConfigurationViolation() const{ return m_networkFirewallInvalidRouteConfigurationViolation; }
174 inline bool NetworkFirewallInvalidRouteConfigurationViolationHasBeenSet() const { return m_networkFirewallInvalidRouteConfigurationViolationHasBeenSet; }
175 inline void SetNetworkFirewallInvalidRouteConfigurationViolation(const NetworkFirewallInvalidRouteConfigurationViolation& value) { m_networkFirewallInvalidRouteConfigurationViolationHasBeenSet = true; m_networkFirewallInvalidRouteConfigurationViolation = value; }
176 inline void SetNetworkFirewallInvalidRouteConfigurationViolation(NetworkFirewallInvalidRouteConfigurationViolation&& value) { m_networkFirewallInvalidRouteConfigurationViolationHasBeenSet = true; m_networkFirewallInvalidRouteConfigurationViolation = std::move(value); }
180
182
183 inline const NetworkFirewallBlackHoleRouteDetectedViolation& GetNetworkFirewallBlackHoleRouteDetectedViolation() const{ return m_networkFirewallBlackHoleRouteDetectedViolation; }
184 inline bool NetworkFirewallBlackHoleRouteDetectedViolationHasBeenSet() const { return m_networkFirewallBlackHoleRouteDetectedViolationHasBeenSet; }
185 inline void SetNetworkFirewallBlackHoleRouteDetectedViolation(const NetworkFirewallBlackHoleRouteDetectedViolation& value) { m_networkFirewallBlackHoleRouteDetectedViolationHasBeenSet = true; m_networkFirewallBlackHoleRouteDetectedViolation = value; }
186 inline void SetNetworkFirewallBlackHoleRouteDetectedViolation(NetworkFirewallBlackHoleRouteDetectedViolation&& value) { m_networkFirewallBlackHoleRouteDetectedViolationHasBeenSet = true; m_networkFirewallBlackHoleRouteDetectedViolation = std::move(value); }
190
192
195 inline const NetworkFirewallUnexpectedFirewallRoutesViolation& GetNetworkFirewallUnexpectedFirewallRoutesViolation() const{ return m_networkFirewallUnexpectedFirewallRoutesViolation; }
196 inline bool NetworkFirewallUnexpectedFirewallRoutesViolationHasBeenSet() const { return m_networkFirewallUnexpectedFirewallRoutesViolationHasBeenSet; }
197 inline void SetNetworkFirewallUnexpectedFirewallRoutesViolation(const NetworkFirewallUnexpectedFirewallRoutesViolation& value) { m_networkFirewallUnexpectedFirewallRoutesViolationHasBeenSet = true; m_networkFirewallUnexpectedFirewallRoutesViolation = value; }
198 inline void SetNetworkFirewallUnexpectedFirewallRoutesViolation(NetworkFirewallUnexpectedFirewallRoutesViolation&& value) { m_networkFirewallUnexpectedFirewallRoutesViolationHasBeenSet = true; m_networkFirewallUnexpectedFirewallRoutesViolation = std::move(value); }
202
204
207 inline const NetworkFirewallUnexpectedGatewayRoutesViolation& GetNetworkFirewallUnexpectedGatewayRoutesViolation() const{ return m_networkFirewallUnexpectedGatewayRoutesViolation; }
208 inline bool NetworkFirewallUnexpectedGatewayRoutesViolationHasBeenSet() const { return m_networkFirewallUnexpectedGatewayRoutesViolationHasBeenSet; }
209 inline void SetNetworkFirewallUnexpectedGatewayRoutesViolation(const NetworkFirewallUnexpectedGatewayRoutesViolation& value) { m_networkFirewallUnexpectedGatewayRoutesViolationHasBeenSet = true; m_networkFirewallUnexpectedGatewayRoutesViolation = value; }
210 inline void SetNetworkFirewallUnexpectedGatewayRoutesViolation(NetworkFirewallUnexpectedGatewayRoutesViolation&& value) { m_networkFirewallUnexpectedGatewayRoutesViolationHasBeenSet = true; m_networkFirewallUnexpectedGatewayRoutesViolation = std::move(value); }
214
216
219 inline const NetworkFirewallMissingExpectedRoutesViolation& GetNetworkFirewallMissingExpectedRoutesViolation() const{ return m_networkFirewallMissingExpectedRoutesViolation; }
220 inline bool NetworkFirewallMissingExpectedRoutesViolationHasBeenSet() const { return m_networkFirewallMissingExpectedRoutesViolationHasBeenSet; }
221 inline void SetNetworkFirewallMissingExpectedRoutesViolation(const NetworkFirewallMissingExpectedRoutesViolation& value) { m_networkFirewallMissingExpectedRoutesViolationHasBeenSet = true; m_networkFirewallMissingExpectedRoutesViolation = value; }
222 inline void SetNetworkFirewallMissingExpectedRoutesViolation(NetworkFirewallMissingExpectedRoutesViolation&& value) { m_networkFirewallMissingExpectedRoutesViolationHasBeenSet = true; m_networkFirewallMissingExpectedRoutesViolation = std::move(value); }
226
228
233 inline const DnsRuleGroupPriorityConflictViolation& GetDnsRuleGroupPriorityConflictViolation() const{ return m_dnsRuleGroupPriorityConflictViolation; }
234 inline bool DnsRuleGroupPriorityConflictViolationHasBeenSet() const { return m_dnsRuleGroupPriorityConflictViolationHasBeenSet; }
235 inline void SetDnsRuleGroupPriorityConflictViolation(const DnsRuleGroupPriorityConflictViolation& value) { m_dnsRuleGroupPriorityConflictViolationHasBeenSet = true; m_dnsRuleGroupPriorityConflictViolation = value; }
236 inline void SetDnsRuleGroupPriorityConflictViolation(DnsRuleGroupPriorityConflictViolation&& value) { m_dnsRuleGroupPriorityConflictViolationHasBeenSet = true; m_dnsRuleGroupPriorityConflictViolation = std::move(value); }
240
242
247 inline const DnsDuplicateRuleGroupViolation& GetDnsDuplicateRuleGroupViolation() const{ return m_dnsDuplicateRuleGroupViolation; }
248 inline bool DnsDuplicateRuleGroupViolationHasBeenSet() const { return m_dnsDuplicateRuleGroupViolationHasBeenSet; }
249 inline void SetDnsDuplicateRuleGroupViolation(const DnsDuplicateRuleGroupViolation& value) { m_dnsDuplicateRuleGroupViolationHasBeenSet = true; m_dnsDuplicateRuleGroupViolation = value; }
250 inline void SetDnsDuplicateRuleGroupViolation(DnsDuplicateRuleGroupViolation&& value) { m_dnsDuplicateRuleGroupViolationHasBeenSet = true; m_dnsDuplicateRuleGroupViolation = std::move(value); }
254
256
261 inline const DnsRuleGroupLimitExceededViolation& GetDnsRuleGroupLimitExceededViolation() const{ return m_dnsRuleGroupLimitExceededViolation; }
262 inline bool DnsRuleGroupLimitExceededViolationHasBeenSet() const { return m_dnsRuleGroupLimitExceededViolationHasBeenSet; }
263 inline void SetDnsRuleGroupLimitExceededViolation(const DnsRuleGroupLimitExceededViolation& value) { m_dnsRuleGroupLimitExceededViolationHasBeenSet = true; m_dnsRuleGroupLimitExceededViolation = value; }
264 inline void SetDnsRuleGroupLimitExceededViolation(DnsRuleGroupLimitExceededViolation&& value) { m_dnsRuleGroupLimitExceededViolationHasBeenSet = true; m_dnsRuleGroupLimitExceededViolation = std::move(value); }
268
270
274 inline const FirewallSubnetIsOutOfScopeViolation& GetFirewallSubnetIsOutOfScopeViolation() const{ return m_firewallSubnetIsOutOfScopeViolation; }
275 inline bool FirewallSubnetIsOutOfScopeViolationHasBeenSet() const { return m_firewallSubnetIsOutOfScopeViolationHasBeenSet; }
276 inline void SetFirewallSubnetIsOutOfScopeViolation(const FirewallSubnetIsOutOfScopeViolation& value) { m_firewallSubnetIsOutOfScopeViolationHasBeenSet = true; m_firewallSubnetIsOutOfScopeViolation = value; }
277 inline void SetFirewallSubnetIsOutOfScopeViolation(FirewallSubnetIsOutOfScopeViolation&& value) { m_firewallSubnetIsOutOfScopeViolationHasBeenSet = true; m_firewallSubnetIsOutOfScopeViolation = std::move(value); }
281
283
286 inline const RouteHasOutOfScopeEndpointViolation& GetRouteHasOutOfScopeEndpointViolation() const{ return m_routeHasOutOfScopeEndpointViolation; }
287 inline bool RouteHasOutOfScopeEndpointViolationHasBeenSet() const { return m_routeHasOutOfScopeEndpointViolationHasBeenSet; }
288 inline void SetRouteHasOutOfScopeEndpointViolation(const RouteHasOutOfScopeEndpointViolation& value) { m_routeHasOutOfScopeEndpointViolationHasBeenSet = true; m_routeHasOutOfScopeEndpointViolation = value; }
289 inline void SetRouteHasOutOfScopeEndpointViolation(RouteHasOutOfScopeEndpointViolation&& value) { m_routeHasOutOfScopeEndpointViolationHasBeenSet = true; m_routeHasOutOfScopeEndpointViolation = std::move(value); }
293
295
298 inline const ThirdPartyFirewallMissingFirewallViolation& GetThirdPartyFirewallMissingFirewallViolation() const{ return m_thirdPartyFirewallMissingFirewallViolation; }
299 inline bool ThirdPartyFirewallMissingFirewallViolationHasBeenSet() const { return m_thirdPartyFirewallMissingFirewallViolationHasBeenSet; }
300 inline void SetThirdPartyFirewallMissingFirewallViolation(const ThirdPartyFirewallMissingFirewallViolation& value) { m_thirdPartyFirewallMissingFirewallViolationHasBeenSet = true; m_thirdPartyFirewallMissingFirewallViolation = value; }
301 inline void SetThirdPartyFirewallMissingFirewallViolation(ThirdPartyFirewallMissingFirewallViolation&& value) { m_thirdPartyFirewallMissingFirewallViolationHasBeenSet = true; m_thirdPartyFirewallMissingFirewallViolation = std::move(value); }
305
307
311 inline const ThirdPartyFirewallMissingSubnetViolation& GetThirdPartyFirewallMissingSubnetViolation() const{ return m_thirdPartyFirewallMissingSubnetViolation; }
312 inline bool ThirdPartyFirewallMissingSubnetViolationHasBeenSet() const { return m_thirdPartyFirewallMissingSubnetViolationHasBeenSet; }
313 inline void SetThirdPartyFirewallMissingSubnetViolation(const ThirdPartyFirewallMissingSubnetViolation& value) { m_thirdPartyFirewallMissingSubnetViolationHasBeenSet = true; m_thirdPartyFirewallMissingSubnetViolation = value; }
314 inline void SetThirdPartyFirewallMissingSubnetViolation(ThirdPartyFirewallMissingSubnetViolation&& value) { m_thirdPartyFirewallMissingSubnetViolationHasBeenSet = true; m_thirdPartyFirewallMissingSubnetViolation = std::move(value); }
318
320
325 inline const ThirdPartyFirewallMissingExpectedRouteTableViolation& GetThirdPartyFirewallMissingExpectedRouteTableViolation() const{ return m_thirdPartyFirewallMissingExpectedRouteTableViolation; }
326 inline bool ThirdPartyFirewallMissingExpectedRouteTableViolationHasBeenSet() const { return m_thirdPartyFirewallMissingExpectedRouteTableViolationHasBeenSet; }
327 inline void SetThirdPartyFirewallMissingExpectedRouteTableViolation(const ThirdPartyFirewallMissingExpectedRouteTableViolation& value) { m_thirdPartyFirewallMissingExpectedRouteTableViolationHasBeenSet = true; m_thirdPartyFirewallMissingExpectedRouteTableViolation = value; }
328 inline void SetThirdPartyFirewallMissingExpectedRouteTableViolation(ThirdPartyFirewallMissingExpectedRouteTableViolation&& value) { m_thirdPartyFirewallMissingExpectedRouteTableViolationHasBeenSet = true; m_thirdPartyFirewallMissingExpectedRouteTableViolation = std::move(value); }
332
334
338 inline const FirewallSubnetMissingVPCEndpointViolation& GetFirewallSubnetMissingVPCEndpointViolation() const{ return m_firewallSubnetMissingVPCEndpointViolation; }
339 inline bool FirewallSubnetMissingVPCEndpointViolationHasBeenSet() const { return m_firewallSubnetMissingVPCEndpointViolationHasBeenSet; }
340 inline void SetFirewallSubnetMissingVPCEndpointViolation(const FirewallSubnetMissingVPCEndpointViolation& value) { m_firewallSubnetMissingVPCEndpointViolationHasBeenSet = true; m_firewallSubnetMissingVPCEndpointViolation = value; }
341 inline void SetFirewallSubnetMissingVPCEndpointViolation(FirewallSubnetMissingVPCEndpointViolation&& value) { m_firewallSubnetMissingVPCEndpointViolationHasBeenSet = true; m_firewallSubnetMissingVPCEndpointViolation = std::move(value); }
345
347
350 inline const InvalidNetworkAclEntriesViolation& GetInvalidNetworkAclEntriesViolation() const{ return m_invalidNetworkAclEntriesViolation; }
351 inline bool InvalidNetworkAclEntriesViolationHasBeenSet() const { return m_invalidNetworkAclEntriesViolationHasBeenSet; }
352 inline void SetInvalidNetworkAclEntriesViolation(const InvalidNetworkAclEntriesViolation& value) { m_invalidNetworkAclEntriesViolationHasBeenSet = true; m_invalidNetworkAclEntriesViolation = value; }
353 inline void SetInvalidNetworkAclEntriesViolation(InvalidNetworkAclEntriesViolation&& value) { m_invalidNetworkAclEntriesViolationHasBeenSet = true; m_invalidNetworkAclEntriesViolation = std::move(value); }
357
359
363 inline const PossibleRemediationActions& GetPossibleRemediationActions() const{ return m_possibleRemediationActions; }
364 inline bool PossibleRemediationActionsHasBeenSet() const { return m_possibleRemediationActionsHasBeenSet; }
365 inline void SetPossibleRemediationActions(const PossibleRemediationActions& value) { m_possibleRemediationActionsHasBeenSet = true; m_possibleRemediationActions = value; }
366 inline void SetPossibleRemediationActions(PossibleRemediationActions&& value) { m_possibleRemediationActionsHasBeenSet = true; m_possibleRemediationActions = std::move(value); }
370
372
376 inline const WebACLHasIncompatibleConfigurationViolation& GetWebACLHasIncompatibleConfigurationViolation() const{ return m_webACLHasIncompatibleConfigurationViolation; }
377 inline bool WebACLHasIncompatibleConfigurationViolationHasBeenSet() const { return m_webACLHasIncompatibleConfigurationViolationHasBeenSet; }
378 inline void SetWebACLHasIncompatibleConfigurationViolation(const WebACLHasIncompatibleConfigurationViolation& value) { m_webACLHasIncompatibleConfigurationViolationHasBeenSet = true; m_webACLHasIncompatibleConfigurationViolation = value; }
379 inline void SetWebACLHasIncompatibleConfigurationViolation(WebACLHasIncompatibleConfigurationViolation&& value) { m_webACLHasIncompatibleConfigurationViolationHasBeenSet = true; m_webACLHasIncompatibleConfigurationViolation = std::move(value); }
383
385
389 inline const WebACLHasOutOfScopeResourcesViolation& GetWebACLHasOutOfScopeResourcesViolation() const{ return m_webACLHasOutOfScopeResourcesViolation; }
390 inline bool WebACLHasOutOfScopeResourcesViolationHasBeenSet() const { return m_webACLHasOutOfScopeResourcesViolationHasBeenSet; }
391 inline void SetWebACLHasOutOfScopeResourcesViolation(const WebACLHasOutOfScopeResourcesViolation& value) { m_webACLHasOutOfScopeResourcesViolationHasBeenSet = true; m_webACLHasOutOfScopeResourcesViolation = value; }
392 inline void SetWebACLHasOutOfScopeResourcesViolation(WebACLHasOutOfScopeResourcesViolation&& value) { m_webACLHasOutOfScopeResourcesViolationHasBeenSet = true; m_webACLHasOutOfScopeResourcesViolation = std::move(value); }
396 private:
397
398 AwsVPCSecurityGroupViolation m_awsVPCSecurityGroupViolation;
399 bool m_awsVPCSecurityGroupViolationHasBeenSet = false;
400
401 AwsEc2NetworkInterfaceViolation m_awsEc2NetworkInterfaceViolation;
402 bool m_awsEc2NetworkInterfaceViolationHasBeenSet = false;
403
404 AwsEc2InstanceViolation m_awsEc2InstanceViolation;
405 bool m_awsEc2InstanceViolationHasBeenSet = false;
406
407 NetworkFirewallMissingFirewallViolation m_networkFirewallMissingFirewallViolation;
408 bool m_networkFirewallMissingFirewallViolationHasBeenSet = false;
409
410 NetworkFirewallMissingSubnetViolation m_networkFirewallMissingSubnetViolation;
411 bool m_networkFirewallMissingSubnetViolationHasBeenSet = false;
412
413 NetworkFirewallMissingExpectedRTViolation m_networkFirewallMissingExpectedRTViolation;
414 bool m_networkFirewallMissingExpectedRTViolationHasBeenSet = false;
415
416 NetworkFirewallPolicyModifiedViolation m_networkFirewallPolicyModifiedViolation;
417 bool m_networkFirewallPolicyModifiedViolationHasBeenSet = false;
418
419 NetworkFirewallInternetTrafficNotInspectedViolation m_networkFirewallInternetTrafficNotInspectedViolation;
420 bool m_networkFirewallInternetTrafficNotInspectedViolationHasBeenSet = false;
421
422 NetworkFirewallInvalidRouteConfigurationViolation m_networkFirewallInvalidRouteConfigurationViolation;
423 bool m_networkFirewallInvalidRouteConfigurationViolationHasBeenSet = false;
424
425 NetworkFirewallBlackHoleRouteDetectedViolation m_networkFirewallBlackHoleRouteDetectedViolation;
426 bool m_networkFirewallBlackHoleRouteDetectedViolationHasBeenSet = false;
427
428 NetworkFirewallUnexpectedFirewallRoutesViolation m_networkFirewallUnexpectedFirewallRoutesViolation;
429 bool m_networkFirewallUnexpectedFirewallRoutesViolationHasBeenSet = false;
430
431 NetworkFirewallUnexpectedGatewayRoutesViolation m_networkFirewallUnexpectedGatewayRoutesViolation;
432 bool m_networkFirewallUnexpectedGatewayRoutesViolationHasBeenSet = false;
433
434 NetworkFirewallMissingExpectedRoutesViolation m_networkFirewallMissingExpectedRoutesViolation;
435 bool m_networkFirewallMissingExpectedRoutesViolationHasBeenSet = false;
436
437 DnsRuleGroupPriorityConflictViolation m_dnsRuleGroupPriorityConflictViolation;
438 bool m_dnsRuleGroupPriorityConflictViolationHasBeenSet = false;
439
440 DnsDuplicateRuleGroupViolation m_dnsDuplicateRuleGroupViolation;
441 bool m_dnsDuplicateRuleGroupViolationHasBeenSet = false;
442
443 DnsRuleGroupLimitExceededViolation m_dnsRuleGroupLimitExceededViolation;
444 bool m_dnsRuleGroupLimitExceededViolationHasBeenSet = false;
445
446 FirewallSubnetIsOutOfScopeViolation m_firewallSubnetIsOutOfScopeViolation;
447 bool m_firewallSubnetIsOutOfScopeViolationHasBeenSet = false;
448
449 RouteHasOutOfScopeEndpointViolation m_routeHasOutOfScopeEndpointViolation;
450 bool m_routeHasOutOfScopeEndpointViolationHasBeenSet = false;
451
452 ThirdPartyFirewallMissingFirewallViolation m_thirdPartyFirewallMissingFirewallViolation;
453 bool m_thirdPartyFirewallMissingFirewallViolationHasBeenSet = false;
454
455 ThirdPartyFirewallMissingSubnetViolation m_thirdPartyFirewallMissingSubnetViolation;
456 bool m_thirdPartyFirewallMissingSubnetViolationHasBeenSet = false;
457
458 ThirdPartyFirewallMissingExpectedRouteTableViolation m_thirdPartyFirewallMissingExpectedRouteTableViolation;
459 bool m_thirdPartyFirewallMissingExpectedRouteTableViolationHasBeenSet = false;
460
461 FirewallSubnetMissingVPCEndpointViolation m_firewallSubnetMissingVPCEndpointViolation;
462 bool m_firewallSubnetMissingVPCEndpointViolationHasBeenSet = false;
463
464 InvalidNetworkAclEntriesViolation m_invalidNetworkAclEntriesViolation;
465 bool m_invalidNetworkAclEntriesViolationHasBeenSet = false;
466
467 PossibleRemediationActions m_possibleRemediationActions;
468 bool m_possibleRemediationActionsHasBeenSet = false;
469
470 WebACLHasIncompatibleConfigurationViolation m_webACLHasIncompatibleConfigurationViolation;
471 bool m_webACLHasIncompatibleConfigurationViolationHasBeenSet = false;
472
473 WebACLHasOutOfScopeResourcesViolation m_webACLHasOutOfScopeResourcesViolation;
474 bool m_webACLHasOutOfScopeResourcesViolationHasBeenSet = false;
475 };
476
477} // namespace Model
478} // namespace FMS
479} // namespace Aws
const FirewallSubnetIsOutOfScopeViolation & GetFirewallSubnetIsOutOfScopeViolation() const
void SetAwsVPCSecurityGroupViolation(const AwsVPCSecurityGroupViolation &value)
bool WebACLHasIncompatibleConfigurationViolationHasBeenSet() const
bool ThirdPartyFirewallMissingSubnetViolationHasBeenSet() const
const NetworkFirewallInternetTrafficNotInspectedViolation & GetNetworkFirewallInternetTrafficNotInspectedViolation() const
void SetInvalidNetworkAclEntriesViolation(const InvalidNetworkAclEntriesViolation &value)
ResourceViolation & WithThirdPartyFirewallMissingFirewallViolation(ThirdPartyFirewallMissingFirewallViolation &&value)
ResourceViolation & WithNetworkFirewallMissingExpectedRoutesViolation(const NetworkFirewallMissingExpectedRoutesViolation &value)
void SetDnsRuleGroupLimitExceededViolation(DnsRuleGroupLimitExceededViolation &&value)
const ThirdPartyFirewallMissingFirewallViolation & GetThirdPartyFirewallMissingFirewallViolation() const
ResourceViolation & WithPossibleRemediationActions(PossibleRemediationActions &&value)
void SetNetworkFirewallMissingFirewallViolation(NetworkFirewallMissingFirewallViolation &&value)
const InvalidNetworkAclEntriesViolation & GetInvalidNetworkAclEntriesViolation() const
bool NetworkFirewallMissingExpectedRoutesViolationHasBeenSet() const
ResourceViolation & WithNetworkFirewallInvalidRouteConfigurationViolation(const NetworkFirewallInvalidRouteConfigurationViolation &value)
ResourceViolation & WithNetworkFirewallBlackHoleRouteDetectedViolation(NetworkFirewallBlackHoleRouteDetectedViolation &&value)
ResourceViolation & WithWebACLHasOutOfScopeResourcesViolation(WebACLHasOutOfScopeResourcesViolation &&value)
void SetNetworkFirewallInvalidRouteConfigurationViolation(const NetworkFirewallInvalidRouteConfigurationViolation &value)
void SetAwsEc2InstanceViolation(AwsEc2InstanceViolation &&value)
ResourceViolation & WithWebACLHasIncompatibleConfigurationViolation(WebACLHasIncompatibleConfigurationViolation &&value)
void SetDnsRuleGroupLimitExceededViolation(const DnsRuleGroupLimitExceededViolation &value)
ResourceViolation & WithDnsRuleGroupPriorityConflictViolation(DnsRuleGroupPriorityConflictViolation &&value)
AWS_FMS_API ResourceViolation(Aws::Utils::Json::JsonView jsonValue)
void SetWebACLHasIncompatibleConfigurationViolation(const WebACLHasIncompatibleConfigurationViolation &value)
ResourceViolation & WithAwsVPCSecurityGroupViolation(const AwsVPCSecurityGroupViolation &value)
const RouteHasOutOfScopeEndpointViolation & GetRouteHasOutOfScopeEndpointViolation() const
void SetThirdPartyFirewallMissingFirewallViolation(ThirdPartyFirewallMissingFirewallViolation &&value)
void SetFirewallSubnetMissingVPCEndpointViolation(FirewallSubnetMissingVPCEndpointViolation &&value)
const DnsRuleGroupPriorityConflictViolation & GetDnsRuleGroupPriorityConflictViolation() const
void SetThirdPartyFirewallMissingFirewallViolation(const ThirdPartyFirewallMissingFirewallViolation &value)
void SetAwsEc2NetworkInterfaceViolation(const AwsEc2NetworkInterfaceViolation &value)
const DnsDuplicateRuleGroupViolation & GetDnsDuplicateRuleGroupViolation() const
ResourceViolation & WithNetworkFirewallPolicyModifiedViolation(const NetworkFirewallPolicyModifiedViolation &value)
const NetworkFirewallMissingSubnetViolation & GetNetworkFirewallMissingSubnetViolation() const
void SetNetworkFirewallUnexpectedGatewayRoutesViolation(const NetworkFirewallUnexpectedGatewayRoutesViolation &value)
const AwsEc2NetworkInterfaceViolation & GetAwsEc2NetworkInterfaceViolation() const
ResourceViolation & WithDnsRuleGroupLimitExceededViolation(DnsRuleGroupLimitExceededViolation &&value)
void SetDnsDuplicateRuleGroupViolation(const DnsDuplicateRuleGroupViolation &value)
void SetNetworkFirewallUnexpectedFirewallRoutesViolation(NetworkFirewallUnexpectedFirewallRoutesViolation &&value)
const NetworkFirewallMissingFirewallViolation & GetNetworkFirewallMissingFirewallViolation() const
void SetFirewallSubnetIsOutOfScopeViolation(FirewallSubnetIsOutOfScopeViolation &&value)
ResourceViolation & WithNetworkFirewallMissingExpectedRTViolation(NetworkFirewallMissingExpectedRTViolation &&value)
void SetFirewallSubnetIsOutOfScopeViolation(const FirewallSubnetIsOutOfScopeViolation &value)
const NetworkFirewallInvalidRouteConfigurationViolation & GetNetworkFirewallInvalidRouteConfigurationViolation() const
ResourceViolation & WithDnsDuplicateRuleGroupViolation(const DnsDuplicateRuleGroupViolation &value)
bool ThirdPartyFirewallMissingFirewallViolationHasBeenSet() const
void SetNetworkFirewallPolicyModifiedViolation(const NetworkFirewallPolicyModifiedViolation &value)
void SetThirdPartyFirewallMissingSubnetViolation(ThirdPartyFirewallMissingSubnetViolation &&value)
void SetWebACLHasOutOfScopeResourcesViolation(const WebACLHasOutOfScopeResourcesViolation &value)
void SetWebACLHasOutOfScopeResourcesViolation(WebACLHasOutOfScopeResourcesViolation &&value)
ResourceViolation & WithAwsEc2InstanceViolation(AwsEc2InstanceViolation &&value)
void SetNetworkFirewallPolicyModifiedViolation(NetworkFirewallPolicyModifiedViolation &&value)
bool DnsRuleGroupPriorityConflictViolationHasBeenSet() const
void SetInvalidNetworkAclEntriesViolation(InvalidNetworkAclEntriesViolation &&value)
bool NetworkFirewallBlackHoleRouteDetectedViolationHasBeenSet() const
ResourceViolation & WithNetworkFirewallPolicyModifiedViolation(NetworkFirewallPolicyModifiedViolation &&value)
ResourceViolation & WithNetworkFirewallUnexpectedFirewallRoutesViolation(NetworkFirewallUnexpectedFirewallRoutesViolation &&value)
const AwsVPCSecurityGroupViolation & GetAwsVPCSecurityGroupViolation() const
ResourceViolation & WithRouteHasOutOfScopeEndpointViolation(const RouteHasOutOfScopeEndpointViolation &value)
bool NetworkFirewallMissingSubnetViolationHasBeenSet() const
bool NetworkFirewallInvalidRouteConfigurationViolationHasBeenSet() const
void SetNetworkFirewallInvalidRouteConfigurationViolation(NetworkFirewallInvalidRouteConfigurationViolation &&value)
ResourceViolation & WithFirewallSubnetMissingVPCEndpointViolation(const FirewallSubnetMissingVPCEndpointViolation &value)
void SetThirdPartyFirewallMissingExpectedRouteTableViolation(ThirdPartyFirewallMissingExpectedRouteTableViolation &&value)
ResourceViolation & WithThirdPartyFirewallMissingSubnetViolation(const ThirdPartyFirewallMissingSubnetViolation &value)
ResourceViolation & WithNetworkFirewallMissingFirewallViolation(NetworkFirewallMissingFirewallViolation &&value)
const NetworkFirewallUnexpectedFirewallRoutesViolation & GetNetworkFirewallUnexpectedFirewallRoutesViolation() const
ResourceViolation & WithWebACLHasOutOfScopeResourcesViolation(const WebACLHasOutOfScopeResourcesViolation &value)
ResourceViolation & WithNetworkFirewallUnexpectedGatewayRoutesViolation(NetworkFirewallUnexpectedGatewayRoutesViolation &&value)
ResourceViolation & WithNetworkFirewallInternetTrafficNotInspectedViolation(const NetworkFirewallInternetTrafficNotInspectedViolation &value)
const PossibleRemediationActions & GetPossibleRemediationActions() const
void SetNetworkFirewallBlackHoleRouteDetectedViolation(NetworkFirewallBlackHoleRouteDetectedViolation &&value)
void SetThirdPartyFirewallMissingExpectedRouteTableViolation(const ThirdPartyFirewallMissingExpectedRouteTableViolation &value)
bool NetworkFirewallUnexpectedFirewallRoutesViolationHasBeenSet() const
const DnsRuleGroupLimitExceededViolation & GetDnsRuleGroupLimitExceededViolation() const
bool NetworkFirewallUnexpectedGatewayRoutesViolationHasBeenSet() const
ResourceViolation & WithThirdPartyFirewallMissingExpectedRouteTableViolation(ThirdPartyFirewallMissingExpectedRouteTableViolation &&value)
ResourceViolation & WithFirewallSubnetIsOutOfScopeViolation(const FirewallSubnetIsOutOfScopeViolation &value)
void SetAwsVPCSecurityGroupViolation(AwsVPCSecurityGroupViolation &&value)
ResourceViolation & WithInvalidNetworkAclEntriesViolation(InvalidNetworkAclEntriesViolation &&value)
bool NetworkFirewallPolicyModifiedViolationHasBeenSet() const
bool ThirdPartyFirewallMissingExpectedRouteTableViolationHasBeenSet() const
void SetThirdPartyFirewallMissingSubnetViolation(const ThirdPartyFirewallMissingSubnetViolation &value)
bool NetworkFirewallMissingExpectedRTViolationHasBeenSet() const
AWS_FMS_API Aws::Utils::Json::JsonValue Jsonize() const
AWS_FMS_API ResourceViolation & operator=(Aws::Utils::Json::JsonView jsonValue)
void SetAwsEc2NetworkInterfaceViolation(AwsEc2NetworkInterfaceViolation &&value)
void SetNetworkFirewallUnexpectedFirewallRoutesViolation(const NetworkFirewallUnexpectedFirewallRoutesViolation &value)
void SetPossibleRemediationActions(PossibleRemediationActions &&value)
ResourceViolation & WithNetworkFirewallMissingExpectedRoutesViolation(NetworkFirewallMissingExpectedRoutesViolation &&value)
const ThirdPartyFirewallMissingExpectedRouteTableViolation & GetThirdPartyFirewallMissingExpectedRouteTableViolation() const
void SetPossibleRemediationActions(const PossibleRemediationActions &value)
void SetNetworkFirewallMissingExpectedRTViolation(NetworkFirewallMissingExpectedRTViolation &&value)
ResourceViolation & WithThirdPartyFirewallMissingSubnetViolation(ThirdPartyFirewallMissingSubnetViolation &&value)
ResourceViolation & WithNetworkFirewallUnexpectedGatewayRoutesViolation(const NetworkFirewallUnexpectedGatewayRoutesViolation &value)
void SetNetworkFirewallMissingExpectedRoutesViolation(NetworkFirewallMissingExpectedRoutesViolation &&value)
const ThirdPartyFirewallMissingSubnetViolation & GetThirdPartyFirewallMissingSubnetViolation() const
ResourceViolation & WithThirdPartyFirewallMissingExpectedRouteTableViolation(const ThirdPartyFirewallMissingExpectedRouteTableViolation &value)
ResourceViolation & WithDnsRuleGroupPriorityConflictViolation(const DnsRuleGroupPriorityConflictViolation &value)
bool NetworkFirewallMissingFirewallViolationHasBeenSet() const
void SetNetworkFirewallUnexpectedGatewayRoutesViolation(NetworkFirewallUnexpectedGatewayRoutesViolation &&value)
ResourceViolation & WithNetworkFirewallInvalidRouteConfigurationViolation(NetworkFirewallInvalidRouteConfigurationViolation &&value)
ResourceViolation & WithPossibleRemediationActions(const PossibleRemediationActions &value)
const NetworkFirewallUnexpectedGatewayRoutesViolation & GetNetworkFirewallUnexpectedGatewayRoutesViolation() const
void SetNetworkFirewallMissingExpectedRoutesViolation(const NetworkFirewallMissingExpectedRoutesViolation &value)
ResourceViolation & WithInvalidNetworkAclEntriesViolation(const InvalidNetworkAclEntriesViolation &value)
void SetWebACLHasIncompatibleConfigurationViolation(WebACLHasIncompatibleConfigurationViolation &&value)
void SetNetworkFirewallBlackHoleRouteDetectedViolation(const NetworkFirewallBlackHoleRouteDetectedViolation &value)
const WebACLHasOutOfScopeResourcesViolation & GetWebACLHasOutOfScopeResourcesViolation() const
ResourceViolation & WithNetworkFirewallMissingExpectedRTViolation(const NetworkFirewallMissingExpectedRTViolation &value)
ResourceViolation & WithAwsEc2InstanceViolation(const AwsEc2InstanceViolation &value)
ResourceViolation & WithAwsVPCSecurityGroupViolation(AwsVPCSecurityGroupViolation &&value)
bool NetworkFirewallInternetTrafficNotInspectedViolationHasBeenSet() const
const WebACLHasIncompatibleConfigurationViolation & GetWebACLHasIncompatibleConfigurationViolation() const
void SetNetworkFirewallInternetTrafficNotInspectedViolation(const NetworkFirewallInternetTrafficNotInspectedViolation &value)
void SetAwsEc2InstanceViolation(const AwsEc2InstanceViolation &value)
void SetDnsRuleGroupPriorityConflictViolation(const DnsRuleGroupPriorityConflictViolation &value)
ResourceViolation & WithNetworkFirewallMissingSubnetViolation(NetworkFirewallMissingSubnetViolation &&value)
ResourceViolation & WithAwsEc2NetworkInterfaceViolation(const AwsEc2NetworkInterfaceViolation &value)
bool WebACLHasOutOfScopeResourcesViolationHasBeenSet() const
void SetRouteHasOutOfScopeEndpointViolation(RouteHasOutOfScopeEndpointViolation &&value)
ResourceViolation & WithThirdPartyFirewallMissingFirewallViolation(const ThirdPartyFirewallMissingFirewallViolation &value)
const NetworkFirewallMissingExpectedRoutesViolation & GetNetworkFirewallMissingExpectedRoutesViolation() const
void SetNetworkFirewallMissingExpectedRTViolation(const NetworkFirewallMissingExpectedRTViolation &value)
const NetworkFirewallBlackHoleRouteDetectedViolation & GetNetworkFirewallBlackHoleRouteDetectedViolation() const
ResourceViolation & WithDnsDuplicateRuleGroupViolation(DnsDuplicateRuleGroupViolation &&value)
void SetDnsDuplicateRuleGroupViolation(DnsDuplicateRuleGroupViolation &&value)
bool FirewallSubnetMissingVPCEndpointViolationHasBeenSet() const
ResourceViolation & WithNetworkFirewallMissingFirewallViolation(const NetworkFirewallMissingFirewallViolation &value)
ResourceViolation & WithFirewallSubnetIsOutOfScopeViolation(FirewallSubnetIsOutOfScopeViolation &&value)
ResourceViolation & WithNetworkFirewallMissingSubnetViolation(const NetworkFirewallMissingSubnetViolation &value)
void SetFirewallSubnetMissingVPCEndpointViolation(const FirewallSubnetMissingVPCEndpointViolation &value)
const NetworkFirewallMissingExpectedRTViolation & GetNetworkFirewallMissingExpectedRTViolation() const
void SetNetworkFirewallInternetTrafficNotInspectedViolation(NetworkFirewallInternetTrafficNotInspectedViolation &&value)
ResourceViolation & WithRouteHasOutOfScopeEndpointViolation(RouteHasOutOfScopeEndpointViolation &&value)
void SetNetworkFirewallMissingSubnetViolation(NetworkFirewallMissingSubnetViolation &&value)
void SetNetworkFirewallMissingFirewallViolation(const NetworkFirewallMissingFirewallViolation &value)
const FirewallSubnetMissingVPCEndpointViolation & GetFirewallSubnetMissingVPCEndpointViolation() const
void SetRouteHasOutOfScopeEndpointViolation(const RouteHasOutOfScopeEndpointViolation &value)
void SetDnsRuleGroupPriorityConflictViolation(DnsRuleGroupPriorityConflictViolation &&value)
ResourceViolation & WithNetworkFirewallUnexpectedFirewallRoutesViolation(const NetworkFirewallUnexpectedFirewallRoutesViolation &value)
ResourceViolation & WithFirewallSubnetMissingVPCEndpointViolation(FirewallSubnetMissingVPCEndpointViolation &&value)
ResourceViolation & WithNetworkFirewallBlackHoleRouteDetectedViolation(const NetworkFirewallBlackHoleRouteDetectedViolation &value)
const AwsEc2InstanceViolation & GetAwsEc2InstanceViolation() const
void SetNetworkFirewallMissingSubnetViolation(const NetworkFirewallMissingSubnetViolation &value)
ResourceViolation & WithDnsRuleGroupLimitExceededViolation(const DnsRuleGroupLimitExceededViolation &value)
ResourceViolation & WithWebACLHasIncompatibleConfigurationViolation(const WebACLHasIncompatibleConfigurationViolation &value)
ResourceViolation & WithNetworkFirewallInternetTrafficNotInspectedViolation(NetworkFirewallInternetTrafficNotInspectedViolation &&value)
ResourceViolation & WithAwsEc2NetworkInterfaceViolation(AwsEc2NetworkInterfaceViolation &&value)
const NetworkFirewallPolicyModifiedViolation & GetNetworkFirewallPolicyModifiedViolation() const
Aws::Utils::Json::JsonValue JsonValue