/**
* Copyright Amazon.com, Inc. or its affiliates. All Rights Reserved.
* SPDX-License-Identifier: Apache-2.0.
*/
#pragma once
#include Violation detail for the improperly configured subnet route. It's possible
* there is a missing route table route, or a configuration that causes traffic to
* cross an Availability Zone boundary.See Also:
AWS
* API Reference
The subnets that are affected.
*/ inline const Aws::VectorThe subnets that are affected.
*/ inline bool AffectedSubnetsHasBeenSet() const { return m_affectedSubnetsHasBeenSet; } /** *The subnets that are affected.
*/ inline void SetAffectedSubnets(const Aws::VectorThe subnets that are affected.
*/ inline void SetAffectedSubnets(Aws::VectorThe subnets that are affected.
*/ inline NetworkFirewallInvalidRouteConfigurationViolation& WithAffectedSubnets(const Aws::VectorThe subnets that are affected.
*/ inline NetworkFirewallInvalidRouteConfigurationViolation& WithAffectedSubnets(Aws::VectorThe subnets that are affected.
*/ inline NetworkFirewallInvalidRouteConfigurationViolation& AddAffectedSubnets(const Aws::String& value) { m_affectedSubnetsHasBeenSet = true; m_affectedSubnets.push_back(value); return *this; } /** *The subnets that are affected.
*/ inline NetworkFirewallInvalidRouteConfigurationViolation& AddAffectedSubnets(Aws::String&& value) { m_affectedSubnetsHasBeenSet = true; m_affectedSubnets.push_back(std::move(value)); return *this; } /** *The subnets that are affected.
*/ inline NetworkFirewallInvalidRouteConfigurationViolation& AddAffectedSubnets(const char* value) { m_affectedSubnetsHasBeenSet = true; m_affectedSubnets.push_back(value); return *this; } /** *The route table ID.
*/ inline const Aws::String& GetRouteTableId() const{ return m_routeTableId; } /** *The route table ID.
*/ inline bool RouteTableIdHasBeenSet() const { return m_routeTableIdHasBeenSet; } /** *The route table ID.
*/ inline void SetRouteTableId(const Aws::String& value) { m_routeTableIdHasBeenSet = true; m_routeTableId = value; } /** *The route table ID.
*/ inline void SetRouteTableId(Aws::String&& value) { m_routeTableIdHasBeenSet = true; m_routeTableId = std::move(value); } /** *The route table ID.
*/ inline void SetRouteTableId(const char* value) { m_routeTableIdHasBeenSet = true; m_routeTableId.assign(value); } /** *The route table ID.
*/ inline NetworkFirewallInvalidRouteConfigurationViolation& WithRouteTableId(const Aws::String& value) { SetRouteTableId(value); return *this;} /** *The route table ID.
*/ inline NetworkFirewallInvalidRouteConfigurationViolation& WithRouteTableId(Aws::String&& value) { SetRouteTableId(std::move(value)); return *this;} /** *The route table ID.
*/ inline NetworkFirewallInvalidRouteConfigurationViolation& WithRouteTableId(const char* value) { SetRouteTableId(value); return *this;} /** *Information about whether the route table is used in another Availability * Zone.
*/ inline bool GetIsRouteTableUsedInDifferentAZ() const{ return m_isRouteTableUsedInDifferentAZ; } /** *Information about whether the route table is used in another Availability * Zone.
*/ inline bool IsRouteTableUsedInDifferentAZHasBeenSet() const { return m_isRouteTableUsedInDifferentAZHasBeenSet; } /** *Information about whether the route table is used in another Availability * Zone.
*/ inline void SetIsRouteTableUsedInDifferentAZ(bool value) { m_isRouteTableUsedInDifferentAZHasBeenSet = true; m_isRouteTableUsedInDifferentAZ = value; } /** *Information about whether the route table is used in another Availability * Zone.
*/ inline NetworkFirewallInvalidRouteConfigurationViolation& WithIsRouteTableUsedInDifferentAZ(bool value) { SetIsRouteTableUsedInDifferentAZ(value); return *this;} /** *The route that's in violation.
*/ inline const Route& GetViolatingRoute() const{ return m_violatingRoute; } /** *The route that's in violation.
*/ inline bool ViolatingRouteHasBeenSet() const { return m_violatingRouteHasBeenSet; } /** *The route that's in violation.
*/ inline void SetViolatingRoute(const Route& value) { m_violatingRouteHasBeenSet = true; m_violatingRoute = value; } /** *The route that's in violation.
*/ inline void SetViolatingRoute(Route&& value) { m_violatingRouteHasBeenSet = true; m_violatingRoute = std::move(value); } /** *The route that's in violation.
*/ inline NetworkFirewallInvalidRouteConfigurationViolation& WithViolatingRoute(const Route& value) { SetViolatingRoute(value); return *this;} /** *The route that's in violation.
*/ inline NetworkFirewallInvalidRouteConfigurationViolation& WithViolatingRoute(Route&& value) { SetViolatingRoute(std::move(value)); return *this;} /** *The subnet route table for the current firewall.
*/ inline const Aws::String& GetCurrentFirewallSubnetRouteTable() const{ return m_currentFirewallSubnetRouteTable; } /** *The subnet route table for the current firewall.
*/ inline bool CurrentFirewallSubnetRouteTableHasBeenSet() const { return m_currentFirewallSubnetRouteTableHasBeenSet; } /** *The subnet route table for the current firewall.
*/ inline void SetCurrentFirewallSubnetRouteTable(const Aws::String& value) { m_currentFirewallSubnetRouteTableHasBeenSet = true; m_currentFirewallSubnetRouteTable = value; } /** *The subnet route table for the current firewall.
*/ inline void SetCurrentFirewallSubnetRouteTable(Aws::String&& value) { m_currentFirewallSubnetRouteTableHasBeenSet = true; m_currentFirewallSubnetRouteTable = std::move(value); } /** *The subnet route table for the current firewall.
*/ inline void SetCurrentFirewallSubnetRouteTable(const char* value) { m_currentFirewallSubnetRouteTableHasBeenSet = true; m_currentFirewallSubnetRouteTable.assign(value); } /** *The subnet route table for the current firewall.
*/ inline NetworkFirewallInvalidRouteConfigurationViolation& WithCurrentFirewallSubnetRouteTable(const Aws::String& value) { SetCurrentFirewallSubnetRouteTable(value); return *this;} /** *The subnet route table for the current firewall.
*/ inline NetworkFirewallInvalidRouteConfigurationViolation& WithCurrentFirewallSubnetRouteTable(Aws::String&& value) { SetCurrentFirewallSubnetRouteTable(std::move(value)); return *this;} /** *The subnet route table for the current firewall.
*/ inline NetworkFirewallInvalidRouteConfigurationViolation& WithCurrentFirewallSubnetRouteTable(const char* value) { SetCurrentFirewallSubnetRouteTable(value); return *this;} /** *The firewall endpoint that's expected.
*/ inline const Aws::String& GetExpectedFirewallEndpoint() const{ return m_expectedFirewallEndpoint; } /** *The firewall endpoint that's expected.
*/ inline bool ExpectedFirewallEndpointHasBeenSet() const { return m_expectedFirewallEndpointHasBeenSet; } /** *The firewall endpoint that's expected.
*/ inline void SetExpectedFirewallEndpoint(const Aws::String& value) { m_expectedFirewallEndpointHasBeenSet = true; m_expectedFirewallEndpoint = value; } /** *The firewall endpoint that's expected.
*/ inline void SetExpectedFirewallEndpoint(Aws::String&& value) { m_expectedFirewallEndpointHasBeenSet = true; m_expectedFirewallEndpoint = std::move(value); } /** *The firewall endpoint that's expected.
*/ inline void SetExpectedFirewallEndpoint(const char* value) { m_expectedFirewallEndpointHasBeenSet = true; m_expectedFirewallEndpoint.assign(value); } /** *The firewall endpoint that's expected.
*/ inline NetworkFirewallInvalidRouteConfigurationViolation& WithExpectedFirewallEndpoint(const Aws::String& value) { SetExpectedFirewallEndpoint(value); return *this;} /** *The firewall endpoint that's expected.
*/ inline NetworkFirewallInvalidRouteConfigurationViolation& WithExpectedFirewallEndpoint(Aws::String&& value) { SetExpectedFirewallEndpoint(std::move(value)); return *this;} /** *The firewall endpoint that's expected.
*/ inline NetworkFirewallInvalidRouteConfigurationViolation& WithExpectedFirewallEndpoint(const char* value) { SetExpectedFirewallEndpoint(value); return *this;} /** *The actual firewall endpoint.
*/ inline const Aws::String& GetActualFirewallEndpoint() const{ return m_actualFirewallEndpoint; } /** *The actual firewall endpoint.
*/ inline bool ActualFirewallEndpointHasBeenSet() const { return m_actualFirewallEndpointHasBeenSet; } /** *The actual firewall endpoint.
*/ inline void SetActualFirewallEndpoint(const Aws::String& value) { m_actualFirewallEndpointHasBeenSet = true; m_actualFirewallEndpoint = value; } /** *The actual firewall endpoint.
*/ inline void SetActualFirewallEndpoint(Aws::String&& value) { m_actualFirewallEndpointHasBeenSet = true; m_actualFirewallEndpoint = std::move(value); } /** *The actual firewall endpoint.
*/ inline void SetActualFirewallEndpoint(const char* value) { m_actualFirewallEndpointHasBeenSet = true; m_actualFirewallEndpoint.assign(value); } /** *The actual firewall endpoint.
*/ inline NetworkFirewallInvalidRouteConfigurationViolation& WithActualFirewallEndpoint(const Aws::String& value) { SetActualFirewallEndpoint(value); return *this;} /** *The actual firewall endpoint.
*/ inline NetworkFirewallInvalidRouteConfigurationViolation& WithActualFirewallEndpoint(Aws::String&& value) { SetActualFirewallEndpoint(std::move(value)); return *this;} /** *The actual firewall endpoint.
*/ inline NetworkFirewallInvalidRouteConfigurationViolation& WithActualFirewallEndpoint(const char* value) { SetActualFirewallEndpoint(value); return *this;} /** *The expected subnet ID for the firewall.
*/ inline const Aws::String& GetExpectedFirewallSubnetId() const{ return m_expectedFirewallSubnetId; } /** *The expected subnet ID for the firewall.
*/ inline bool ExpectedFirewallSubnetIdHasBeenSet() const { return m_expectedFirewallSubnetIdHasBeenSet; } /** *The expected subnet ID for the firewall.
*/ inline void SetExpectedFirewallSubnetId(const Aws::String& value) { m_expectedFirewallSubnetIdHasBeenSet = true; m_expectedFirewallSubnetId = value; } /** *The expected subnet ID for the firewall.
*/ inline void SetExpectedFirewallSubnetId(Aws::String&& value) { m_expectedFirewallSubnetIdHasBeenSet = true; m_expectedFirewallSubnetId = std::move(value); } /** *The expected subnet ID for the firewall.
*/ inline void SetExpectedFirewallSubnetId(const char* value) { m_expectedFirewallSubnetIdHasBeenSet = true; m_expectedFirewallSubnetId.assign(value); } /** *The expected subnet ID for the firewall.
*/ inline NetworkFirewallInvalidRouteConfigurationViolation& WithExpectedFirewallSubnetId(const Aws::String& value) { SetExpectedFirewallSubnetId(value); return *this;} /** *The expected subnet ID for the firewall.
*/ inline NetworkFirewallInvalidRouteConfigurationViolation& WithExpectedFirewallSubnetId(Aws::String&& value) { SetExpectedFirewallSubnetId(std::move(value)); return *this;} /** *The expected subnet ID for the firewall.
*/ inline NetworkFirewallInvalidRouteConfigurationViolation& WithExpectedFirewallSubnetId(const char* value) { SetExpectedFirewallSubnetId(value); return *this;} /** *The actual subnet ID for the firewall.
*/ inline const Aws::String& GetActualFirewallSubnetId() const{ return m_actualFirewallSubnetId; } /** *The actual subnet ID for the firewall.
*/ inline bool ActualFirewallSubnetIdHasBeenSet() const { return m_actualFirewallSubnetIdHasBeenSet; } /** *The actual subnet ID for the firewall.
*/ inline void SetActualFirewallSubnetId(const Aws::String& value) { m_actualFirewallSubnetIdHasBeenSet = true; m_actualFirewallSubnetId = value; } /** *The actual subnet ID for the firewall.
*/ inline void SetActualFirewallSubnetId(Aws::String&& value) { m_actualFirewallSubnetIdHasBeenSet = true; m_actualFirewallSubnetId = std::move(value); } /** *The actual subnet ID for the firewall.
*/ inline void SetActualFirewallSubnetId(const char* value) { m_actualFirewallSubnetIdHasBeenSet = true; m_actualFirewallSubnetId.assign(value); } /** *The actual subnet ID for the firewall.
*/ inline NetworkFirewallInvalidRouteConfigurationViolation& WithActualFirewallSubnetId(const Aws::String& value) { SetActualFirewallSubnetId(value); return *this;} /** *The actual subnet ID for the firewall.
*/ inline NetworkFirewallInvalidRouteConfigurationViolation& WithActualFirewallSubnetId(Aws::String&& value) { SetActualFirewallSubnetId(std::move(value)); return *this;} /** *The actual subnet ID for the firewall.
*/ inline NetworkFirewallInvalidRouteConfigurationViolation& WithActualFirewallSubnetId(const char* value) { SetActualFirewallSubnetId(value); return *this;} /** *The firewall subnet routes that are expected.
*/ inline const Aws::VectorThe firewall subnet routes that are expected.
*/ inline bool ExpectedFirewallSubnetRoutesHasBeenSet() const { return m_expectedFirewallSubnetRoutesHasBeenSet; } /** *The firewall subnet routes that are expected.
*/ inline void SetExpectedFirewallSubnetRoutes(const Aws::VectorThe firewall subnet routes that are expected.
*/ inline void SetExpectedFirewallSubnetRoutes(Aws::VectorThe firewall subnet routes that are expected.
*/ inline NetworkFirewallInvalidRouteConfigurationViolation& WithExpectedFirewallSubnetRoutes(const Aws::VectorThe firewall subnet routes that are expected.
*/ inline NetworkFirewallInvalidRouteConfigurationViolation& WithExpectedFirewallSubnetRoutes(Aws::VectorThe firewall subnet routes that are expected.
*/ inline NetworkFirewallInvalidRouteConfigurationViolation& AddExpectedFirewallSubnetRoutes(const ExpectedRoute& value) { m_expectedFirewallSubnetRoutesHasBeenSet = true; m_expectedFirewallSubnetRoutes.push_back(value); return *this; } /** *The firewall subnet routes that are expected.
*/ inline NetworkFirewallInvalidRouteConfigurationViolation& AddExpectedFirewallSubnetRoutes(ExpectedRoute&& value) { m_expectedFirewallSubnetRoutesHasBeenSet = true; m_expectedFirewallSubnetRoutes.push_back(std::move(value)); return *this; } /** *The actual firewall subnet routes that are expected.
*/ inline const Aws::VectorThe actual firewall subnet routes that are expected.
*/ inline bool ActualFirewallSubnetRoutesHasBeenSet() const { return m_actualFirewallSubnetRoutesHasBeenSet; } /** *The actual firewall subnet routes that are expected.
*/ inline void SetActualFirewallSubnetRoutes(const Aws::VectorThe actual firewall subnet routes that are expected.
*/ inline void SetActualFirewallSubnetRoutes(Aws::VectorThe actual firewall subnet routes that are expected.
*/ inline NetworkFirewallInvalidRouteConfigurationViolation& WithActualFirewallSubnetRoutes(const Aws::VectorThe actual firewall subnet routes that are expected.
*/ inline NetworkFirewallInvalidRouteConfigurationViolation& WithActualFirewallSubnetRoutes(Aws::VectorThe actual firewall subnet routes that are expected.
*/ inline NetworkFirewallInvalidRouteConfigurationViolation& AddActualFirewallSubnetRoutes(const Route& value) { m_actualFirewallSubnetRoutesHasBeenSet = true; m_actualFirewallSubnetRoutes.push_back(value); return *this; } /** *The actual firewall subnet routes that are expected.
*/ inline NetworkFirewallInvalidRouteConfigurationViolation& AddActualFirewallSubnetRoutes(Route&& value) { m_actualFirewallSubnetRoutesHasBeenSet = true; m_actualFirewallSubnetRoutes.push_back(std::move(value)); return *this; } /** *The internet gateway ID.
*/ inline const Aws::String& GetInternetGatewayId() const{ return m_internetGatewayId; } /** *The internet gateway ID.
*/ inline bool InternetGatewayIdHasBeenSet() const { return m_internetGatewayIdHasBeenSet; } /** *The internet gateway ID.
*/ inline void SetInternetGatewayId(const Aws::String& value) { m_internetGatewayIdHasBeenSet = true; m_internetGatewayId = value; } /** *The internet gateway ID.
*/ inline void SetInternetGatewayId(Aws::String&& value) { m_internetGatewayIdHasBeenSet = true; m_internetGatewayId = std::move(value); } /** *The internet gateway ID.
*/ inline void SetInternetGatewayId(const char* value) { m_internetGatewayIdHasBeenSet = true; m_internetGatewayId.assign(value); } /** *The internet gateway ID.
*/ inline NetworkFirewallInvalidRouteConfigurationViolation& WithInternetGatewayId(const Aws::String& value) { SetInternetGatewayId(value); return *this;} /** *The internet gateway ID.
*/ inline NetworkFirewallInvalidRouteConfigurationViolation& WithInternetGatewayId(Aws::String&& value) { SetInternetGatewayId(std::move(value)); return *this;} /** *The internet gateway ID.
*/ inline NetworkFirewallInvalidRouteConfigurationViolation& WithInternetGatewayId(const char* value) { SetInternetGatewayId(value); return *this;} /** *The route table for the current internet gateway.
*/ inline const Aws::String& GetCurrentInternetGatewayRouteTable() const{ return m_currentInternetGatewayRouteTable; } /** *The route table for the current internet gateway.
*/ inline bool CurrentInternetGatewayRouteTableHasBeenSet() const { return m_currentInternetGatewayRouteTableHasBeenSet; } /** *The route table for the current internet gateway.
*/ inline void SetCurrentInternetGatewayRouteTable(const Aws::String& value) { m_currentInternetGatewayRouteTableHasBeenSet = true; m_currentInternetGatewayRouteTable = value; } /** *The route table for the current internet gateway.
*/ inline void SetCurrentInternetGatewayRouteTable(Aws::String&& value) { m_currentInternetGatewayRouteTableHasBeenSet = true; m_currentInternetGatewayRouteTable = std::move(value); } /** *The route table for the current internet gateway.
*/ inline void SetCurrentInternetGatewayRouteTable(const char* value) { m_currentInternetGatewayRouteTableHasBeenSet = true; m_currentInternetGatewayRouteTable.assign(value); } /** *The route table for the current internet gateway.
*/ inline NetworkFirewallInvalidRouteConfigurationViolation& WithCurrentInternetGatewayRouteTable(const Aws::String& value) { SetCurrentInternetGatewayRouteTable(value); return *this;} /** *The route table for the current internet gateway.
*/ inline NetworkFirewallInvalidRouteConfigurationViolation& WithCurrentInternetGatewayRouteTable(Aws::String&& value) { SetCurrentInternetGatewayRouteTable(std::move(value)); return *this;} /** *The route table for the current internet gateway.
*/ inline NetworkFirewallInvalidRouteConfigurationViolation& WithCurrentInternetGatewayRouteTable(const char* value) { SetCurrentInternetGatewayRouteTable(value); return *this;} /** *The expected routes for the internet gateway.
*/ inline const Aws::VectorThe expected routes for the internet gateway.
*/ inline bool ExpectedInternetGatewayRoutesHasBeenSet() const { return m_expectedInternetGatewayRoutesHasBeenSet; } /** *The expected routes for the internet gateway.
*/ inline void SetExpectedInternetGatewayRoutes(const Aws::VectorThe expected routes for the internet gateway.
*/ inline void SetExpectedInternetGatewayRoutes(Aws::VectorThe expected routes for the internet gateway.
*/ inline NetworkFirewallInvalidRouteConfigurationViolation& WithExpectedInternetGatewayRoutes(const Aws::VectorThe expected routes for the internet gateway.
*/ inline NetworkFirewallInvalidRouteConfigurationViolation& WithExpectedInternetGatewayRoutes(Aws::VectorThe expected routes for the internet gateway.
*/ inline NetworkFirewallInvalidRouteConfigurationViolation& AddExpectedInternetGatewayRoutes(const ExpectedRoute& value) { m_expectedInternetGatewayRoutesHasBeenSet = true; m_expectedInternetGatewayRoutes.push_back(value); return *this; } /** *The expected routes for the internet gateway.
*/ inline NetworkFirewallInvalidRouteConfigurationViolation& AddExpectedInternetGatewayRoutes(ExpectedRoute&& value) { m_expectedInternetGatewayRoutesHasBeenSet = true; m_expectedInternetGatewayRoutes.push_back(std::move(value)); return *this; } /** *The actual internet gateway routes.
*/ inline const Aws::VectorThe actual internet gateway routes.
*/ inline bool ActualInternetGatewayRoutesHasBeenSet() const { return m_actualInternetGatewayRoutesHasBeenSet; } /** *The actual internet gateway routes.
*/ inline void SetActualInternetGatewayRoutes(const Aws::VectorThe actual internet gateway routes.
*/ inline void SetActualInternetGatewayRoutes(Aws::VectorThe actual internet gateway routes.
*/ inline NetworkFirewallInvalidRouteConfigurationViolation& WithActualInternetGatewayRoutes(const Aws::VectorThe actual internet gateway routes.
*/ inline NetworkFirewallInvalidRouteConfigurationViolation& WithActualInternetGatewayRoutes(Aws::VectorThe actual internet gateway routes.
*/ inline NetworkFirewallInvalidRouteConfigurationViolation& AddActualInternetGatewayRoutes(const Route& value) { m_actualInternetGatewayRoutesHasBeenSet = true; m_actualInternetGatewayRoutes.push_back(value); return *this; } /** *The actual internet gateway routes.
*/ inline NetworkFirewallInvalidRouteConfigurationViolation& AddActualInternetGatewayRoutes(Route&& value) { m_actualInternetGatewayRoutesHasBeenSet = true; m_actualInternetGatewayRoutes.push_back(std::move(value)); return *this; } /** *Information about the VPC ID.
*/ inline const Aws::String& GetVpcId() const{ return m_vpcId; } /** *Information about the VPC ID.
*/ inline bool VpcIdHasBeenSet() const { return m_vpcIdHasBeenSet; } /** *Information about the VPC ID.
*/ inline void SetVpcId(const Aws::String& value) { m_vpcIdHasBeenSet = true; m_vpcId = value; } /** *Information about the VPC ID.
*/ inline void SetVpcId(Aws::String&& value) { m_vpcIdHasBeenSet = true; m_vpcId = std::move(value); } /** *Information about the VPC ID.
*/ inline void SetVpcId(const char* value) { m_vpcIdHasBeenSet = true; m_vpcId.assign(value); } /** *Information about the VPC ID.
*/ inline NetworkFirewallInvalidRouteConfigurationViolation& WithVpcId(const Aws::String& value) { SetVpcId(value); return *this;} /** *Information about the VPC ID.
*/ inline NetworkFirewallInvalidRouteConfigurationViolation& WithVpcId(Aws::String&& value) { SetVpcId(std::move(value)); return *this;} /** *Information about the VPC ID.
*/ inline NetworkFirewallInvalidRouteConfigurationViolation& WithVpcId(const char* value) { SetVpcId(value); return *this;} private: Aws::Vector