7#include <aws/core/utils/memory/stl/AWSStreamFwd.h>
8#include <aws/core/utils/memory/stl/AWSString.h>
9#include <aws/ec2/EC2_EXPORTS.h>
44 template <
typename AllocationIdT = Aws::String>
46 m_allocationIdHasBeenSet =
true;
47 m_allocationId = std::forward<AllocationIdT>(value);
49 template <
typename AllocationIdT = Aws::String>
62 template <
typename AssociationIdT = Aws::String>
64 m_associationIdHasBeenSet =
true;
65 m_associationId = std::forward<AssociationIdT>(value);
67 template <
typename AssociationIdT = Aws::String>
80 template <
typename IpOwnerIdT = Aws::String>
82 m_ipOwnerIdHasBeenSet =
true;
83 m_ipOwnerId = std::forward<IpOwnerIdT>(value);
85 template <
typename IpOwnerIdT = Aws::String>
98 template <
typename PublicDnsNameT = Aws::String>
100 m_publicDnsNameHasBeenSet =
true;
101 m_publicDnsName = std::forward<PublicDnsNameT>(value);
103 template <
typename PublicDnsNameT = Aws::String>
116 template <
typename PublicIpT = Aws::String>
118 m_publicIpHasBeenSet =
true;
119 m_publicIp = std::forward<PublicIpT>(value);
121 template <
typename PublicIpT = Aws::String>
134 template <
typename CustomerOwnedIpT = Aws::String>
136 m_customerOwnedIpHasBeenSet =
true;
137 m_customerOwnedIp = std::forward<CustomerOwnedIpT>(value);
139 template <
typename CustomerOwnedIpT = Aws::String>
154 template <
typename CarrierIpT = Aws::String>
156 m_carrierIpHasBeenSet =
true;
157 m_carrierIp = std::forward<CarrierIpT>(value);
159 template <
typename CarrierIpT = Aws::String>
179 bool m_allocationIdHasBeenSet =
false;
180 bool m_associationIdHasBeenSet =
false;
181 bool m_ipOwnerIdHasBeenSet =
false;
182 bool m_publicDnsNameHasBeenSet =
false;
183 bool m_publicIpHasBeenSet =
false;
184 bool m_customerOwnedIpHasBeenSet =
false;
185 bool m_carrierIpHasBeenSet =
false;
const Aws::String & GetPublicIp() const
void SetPublicIp(PublicIpT &&value)
void SetAssociationId(AssociationIdT &&value)
NetworkInterfaceAssociation & WithIpOwnerId(IpOwnerIdT &&value)
AWS_EC2_API NetworkInterfaceAssociation()=default
bool CarrierIpHasBeenSet() const
const Aws::String & GetCarrierIp() const
void SetIpOwnerId(IpOwnerIdT &&value)
bool AllocationIdHasBeenSet() const
void SetCarrierIp(CarrierIpT &&value)
AWS_EC2_API void OutputToStream(Aws::OStream &ostream, const char *location, unsigned index, const char *locationValue) const
bool CustomerOwnedIpHasBeenSet() const
const Aws::String & GetIpOwnerId() const
const Aws::String & GetCustomerOwnedIp() const
NetworkInterfaceAssociation & WithCarrierIp(CarrierIpT &&value)
void SetCustomerOwnedIp(CustomerOwnedIpT &&value)
void SetAllocationId(AllocationIdT &&value)
void SetPublicDnsName(PublicDnsNameT &&value)
AWS_EC2_API void OutputToStream(Aws::OStream &oStream, const char *location) const
const Aws::String & GetPublicDnsName() const
NetworkInterfaceAssociation & WithPublicDnsName(PublicDnsNameT &&value)
const Aws::String & GetAllocationId() const
const Aws::String & GetAssociationId() const
bool PublicIpHasBeenSet() const
AWS_EC2_API NetworkInterfaceAssociation(const Aws::Utils::Xml::XmlNode &xmlNode)
NetworkInterfaceAssociation & WithPublicIp(PublicIpT &&value)
NetworkInterfaceAssociation & WithAllocationId(AllocationIdT &&value)
NetworkInterfaceAssociation & WithCustomerOwnedIp(CustomerOwnedIpT &&value)
bool AssociationIdHasBeenSet() const
bool PublicDnsNameHasBeenSet() const
NetworkInterfaceAssociation & WithAssociationId(AssociationIdT &&value)
bool IpOwnerIdHasBeenSet() const
AWS_EC2_API NetworkInterfaceAssociation & operator=(const Aws::Utils::Xml::XmlNode &xmlNode)
std::basic_string< char, std::char_traits< char >, Aws::Allocator< char > > String
std::basic_ostream< char, std::char_traits< char > > OStream