/**
* Copyright Amazon.com, Inc. or its affiliates. All Rights Reserved.
* SPDX-License-Identifier: Apache-2.0.
*/
#pragma once
#include Describes a network ACL.See Also:
AWS API
* Reference
Any associations between the network ACL and one or more subnets
*/ inline const Aws::VectorAny associations between the network ACL and one or more subnets
*/ inline bool AssociationsHasBeenSet() const { return m_associationsHasBeenSet; } /** *Any associations between the network ACL and one or more subnets
*/ inline void SetAssociations(const Aws::VectorAny associations between the network ACL and one or more subnets
*/ inline void SetAssociations(Aws::VectorAny associations between the network ACL and one or more subnets
*/ inline NetworkAcl& WithAssociations(const Aws::VectorAny associations between the network ACL and one or more subnets
*/ inline NetworkAcl& WithAssociations(Aws::VectorAny associations between the network ACL and one or more subnets
*/ inline NetworkAcl& AddAssociations(const NetworkAclAssociation& value) { m_associationsHasBeenSet = true; m_associations.push_back(value); return *this; } /** *Any associations between the network ACL and one or more subnets
*/ inline NetworkAcl& AddAssociations(NetworkAclAssociation&& value) { m_associationsHasBeenSet = true; m_associations.push_back(std::move(value)); return *this; } /** *The entries (rules) in the network ACL.
*/ inline const Aws::VectorThe entries (rules) in the network ACL.
*/ inline bool EntriesHasBeenSet() const { return m_entriesHasBeenSet; } /** *The entries (rules) in the network ACL.
*/ inline void SetEntries(const Aws::VectorThe entries (rules) in the network ACL.
*/ inline void SetEntries(Aws::VectorThe entries (rules) in the network ACL.
*/ inline NetworkAcl& WithEntries(const Aws::VectorThe entries (rules) in the network ACL.
*/ inline NetworkAcl& WithEntries(Aws::VectorThe entries (rules) in the network ACL.
*/ inline NetworkAcl& AddEntries(const NetworkAclEntry& value) { m_entriesHasBeenSet = true; m_entries.push_back(value); return *this; } /** *The entries (rules) in the network ACL.
*/ inline NetworkAcl& AddEntries(NetworkAclEntry&& value) { m_entriesHasBeenSet = true; m_entries.push_back(std::move(value)); return *this; } /** *Indicates whether this is the default network ACL for the VPC.
*/ inline bool GetIsDefault() const{ return m_isDefault; } /** *Indicates whether this is the default network ACL for the VPC.
*/ inline bool IsDefaultHasBeenSet() const { return m_isDefaultHasBeenSet; } /** *Indicates whether this is the default network ACL for the VPC.
*/ inline void SetIsDefault(bool value) { m_isDefaultHasBeenSet = true; m_isDefault = value; } /** *Indicates whether this is the default network ACL for the VPC.
*/ inline NetworkAcl& WithIsDefault(bool value) { SetIsDefault(value); return *this;} /** *The ID of the network ACL.
*/ inline const Aws::String& GetNetworkAclId() const{ return m_networkAclId; } /** *The ID of the network ACL.
*/ inline bool NetworkAclIdHasBeenSet() const { return m_networkAclIdHasBeenSet; } /** *The ID of the network ACL.
*/ inline void SetNetworkAclId(const Aws::String& value) { m_networkAclIdHasBeenSet = true; m_networkAclId = value; } /** *The ID of the network ACL.
*/ inline void SetNetworkAclId(Aws::String&& value) { m_networkAclIdHasBeenSet = true; m_networkAclId = std::move(value); } /** *The ID of the network ACL.
*/ inline void SetNetworkAclId(const char* value) { m_networkAclIdHasBeenSet = true; m_networkAclId.assign(value); } /** *The ID of the network ACL.
*/ inline NetworkAcl& WithNetworkAclId(const Aws::String& value) { SetNetworkAclId(value); return *this;} /** *The ID of the network ACL.
*/ inline NetworkAcl& WithNetworkAclId(Aws::String&& value) { SetNetworkAclId(std::move(value)); return *this;} /** *The ID of the network ACL.
*/ inline NetworkAcl& WithNetworkAclId(const char* value) { SetNetworkAclId(value); return *this;} /** *Any tags assigned to the network ACL.
*/ inline const Aws::VectorAny tags assigned to the network ACL.
*/ inline bool TagsHasBeenSet() const { return m_tagsHasBeenSet; } /** *Any tags assigned to the network ACL.
*/ inline void SetTags(const Aws::VectorAny tags assigned to the network ACL.
*/ inline void SetTags(Aws::VectorAny tags assigned to the network ACL.
*/ inline NetworkAcl& WithTags(const Aws::VectorAny tags assigned to the network ACL.
*/ inline NetworkAcl& WithTags(Aws::VectorAny tags assigned to the network ACL.
*/ inline NetworkAcl& AddTags(const Tag& value) { m_tagsHasBeenSet = true; m_tags.push_back(value); return *this; } /** *Any tags assigned to the network ACL.
*/ inline NetworkAcl& AddTags(Tag&& value) { m_tagsHasBeenSet = true; m_tags.push_back(std::move(value)); return *this; } /** *The ID of the VPC for the network ACL.
*/ inline const Aws::String& GetVpcId() const{ return m_vpcId; } /** *The ID of the VPC for the network ACL.
*/ inline bool VpcIdHasBeenSet() const { return m_vpcIdHasBeenSet; } /** *The ID of the VPC for the network ACL.
*/ inline void SetVpcId(const Aws::String& value) { m_vpcIdHasBeenSet = true; m_vpcId = value; } /** *The ID of the VPC for the network ACL.
*/ inline void SetVpcId(Aws::String&& value) { m_vpcIdHasBeenSet = true; m_vpcId = std::move(value); } /** *The ID of the VPC for the network ACL.
*/ inline void SetVpcId(const char* value) { m_vpcIdHasBeenSet = true; m_vpcId.assign(value); } /** *The ID of the VPC for the network ACL.
*/ inline NetworkAcl& WithVpcId(const Aws::String& value) { SetVpcId(value); return *this;} /** *The ID of the VPC for the network ACL.
*/ inline NetworkAcl& WithVpcId(Aws::String&& value) { SetVpcId(std::move(value)); return *this;} /** *The ID of the VPC for the network ACL.
*/ inline NetworkAcl& WithVpcId(const char* value) { SetVpcId(value); return *this;} /** *The ID of the Amazon Web Services account that owns the network ACL.
*/ inline const Aws::String& GetOwnerId() const{ return m_ownerId; } /** *The ID of the Amazon Web Services account that owns the network ACL.
*/ inline bool OwnerIdHasBeenSet() const { return m_ownerIdHasBeenSet; } /** *The ID of the Amazon Web Services account that owns the network ACL.
*/ inline void SetOwnerId(const Aws::String& value) { m_ownerIdHasBeenSet = true; m_ownerId = value; } /** *The ID of the Amazon Web Services account that owns the network ACL.
*/ inline void SetOwnerId(Aws::String&& value) { m_ownerIdHasBeenSet = true; m_ownerId = std::move(value); } /** *The ID of the Amazon Web Services account that owns the network ACL.
*/ inline void SetOwnerId(const char* value) { m_ownerIdHasBeenSet = true; m_ownerId.assign(value); } /** *The ID of the Amazon Web Services account that owns the network ACL.
*/ inline NetworkAcl& WithOwnerId(const Aws::String& value) { SetOwnerId(value); return *this;} /** *The ID of the Amazon Web Services account that owns the network ACL.
*/ inline NetworkAcl& WithOwnerId(Aws::String&& value) { SetOwnerId(std::move(value)); return *this;} /** *The ID of the Amazon Web Services account that owns the network ACL.
*/ inline NetworkAcl& WithOwnerId(const char* value) { SetOwnerId(value); return *this;} private: Aws::Vector