/**
* Copyright Amazon.com, Inc. or its affiliates. All Rights Reserved.
* SPDX-License-Identifier: Apache-2.0.
*/
#pragma once
#include Violation detail for Network Firewall for a subnet that's not associated to
* the expected Firewall Manager managed route table.See Also:
AWS
* API Reference
The ID of the Network Firewall or VPC resource that's in violation.
*/ inline const Aws::String& GetViolationTarget() const{ return m_violationTarget; } /** *The ID of the Network Firewall or VPC resource that's in violation.
*/ inline bool ViolationTargetHasBeenSet() const { return m_violationTargetHasBeenSet; } /** *The ID of the Network Firewall or VPC resource that's in violation.
*/ inline void SetViolationTarget(const Aws::String& value) { m_violationTargetHasBeenSet = true; m_violationTarget = value; } /** *The ID of the Network Firewall or VPC resource that's in violation.
*/ inline void SetViolationTarget(Aws::String&& value) { m_violationTargetHasBeenSet = true; m_violationTarget = std::move(value); } /** *The ID of the Network Firewall or VPC resource that's in violation.
*/ inline void SetViolationTarget(const char* value) { m_violationTargetHasBeenSet = true; m_violationTarget.assign(value); } /** *The ID of the Network Firewall or VPC resource that's in violation.
*/ inline NetworkFirewallMissingExpectedRTViolation& WithViolationTarget(const Aws::String& value) { SetViolationTarget(value); return *this;} /** *The ID of the Network Firewall or VPC resource that's in violation.
*/ inline NetworkFirewallMissingExpectedRTViolation& WithViolationTarget(Aws::String&& value) { SetViolationTarget(std::move(value)); return *this;} /** *The ID of the Network Firewall or VPC resource that's in violation.
*/ inline NetworkFirewallMissingExpectedRTViolation& WithViolationTarget(const char* value) { SetViolationTarget(value); return *this;} /** *The resource ID of the VPC associated with a violating subnet.
*/ inline const Aws::String& GetVPC() const{ return m_vPC; } /** *The resource ID of the VPC associated with a violating subnet.
*/ inline bool VPCHasBeenSet() const { return m_vPCHasBeenSet; } /** *The resource ID of the VPC associated with a violating subnet.
*/ inline void SetVPC(const Aws::String& value) { m_vPCHasBeenSet = true; m_vPC = value; } /** *The resource ID of the VPC associated with a violating subnet.
*/ inline void SetVPC(Aws::String&& value) { m_vPCHasBeenSet = true; m_vPC = std::move(value); } /** *The resource ID of the VPC associated with a violating subnet.
*/ inline void SetVPC(const char* value) { m_vPCHasBeenSet = true; m_vPC.assign(value); } /** *The resource ID of the VPC associated with a violating subnet.
*/ inline NetworkFirewallMissingExpectedRTViolation& WithVPC(const Aws::String& value) { SetVPC(value); return *this;} /** *The resource ID of the VPC associated with a violating subnet.
*/ inline NetworkFirewallMissingExpectedRTViolation& WithVPC(Aws::String&& value) { SetVPC(std::move(value)); return *this;} /** *The resource ID of the VPC associated with a violating subnet.
*/ inline NetworkFirewallMissingExpectedRTViolation& WithVPC(const char* value) { SetVPC(value); return *this;} /** *The Availability Zone of a violating subnet.
*/ inline const Aws::String& GetAvailabilityZone() const{ return m_availabilityZone; } /** *The Availability Zone of a violating subnet.
*/ inline bool AvailabilityZoneHasBeenSet() const { return m_availabilityZoneHasBeenSet; } /** *The Availability Zone of a violating subnet.
*/ inline void SetAvailabilityZone(const Aws::String& value) { m_availabilityZoneHasBeenSet = true; m_availabilityZone = value; } /** *The Availability Zone of a violating subnet.
*/ inline void SetAvailabilityZone(Aws::String&& value) { m_availabilityZoneHasBeenSet = true; m_availabilityZone = std::move(value); } /** *The Availability Zone of a violating subnet.
*/ inline void SetAvailabilityZone(const char* value) { m_availabilityZoneHasBeenSet = true; m_availabilityZone.assign(value); } /** *The Availability Zone of a violating subnet.
*/ inline NetworkFirewallMissingExpectedRTViolation& WithAvailabilityZone(const Aws::String& value) { SetAvailabilityZone(value); return *this;} /** *The Availability Zone of a violating subnet.
*/ inline NetworkFirewallMissingExpectedRTViolation& WithAvailabilityZone(Aws::String&& value) { SetAvailabilityZone(std::move(value)); return *this;} /** *The Availability Zone of a violating subnet.
*/ inline NetworkFirewallMissingExpectedRTViolation& WithAvailabilityZone(const char* value) { SetAvailabilityZone(value); return *this;} /** *The resource ID of the current route table that's associated with the subnet, * if one is available.
*/ inline const Aws::String& GetCurrentRouteTable() const{ return m_currentRouteTable; } /** *The resource ID of the current route table that's associated with the subnet, * if one is available.
*/ inline bool CurrentRouteTableHasBeenSet() const { return m_currentRouteTableHasBeenSet; } /** *The resource ID of the current route table that's associated with the subnet, * if one is available.
*/ inline void SetCurrentRouteTable(const Aws::String& value) { m_currentRouteTableHasBeenSet = true; m_currentRouteTable = value; } /** *The resource ID of the current route table that's associated with the subnet, * if one is available.
*/ inline void SetCurrentRouteTable(Aws::String&& value) { m_currentRouteTableHasBeenSet = true; m_currentRouteTable = std::move(value); } /** *The resource ID of the current route table that's associated with the subnet, * if one is available.
*/ inline void SetCurrentRouteTable(const char* value) { m_currentRouteTableHasBeenSet = true; m_currentRouteTable.assign(value); } /** *The resource ID of the current route table that's associated with the subnet, * if one is available.
*/ inline NetworkFirewallMissingExpectedRTViolation& WithCurrentRouteTable(const Aws::String& value) { SetCurrentRouteTable(value); return *this;} /** *The resource ID of the current route table that's associated with the subnet, * if one is available.
*/ inline NetworkFirewallMissingExpectedRTViolation& WithCurrentRouteTable(Aws::String&& value) { SetCurrentRouteTable(std::move(value)); return *this;} /** *The resource ID of the current route table that's associated with the subnet, * if one is available.
*/ inline NetworkFirewallMissingExpectedRTViolation& WithCurrentRouteTable(const char* value) { SetCurrentRouteTable(value); return *this;} /** *The resource ID of the route table that should be associated with the * subnet.
*/ inline const Aws::String& GetExpectedRouteTable() const{ return m_expectedRouteTable; } /** *The resource ID of the route table that should be associated with the * subnet.
*/ inline bool ExpectedRouteTableHasBeenSet() const { return m_expectedRouteTableHasBeenSet; } /** *The resource ID of the route table that should be associated with the * subnet.
*/ inline void SetExpectedRouteTable(const Aws::String& value) { m_expectedRouteTableHasBeenSet = true; m_expectedRouteTable = value; } /** *The resource ID of the route table that should be associated with the * subnet.
*/ inline void SetExpectedRouteTable(Aws::String&& value) { m_expectedRouteTableHasBeenSet = true; m_expectedRouteTable = std::move(value); } /** *The resource ID of the route table that should be associated with the * subnet.
*/ inline void SetExpectedRouteTable(const char* value) { m_expectedRouteTableHasBeenSet = true; m_expectedRouteTable.assign(value); } /** *The resource ID of the route table that should be associated with the * subnet.
*/ inline NetworkFirewallMissingExpectedRTViolation& WithExpectedRouteTable(const Aws::String& value) { SetExpectedRouteTable(value); return *this;} /** *The resource ID of the route table that should be associated with the * subnet.
*/ inline NetworkFirewallMissingExpectedRTViolation& WithExpectedRouteTable(Aws::String&& value) { SetExpectedRouteTable(std::move(value)); return *this;} /** *The resource ID of the route table that should be associated with the * subnet.
*/ inline NetworkFirewallMissingExpectedRTViolation& WithExpectedRouteTable(const char* value) { SetExpectedRouteTable(value); return *this;} private: Aws::String m_violationTarget; bool m_violationTargetHasBeenSet = false; Aws::String m_vPC; bool m_vPCHasBeenSet = false; Aws::String m_availabilityZone; bool m_availabilityZoneHasBeenSet = false; Aws::String m_currentRouteTable; bool m_currentRouteTableHasBeenSet = false; Aws::String m_expectedRouteTable; bool m_expectedRouteTableHasBeenSet = false; }; } // namespace Model } // namespace FMS } // namespace Aws