/**
* Copyright Amazon.com, Inc. or its affiliates. All Rights Reserved.
* SPDX-License-Identifier: Apache-2.0.
*/
#pragma once
#include Violation detail for an unexpected route that's present in a route
* table.See Also:
AWS
* API Reference
The subnet ID for the firewall.
*/ inline const Aws::String& GetFirewallSubnetId() const{ return m_firewallSubnetId; } /** *The subnet ID for the firewall.
*/ inline bool FirewallSubnetIdHasBeenSet() const { return m_firewallSubnetIdHasBeenSet; } /** *The subnet ID for the firewall.
*/ inline void SetFirewallSubnetId(const Aws::String& value) { m_firewallSubnetIdHasBeenSet = true; m_firewallSubnetId = value; } /** *The subnet ID for the firewall.
*/ inline void SetFirewallSubnetId(Aws::String&& value) { m_firewallSubnetIdHasBeenSet = true; m_firewallSubnetId = std::move(value); } /** *The subnet ID for the firewall.
*/ inline void SetFirewallSubnetId(const char* value) { m_firewallSubnetIdHasBeenSet = true; m_firewallSubnetId.assign(value); } /** *The subnet ID for the firewall.
*/ inline NetworkFirewallUnexpectedFirewallRoutesViolation& WithFirewallSubnetId(const Aws::String& value) { SetFirewallSubnetId(value); return *this;} /** *The subnet ID for the firewall.
*/ inline NetworkFirewallUnexpectedFirewallRoutesViolation& WithFirewallSubnetId(Aws::String&& value) { SetFirewallSubnetId(std::move(value)); return *this;} /** *The subnet ID for the firewall.
*/ inline NetworkFirewallUnexpectedFirewallRoutesViolation& WithFirewallSubnetId(const char* value) { SetFirewallSubnetId(value); return *this;} /** *The routes that are in violation.
*/ inline const Aws::VectorThe routes that are in violation.
*/ inline bool ViolatingRoutesHasBeenSet() const { return m_violatingRoutesHasBeenSet; } /** *The routes that are in violation.
*/ inline void SetViolatingRoutes(const Aws::VectorThe routes that are in violation.
*/ inline void SetViolatingRoutes(Aws::VectorThe routes that are in violation.
*/ inline NetworkFirewallUnexpectedFirewallRoutesViolation& WithViolatingRoutes(const Aws::VectorThe routes that are in violation.
*/ inline NetworkFirewallUnexpectedFirewallRoutesViolation& WithViolatingRoutes(Aws::VectorThe routes that are in violation.
*/ inline NetworkFirewallUnexpectedFirewallRoutesViolation& AddViolatingRoutes(const Route& value) { m_violatingRoutesHasBeenSet = true; m_violatingRoutes.push_back(value); return *this; } /** *The routes that are in violation.
*/ inline NetworkFirewallUnexpectedFirewallRoutesViolation& AddViolatingRoutes(Route&& value) { m_violatingRoutesHasBeenSet = true; m_violatingRoutes.push_back(std::move(value)); return *this; } /** *The ID of the route table.
*/ inline const Aws::String& GetRouteTableId() const{ return m_routeTableId; } /** *The ID of the route table.
*/ inline bool RouteTableIdHasBeenSet() const { return m_routeTableIdHasBeenSet; } /** *The ID of the route table.
*/ inline void SetRouteTableId(const Aws::String& value) { m_routeTableIdHasBeenSet = true; m_routeTableId = value; } /** *The ID of the route table.
*/ inline void SetRouteTableId(Aws::String&& value) { m_routeTableIdHasBeenSet = true; m_routeTableId = std::move(value); } /** *The ID of the route table.
*/ inline void SetRouteTableId(const char* value) { m_routeTableIdHasBeenSet = true; m_routeTableId.assign(value); } /** *The ID of the route table.
*/ inline NetworkFirewallUnexpectedFirewallRoutesViolation& WithRouteTableId(const Aws::String& value) { SetRouteTableId(value); return *this;} /** *The ID of the route table.
*/ inline NetworkFirewallUnexpectedFirewallRoutesViolation& WithRouteTableId(Aws::String&& value) { SetRouteTableId(std::move(value)); return *this;} /** *The ID of the route table.
*/ inline NetworkFirewallUnexpectedFirewallRoutesViolation& WithRouteTableId(const char* value) { SetRouteTableId(value); return *this;} /** *The endpoint of the firewall.
*/ inline const Aws::String& GetFirewallEndpoint() const{ return m_firewallEndpoint; } /** *The endpoint of the firewall.
*/ inline bool FirewallEndpointHasBeenSet() const { return m_firewallEndpointHasBeenSet; } /** *The endpoint of the firewall.
*/ inline void SetFirewallEndpoint(const Aws::String& value) { m_firewallEndpointHasBeenSet = true; m_firewallEndpoint = value; } /** *The endpoint of the firewall.
*/ inline void SetFirewallEndpoint(Aws::String&& value) { m_firewallEndpointHasBeenSet = true; m_firewallEndpoint = std::move(value); } /** *The endpoint of the firewall.
*/ inline void SetFirewallEndpoint(const char* value) { m_firewallEndpointHasBeenSet = true; m_firewallEndpoint.assign(value); } /** *The endpoint of the firewall.
*/ inline NetworkFirewallUnexpectedFirewallRoutesViolation& WithFirewallEndpoint(const Aws::String& value) { SetFirewallEndpoint(value); return *this;} /** *The endpoint of the firewall.
*/ inline NetworkFirewallUnexpectedFirewallRoutesViolation& WithFirewallEndpoint(Aws::String&& value) { SetFirewallEndpoint(std::move(value)); return *this;} /** *The endpoint of the firewall.
*/ inline NetworkFirewallUnexpectedFirewallRoutesViolation& WithFirewallEndpoint(const char* value) { SetFirewallEndpoint(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 NetworkFirewallUnexpectedFirewallRoutesViolation& WithVpcId(const Aws::String& value) { SetVpcId(value); return *this;} /** *Information about the VPC ID.
*/ inline NetworkFirewallUnexpectedFirewallRoutesViolation& WithVpcId(Aws::String&& value) { SetVpcId(std::move(value)); return *this;} /** *Information about the VPC ID.
*/ inline NetworkFirewallUnexpectedFirewallRoutesViolation& WithVpcId(const char* value) { SetVpcId(value); return *this;} private: Aws::String m_firewallSubnetId; bool m_firewallSubnetIdHasBeenSet = false; Aws::Vector