/**
* Copyright Amazon.com, Inc. or its affiliates. All Rights Reserved.
* SPDX-License-Identifier: Apache-2.0.
*/
#pragma once
#include Contains details about an Amazon EC2 network access control list
* (ACL).See Also:
AWS
* API Reference
Whether this is the default network ACL for the VPC.
*/ inline bool GetIsDefault() const{ return m_isDefault; } /** *Whether this is the default network ACL for the VPC.
*/ inline bool IsDefaultHasBeenSet() const { return m_isDefaultHasBeenSet; } /** *Whether this is the default network ACL for the VPC.
*/ inline void SetIsDefault(bool value) { m_isDefaultHasBeenSet = true; m_isDefault = value; } /** *Whether this is the default network ACL for the VPC.
*/ inline AwsEc2NetworkAclDetails& WithIsDefault(bool value) { SetIsDefault(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 AwsEc2NetworkAclDetails& WithNetworkAclId(const Aws::String& value) { SetNetworkAclId(value); return *this;} /** *The identifier of the network ACL.
*/ inline AwsEc2NetworkAclDetails& WithNetworkAclId(Aws::String&& value) { SetNetworkAclId(std::move(value)); return *this;} /** *The identifier of the network ACL.
*/ inline AwsEc2NetworkAclDetails& WithNetworkAclId(const char* value) { SetNetworkAclId(value); return *this;} /** *The identifier of the Amazon Web Services account that owns the network * ACL.
*/ inline const Aws::String& GetOwnerId() const{ return m_ownerId; } /** *The identifier of the Amazon Web Services account that owns the network * ACL.
*/ inline bool OwnerIdHasBeenSet() const { return m_ownerIdHasBeenSet; } /** *The identifier 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 identifier 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 identifier 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 identifier of the Amazon Web Services account that owns the network * ACL.
*/ inline AwsEc2NetworkAclDetails& WithOwnerId(const Aws::String& value) { SetOwnerId(value); return *this;} /** *The identifier of the Amazon Web Services account that owns the network * ACL.
*/ inline AwsEc2NetworkAclDetails& WithOwnerId(Aws::String&& value) { SetOwnerId(std::move(value)); return *this;} /** *The identifier of the Amazon Web Services account that owns the network * ACL.
*/ inline AwsEc2NetworkAclDetails& WithOwnerId(const char* value) { SetOwnerId(value); return *this;} /** *The identifier of the VPC for the network ACL.
*/ inline const Aws::String& GetVpcId() const{ return m_vpcId; } /** *The identifier of the VPC for the network ACL.
*/ inline bool VpcIdHasBeenSet() const { return m_vpcIdHasBeenSet; } /** *The identifier of the VPC for the network ACL.
*/ inline void SetVpcId(const Aws::String& value) { m_vpcIdHasBeenSet = true; m_vpcId = value; } /** *The identifier of the VPC for the network ACL.
*/ inline void SetVpcId(Aws::String&& value) { m_vpcIdHasBeenSet = true; m_vpcId = std::move(value); } /** *The identifier of the VPC for the network ACL.
*/ inline void SetVpcId(const char* value) { m_vpcIdHasBeenSet = true; m_vpcId.assign(value); } /** *The identifier of the VPC for the network ACL.
*/ inline AwsEc2NetworkAclDetails& WithVpcId(const Aws::String& value) { SetVpcId(value); return *this;} /** *The identifier of the VPC for the network ACL.
*/ inline AwsEc2NetworkAclDetails& WithVpcId(Aws::String&& value) { SetVpcId(std::move(value)); return *this;} /** *The identifier of the VPC for the network ACL.
*/ inline AwsEc2NetworkAclDetails& WithVpcId(const char* value) { SetVpcId(value); return *this;} /** *Associations between the network ACL and subnets.
*/ inline const Aws::VectorAssociations between the network ACL and subnets.
*/ inline bool AssociationsHasBeenSet() const { return m_associationsHasBeenSet; } /** *Associations between the network ACL and subnets.
*/ inline void SetAssociations(const Aws::VectorAssociations between the network ACL and subnets.
*/ inline void SetAssociations(Aws::VectorAssociations between the network ACL and subnets.
*/ inline AwsEc2NetworkAclDetails& WithAssociations(const Aws::VectorAssociations between the network ACL and subnets.
*/ inline AwsEc2NetworkAclDetails& WithAssociations(Aws::VectorAssociations between the network ACL and subnets.
*/ inline AwsEc2NetworkAclDetails& AddAssociations(const AwsEc2NetworkAclAssociation& value) { m_associationsHasBeenSet = true; m_associations.push_back(value); return *this; } /** *Associations between the network ACL and subnets.
*/ inline AwsEc2NetworkAclDetails& AddAssociations(AwsEc2NetworkAclAssociation&& value) { m_associationsHasBeenSet = true; m_associations.push_back(std::move(value)); return *this; } /** *The set of rules in the network ACL.
*/ inline const Aws::VectorThe set of rules in the network ACL.
*/ inline bool EntriesHasBeenSet() const { return m_entriesHasBeenSet; } /** *The set of rules in the network ACL.
*/ inline void SetEntries(const Aws::VectorThe set of rules in the network ACL.
*/ inline void SetEntries(Aws::VectorThe set of rules in the network ACL.
*/ inline AwsEc2NetworkAclDetails& WithEntries(const Aws::VectorThe set of rules in the network ACL.
*/ inline AwsEc2NetworkAclDetails& WithEntries(Aws::VectorThe set of rules in the network ACL.
*/ inline AwsEc2NetworkAclDetails& AddEntries(const AwsEc2NetworkAclEntry& value) { m_entriesHasBeenSet = true; m_entries.push_back(value); return *this; } /** *The set of rules in the network ACL.
*/ inline AwsEc2NetworkAclDetails& AddEntries(AwsEc2NetworkAclEntry&& value) { m_entriesHasBeenSet = true; m_entries.push_back(std::move(value)); return *this; } private: bool m_isDefault; bool m_isDefaultHasBeenSet = false; Aws::String m_networkAclId; bool m_networkAclIdHasBeenSet = false; Aws::String m_ownerId; bool m_ownerIdHasBeenSet = false; Aws::String m_vpcId; bool m_vpcIdHasBeenSet = false; Aws::Vector