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/core/utils/DateTime.h>
11#include <aws/ec2/model/AddressTransferStatus.h>
53 template<
typename PublicIpT = Aws::String>
54 void SetPublicIp(PublicIpT&& value) { m_publicIpHasBeenSet =
true; m_publicIp = std::forward<PublicIpT>(value); }
55 template<
typename PublicIpT = Aws::String>
65 template<
typename AllocationIdT = Aws::String>
66 void SetAllocationId(AllocationIdT&& value) { m_allocationIdHasBeenSet =
true; m_allocationId = std::forward<AllocationIdT>(value); }
67 template<
typename AllocationIdT = Aws::String>
78 template<
typename TransferAccountIdT = Aws::String>
79 void SetTransferAccountId(TransferAccountIdT&& value) { m_transferAccountIdHasBeenSet =
true; m_transferAccountId = std::forward<TransferAccountIdT>(value); }
80 template<
typename TransferAccountIdT = Aws::String>
93 template<
typename TransferOfferExpirationTimestampT = Aws::Utils::DateTime>
94 void SetTransferOfferExpirationTimestamp(TransferOfferExpirationTimestampT&& value) { m_transferOfferExpirationTimestampHasBeenSet =
true; m_transferOfferExpirationTimestamp = std::forward<TransferOfferExpirationTimestampT>(value); }
95 template<
typename TransferOfferExpirationTimestampT = Aws::Utils::DateTime>
105 template<
typename TransferOfferAcceptedTimestampT = Aws::Utils::DateTime>
106 void SetTransferOfferAcceptedTimestamp(TransferOfferAcceptedTimestampT&& value) { m_transferOfferAcceptedTimestampHasBeenSet =
true; m_transferOfferAcceptedTimestamp = std::forward<TransferOfferAcceptedTimestampT>(value); }
107 template<
typename TransferOfferAcceptedTimestampT = Aws::Utils::DateTime>
123 bool m_publicIpHasBeenSet =
false;
126 bool m_allocationIdHasBeenSet =
false;
129 bool m_transferAccountIdHasBeenSet =
false;
132 bool m_transferOfferExpirationTimestampHasBeenSet =
false;
135 bool m_transferOfferAcceptedTimestampHasBeenSet =
false;
138 bool m_addressTransferStatusHasBeenSet =
false;
AddressTransfer & WithAllocationId(AllocationIdT &&value)
bool TransferOfferExpirationTimestampHasBeenSet() const
AWS_EC2_API AddressTransfer & operator=(const Aws::Utils::Xml::XmlNode &xmlNode)
void SetPublicIp(PublicIpT &&value)
void SetAddressTransferStatus(AddressTransferStatus value)
AddressTransferStatus GetAddressTransferStatus() const
void SetAllocationId(AllocationIdT &&value)
AddressTransfer & WithTransferAccountId(TransferAccountIdT &&value)
AWS_EC2_API AddressTransfer(const Aws::Utils::Xml::XmlNode &xmlNode)
AddressTransfer & WithTransferOfferExpirationTimestamp(TransferOfferExpirationTimestampT &&value)
AWS_EC2_API void OutputToStream(Aws::OStream &ostream, const char *location, unsigned index, const char *locationValue) const
void SetTransferOfferAcceptedTimestamp(TransferOfferAcceptedTimestampT &&value)
AWS_EC2_API AddressTransfer()=default
const Aws::Utils::DateTime & GetTransferOfferAcceptedTimestamp() const
const Aws::String & GetTransferAccountId() const
const Aws::Utils::DateTime & GetTransferOfferExpirationTimestamp() const
void SetTransferOfferExpirationTimestamp(TransferOfferExpirationTimestampT &&value)
bool TransferOfferAcceptedTimestampHasBeenSet() const
AddressTransfer & WithAddressTransferStatus(AddressTransferStatus value)
const Aws::String & GetPublicIp() const
const Aws::String & GetAllocationId() const
bool PublicIpHasBeenSet() const
bool TransferAccountIdHasBeenSet() const
AddressTransfer & WithPublicIp(PublicIpT &&value)
bool AddressTransferStatusHasBeenSet() const
bool AllocationIdHasBeenSet() const
AddressTransfer & WithTransferOfferAcceptedTimestamp(TransferOfferAcceptedTimestampT &&value)
AWS_EC2_API void OutputToStream(Aws::OStream &oStream, const char *location) const
void SetTransferAccountId(TransferAccountIdT &&value)
std::basic_string< char, std::char_traits< char >, Aws::Allocator< char > > String
std::basic_ostream< char, std::char_traits< char > > OStream