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

The violation details about a third-party firewall's subnet that doesn't have * a Firewall Manager managed firewall in its VPC.

See Also:

AWS * API Reference

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

The ID of the third-party firewall that's causing the violation.

*/ inline const Aws::String& GetViolationTarget() const{ return m_violationTarget; } /** *

The ID of the third-party firewall that's causing the violation.

*/ inline bool ViolationTargetHasBeenSet() const { return m_violationTargetHasBeenSet; } /** *

The ID of the third-party firewall 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 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 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 that's causing the violation.

*/ inline ThirdPartyFirewallMissingFirewallViolation& WithViolationTarget(const Aws::String& value) { SetViolationTarget(value); return *this;} /** *

The ID of the third-party firewall that's causing the violation.

*/ inline ThirdPartyFirewallMissingFirewallViolation& WithViolationTarget(Aws::String&& value) { SetViolationTarget(std::move(value)); return *this;} /** *

The ID of the third-party firewall that's causing the violation.

*/ inline ThirdPartyFirewallMissingFirewallViolation& WithViolationTarget(const char* value) { SetViolationTarget(value); return *this;} /** *

The resource ID of the VPC associated with a third-party firewall.

*/ inline const Aws::String& GetVPC() const{ return m_vPC; } /** *

The resource ID of the VPC associated with a third-party firewall.

*/ inline bool VPCHasBeenSet() const { return m_vPCHasBeenSet; } /** *

The resource ID of the VPC associated with a third-party firewall.

*/ inline void SetVPC(const Aws::String& value) { m_vPCHasBeenSet = true; m_vPC = value; } /** *

The resource ID of the VPC associated with a third-party firewall.

*/ inline void SetVPC(Aws::String&& value) { m_vPCHasBeenSet = true; m_vPC = std::move(value); } /** *

The resource ID of the VPC associated with a third-party firewall.

*/ inline void SetVPC(const char* value) { m_vPCHasBeenSet = true; m_vPC.assign(value); } /** *

The resource ID of the VPC associated with a third-party firewall.

*/ inline ThirdPartyFirewallMissingFirewallViolation& WithVPC(const Aws::String& value) { SetVPC(value); return *this;} /** *

The resource ID of the VPC associated with a third-party firewall.

*/ inline ThirdPartyFirewallMissingFirewallViolation& WithVPC(Aws::String&& value) { SetVPC(std::move(value)); return *this;} /** *

The resource ID of the VPC associated with a third-party firewall.

*/ inline ThirdPartyFirewallMissingFirewallViolation& WithVPC(const char* value) { SetVPC(value); return *this;} /** *

The Availability Zone of the third-party firewall that's causing the * violation.

*/ inline const Aws::String& GetAvailabilityZone() const{ return m_availabilityZone; } /** *

The Availability Zone of the third-party firewall that's causing the * violation.

*/ inline bool AvailabilityZoneHasBeenSet() const { return m_availabilityZoneHasBeenSet; } /** *

The Availability Zone of the third-party firewall that's causing the * violation.

*/ inline void SetAvailabilityZone(const Aws::String& value) { m_availabilityZoneHasBeenSet = true; m_availabilityZone = value; } /** *

The Availability Zone of the third-party firewall that's causing the * violation.

*/ inline void SetAvailabilityZone(Aws::String&& value) { m_availabilityZoneHasBeenSet = true; m_availabilityZone = std::move(value); } /** *

The Availability Zone of the third-party firewall that's causing the * violation.

*/ inline void SetAvailabilityZone(const char* value) { m_availabilityZoneHasBeenSet = true; m_availabilityZone.assign(value); } /** *

The Availability Zone of the third-party firewall that's causing the * violation.

*/ inline ThirdPartyFirewallMissingFirewallViolation& WithAvailabilityZone(const Aws::String& value) { SetAvailabilityZone(value); return *this;} /** *

The Availability Zone of the third-party firewall that's causing the * violation.

*/ inline ThirdPartyFirewallMissingFirewallViolation& WithAvailabilityZone(Aws::String&& value) { SetAvailabilityZone(std::move(value)); return *this;} /** *

The Availability Zone of the third-party firewall that's causing the * violation.

*/ inline ThirdPartyFirewallMissingFirewallViolation& WithAvailabilityZone(const char* value) { SetAvailabilityZone(value); return *this;} /** *

The reason the resource is causing this violation, if a reason is * available.

*/ inline const Aws::String& GetTargetViolationReason() const{ return m_targetViolationReason; } /** *

The reason the resource is causing this violation, if a reason is * available.

*/ inline bool TargetViolationReasonHasBeenSet() const { return m_targetViolationReasonHasBeenSet; } /** *

The reason the resource is causing this 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 this 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 this 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 this violation, if a reason is * available.

*/ inline ThirdPartyFirewallMissingFirewallViolation& WithTargetViolationReason(const Aws::String& value) { SetTargetViolationReason(value); return *this;} /** *

The reason the resource is causing this violation, if a reason is * available.

*/ inline ThirdPartyFirewallMissingFirewallViolation& WithTargetViolationReason(Aws::String&& value) { SetTargetViolationReason(std::move(value)); return *this;} /** *

The reason the resource is causing this violation, if a reason is * available.

*/ inline ThirdPartyFirewallMissingFirewallViolation& 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