7#include <aws/ec2/EC2_EXPORTS.h>
8#include <aws/core/utils/memory/stl/AWSStreamFwd.h>
9#include <aws/ec2/model/InstanceNetworkInterfaceAssociation.h>
10#include <aws/ec2/model/InstanceNetworkInterfaceAttachment.h>
11#include <aws/core/utils/memory/stl/AWSString.h>
12#include <aws/core/utils/memory/stl/AWSVector.h>
13#include <aws/ec2/model/NetworkInterfaceStatus.h>
14#include <aws/ec2/model/ConnectionTrackingSpecificationResponse.h>
15#include <aws/ec2/model/GroupIdentifier.h>
16#include <aws/ec2/model/InstanceIpv6Address.h>
17#include <aws/ec2/model/InstancePrivateIpAddress.h>
18#include <aws/ec2/model/InstanceIpv4Prefix.h>
19#include <aws/ec2/model/InstanceIpv6Prefix.h>
85 inline void SetDescription(
const char* value) { m_descriptionHasBeenSet =
true; m_description.assign(value); }
127 inline void SetMacAddress(
const char* value) { m_macAddressHasBeenSet =
true; m_macAddress.assign(value); }
141 inline void SetNetworkInterfaceId(
const char* value) { m_networkInterfaceIdHasBeenSet =
true; m_networkInterfaceId.assign(value); }
156 inline void SetOwnerId(
const char* value) { m_ownerIdHasBeenSet =
true; m_ownerId.assign(value); }
170 inline void SetPrivateDnsName(
const char* value) { m_privateDnsNameHasBeenSet =
true; m_privateDnsName.assign(value); }
184 inline void SetPrivateIpAddress(
const char* value) { m_privateIpAddressHasBeenSet =
true; m_privateIpAddress.assign(value); }
210 inline void SetSourceDestCheck(
bool value) { m_sourceDestCheckHasBeenSet =
true; m_sourceDestCheck = value; }
234 inline void SetSubnetId(
const char* value) { m_subnetIdHasBeenSet =
true; m_subnetId.assign(value); }
248 inline void SetVpcId(
const char* value) { m_vpcIdHasBeenSet =
true; m_vpcId.assign(value); }
263 inline void SetInterfaceType(
const char* value) { m_interfaceTypeHasBeenSet =
true; m_interfaceType.assign(value); }
315 bool m_associationHasBeenSet =
false;
318 bool m_attachmentHasBeenSet =
false;
321 bool m_descriptionHasBeenSet =
false;
324 bool m_groupsHasBeenSet =
false;
327 bool m_ipv6AddressesHasBeenSet =
false;
330 bool m_macAddressHasBeenSet =
false;
333 bool m_networkInterfaceIdHasBeenSet =
false;
336 bool m_ownerIdHasBeenSet =
false;
339 bool m_privateDnsNameHasBeenSet =
false;
342 bool m_privateIpAddressHasBeenSet =
false;
345 bool m_privateIpAddressesHasBeenSet =
false;
347 bool m_sourceDestCheck;
348 bool m_sourceDestCheckHasBeenSet =
false;
351 bool m_statusHasBeenSet =
false;
354 bool m_subnetIdHasBeenSet =
false;
357 bool m_vpcIdHasBeenSet =
false;
360 bool m_interfaceTypeHasBeenSet =
false;
363 bool m_ipv4PrefixesHasBeenSet =
false;
366 bool m_ipv6PrefixesHasBeenSet =
false;
369 bool m_connectionTrackingConfigurationHasBeenSet =
false;
const Aws::String & GetInterfaceType() const
InstanceNetworkInterface & WithAttachment(InstanceNetworkInterfaceAttachment &&value)
InstanceNetworkInterface & WithOwnerId(const Aws::String &value)
InstanceNetworkInterface & WithStatus(NetworkInterfaceStatus &&value)
void SetOwnerId(const char *value)
InstanceNetworkInterface & WithSubnetId(Aws::String &&value)
const Aws::Vector< InstancePrivateIpAddress > & GetPrivateIpAddresses() const
void SetIpv6Addresses(const Aws::Vector< InstanceIpv6Address > &value)
InstanceNetworkInterface & AddGroups(GroupIdentifier &&value)
InstanceNetworkInterface & WithSourceDestCheck(bool value)
InstanceNetworkInterface & WithNetworkInterfaceId(const char *value)
void SetPrivateDnsName(const char *value)
void SetIpv6Prefixes(Aws::Vector< InstanceIpv6Prefix > &&value)
const Aws::String & GetMacAddress() const
InstanceNetworkInterface & AddIpv4Prefixes(InstanceIpv4Prefix &&value)
void SetSourceDestCheck(bool value)
InstanceNetworkInterface & AddIpv6Addresses(const InstanceIpv6Address &value)
bool DescriptionHasBeenSet() const
void SetVpcId(const char *value)
void SetInterfaceType(const char *value)
void SetPrivateIpAddresses(Aws::Vector< InstancePrivateIpAddress > &&value)
void SetSubnetId(const char *value)
const Aws::Vector< InstanceIpv4Prefix > & GetIpv4Prefixes() const
const Aws::Vector< InstanceIpv6Address > & GetIpv6Addresses() const
bool Ipv4PrefixesHasBeenSet() const
bool OwnerIdHasBeenSet() const
InstanceNetworkInterface & WithMacAddress(const Aws::String &value)
InstanceNetworkInterface & WithMacAddress(const char *value)
InstanceNetworkInterface & WithGroups(Aws::Vector< GroupIdentifier > &&value)
void SetStatus(const NetworkInterfaceStatus &value)
InstanceNetworkInterface & AddIpv4Prefixes(const InstanceIpv4Prefix &value)
InstanceNetworkInterface & WithIpv6Prefixes(Aws::Vector< InstanceIpv6Prefix > &&value)
InstanceNetworkInterface & WithIpv4Prefixes(Aws::Vector< InstanceIpv4Prefix > &&value)
InstanceNetworkInterface & WithPrivateDnsName(Aws::String &&value)
bool PrivateIpAddressesHasBeenSet() const
const Aws::String & GetSubnetId() const
InstanceNetworkInterface & WithPrivateIpAddress(const char *value)
void SetDescription(const Aws::String &value)
InstanceNetworkInterface & WithPrivateIpAddress(const Aws::String &value)
InstanceNetworkInterface & WithIpv6Addresses(Aws::Vector< InstanceIpv6Address > &&value)
void SetMacAddress(const char *value)
void SetOwnerId(const Aws::String &value)
void SetConnectionTrackingConfiguration(const ConnectionTrackingSpecificationResponse &value)
InstanceNetworkInterface & WithSubnetId(const char *value)
InstanceNetworkInterface & WithSubnetId(const Aws::String &value)
void SetIpv6Prefixes(const Aws::Vector< InstanceIpv6Prefix > &value)
InstanceNetworkInterface & WithIpv6Addresses(const Aws::Vector< InstanceIpv6Address > &value)
InstanceNetworkInterface & WithAssociation(InstanceNetworkInterfaceAssociation &&value)
bool PrivateDnsNameHasBeenSet() const
InstanceNetworkInterface & WithStatus(const NetworkInterfaceStatus &value)
void SetInterfaceType(const Aws::String &value)
InstanceNetworkInterface & WithOwnerId(Aws::String &&value)
void SetPrivateIpAddress(Aws::String &&value)
bool SourceDestCheckHasBeenSet() const
InstanceNetworkInterface & WithPrivateDnsName(const Aws::String &value)
InstanceNetworkInterface & WithDescription(const char *value)
InstanceNetworkInterface & AddIpv6Addresses(InstanceIpv6Address &&value)
InstanceNetworkInterface & WithOwnerId(const char *value)
const Aws::String & GetDescription() const
void SetStatus(NetworkInterfaceStatus &&value)
InstanceNetworkInterface & WithGroups(const Aws::Vector< GroupIdentifier > &value)
const InstanceNetworkInterfaceAssociation & GetAssociation() const
void SetVpcId(const Aws::String &value)
const InstanceNetworkInterfaceAttachment & GetAttachment() const
bool Ipv6AddressesHasBeenSet() const
void SetAttachment(InstanceNetworkInterfaceAttachment &&value)
AWS_EC2_API InstanceNetworkInterface()
void SetIpv6Addresses(Aws::Vector< InstanceIpv6Address > &&value)
void SetDescription(const char *value)
bool Ipv6PrefixesHasBeenSet() const
AWS_EC2_API InstanceNetworkInterface(const Aws::Utils::Xml::XmlNode &xmlNode)
void SetVpcId(Aws::String &&value)
void SetSubnetId(Aws::String &&value)
bool GetSourceDestCheck() const
void SetPrivateIpAddress(const char *value)
InstanceNetworkInterface & AddPrivateIpAddresses(const InstancePrivateIpAddress &value)
InstanceNetworkInterface & WithNetworkInterfaceId(const Aws::String &value)
void SetInterfaceType(Aws::String &&value)
void SetIpv4Prefixes(Aws::Vector< InstanceIpv4Prefix > &&value)
void SetGroups(Aws::Vector< GroupIdentifier > &&value)
bool PrivateIpAddressHasBeenSet() const
AWS_EC2_API void OutputToStream(Aws::OStream &ostream, const char *location, unsigned index, const char *locationValue) const
const Aws::String & GetPrivateDnsName() const
const NetworkInterfaceStatus & GetStatus() const
InstanceNetworkInterface & WithMacAddress(Aws::String &&value)
void SetPrivateDnsName(const Aws::String &value)
void SetMacAddress(const Aws::String &value)
InstanceNetworkInterface & WithDescription(const Aws::String &value)
InstanceNetworkInterface & WithAttachment(const InstanceNetworkInterfaceAttachment &value)
InstanceNetworkInterface & AddGroups(const GroupIdentifier &value)
InstanceNetworkInterface & WithInterfaceType(Aws::String &&value)
bool SubnetIdHasBeenSet() const
InstanceNetworkInterface & WithDescription(Aws::String &&value)
void SetSubnetId(const Aws::String &value)
const Aws::String & GetVpcId() const
void SetNetworkInterfaceId(Aws::String &&value)
void SetConnectionTrackingConfiguration(ConnectionTrackingSpecificationResponse &&value)
void SetNetworkInterfaceId(const char *value)
bool MacAddressHasBeenSet() const
const Aws::String & GetOwnerId() const
bool AttachmentHasBeenSet() const
void SetAttachment(const InstanceNetworkInterfaceAttachment &value)
InstanceNetworkInterface & WithConnectionTrackingConfiguration(const ConnectionTrackingSpecificationResponse &value)
bool StatusHasBeenSet() const
void SetDescription(Aws::String &&value)
AWS_EC2_API InstanceNetworkInterface & operator=(const Aws::Utils::Xml::XmlNode &xmlNode)
void SetPrivateDnsName(Aws::String &&value)
void SetAssociation(const InstanceNetworkInterfaceAssociation &value)
InstanceNetworkInterface & AddPrivateIpAddresses(InstancePrivateIpAddress &&value)
bool ConnectionTrackingConfigurationHasBeenSet() const
InstanceNetworkInterface & AddIpv6Prefixes(const InstanceIpv6Prefix &value)
const Aws::Vector< InstanceIpv6Prefix > & GetIpv6Prefixes() const
InstanceNetworkInterface & WithInterfaceType(const Aws::String &value)
bool NetworkInterfaceIdHasBeenSet() const
void SetPrivateIpAddresses(const Aws::Vector< InstancePrivateIpAddress > &value)
InstanceNetworkInterface & WithIpv6Prefixes(const Aws::Vector< InstanceIpv6Prefix > &value)
bool InterfaceTypeHasBeenSet() const
bool VpcIdHasBeenSet() const
void SetOwnerId(Aws::String &&value)
void SetAssociation(InstanceNetworkInterfaceAssociation &&value)
InstanceNetworkInterface & WithConnectionTrackingConfiguration(ConnectionTrackingSpecificationResponse &&value)
InstanceNetworkInterface & WithInterfaceType(const char *value)
InstanceNetworkInterface & WithPrivateIpAddress(Aws::String &&value)
InstanceNetworkInterface & WithAssociation(const InstanceNetworkInterfaceAssociation &value)
InstanceNetworkInterface & WithVpcId(const Aws::String &value)
void SetGroups(const Aws::Vector< GroupIdentifier > &value)
bool AssociationHasBeenSet() const
AWS_EC2_API void OutputToStream(Aws::OStream &oStream, const char *location) const
InstanceNetworkInterface & WithPrivateIpAddresses(const Aws::Vector< InstancePrivateIpAddress > &value)
InstanceNetworkInterface & WithPrivateIpAddresses(Aws::Vector< InstancePrivateIpAddress > &&value)
const ConnectionTrackingSpecificationResponse & GetConnectionTrackingConfiguration() const
const Aws::String & GetPrivateIpAddress() const
void SetIpv4Prefixes(const Aws::Vector< InstanceIpv4Prefix > &value)
const Aws::String & GetNetworkInterfaceId() const
bool GroupsHasBeenSet() const
InstanceNetworkInterface & WithVpcId(Aws::String &&value)
void SetPrivateIpAddress(const Aws::String &value)
InstanceNetworkInterface & WithPrivateDnsName(const char *value)
InstanceNetworkInterface & WithIpv4Prefixes(const Aws::Vector< InstanceIpv4Prefix > &value)
void SetNetworkInterfaceId(const Aws::String &value)
void SetMacAddress(Aws::String &&value)
InstanceNetworkInterface & AddIpv6Prefixes(InstanceIpv6Prefix &&value)
InstanceNetworkInterface & WithNetworkInterfaceId(Aws::String &&value)
const Aws::Vector< GroupIdentifier > & GetGroups() const
InstanceNetworkInterface & WithVpcId(const char *value)
std::basic_string< char, std::char_traits< char >, Aws::Allocator< char > > String
std::vector< T, Aws::Allocator< T > > Vector
std::basic_ostream< char, std::char_traits< char > > OStream