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/core/utils/memory/stl/AWSString.h>
63 inline void SetPrimary(
bool value) { m_primaryHasBeenSet =
true; m_primary = value; }
75 inline void SetPrivateDnsName(
const char* value) { m_privateDnsNameHasBeenSet =
true; m_privateDnsName.assign(value); }
89 inline void SetPrivateIpAddress(
const char* value) { m_privateIpAddressHasBeenSet =
true; m_privateIpAddress.assign(value); }
97 bool m_associationHasBeenSet =
false;
100 bool m_primaryHasBeenSet =
false;
103 bool m_privateDnsNameHasBeenSet =
false;
106 bool m_privateIpAddressHasBeenSet =
false;
InstancePrivateIpAddress & WithPrivateDnsName(const char *value)
const InstanceNetworkInterfaceAssociation & GetAssociation() const
void SetPrivateDnsName(const Aws::String &value)
const Aws::String & GetPrivateIpAddress() const
void SetAssociation(InstanceNetworkInterfaceAssociation &&value)
bool PrivateDnsNameHasBeenSet() const
InstancePrivateIpAddress & WithPrivateIpAddress(Aws::String &&value)
InstancePrivateIpAddress & WithAssociation(InstanceNetworkInterfaceAssociation &&value)
AWS_EC2_API InstancePrivateIpAddress(const Aws::Utils::Xml::XmlNode &xmlNode)
AWS_EC2_API void OutputToStream(Aws::OStream &oStream, const char *location) const
void SetPrimary(bool value)
void SetAssociation(const InstanceNetworkInterfaceAssociation &value)
void SetPrivateDnsName(Aws::String &&value)
void SetPrivateIpAddress(const Aws::String &value)
bool PrivateIpAddressHasBeenSet() const
InstancePrivateIpAddress & WithPrivateDnsName(Aws::String &&value)
void SetPrivateIpAddress(Aws::String &&value)
InstancePrivateIpAddress & WithPrivateIpAddress(const char *value)
void SetPrivateDnsName(const char *value)
InstancePrivateIpAddress & WithAssociation(const InstanceNetworkInterfaceAssociation &value)
void SetPrivateIpAddress(const char *value)
bool PrimaryHasBeenSet() const
InstancePrivateIpAddress & WithPrivateDnsName(const Aws::String &value)
bool AssociationHasBeenSet() const
const Aws::String & GetPrivateDnsName() const
AWS_EC2_API void OutputToStream(Aws::OStream &ostream, const char *location, unsigned index, const char *locationValue) const
InstancePrivateIpAddress & WithPrimary(bool value)
AWS_EC2_API InstancePrivateIpAddress & operator=(const Aws::Utils::Xml::XmlNode &xmlNode)
InstancePrivateIpAddress & WithPrivateIpAddress(const Aws::String &value)
AWS_EC2_API InstancePrivateIpAddress()
std::basic_string< char, std::char_traits< char >, Aws::Allocator< char > > String
std::basic_ostream< char, std::char_traits< char > > OStream