/** * 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 for a firewall subnet's VPC endpoint that's deleted or * missing.

See Also:

AWS * API Reference

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

The ID of the firewall that this VPC endpoint is associated with.

*/ inline const Aws::String& GetFirewallSubnetId() const{ return m_firewallSubnetId; } /** *

The ID of the firewall that this VPC endpoint is associated with.

*/ inline bool FirewallSubnetIdHasBeenSet() const { return m_firewallSubnetIdHasBeenSet; } /** *

The ID of the firewall that this VPC endpoint is associated with.

*/ inline void SetFirewallSubnetId(const Aws::String& value) { m_firewallSubnetIdHasBeenSet = true; m_firewallSubnetId = value; } /** *

The ID of the firewall that this VPC endpoint is associated with.

*/ inline void SetFirewallSubnetId(Aws::String&& value) { m_firewallSubnetIdHasBeenSet = true; m_firewallSubnetId = std::move(value); } /** *

The ID of the firewall that this VPC endpoint is associated with.

*/ inline void SetFirewallSubnetId(const char* value) { m_firewallSubnetIdHasBeenSet = true; m_firewallSubnetId.assign(value); } /** *

The ID of the firewall that this VPC endpoint is associated with.

*/ inline FirewallSubnetMissingVPCEndpointViolation& WithFirewallSubnetId(const Aws::String& value) { SetFirewallSubnetId(value); return *this;} /** *

The ID of the firewall that this VPC endpoint is associated with.

*/ inline FirewallSubnetMissingVPCEndpointViolation& WithFirewallSubnetId(Aws::String&& value) { SetFirewallSubnetId(std::move(value)); return *this;} /** *

The ID of the firewall that this VPC endpoint is associated with.

*/ inline FirewallSubnetMissingVPCEndpointViolation& WithFirewallSubnetId(const char* value) { SetFirewallSubnetId(value); return *this;} /** *

The resource ID of the VPC associated with the deleted VPC subnet.

*/ inline const Aws::String& GetVpcId() const{ return m_vpcId; } /** *

The resource ID of the VPC associated with the deleted VPC subnet.

*/ inline bool VpcIdHasBeenSet() const { return m_vpcIdHasBeenSet; } /** *

The resource ID of the VPC associated with the deleted VPC subnet.

*/ inline void SetVpcId(const Aws::String& value) { m_vpcIdHasBeenSet = true; m_vpcId = value; } /** *

The resource ID of the VPC associated with the deleted VPC subnet.

*/ inline void SetVpcId(Aws::String&& value) { m_vpcIdHasBeenSet = true; m_vpcId = std::move(value); } /** *

The resource ID of the VPC associated with the deleted VPC subnet.

*/ inline void SetVpcId(const char* value) { m_vpcIdHasBeenSet = true; m_vpcId.assign(value); } /** *

The resource ID of the VPC associated with the deleted VPC subnet.

*/ inline FirewallSubnetMissingVPCEndpointViolation& WithVpcId(const Aws::String& value) { SetVpcId(value); return *this;} /** *

The resource ID of the VPC associated with the deleted VPC subnet.

*/ inline FirewallSubnetMissingVPCEndpointViolation& WithVpcId(Aws::String&& value) { SetVpcId(std::move(value)); return *this;} /** *

The resource ID of the VPC associated with the deleted VPC subnet.

*/ inline FirewallSubnetMissingVPCEndpointViolation& WithVpcId(const char* value) { SetVpcId(value); return *this;} /** *

The name of the Availability Zone of the deleted VPC subnet.

*/ inline const Aws::String& GetSubnetAvailabilityZone() const{ return m_subnetAvailabilityZone; } /** *

The name of the Availability Zone of the deleted VPC subnet.

*/ inline bool SubnetAvailabilityZoneHasBeenSet() const { return m_subnetAvailabilityZoneHasBeenSet; } /** *

The name of the Availability Zone of the deleted VPC subnet.

*/ inline void SetSubnetAvailabilityZone(const Aws::String& value) { m_subnetAvailabilityZoneHasBeenSet = true; m_subnetAvailabilityZone = value; } /** *

The name of the Availability Zone of the deleted VPC subnet.

*/ inline void SetSubnetAvailabilityZone(Aws::String&& value) { m_subnetAvailabilityZoneHasBeenSet = true; m_subnetAvailabilityZone = std::move(value); } /** *

The name of the Availability Zone of the deleted VPC subnet.

*/ inline void SetSubnetAvailabilityZone(const char* value) { m_subnetAvailabilityZoneHasBeenSet = true; m_subnetAvailabilityZone.assign(value); } /** *

The name of the Availability Zone of the deleted VPC subnet.

*/ inline FirewallSubnetMissingVPCEndpointViolation& WithSubnetAvailabilityZone(const Aws::String& value) { SetSubnetAvailabilityZone(value); return *this;} /** *

The name of the Availability Zone of the deleted VPC subnet.

*/ inline FirewallSubnetMissingVPCEndpointViolation& WithSubnetAvailabilityZone(Aws::String&& value) { SetSubnetAvailabilityZone(std::move(value)); return *this;} /** *

The name of the Availability Zone of the deleted VPC subnet.

*/ inline FirewallSubnetMissingVPCEndpointViolation& WithSubnetAvailabilityZone(const char* value) { SetSubnetAvailabilityZone(value); return *this;} /** *

The ID of the Availability Zone of the deleted VPC subnet.

*/ inline const Aws::String& GetSubnetAvailabilityZoneId() const{ return m_subnetAvailabilityZoneId; } /** *

The ID of the Availability Zone of the deleted VPC subnet.

*/ inline bool SubnetAvailabilityZoneIdHasBeenSet() const { return m_subnetAvailabilityZoneIdHasBeenSet; } /** *

The ID of the Availability Zone of the deleted VPC subnet.

*/ inline void SetSubnetAvailabilityZoneId(const Aws::String& value) { m_subnetAvailabilityZoneIdHasBeenSet = true; m_subnetAvailabilityZoneId = value; } /** *

The ID of the Availability Zone of the deleted VPC subnet.

*/ inline void SetSubnetAvailabilityZoneId(Aws::String&& value) { m_subnetAvailabilityZoneIdHasBeenSet = true; m_subnetAvailabilityZoneId = std::move(value); } /** *

The ID of the Availability Zone of the deleted VPC subnet.

*/ inline void SetSubnetAvailabilityZoneId(const char* value) { m_subnetAvailabilityZoneIdHasBeenSet = true; m_subnetAvailabilityZoneId.assign(value); } /** *

The ID of the Availability Zone of the deleted VPC subnet.

*/ inline FirewallSubnetMissingVPCEndpointViolation& WithSubnetAvailabilityZoneId(const Aws::String& value) { SetSubnetAvailabilityZoneId(value); return *this;} /** *

The ID of the Availability Zone of the deleted VPC subnet.

*/ inline FirewallSubnetMissingVPCEndpointViolation& WithSubnetAvailabilityZoneId(Aws::String&& value) { SetSubnetAvailabilityZoneId(std::move(value)); return *this;} /** *

The ID of the Availability Zone of the deleted VPC subnet.

*/ inline FirewallSubnetMissingVPCEndpointViolation& WithSubnetAvailabilityZoneId(const char* value) { SetSubnetAvailabilityZoneId(value); return *this;} private: Aws::String m_firewallSubnetId; bool m_firewallSubnetIdHasBeenSet = false; Aws::String m_vpcId; bool m_vpcIdHasBeenSet = false; Aws::String m_subnetAvailabilityZone; bool m_subnetAvailabilityZoneHasBeenSet = false; Aws::String m_subnetAvailabilityZoneId; bool m_subnetAvailabilityZoneIdHasBeenSet = false; }; } // namespace Model } // namespace FMS } // namespace Aws