/** * 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 SecurityHub { namespace Model { /** *

An association between the network ACL and a subnet.

See Also:

* AWS * API Reference

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

The identifier of the association between the network ACL and the subnet.

*/ inline const Aws::String& GetNetworkAclAssociationId() const{ return m_networkAclAssociationId; } /** *

The identifier of the association between the network ACL and the subnet.

*/ inline bool NetworkAclAssociationIdHasBeenSet() const { return m_networkAclAssociationIdHasBeenSet; } /** *

The identifier of the association between the network ACL and the subnet.

*/ inline void SetNetworkAclAssociationId(const Aws::String& value) { m_networkAclAssociationIdHasBeenSet = true; m_networkAclAssociationId = value; } /** *

The identifier of the association between the network ACL and the subnet.

*/ inline void SetNetworkAclAssociationId(Aws::String&& value) { m_networkAclAssociationIdHasBeenSet = true; m_networkAclAssociationId = std::move(value); } /** *

The identifier of the association between the network ACL and the subnet.

*/ inline void SetNetworkAclAssociationId(const char* value) { m_networkAclAssociationIdHasBeenSet = true; m_networkAclAssociationId.assign(value); } /** *

The identifier of the association between the network ACL and the subnet.

*/ inline AwsEc2NetworkAclAssociation& WithNetworkAclAssociationId(const Aws::String& value) { SetNetworkAclAssociationId(value); return *this;} /** *

The identifier of the association between the network ACL and the subnet.

*/ inline AwsEc2NetworkAclAssociation& WithNetworkAclAssociationId(Aws::String&& value) { SetNetworkAclAssociationId(std::move(value)); return *this;} /** *

The identifier of the association between the network ACL and the subnet.

*/ inline AwsEc2NetworkAclAssociation& WithNetworkAclAssociationId(const char* value) { SetNetworkAclAssociationId(value); return *this;} /** *

The identifier of the network ACL.

*/ inline const Aws::String& GetNetworkAclId() const{ return m_networkAclId; } /** *

The identifier of the network ACL.

*/ inline bool NetworkAclIdHasBeenSet() const { return m_networkAclIdHasBeenSet; } /** *

The identifier of the network ACL.

*/ inline void SetNetworkAclId(const Aws::String& value) { m_networkAclIdHasBeenSet = true; m_networkAclId = value; } /** *

The identifier of the network ACL.

*/ inline void SetNetworkAclId(Aws::String&& value) { m_networkAclIdHasBeenSet = true; m_networkAclId = std::move(value); } /** *

The identifier of the network ACL.

*/ inline void SetNetworkAclId(const char* value) { m_networkAclIdHasBeenSet = true; m_networkAclId.assign(value); } /** *

The identifier of the network ACL.

*/ inline AwsEc2NetworkAclAssociation& WithNetworkAclId(const Aws::String& value) { SetNetworkAclId(value); return *this;} /** *

The identifier of the network ACL.

*/ inline AwsEc2NetworkAclAssociation& WithNetworkAclId(Aws::String&& value) { SetNetworkAclId(std::move(value)); return *this;} /** *

The identifier of the network ACL.

*/ inline AwsEc2NetworkAclAssociation& WithNetworkAclId(const char* value) { SetNetworkAclId(value); return *this;} /** *

The identifier of the subnet that is associated with the network ACL.

*/ inline const Aws::String& GetSubnetId() const{ return m_subnetId; } /** *

The identifier of the subnet that is associated with the network ACL.

*/ inline bool SubnetIdHasBeenSet() const { return m_subnetIdHasBeenSet; } /** *

The identifier of the subnet that is associated with the network ACL.

*/ inline void SetSubnetId(const Aws::String& value) { m_subnetIdHasBeenSet = true; m_subnetId = value; } /** *

The identifier of the subnet that is associated with the network ACL.

*/ inline void SetSubnetId(Aws::String&& value) { m_subnetIdHasBeenSet = true; m_subnetId = std::move(value); } /** *

The identifier of the subnet that is associated with the network ACL.

*/ inline void SetSubnetId(const char* value) { m_subnetIdHasBeenSet = true; m_subnetId.assign(value); } /** *

The identifier of the subnet that is associated with the network ACL.

*/ inline AwsEc2NetworkAclAssociation& WithSubnetId(const Aws::String& value) { SetSubnetId(value); return *this;} /** *

The identifier of the subnet that is associated with the network ACL.

*/ inline AwsEc2NetworkAclAssociation& WithSubnetId(Aws::String&& value) { SetSubnetId(std::move(value)); return *this;} /** *

The identifier of the subnet that is associated with the network ACL.

*/ inline AwsEc2NetworkAclAssociation& WithSubnetId(const char* value) { SetSubnetId(value); return *this;} private: Aws::String m_networkAclAssociationId; bool m_networkAclAssociationIdHasBeenSet = false; Aws::String m_networkAclId; bool m_networkAclIdHasBeenSet = false; Aws::String m_subnetId; bool m_subnetIdHasBeenSet = false; }; } // namespace Model } // namespace SecurityHub } // namespace Aws