7#include <aws/ec2/EC2_EXPORTS.h>
8#include <aws/core/utils/memory/stl/AWSStreamFwd.h>
9#include <aws/core/utils/memory/stl/AWSString.h>
10#include <aws/ec2/model/PtrUpdateStatus.h>
50 template<
typename PublicIpT = Aws::String>
51 void SetPublicIp(PublicIpT&& value) { m_publicIpHasBeenSet =
true; m_publicIp = std::forward<PublicIpT>(value); }
52 template<
typename PublicIpT = Aws::String>
62 template<
typename AllocationIdT = Aws::String>
63 void SetAllocationId(AllocationIdT&& value) { m_allocationIdHasBeenSet =
true; m_allocationId = std::forward<AllocationIdT>(value); }
64 template<
typename AllocationIdT = Aws::String>
74 template<
typename PtrRecordT = Aws::String>
75 void SetPtrRecord(PtrRecordT&& value) { m_ptrRecordHasBeenSet =
true; m_ptrRecord = std::forward<PtrRecordT>(value); }
76 template<
typename PtrRecordT = Aws::String>
86 template<
typename PtrRecordUpdateT = PtrUpdateStatus>
87 void SetPtrRecordUpdate(PtrRecordUpdateT&& value) { m_ptrRecordUpdateHasBeenSet =
true; m_ptrRecordUpdate = std::forward<PtrRecordUpdateT>(value); }
88 template<
typename PtrRecordUpdateT = PtrUpdateStatus>
94 bool m_publicIpHasBeenSet =
false;
97 bool m_allocationIdHasBeenSet =
false;
100 bool m_ptrRecordHasBeenSet =
false;
103 bool m_ptrRecordUpdateHasBeenSet =
false;
const Aws::String & GetPtrRecord() const
AWS_EC2_API AddressAttribute(const Aws::Utils::Xml::XmlNode &xmlNode)
bool AllocationIdHasBeenSet() const
AWS_EC2_API void OutputToStream(Aws::OStream &oStream, const char *location) const
const PtrUpdateStatus & GetPtrRecordUpdate() const
void SetPtrRecord(PtrRecordT &&value)
void SetAllocationId(AllocationIdT &&value)
bool PublicIpHasBeenSet() const
AWS_EC2_API AddressAttribute & operator=(const Aws::Utils::Xml::XmlNode &xmlNode)
void SetPublicIp(PublicIpT &&value)
const Aws::String & GetAllocationId() const
AWS_EC2_API AddressAttribute()=default
const Aws::String & GetPublicIp() const
AddressAttribute & WithPtrRecord(PtrRecordT &&value)
AddressAttribute & WithAllocationId(AllocationIdT &&value)
void SetPtrRecordUpdate(PtrRecordUpdateT &&value)
bool PtrRecordUpdateHasBeenSet() const
bool PtrRecordHasBeenSet() const
AddressAttribute & WithPtrRecordUpdate(PtrRecordUpdateT &&value)
AWS_EC2_API void OutputToStream(Aws::OStream &ostream, const char *location, unsigned index, const char *locationValue) const
AddressAttribute & WithPublicIp(PublicIpT &&value)
std::basic_string< char, std::char_traits< char >, Aws::Allocator< char > > String
std::basic_ostream< char, std::char_traits< char > > OStream