/** * 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 { /** *

Contains details about the firewall subnet that violates the policy * scope.

See Also:

AWS * API Reference

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

The ID of the firewall subnet that violates the policy scope.

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

The ID of the firewall subnet that violates the policy scope.

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

The ID of the firewall subnet that violates the policy scope.

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

The ID of the firewall subnet that violates the policy scope.

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

The ID of the firewall subnet that violates the policy scope.

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

The ID of the firewall subnet that violates the policy scope.

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

The ID of the firewall subnet that violates the policy scope.

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

The ID of the firewall subnet that violates the policy scope.

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

The VPC ID of the firewall subnet that violates the policy scope.

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

The VPC ID of the firewall subnet that violates the policy scope.

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

The VPC ID of the firewall subnet that violates the policy scope.

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

The VPC ID of the firewall subnet that violates the policy scope.

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

The VPC ID of the firewall subnet that violates the policy scope.

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

The VPC ID of the firewall subnet that violates the policy scope.

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

The VPC ID of the firewall subnet that violates the policy scope.

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

The VPC ID of the firewall subnet that violates the policy scope.

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

The Availability Zone of the firewall subnet that violates the policy * scope.

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

The Availability Zone of the firewall subnet that violates the policy * scope.

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

The Availability Zone of the firewall subnet that violates the policy * scope.

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

The Availability Zone of the firewall subnet that violates the policy * scope.

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

The Availability Zone of the firewall subnet that violates the policy * scope.

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

The Availability Zone of the firewall subnet that violates the policy * scope.

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

The Availability Zone of the firewall subnet that violates the policy * scope.

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

The Availability Zone of the firewall subnet that violates the policy * scope.

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

The Availability Zone ID of the firewall subnet that violates the policy * scope.

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

The Availability Zone ID of the firewall subnet that violates the policy * scope.

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

The Availability Zone ID of the firewall subnet that violates the policy * scope.

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

The Availability Zone ID of the firewall subnet that violates the policy * scope.

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

The Availability Zone ID of the firewall subnet that violates the policy * scope.

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

The Availability Zone ID of the firewall subnet that violates the policy * scope.

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

The Availability Zone ID of the firewall subnet that violates the policy * scope.

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

The Availability Zone ID of the firewall subnet that violates the policy * scope.

*/ inline FirewallSubnetIsOutOfScopeViolation& WithSubnetAvailabilityZoneId(const char* value) { SetSubnetAvailabilityZoneId(value); return *this;} /** *

The VPC endpoint ID of the firewall subnet that violates the policy * scope.

*/ inline const Aws::String& GetVpcEndpointId() const{ return m_vpcEndpointId; } /** *

The VPC endpoint ID of the firewall subnet that violates the policy * scope.

*/ inline bool VpcEndpointIdHasBeenSet() const { return m_vpcEndpointIdHasBeenSet; } /** *

The VPC endpoint ID of the firewall subnet that violates the policy * scope.

*/ inline void SetVpcEndpointId(const Aws::String& value) { m_vpcEndpointIdHasBeenSet = true; m_vpcEndpointId = value; } /** *

The VPC endpoint ID of the firewall subnet that violates the policy * scope.

*/ inline void SetVpcEndpointId(Aws::String&& value) { m_vpcEndpointIdHasBeenSet = true; m_vpcEndpointId = std::move(value); } /** *

The VPC endpoint ID of the firewall subnet that violates the policy * scope.

*/ inline void SetVpcEndpointId(const char* value) { m_vpcEndpointIdHasBeenSet = true; m_vpcEndpointId.assign(value); } /** *

The VPC endpoint ID of the firewall subnet that violates the policy * scope.

*/ inline FirewallSubnetIsOutOfScopeViolation& WithVpcEndpointId(const Aws::String& value) { SetVpcEndpointId(value); return *this;} /** *

The VPC endpoint ID of the firewall subnet that violates the policy * scope.

*/ inline FirewallSubnetIsOutOfScopeViolation& WithVpcEndpointId(Aws::String&& value) { SetVpcEndpointId(std::move(value)); return *this;} /** *

The VPC endpoint ID of the firewall subnet that violates the policy * scope.

*/ inline FirewallSubnetIsOutOfScopeViolation& WithVpcEndpointId(const char* value) { SetVpcEndpointId(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; Aws::String m_vpcEndpointId; bool m_vpcEndpointIdHasBeenSet = false; }; } // namespace Model } // namespace FMS } // namespace Aws