/** * Copyright Amazon.com, Inc. or its affiliates. All Rights Reserved. * SPDX-License-Identifier: Apache-2.0. */ #pragma once #include #include #include #include #include #include namespace Aws { namespace Utils { namespace Json { class JsonValue; class JsonView; } // namespace Json } // namespace Utils namespace FMS { namespace Model { /** *

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

*/ class NetworkFirewallInvalidRouteConfigurationViolation { public: AWS_FMS_API NetworkFirewallInvalidRouteConfigurationViolation(); AWS_FMS_API NetworkFirewallInvalidRouteConfigurationViolation(Aws::Utils::Json::JsonView jsonValue); AWS_FMS_API NetworkFirewallInvalidRouteConfigurationViolation& operator=(Aws::Utils::Json::JsonView jsonValue); AWS_FMS_API Aws::Utils::Json::JsonValue Jsonize() const; /** *

The subnets that are affected.

*/ inline const Aws::Vector& GetAffectedSubnets() const{ return m_affectedSubnets; } /** *

The subnets that are affected.

*/ inline bool AffectedSubnetsHasBeenSet() const { return m_affectedSubnetsHasBeenSet; } /** *

The subnets that are affected.

*/ inline void SetAffectedSubnets(const Aws::Vector& value) { m_affectedSubnetsHasBeenSet = true; m_affectedSubnets = value; } /** *

The subnets that are affected.

*/ inline void SetAffectedSubnets(Aws::Vector&& value) { m_affectedSubnetsHasBeenSet = true; m_affectedSubnets = std::move(value); } /** *

The subnets that are affected.

*/ inline NetworkFirewallInvalidRouteConfigurationViolation& WithAffectedSubnets(const Aws::Vector& value) { SetAffectedSubnets(value); return *this;} /** *

The subnets that are affected.

*/ inline NetworkFirewallInvalidRouteConfigurationViolation& WithAffectedSubnets(Aws::Vector&& value) { SetAffectedSubnets(std::move(value)); return *this;} /** *

The 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::Vector& GetExpectedFirewallSubnetRoutes() const{ return m_expectedFirewallSubnetRoutes; } /** *

The 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::Vector& value) { m_expectedFirewallSubnetRoutesHasBeenSet = true; m_expectedFirewallSubnetRoutes = value; } /** *

The firewall subnet routes that are expected.

*/ inline void SetExpectedFirewallSubnetRoutes(Aws::Vector&& value) { m_expectedFirewallSubnetRoutesHasBeenSet = true; m_expectedFirewallSubnetRoutes = std::move(value); } /** *

The firewall subnet routes that are expected.

*/ inline NetworkFirewallInvalidRouteConfigurationViolation& WithExpectedFirewallSubnetRoutes(const Aws::Vector& value) { SetExpectedFirewallSubnetRoutes(value); return *this;} /** *

The firewall subnet routes that are expected.

*/ inline NetworkFirewallInvalidRouteConfigurationViolation& WithExpectedFirewallSubnetRoutes(Aws::Vector&& value) { SetExpectedFirewallSubnetRoutes(std::move(value)); return *this;} /** *

The 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::Vector& GetActualFirewallSubnetRoutes() const{ return m_actualFirewallSubnetRoutes; } /** *

The 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::Vector& value) { m_actualFirewallSubnetRoutesHasBeenSet = true; m_actualFirewallSubnetRoutes = value; } /** *

The actual firewall subnet routes that are expected.

*/ inline void SetActualFirewallSubnetRoutes(Aws::Vector&& value) { m_actualFirewallSubnetRoutesHasBeenSet = true; m_actualFirewallSubnetRoutes = std::move(value); } /** *

The actual firewall subnet routes that are expected.

*/ inline NetworkFirewallInvalidRouteConfigurationViolation& WithActualFirewallSubnetRoutes(const Aws::Vector& value) { SetActualFirewallSubnetRoutes(value); return *this;} /** *

The actual firewall subnet routes that are expected.

*/ inline NetworkFirewallInvalidRouteConfigurationViolation& WithActualFirewallSubnetRoutes(Aws::Vector&& value) { SetActualFirewallSubnetRoutes(std::move(value)); return *this;} /** *

The 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::Vector& GetExpectedInternetGatewayRoutes() const{ return m_expectedInternetGatewayRoutes; } /** *

The 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::Vector& value) { m_expectedInternetGatewayRoutesHasBeenSet = true; m_expectedInternetGatewayRoutes = value; } /** *

The expected routes for the internet gateway.

*/ inline void SetExpectedInternetGatewayRoutes(Aws::Vector&& value) { m_expectedInternetGatewayRoutesHasBeenSet = true; m_expectedInternetGatewayRoutes = std::move(value); } /** *

The expected routes for the internet gateway.

*/ inline NetworkFirewallInvalidRouteConfigurationViolation& WithExpectedInternetGatewayRoutes(const Aws::Vector& value) { SetExpectedInternetGatewayRoutes(value); return *this;} /** *

The expected routes for the internet gateway.

*/ inline NetworkFirewallInvalidRouteConfigurationViolation& WithExpectedInternetGatewayRoutes(Aws::Vector&& value) { SetExpectedInternetGatewayRoutes(std::move(value)); return *this;} /** *

The 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::Vector& GetActualInternetGatewayRoutes() const{ return m_actualInternetGatewayRoutes; } /** *

The actual internet gateway routes.

*/ inline bool ActualInternetGatewayRoutesHasBeenSet() const { return m_actualInternetGatewayRoutesHasBeenSet; } /** *

The actual internet gateway routes.

*/ inline void SetActualInternetGatewayRoutes(const Aws::Vector& value) { m_actualInternetGatewayRoutesHasBeenSet = true; m_actualInternetGatewayRoutes = value; } /** *

The actual internet gateway routes.

*/ inline void SetActualInternetGatewayRoutes(Aws::Vector&& value) { m_actualInternetGatewayRoutesHasBeenSet = true; m_actualInternetGatewayRoutes = std::move(value); } /** *

The actual internet gateway routes.

*/ inline NetworkFirewallInvalidRouteConfigurationViolation& WithActualInternetGatewayRoutes(const Aws::Vector& value) { SetActualInternetGatewayRoutes(value); return *this;} /** *

The actual internet gateway routes.

*/ inline NetworkFirewallInvalidRouteConfigurationViolation& WithActualInternetGatewayRoutes(Aws::Vector&& value) { SetActualInternetGatewayRoutes(std::move(value)); return *this;} /** *

The 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 m_affectedSubnets; bool m_affectedSubnetsHasBeenSet = false; Aws::String m_routeTableId; bool m_routeTableIdHasBeenSet = false; bool m_isRouteTableUsedInDifferentAZ; bool m_isRouteTableUsedInDifferentAZHasBeenSet = false; Route m_violatingRoute; bool m_violatingRouteHasBeenSet = false; Aws::String m_currentFirewallSubnetRouteTable; bool m_currentFirewallSubnetRouteTableHasBeenSet = false; Aws::String m_expectedFirewallEndpoint; bool m_expectedFirewallEndpointHasBeenSet = false; Aws::String m_actualFirewallEndpoint; bool m_actualFirewallEndpointHasBeenSet = false; Aws::String m_expectedFirewallSubnetId; bool m_expectedFirewallSubnetIdHasBeenSet = false; Aws::String m_actualFirewallSubnetId; bool m_actualFirewallSubnetIdHasBeenSet = false; Aws::Vector m_expectedFirewallSubnetRoutes; bool m_expectedFirewallSubnetRoutesHasBeenSet = false; Aws::Vector m_actualFirewallSubnetRoutes; bool m_actualFirewallSubnetRoutesHasBeenSet = false; Aws::String m_internetGatewayId; bool m_internetGatewayIdHasBeenSet = false; Aws::String m_currentInternetGatewayRouteTable; bool m_currentInternetGatewayRouteTableHasBeenSet = false; Aws::Vector m_expectedInternetGatewayRoutes; bool m_expectedInternetGatewayRoutesHasBeenSet = false; Aws::Vector m_actualInternetGatewayRoutes; bool m_actualInternetGatewayRoutesHasBeenSet = false; Aws::String m_vpcId; bool m_vpcIdHasBeenSet = false; }; } // namespace Model } // namespace FMS } // namespace Aws