7#include <aws/ec2/EC2_EXPORTS.h>
8#include <aws/core/utils/memory/stl/AWSStreamFwd.h>
9#include <aws/ec2/model/NetworkInterfaceAssociation.h>
10#include <aws/core/utils/memory/stl/AWSString.h>
64 inline void SetPrimary(
bool value) { m_primaryHasBeenSet =
true; m_primary = value; }
76 inline void SetPrivateDnsName(
const char* value) { m_privateDnsNameHasBeenSet =
true; m_privateDnsName.assign(value); }
90 inline void SetPrivateIpAddress(
const char* value) { m_privateIpAddressHasBeenSet =
true; m_privateIpAddress.assign(value); }
98 bool m_associationHasBeenSet =
false;
101 bool m_primaryHasBeenSet =
false;
104 bool m_privateDnsNameHasBeenSet =
false;
107 bool m_privateIpAddressHasBeenSet =
false;
void SetPrimary(bool value)
void SetPrivateIpAddress(const char *value)
bool PrivateDnsNameHasBeenSet() const
AWS_EC2_API NetworkInterfacePrivateIpAddress & operator=(const Aws::Utils::Xml::XmlNode &xmlNode)
void SetPrivateDnsName(const Aws::String &value)
const Aws::String & GetPrivateIpAddress() const
NetworkInterfacePrivateIpAddress & WithPrivateIpAddress(const char *value)
NetworkInterfacePrivateIpAddress & WithPrivateIpAddress(Aws::String &&value)
void SetPrivateDnsName(const char *value)
bool PrimaryHasBeenSet() const
AWS_EC2_API NetworkInterfacePrivateIpAddress(const Aws::Utils::Xml::XmlNode &xmlNode)
void SetPrivateIpAddress(const Aws::String &value)
const Aws::String & GetPrivateDnsName() const
AWS_EC2_API void OutputToStream(Aws::OStream &oStream, const char *location) const
NetworkInterfacePrivateIpAddress & WithPrivateDnsName(const char *value)
void SetAssociation(const NetworkInterfaceAssociation &value)
AWS_EC2_API void OutputToStream(Aws::OStream &ostream, const char *location, unsigned index, const char *locationValue) const
void SetPrivateDnsName(Aws::String &&value)
void SetAssociation(NetworkInterfaceAssociation &&value)
void SetPrivateIpAddress(Aws::String &&value)
NetworkInterfacePrivateIpAddress & WithPrivateDnsName(Aws::String &&value)
NetworkInterfacePrivateIpAddress & WithPrimary(bool value)
const NetworkInterfaceAssociation & GetAssociation() const
NetworkInterfacePrivateIpAddress & WithAssociation(const NetworkInterfaceAssociation &value)
bool AssociationHasBeenSet() const
bool PrivateIpAddressHasBeenSet() const
NetworkInterfacePrivateIpAddress & WithAssociation(NetworkInterfaceAssociation &&value)
NetworkInterfacePrivateIpAddress & WithPrivateDnsName(const Aws::String &value)
NetworkInterfacePrivateIpAddress & WithPrivateIpAddress(const Aws::String &value)
AWS_EC2_API NetworkInterfacePrivateIpAddress()
std::basic_string< char, std::char_traits< char >, Aws::Allocator< char > > String
std::basic_ostream< char, std::char_traits< char > > OStream