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>
399 bool m_awsVPCSecurityGroupViolationHasBeenSet =
false;
402 bool m_awsEc2NetworkInterfaceViolationHasBeenSet =
false;
405 bool m_awsEc2InstanceViolationHasBeenSet =
false;
408 bool m_networkFirewallMissingFirewallViolationHasBeenSet =
false;
411 bool m_networkFirewallMissingSubnetViolationHasBeenSet =
false;
414 bool m_networkFirewallMissingExpectedRTViolationHasBeenSet =
false;
417 bool m_networkFirewallPolicyModifiedViolationHasBeenSet =
false;
420 bool m_networkFirewallInternetTrafficNotInspectedViolationHasBeenSet =
false;
423 bool m_networkFirewallInvalidRouteConfigurationViolationHasBeenSet =
false;
426 bool m_networkFirewallBlackHoleRouteDetectedViolationHasBeenSet =
false;
429 bool m_networkFirewallUnexpectedFirewallRoutesViolationHasBeenSet =
false;
432 bool m_networkFirewallUnexpectedGatewayRoutesViolationHasBeenSet =
false;
435 bool m_networkFirewallMissingExpectedRoutesViolationHasBeenSet =
false;
438 bool m_dnsRuleGroupPriorityConflictViolationHasBeenSet =
false;
441 bool m_dnsDuplicateRuleGroupViolationHasBeenSet =
false;
444 bool m_dnsRuleGroupLimitExceededViolationHasBeenSet =
false;
447 bool m_firewallSubnetIsOutOfScopeViolationHasBeenSet =
false;
450 bool m_routeHasOutOfScopeEndpointViolationHasBeenSet =
false;
453 bool m_thirdPartyFirewallMissingFirewallViolationHasBeenSet =
false;
456 bool m_thirdPartyFirewallMissingSubnetViolationHasBeenSet =
false;
459 bool m_thirdPartyFirewallMissingExpectedRouteTableViolationHasBeenSet =
false;
462 bool m_firewallSubnetMissingVPCEndpointViolationHasBeenSet =
false;
465 bool m_invalidNetworkAclEntriesViolationHasBeenSet =
false;
468 bool m_possibleRemediationActionsHasBeenSet =
false;
471 bool m_webACLHasIncompatibleConfigurationViolationHasBeenSet =
false;
474 bool m_webACLHasOutOfScopeResourcesViolationHasBeenSet =
false;
const FirewallSubnetIsOutOfScopeViolation & GetFirewallSubnetIsOutOfScopeViolation() const
bool AwsEc2NetworkInterfaceViolationHasBeenSet() 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
bool AwsEc2InstanceViolationHasBeenSet() 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
AWS_FMS_API ResourceViolation()
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
bool InvalidNetworkAclEntriesViolationHasBeenSet() 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)
bool PossibleRemediationActionsHasBeenSet() const
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)
bool AwsVPCSecurityGroupViolationHasBeenSet() const
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)
bool RouteHasOutOfScopeEndpointViolationHasBeenSet() const
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
bool DnsDuplicateRuleGroupViolationHasBeenSet() const
bool DnsRuleGroupLimitExceededViolationHasBeenSet() const
void SetRouteHasOutOfScopeEndpointViolation(RouteHasOutOfScopeEndpointViolation &&value)
ResourceViolation & WithThirdPartyFirewallMissingFirewallViolation(const ThirdPartyFirewallMissingFirewallViolation &value)
const NetworkFirewallMissingExpectedRoutesViolation & GetNetworkFirewallMissingExpectedRoutesViolation() const
void SetNetworkFirewallMissingExpectedRTViolation(const NetworkFirewallMissingExpectedRTViolation &value)
const NetworkFirewallBlackHoleRouteDetectedViolation & GetNetworkFirewallBlackHoleRouteDetectedViolation() const
bool FirewallSubnetIsOutOfScopeViolationHasBeenSet() 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