/**
* Copyright Amazon.com, Inc. or its affiliates. All Rights Reserved.
* SPDX-License-Identifier: Apache-2.0.
*/
#pragma once
#include Describes a network interface.See Also:
AWS
* API Reference
The association information for an Elastic IP address (IPv4) associated with * the network interface.
*/ inline const NetworkInterfaceAssociation& GetAssociation() const{ return m_association; } /** *The association information for an Elastic IP address (IPv4) associated with * the network interface.
*/ inline bool AssociationHasBeenSet() const { return m_associationHasBeenSet; } /** *The association information for an Elastic IP address (IPv4) associated with * the network interface.
*/ inline void SetAssociation(const NetworkInterfaceAssociation& value) { m_associationHasBeenSet = true; m_association = value; } /** *The association information for an Elastic IP address (IPv4) associated with * the network interface.
*/ inline void SetAssociation(NetworkInterfaceAssociation&& value) { m_associationHasBeenSet = true; m_association = std::move(value); } /** *The association information for an Elastic IP address (IPv4) associated with * the network interface.
*/ inline NetworkInterface& WithAssociation(const NetworkInterfaceAssociation& value) { SetAssociation(value); return *this;} /** *The association information for an Elastic IP address (IPv4) associated with * the network interface.
*/ inline NetworkInterface& WithAssociation(NetworkInterfaceAssociation&& value) { SetAssociation(std::move(value)); return *this;} /** *The network interface attachment.
*/ inline const NetworkInterfaceAttachment& GetAttachment() const{ return m_attachment; } /** *The network interface attachment.
*/ inline bool AttachmentHasBeenSet() const { return m_attachmentHasBeenSet; } /** *The network interface attachment.
*/ inline void SetAttachment(const NetworkInterfaceAttachment& value) { m_attachmentHasBeenSet = true; m_attachment = value; } /** *The network interface attachment.
*/ inline void SetAttachment(NetworkInterfaceAttachment&& value) { m_attachmentHasBeenSet = true; m_attachment = std::move(value); } /** *The network interface attachment.
*/ inline NetworkInterface& WithAttachment(const NetworkInterfaceAttachment& value) { SetAttachment(value); return *this;} /** *The network interface attachment.
*/ inline NetworkInterface& WithAttachment(NetworkInterfaceAttachment&& value) { SetAttachment(std::move(value)); return *this;} /** *The Availability Zone.
*/ inline const Aws::String& GetAvailabilityZone() const{ return m_availabilityZone; } /** *The Availability Zone.
*/ inline bool AvailabilityZoneHasBeenSet() const { return m_availabilityZoneHasBeenSet; } /** *The Availability Zone.
*/ inline void SetAvailabilityZone(const Aws::String& value) { m_availabilityZoneHasBeenSet = true; m_availabilityZone = value; } /** *The Availability Zone.
*/ inline void SetAvailabilityZone(Aws::String&& value) { m_availabilityZoneHasBeenSet = true; m_availabilityZone = std::move(value); } /** *The Availability Zone.
*/ inline void SetAvailabilityZone(const char* value) { m_availabilityZoneHasBeenSet = true; m_availabilityZone.assign(value); } /** *The Availability Zone.
*/ inline NetworkInterface& WithAvailabilityZone(const Aws::String& value) { SetAvailabilityZone(value); return *this;} /** *The Availability Zone.
*/ inline NetworkInterface& WithAvailabilityZone(Aws::String&& value) { SetAvailabilityZone(std::move(value)); return *this;} /** *The Availability Zone.
*/ inline NetworkInterface& WithAvailabilityZone(const char* value) { SetAvailabilityZone(value); return *this;} /** *A description.
*/ inline const Aws::String& GetDescription() const{ return m_description; } /** *A description.
*/ inline bool DescriptionHasBeenSet() const { return m_descriptionHasBeenSet; } /** *A description.
*/ inline void SetDescription(const Aws::String& value) { m_descriptionHasBeenSet = true; m_description = value; } /** *A description.
*/ inline void SetDescription(Aws::String&& value) { m_descriptionHasBeenSet = true; m_description = std::move(value); } /** *A description.
*/ inline void SetDescription(const char* value) { m_descriptionHasBeenSet = true; m_description.assign(value); } /** *A description.
*/ inline NetworkInterface& WithDescription(const Aws::String& value) { SetDescription(value); return *this;} /** *A description.
*/ inline NetworkInterface& WithDescription(Aws::String&& value) { SetDescription(std::move(value)); return *this;} /** *A description.
*/ inline NetworkInterface& WithDescription(const char* value) { SetDescription(value); return *this;} /** *Any security groups for the network interface.
*/ inline const Aws::VectorAny security groups for the network interface.
*/ inline bool GroupsHasBeenSet() const { return m_groupsHasBeenSet; } /** *Any security groups for the network interface.
*/ inline void SetGroups(const Aws::VectorAny security groups for the network interface.
*/ inline void SetGroups(Aws::VectorAny security groups for the network interface.
*/ inline NetworkInterface& WithGroups(const Aws::VectorAny security groups for the network interface.
*/ inline NetworkInterface& WithGroups(Aws::VectorAny security groups for the network interface.
*/ inline NetworkInterface& AddGroups(const GroupIdentifier& value) { m_groupsHasBeenSet = true; m_groups.push_back(value); return *this; } /** *Any security groups for the network interface.
*/ inline NetworkInterface& AddGroups(GroupIdentifier&& value) { m_groupsHasBeenSet = true; m_groups.push_back(std::move(value)); return *this; } /** *The type of network interface.
*/ inline const NetworkInterfaceType& GetInterfaceType() const{ return m_interfaceType; } /** *The type of network interface.
*/ inline bool InterfaceTypeHasBeenSet() const { return m_interfaceTypeHasBeenSet; } /** *The type of network interface.
*/ inline void SetInterfaceType(const NetworkInterfaceType& value) { m_interfaceTypeHasBeenSet = true; m_interfaceType = value; } /** *The type of network interface.
*/ inline void SetInterfaceType(NetworkInterfaceType&& value) { m_interfaceTypeHasBeenSet = true; m_interfaceType = std::move(value); } /** *The type of network interface.
*/ inline NetworkInterface& WithInterfaceType(const NetworkInterfaceType& value) { SetInterfaceType(value); return *this;} /** *The type of network interface.
*/ inline NetworkInterface& WithInterfaceType(NetworkInterfaceType&& value) { SetInterfaceType(std::move(value)); return *this;} /** *The IPv6 addresses associated with the network interface.
*/ inline const Aws::VectorThe IPv6 addresses associated with the network interface.
*/ inline bool Ipv6AddressesHasBeenSet() const { return m_ipv6AddressesHasBeenSet; } /** *The IPv6 addresses associated with the network interface.
*/ inline void SetIpv6Addresses(const Aws::VectorThe IPv6 addresses associated with the network interface.
*/ inline void SetIpv6Addresses(Aws::VectorThe IPv6 addresses associated with the network interface.
*/ inline NetworkInterface& WithIpv6Addresses(const Aws::VectorThe IPv6 addresses associated with the network interface.
*/ inline NetworkInterface& WithIpv6Addresses(Aws::VectorThe IPv6 addresses associated with the network interface.
*/ inline NetworkInterface& AddIpv6Addresses(const NetworkInterfaceIpv6Address& value) { m_ipv6AddressesHasBeenSet = true; m_ipv6Addresses.push_back(value); return *this; } /** *The IPv6 addresses associated with the network interface.
*/ inline NetworkInterface& AddIpv6Addresses(NetworkInterfaceIpv6Address&& value) { m_ipv6AddressesHasBeenSet = true; m_ipv6Addresses.push_back(std::move(value)); return *this; } /** *The MAC address.
*/ inline const Aws::String& GetMacAddress() const{ return m_macAddress; } /** *The MAC address.
*/ inline bool MacAddressHasBeenSet() const { return m_macAddressHasBeenSet; } /** *The MAC address.
*/ inline void SetMacAddress(const Aws::String& value) { m_macAddressHasBeenSet = true; m_macAddress = value; } /** *The MAC address.
*/ inline void SetMacAddress(Aws::String&& value) { m_macAddressHasBeenSet = true; m_macAddress = std::move(value); } /** *The MAC address.
*/ inline void SetMacAddress(const char* value) { m_macAddressHasBeenSet = true; m_macAddress.assign(value); } /** *The MAC address.
*/ inline NetworkInterface& WithMacAddress(const Aws::String& value) { SetMacAddress(value); return *this;} /** *The MAC address.
*/ inline NetworkInterface& WithMacAddress(Aws::String&& value) { SetMacAddress(std::move(value)); return *this;} /** *The MAC address.
*/ inline NetworkInterface& WithMacAddress(const char* value) { SetMacAddress(value); return *this;} /** *The ID of the network interface.
*/ inline const Aws::String& GetNetworkInterfaceId() const{ return m_networkInterfaceId; } /** *The ID of the network interface.
*/ inline bool NetworkInterfaceIdHasBeenSet() const { return m_networkInterfaceIdHasBeenSet; } /** *The ID of the network interface.
*/ inline void SetNetworkInterfaceId(const Aws::String& value) { m_networkInterfaceIdHasBeenSet = true; m_networkInterfaceId = value; } /** *The ID of the network interface.
*/ inline void SetNetworkInterfaceId(Aws::String&& value) { m_networkInterfaceIdHasBeenSet = true; m_networkInterfaceId = std::move(value); } /** *The ID of the network interface.
*/ inline void SetNetworkInterfaceId(const char* value) { m_networkInterfaceIdHasBeenSet = true; m_networkInterfaceId.assign(value); } /** *The ID of the network interface.
*/ inline NetworkInterface& WithNetworkInterfaceId(const Aws::String& value) { SetNetworkInterfaceId(value); return *this;} /** *The ID of the network interface.
*/ inline NetworkInterface& WithNetworkInterfaceId(Aws::String&& value) { SetNetworkInterfaceId(std::move(value)); return *this;} /** *The ID of the network interface.
*/ inline NetworkInterface& WithNetworkInterfaceId(const char* value) { SetNetworkInterfaceId(value); return *this;} /** *The Amazon Resource Name (ARN) of the Outpost.
*/ inline const Aws::String& GetOutpostArn() const{ return m_outpostArn; } /** *The Amazon Resource Name (ARN) of the Outpost.
*/ inline bool OutpostArnHasBeenSet() const { return m_outpostArnHasBeenSet; } /** *The Amazon Resource Name (ARN) of the Outpost.
*/ inline void SetOutpostArn(const Aws::String& value) { m_outpostArnHasBeenSet = true; m_outpostArn = value; } /** *The Amazon Resource Name (ARN) of the Outpost.
*/ inline void SetOutpostArn(Aws::String&& value) { m_outpostArnHasBeenSet = true; m_outpostArn = std::move(value); } /** *The Amazon Resource Name (ARN) of the Outpost.
*/ inline void SetOutpostArn(const char* value) { m_outpostArnHasBeenSet = true; m_outpostArn.assign(value); } /** *The Amazon Resource Name (ARN) of the Outpost.
*/ inline NetworkInterface& WithOutpostArn(const Aws::String& value) { SetOutpostArn(value); return *this;} /** *The Amazon Resource Name (ARN) of the Outpost.
*/ inline NetworkInterface& WithOutpostArn(Aws::String&& value) { SetOutpostArn(std::move(value)); return *this;} /** *The Amazon Resource Name (ARN) of the Outpost.
*/ inline NetworkInterface& WithOutpostArn(const char* value) { SetOutpostArn(value); return *this;} /** *The Amazon Web Services account ID of the owner of the network interface.
*/ inline const Aws::String& GetOwnerId() const{ return m_ownerId; } /** *The Amazon Web Services account ID of the owner of the network interface.
*/ inline bool OwnerIdHasBeenSet() const { return m_ownerIdHasBeenSet; } /** *The Amazon Web Services account ID of the owner of the network interface.
*/ inline void SetOwnerId(const Aws::String& value) { m_ownerIdHasBeenSet = true; m_ownerId = value; } /** *The Amazon Web Services account ID of the owner of the network interface.
*/ inline void SetOwnerId(Aws::String&& value) { m_ownerIdHasBeenSet = true; m_ownerId = std::move(value); } /** *The Amazon Web Services account ID of the owner of the network interface.
*/ inline void SetOwnerId(const char* value) { m_ownerIdHasBeenSet = true; m_ownerId.assign(value); } /** *The Amazon Web Services account ID of the owner of the network interface.
*/ inline NetworkInterface& WithOwnerId(const Aws::String& value) { SetOwnerId(value); return *this;} /** *The Amazon Web Services account ID of the owner of the network interface.
*/ inline NetworkInterface& WithOwnerId(Aws::String&& value) { SetOwnerId(std::move(value)); return *this;} /** *The Amazon Web Services account ID of the owner of the network interface.
*/ inline NetworkInterface& WithOwnerId(const char* value) { SetOwnerId(value); return *this;} /** *The private DNS name.
*/ inline const Aws::String& GetPrivateDnsName() const{ return m_privateDnsName; } /** *The private DNS name.
*/ inline bool PrivateDnsNameHasBeenSet() const { return m_privateDnsNameHasBeenSet; } /** *The private DNS name.
*/ inline void SetPrivateDnsName(const Aws::String& value) { m_privateDnsNameHasBeenSet = true; m_privateDnsName = value; } /** *The private DNS name.
*/ inline void SetPrivateDnsName(Aws::String&& value) { m_privateDnsNameHasBeenSet = true; m_privateDnsName = std::move(value); } /** *The private DNS name.
*/ inline void SetPrivateDnsName(const char* value) { m_privateDnsNameHasBeenSet = true; m_privateDnsName.assign(value); } /** *The private DNS name.
*/ inline NetworkInterface& WithPrivateDnsName(const Aws::String& value) { SetPrivateDnsName(value); return *this;} /** *The private DNS name.
*/ inline NetworkInterface& WithPrivateDnsName(Aws::String&& value) { SetPrivateDnsName(std::move(value)); return *this;} /** *The private DNS name.
*/ inline NetworkInterface& WithPrivateDnsName(const char* value) { SetPrivateDnsName(value); return *this;} /** *The IPv4 address of the network interface within the subnet.
*/ inline const Aws::String& GetPrivateIpAddress() const{ return m_privateIpAddress; } /** *The IPv4 address of the network interface within the subnet.
*/ inline bool PrivateIpAddressHasBeenSet() const { return m_privateIpAddressHasBeenSet; } /** *The IPv4 address of the network interface within the subnet.
*/ inline void SetPrivateIpAddress(const Aws::String& value) { m_privateIpAddressHasBeenSet = true; m_privateIpAddress = value; } /** *The IPv4 address of the network interface within the subnet.
*/ inline void SetPrivateIpAddress(Aws::String&& value) { m_privateIpAddressHasBeenSet = true; m_privateIpAddress = std::move(value); } /** *The IPv4 address of the network interface within the subnet.
*/ inline void SetPrivateIpAddress(const char* value) { m_privateIpAddressHasBeenSet = true; m_privateIpAddress.assign(value); } /** *The IPv4 address of the network interface within the subnet.
*/ inline NetworkInterface& WithPrivateIpAddress(const Aws::String& value) { SetPrivateIpAddress(value); return *this;} /** *The IPv4 address of the network interface within the subnet.
*/ inline NetworkInterface& WithPrivateIpAddress(Aws::String&& value) { SetPrivateIpAddress(std::move(value)); return *this;} /** *The IPv4 address of the network interface within the subnet.
*/ inline NetworkInterface& WithPrivateIpAddress(const char* value) { SetPrivateIpAddress(value); return *this;} /** *The private IPv4 addresses associated with the network interface.
*/ inline const Aws::VectorThe private IPv4 addresses associated with the network interface.
*/ inline bool PrivateIpAddressesHasBeenSet() const { return m_privateIpAddressesHasBeenSet; } /** *The private IPv4 addresses associated with the network interface.
*/ inline void SetPrivateIpAddresses(const Aws::VectorThe private IPv4 addresses associated with the network interface.
*/ inline void SetPrivateIpAddresses(Aws::VectorThe private IPv4 addresses associated with the network interface.
*/ inline NetworkInterface& WithPrivateIpAddresses(const Aws::VectorThe private IPv4 addresses associated with the network interface.
*/ inline NetworkInterface& WithPrivateIpAddresses(Aws::VectorThe private IPv4 addresses associated with the network interface.
*/ inline NetworkInterface& AddPrivateIpAddresses(const NetworkInterfacePrivateIpAddress& value) { m_privateIpAddressesHasBeenSet = true; m_privateIpAddresses.push_back(value); return *this; } /** *The private IPv4 addresses associated with the network interface.
*/ inline NetworkInterface& AddPrivateIpAddresses(NetworkInterfacePrivateIpAddress&& value) { m_privateIpAddressesHasBeenSet = true; m_privateIpAddresses.push_back(std::move(value)); return *this; } /** *The IPv4 prefixes that are assigned to the network interface.
*/ inline const Aws::VectorThe IPv4 prefixes that are assigned to the network interface.
*/ inline bool Ipv4PrefixesHasBeenSet() const { return m_ipv4PrefixesHasBeenSet; } /** *The IPv4 prefixes that are assigned to the network interface.
*/ inline void SetIpv4Prefixes(const Aws::VectorThe IPv4 prefixes that are assigned to the network interface.
*/ inline void SetIpv4Prefixes(Aws::VectorThe IPv4 prefixes that are assigned to the network interface.
*/ inline NetworkInterface& WithIpv4Prefixes(const Aws::VectorThe IPv4 prefixes that are assigned to the network interface.
*/ inline NetworkInterface& WithIpv4Prefixes(Aws::VectorThe IPv4 prefixes that are assigned to the network interface.
*/ inline NetworkInterface& AddIpv4Prefixes(const Ipv4PrefixSpecification& value) { m_ipv4PrefixesHasBeenSet = true; m_ipv4Prefixes.push_back(value); return *this; } /** *The IPv4 prefixes that are assigned to the network interface.
*/ inline NetworkInterface& AddIpv4Prefixes(Ipv4PrefixSpecification&& value) { m_ipv4PrefixesHasBeenSet = true; m_ipv4Prefixes.push_back(std::move(value)); return *this; } /** *The IPv6 prefixes that are assigned to the network interface.
*/ inline const Aws::VectorThe IPv6 prefixes that are assigned to the network interface.
*/ inline bool Ipv6PrefixesHasBeenSet() const { return m_ipv6PrefixesHasBeenSet; } /** *The IPv6 prefixes that are assigned to the network interface.
*/ inline void SetIpv6Prefixes(const Aws::VectorThe IPv6 prefixes that are assigned to the network interface.
*/ inline void SetIpv6Prefixes(Aws::VectorThe IPv6 prefixes that are assigned to the network interface.
*/ inline NetworkInterface& WithIpv6Prefixes(const Aws::VectorThe IPv6 prefixes that are assigned to the network interface.
*/ inline NetworkInterface& WithIpv6Prefixes(Aws::VectorThe IPv6 prefixes that are assigned to the network interface.
*/ inline NetworkInterface& AddIpv6Prefixes(const Ipv6PrefixSpecification& value) { m_ipv6PrefixesHasBeenSet = true; m_ipv6Prefixes.push_back(value); return *this; } /** *The IPv6 prefixes that are assigned to the network interface.
*/ inline NetworkInterface& AddIpv6Prefixes(Ipv6PrefixSpecification&& value) { m_ipv6PrefixesHasBeenSet = true; m_ipv6Prefixes.push_back(std::move(value)); return *this; } /** *The alias or Amazon Web Services account ID of the principal or service that * created the network interface.
*/ inline const Aws::String& GetRequesterId() const{ return m_requesterId; } /** *The alias or Amazon Web Services account ID of the principal or service that * created the network interface.
*/ inline bool RequesterIdHasBeenSet() const { return m_requesterIdHasBeenSet; } /** *The alias or Amazon Web Services account ID of the principal or service that * created the network interface.
*/ inline void SetRequesterId(const Aws::String& value) { m_requesterIdHasBeenSet = true; m_requesterId = value; } /** *The alias or Amazon Web Services account ID of the principal or service that * created the network interface.
*/ inline void SetRequesterId(Aws::String&& value) { m_requesterIdHasBeenSet = true; m_requesterId = std::move(value); } /** *The alias or Amazon Web Services account ID of the principal or service that * created the network interface.
*/ inline void SetRequesterId(const char* value) { m_requesterIdHasBeenSet = true; m_requesterId.assign(value); } /** *The alias or Amazon Web Services account ID of the principal or service that * created the network interface.
*/ inline NetworkInterface& WithRequesterId(const Aws::String& value) { SetRequesterId(value); return *this;} /** *The alias or Amazon Web Services account ID of the principal or service that * created the network interface.
*/ inline NetworkInterface& WithRequesterId(Aws::String&& value) { SetRequesterId(std::move(value)); return *this;} /** *The alias or Amazon Web Services account ID of the principal or service that * created the network interface.
*/ inline NetworkInterface& WithRequesterId(const char* value) { SetRequesterId(value); return *this;} /** *Indicates whether the network interface is being managed by Amazon Web * Services.
*/ inline bool GetRequesterManaged() const{ return m_requesterManaged; } /** *Indicates whether the network interface is being managed by Amazon Web * Services.
*/ inline bool RequesterManagedHasBeenSet() const { return m_requesterManagedHasBeenSet; } /** *Indicates whether the network interface is being managed by Amazon Web * Services.
*/ inline void SetRequesterManaged(bool value) { m_requesterManagedHasBeenSet = true; m_requesterManaged = value; } /** *Indicates whether the network interface is being managed by Amazon Web * Services.
*/ inline NetworkInterface& WithRequesterManaged(bool value) { SetRequesterManaged(value); return *this;} /** *Indicates whether source/destination checking is enabled.
*/ inline bool GetSourceDestCheck() const{ return m_sourceDestCheck; } /** *Indicates whether source/destination checking is enabled.
*/ inline bool SourceDestCheckHasBeenSet() const { return m_sourceDestCheckHasBeenSet; } /** *Indicates whether source/destination checking is enabled.
*/ inline void SetSourceDestCheck(bool value) { m_sourceDestCheckHasBeenSet = true; m_sourceDestCheck = value; } /** *Indicates whether source/destination checking is enabled.
*/ inline NetworkInterface& WithSourceDestCheck(bool value) { SetSourceDestCheck(value); return *this;} /** *The status of the network interface.
*/ inline const NetworkInterfaceStatus& GetStatus() const{ return m_status; } /** *The status of the network interface.
*/ inline bool StatusHasBeenSet() const { return m_statusHasBeenSet; } /** *The status of the network interface.
*/ inline void SetStatus(const NetworkInterfaceStatus& value) { m_statusHasBeenSet = true; m_status = value; } /** *The status of the network interface.
*/ inline void SetStatus(NetworkInterfaceStatus&& value) { m_statusHasBeenSet = true; m_status = std::move(value); } /** *The status of the network interface.
*/ inline NetworkInterface& WithStatus(const NetworkInterfaceStatus& value) { SetStatus(value); return *this;} /** *The status of the network interface.
*/ inline NetworkInterface& WithStatus(NetworkInterfaceStatus&& value) { SetStatus(std::move(value)); return *this;} /** *The ID of the subnet.
*/ inline const Aws::String& GetSubnetId() const{ return m_subnetId; } /** *The ID of the subnet.
*/ inline bool SubnetIdHasBeenSet() const { return m_subnetIdHasBeenSet; } /** *The ID of the subnet.
*/ inline void SetSubnetId(const Aws::String& value) { m_subnetIdHasBeenSet = true; m_subnetId = value; } /** *The ID of the subnet.
*/ inline void SetSubnetId(Aws::String&& value) { m_subnetIdHasBeenSet = true; m_subnetId = std::move(value); } /** *The ID of the subnet.
*/ inline void SetSubnetId(const char* value) { m_subnetIdHasBeenSet = true; m_subnetId.assign(value); } /** *The ID of the subnet.
*/ inline NetworkInterface& WithSubnetId(const Aws::String& value) { SetSubnetId(value); return *this;} /** *The ID of the subnet.
*/ inline NetworkInterface& WithSubnetId(Aws::String&& value) { SetSubnetId(std::move(value)); return *this;} /** *The ID of the subnet.
*/ inline NetworkInterface& WithSubnetId(const char* value) { SetSubnetId(value); return *this;} /** *Any tags assigned to the network interface.
*/ inline const Aws::VectorAny tags assigned to the network interface.
*/ inline bool TagSetHasBeenSet() const { return m_tagSetHasBeenSet; } /** *Any tags assigned to the network interface.
*/ inline void SetTagSet(const Aws::VectorAny tags assigned to the network interface.
*/ inline void SetTagSet(Aws::VectorAny tags assigned to the network interface.
*/ inline NetworkInterface& WithTagSet(const Aws::VectorAny tags assigned to the network interface.
*/ inline NetworkInterface& WithTagSet(Aws::VectorAny tags assigned to the network interface.
*/ inline NetworkInterface& AddTagSet(const Tag& value) { m_tagSetHasBeenSet = true; m_tagSet.push_back(value); return *this; } /** *Any tags assigned to the network interface.
*/ inline NetworkInterface& AddTagSet(Tag&& value) { m_tagSetHasBeenSet = true; m_tagSet.push_back(std::move(value)); return *this; } /** *The ID of the VPC.
*/ inline const Aws::String& GetVpcId() const{ return m_vpcId; } /** *The ID of the VPC.
*/ inline bool VpcIdHasBeenSet() const { return m_vpcIdHasBeenSet; } /** *The ID of the VPC.
*/ inline void SetVpcId(const Aws::String& value) { m_vpcIdHasBeenSet = true; m_vpcId = value; } /** *The ID of the VPC.
*/ inline void SetVpcId(Aws::String&& value) { m_vpcIdHasBeenSet = true; m_vpcId = std::move(value); } /** *The ID of the VPC.
*/ inline void SetVpcId(const char* value) { m_vpcIdHasBeenSet = true; m_vpcId.assign(value); } /** *The ID of the VPC.
*/ inline NetworkInterface& WithVpcId(const Aws::String& value) { SetVpcId(value); return *this;} /** *The ID of the VPC.
*/ inline NetworkInterface& WithVpcId(Aws::String&& value) { SetVpcId(std::move(value)); return *this;} /** *The ID of the VPC.
*/ inline NetworkInterface& WithVpcId(const char* value) { SetVpcId(value); return *this;} /** *Indicates whether a network interface with an IPv6 address is unreachable
* from the public internet. If the value is true
, inbound traffic
* from the internet is dropped and you cannot assign an elastic IP address to the
* network interface. The network interface is reachable from peered VPCs and
* resources connected through a transit gateway, including on-premises
* networks.
Indicates whether a network interface with an IPv6 address is unreachable
* from the public internet. If the value is true
, inbound traffic
* from the internet is dropped and you cannot assign an elastic IP address to the
* network interface. The network interface is reachable from peered VPCs and
* resources connected through a transit gateway, including on-premises
* networks.
Indicates whether a network interface with an IPv6 address is unreachable
* from the public internet. If the value is true
, inbound traffic
* from the internet is dropped and you cannot assign an elastic IP address to the
* network interface. The network interface is reachable from peered VPCs and
* resources connected through a transit gateway, including on-premises
* networks.
Indicates whether a network interface with an IPv6 address is unreachable
* from the public internet. If the value is true
, inbound traffic
* from the internet is dropped and you cannot assign an elastic IP address to the
* network interface. The network interface is reachable from peered VPCs and
* resources connected through a transit gateway, including on-premises
* networks.
Indicates whether this is an IPv6 only network interface.
*/ inline bool GetIpv6Native() const{ return m_ipv6Native; } /** *Indicates whether this is an IPv6 only network interface.
*/ inline bool Ipv6NativeHasBeenSet() const { return m_ipv6NativeHasBeenSet; } /** *Indicates whether this is an IPv6 only network interface.
*/ inline void SetIpv6Native(bool value) { m_ipv6NativeHasBeenSet = true; m_ipv6Native = value; } /** *Indicates whether this is an IPv6 only network interface.
*/ inline NetworkInterface& WithIpv6Native(bool value) { SetIpv6Native(value); return *this;} /** *The IPv6 globally unique address associated with the network interface.
*/ inline const Aws::String& GetIpv6Address() const{ return m_ipv6Address; } /** *The IPv6 globally unique address associated with the network interface.
*/ inline bool Ipv6AddressHasBeenSet() const { return m_ipv6AddressHasBeenSet; } /** *The IPv6 globally unique address associated with the network interface.
*/ inline void SetIpv6Address(const Aws::String& value) { m_ipv6AddressHasBeenSet = true; m_ipv6Address = value; } /** *The IPv6 globally unique address associated with the network interface.
*/ inline void SetIpv6Address(Aws::String&& value) { m_ipv6AddressHasBeenSet = true; m_ipv6Address = std::move(value); } /** *The IPv6 globally unique address associated with the network interface.
*/ inline void SetIpv6Address(const char* value) { m_ipv6AddressHasBeenSet = true; m_ipv6Address.assign(value); } /** *The IPv6 globally unique address associated with the network interface.
*/ inline NetworkInterface& WithIpv6Address(const Aws::String& value) { SetIpv6Address(value); return *this;} /** *The IPv6 globally unique address associated with the network interface.
*/ inline NetworkInterface& WithIpv6Address(Aws::String&& value) { SetIpv6Address(std::move(value)); return *this;} /** *The IPv6 globally unique address associated with the network interface.
*/ inline NetworkInterface& WithIpv6Address(const char* value) { SetIpv6Address(value); return *this;} private: NetworkInterfaceAssociation m_association; bool m_associationHasBeenSet = false; NetworkInterfaceAttachment m_attachment; bool m_attachmentHasBeenSet = false; Aws::String m_availabilityZone; bool m_availabilityZoneHasBeenSet = false; Aws::String m_description; bool m_descriptionHasBeenSet = false; Aws::Vector