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>
50 template<
typename AssociationT = InstanceNetworkInterfaceAssociation>
51 void SetAssociation(AssociationT&& value) { m_associationHasBeenSet =
true; m_association = std::forward<AssociationT>(value); }
52 template<
typename AssociationT = InstanceNetworkInterfaceAssociation>
63 inline void SetPrimary(
bool value) { m_primaryHasBeenSet =
true; m_primary = value; }
73 template<
typename PrivateDnsNameT = Aws::String>
74 void SetPrivateDnsName(PrivateDnsNameT&& value) { m_privateDnsNameHasBeenSet =
true; m_privateDnsName = std::forward<PrivateDnsNameT>(value); }
75 template<
typename PrivateDnsNameT = Aws::String>
85 template<
typename PrivateIpAddressT = Aws::String>
86 void SetPrivateIpAddress(PrivateIpAddressT&& value) { m_privateIpAddressHasBeenSet =
true; m_privateIpAddress = std::forward<PrivateIpAddressT>(value); }
87 template<
typename PrivateIpAddressT = Aws::String>
93 bool m_associationHasBeenSet =
false;
95 bool m_primary{
false};
96 bool m_primaryHasBeenSet =
false;
99 bool m_privateDnsNameHasBeenSet =
false;
102 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