7#include <aws/core/utils/DateTime.h>
8#include <aws/core/utils/memory/stl/AWSStreamFwd.h>
9#include <aws/core/utils/memory/stl/AWSString.h>
10#include <aws/ec2/EC2_EXPORTS.h>
11#include <aws/ec2/model/AddressTransferStatus.h>
47 template <
typename PublicIpT = Aws::String>
49 m_publicIpHasBeenSet =
true;
50 m_publicIp = std::forward<PublicIpT>(value);
52 template <
typename PublicIpT = Aws::String>
65 template <
typename AllocationIdT = Aws::String>
67 m_allocationIdHasBeenSet =
true;
68 m_allocationId = std::forward<AllocationIdT>(value);
70 template <
typename AllocationIdT = Aws::String>
84 template <
typename TransferAccountIdT = Aws::String>
86 m_transferAccountIdHasBeenSet =
true;
87 m_transferAccountId = std::forward<TransferAccountIdT>(value);
89 template <
typename TransferAccountIdT = Aws::String>
105 template <
typename TransferOfferExpirationTimestampT = Aws::Utils::DateTime>
107 m_transferOfferExpirationTimestampHasBeenSet =
true;
108 m_transferOfferExpirationTimestamp = std::forward<TransferOfferExpirationTimestampT>(value);
110 template <
typename TransferOfferExpirationTimestampT = Aws::Utils::DateTime>
123 template <
typename TransferOfferAcceptedTimestampT = Aws::Utils::DateTime>
125 m_transferOfferAcceptedTimestampHasBeenSet =
true;
126 m_transferOfferAcceptedTimestamp = std::forward<TransferOfferAcceptedTimestampT>(value);
128 template <
typename TransferOfferAcceptedTimestampT = Aws::Utils::DateTime>
142 m_addressTransferStatusHasBeenSet =
true;
143 m_addressTransferStatus = value;
162 bool m_publicIpHasBeenSet =
false;
163 bool m_allocationIdHasBeenSet =
false;
164 bool m_transferAccountIdHasBeenSet =
false;
165 bool m_transferOfferExpirationTimestampHasBeenSet =
false;
166 bool m_transferOfferAcceptedTimestampHasBeenSet =
false;
167 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