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>
10#include <aws/ec2/model/InstanceNetworkInterfaceAssociation.h>
44 template <
typename AssociationT = InstanceNetworkInterfaceAssociation>
46 m_associationHasBeenSet =
true;
47 m_association = std::forward<AssociationT>(value);
49 template <
typename AssociationT = InstanceNetworkInterfaceAssociation>
64 m_primaryHasBeenSet =
true;
79 template <
typename PrivateDnsNameT = Aws::String>
81 m_privateDnsNameHasBeenSet =
true;
82 m_privateDnsName = std::forward<PrivateDnsNameT>(value);
84 template <
typename PrivateDnsNameT = Aws::String>
97 template <
typename PrivateIpAddressT = Aws::String>
99 m_privateIpAddressHasBeenSet =
true;
100 m_privateIpAddress = std::forward<PrivateIpAddressT>(value);
102 template <
typename PrivateIpAddressT = Aws::String>
111 bool m_primary{
false};
116 bool m_associationHasBeenSet =
false;
117 bool m_primaryHasBeenSet =
false;
118 bool m_privateDnsNameHasBeenSet =
false;
119 bool m_privateIpAddressHasBeenSet =
false;
InstancePrivateIpAddress & WithPrivateIpAddress(PrivateIpAddressT &&value)
const InstanceNetworkInterfaceAssociation & GetAssociation() const
const Aws::String & GetPrivateIpAddress() const
bool PrivateDnsNameHasBeenSet() const
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)
InstancePrivateIpAddress & WithPrivateDnsName(PrivateDnsNameT &&value)
AWS_EC2_API InstancePrivateIpAddress()=default
void SetPrivateIpAddress(PrivateIpAddressT &&value)
bool PrivateIpAddressHasBeenSet() const
void SetAssociation(AssociationT &&value)
bool PrimaryHasBeenSet() const
void SetPrivateDnsName(PrivateDnsNameT &&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)
InstancePrivateIpAddress & WithAssociation(AssociationT &&value)
AWS_EC2_API InstancePrivateIpAddress & 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