/**
* Copyright Amazon.com, Inc. or its affiliates. All Rights Reserved.
* SPDX-License-Identifier: Apache-2.0.
*/
#pragma once
#include The violation details for a third-party firewall for an Availability Zone
* that's missing the Firewall Manager managed subnet.See Also:
* AWS
* API Reference
The ID of the third-party firewall or VPC resource that's causing the * violation.
*/ inline const Aws::String& GetViolationTarget() const{ return m_violationTarget; } /** *The ID of the third-party firewall or VPC resource that's causing the * violation.
*/ inline bool ViolationTargetHasBeenSet() const { return m_violationTargetHasBeenSet; } /** *The ID of the third-party firewall or VPC resource that's causing the * violation.
*/ inline void SetViolationTarget(const Aws::String& value) { m_violationTargetHasBeenSet = true; m_violationTarget = value; } /** *The ID of the third-party firewall or VPC resource that's causing the * violation.
*/ inline void SetViolationTarget(Aws::String&& value) { m_violationTargetHasBeenSet = true; m_violationTarget = std::move(value); } /** *The ID of the third-party firewall or VPC resource that's causing the * violation.
*/ inline void SetViolationTarget(const char* value) { m_violationTargetHasBeenSet = true; m_violationTarget.assign(value); } /** *The ID of the third-party firewall or VPC resource that's causing the * violation.
*/ inline ThirdPartyFirewallMissingSubnetViolation& WithViolationTarget(const Aws::String& value) { SetViolationTarget(value); return *this;} /** *The ID of the third-party firewall or VPC resource that's causing the * violation.
*/ inline ThirdPartyFirewallMissingSubnetViolation& WithViolationTarget(Aws::String&& value) { SetViolationTarget(std::move(value)); return *this;} /** *The ID of the third-party firewall or VPC resource that's causing the * violation.
*/ inline ThirdPartyFirewallMissingSubnetViolation& WithViolationTarget(const char* value) { SetViolationTarget(value); return *this;} /** *The resource ID of the VPC associated with a subnet that's causing the * violation.
*/ inline const Aws::String& GetVPC() const{ return m_vPC; } /** *The resource ID of the VPC associated with a subnet that's causing the * violation.
*/ inline bool VPCHasBeenSet() const { return m_vPCHasBeenSet; } /** *The resource ID of the VPC associated with a subnet that's causing the * violation.
*/ inline void SetVPC(const Aws::String& value) { m_vPCHasBeenSet = true; m_vPC = value; } /** *The resource ID of the VPC associated with a subnet that's causing the * violation.
*/ inline void SetVPC(Aws::String&& value) { m_vPCHasBeenSet = true; m_vPC = std::move(value); } /** *The resource ID of the VPC associated with a subnet that's causing the * violation.
*/ inline void SetVPC(const char* value) { m_vPCHasBeenSet = true; m_vPC.assign(value); } /** *The resource ID of the VPC associated with a subnet that's causing the * violation.
*/ inline ThirdPartyFirewallMissingSubnetViolation& WithVPC(const Aws::String& value) { SetVPC(value); return *this;} /** *The resource ID of the VPC associated with a subnet that's causing the * violation.
*/ inline ThirdPartyFirewallMissingSubnetViolation& WithVPC(Aws::String&& value) { SetVPC(std::move(value)); return *this;} /** *The resource ID of the VPC associated with a subnet that's causing the * violation.
*/ inline ThirdPartyFirewallMissingSubnetViolation& WithVPC(const char* value) { SetVPC(value); return *this;} /** *The Availability Zone of a subnet that's causing the violation.
*/ inline const Aws::String& GetAvailabilityZone() const{ return m_availabilityZone; } /** *The Availability Zone of a subnet that's causing the violation.
*/ inline bool AvailabilityZoneHasBeenSet() const { return m_availabilityZoneHasBeenSet; } /** *The Availability Zone of a subnet that's causing the violation.
*/ inline void SetAvailabilityZone(const Aws::String& value) { m_availabilityZoneHasBeenSet = true; m_availabilityZone = value; } /** *The Availability Zone of a subnet that's causing the violation.
*/ inline void SetAvailabilityZone(Aws::String&& value) { m_availabilityZoneHasBeenSet = true; m_availabilityZone = std::move(value); } /** *The Availability Zone of a subnet that's causing the violation.
*/ inline void SetAvailabilityZone(const char* value) { m_availabilityZoneHasBeenSet = true; m_availabilityZone.assign(value); } /** *The Availability Zone of a subnet that's causing the violation.
*/ inline ThirdPartyFirewallMissingSubnetViolation& WithAvailabilityZone(const Aws::String& value) { SetAvailabilityZone(value); return *this;} /** *The Availability Zone of a subnet that's causing the violation.
*/ inline ThirdPartyFirewallMissingSubnetViolation& WithAvailabilityZone(Aws::String&& value) { SetAvailabilityZone(std::move(value)); return *this;} /** *The Availability Zone of a subnet that's causing the violation.
*/ inline ThirdPartyFirewallMissingSubnetViolation& WithAvailabilityZone(const char* value) { SetAvailabilityZone(value); return *this;} /** *The reason the resource is causing the violation, if a reason is * available.
*/ inline const Aws::String& GetTargetViolationReason() const{ return m_targetViolationReason; } /** *The reason the resource is causing the violation, if a reason is * available.
*/ inline bool TargetViolationReasonHasBeenSet() const { return m_targetViolationReasonHasBeenSet; } /** *The reason the resource is causing the violation, if a reason is * available.
*/ inline void SetTargetViolationReason(const Aws::String& value) { m_targetViolationReasonHasBeenSet = true; m_targetViolationReason = value; } /** *The reason the resource is causing the violation, if a reason is * available.
*/ inline void SetTargetViolationReason(Aws::String&& value) { m_targetViolationReasonHasBeenSet = true; m_targetViolationReason = std::move(value); } /** *The reason the resource is causing the violation, if a reason is * available.
*/ inline void SetTargetViolationReason(const char* value) { m_targetViolationReasonHasBeenSet = true; m_targetViolationReason.assign(value); } /** *The reason the resource is causing the violation, if a reason is * available.
*/ inline ThirdPartyFirewallMissingSubnetViolation& WithTargetViolationReason(const Aws::String& value) { SetTargetViolationReason(value); return *this;} /** *The reason the resource is causing the violation, if a reason is * available.
*/ inline ThirdPartyFirewallMissingSubnetViolation& WithTargetViolationReason(Aws::String&& value) { SetTargetViolationReason(std::move(value)); return *this;} /** *The reason the resource is causing the violation, if a reason is * available.
*/ inline ThirdPartyFirewallMissingSubnetViolation& WithTargetViolationReason(const char* value) { SetTargetViolationReason(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_targetViolationReason; bool m_targetViolationReasonHasBeenSet = false; }; } // namespace Model } // namespace FMS } // namespace Aws