7#include <aws/ec2/EC2_EXPORTS.h>
8#include <aws/core/utils/memory/stl/AWSString.h>
9#include <aws/ec2/model/DomainType.h>
10#include <aws/ec2/model/ResponseMetadata.h>
15template<
typename RESULT_TYPE>
16class AmazonWebServiceResult;
42 template<
typename AllocationIdT = Aws::String>
43 void SetAllocationId(AllocationIdT&& value) { m_allocationIdHasBeenSet =
true; m_allocationId = std::forward<AllocationIdT>(value); }
44 template<
typename AllocationIdT = Aws::String>
53 template<
typename PublicIpv4PoolT = Aws::String>
54 void SetPublicIpv4Pool(PublicIpv4PoolT&& value) { m_publicIpv4PoolHasBeenSet =
true; m_publicIpv4Pool = std::forward<PublicIpv4PoolT>(value); }
55 template<
typename PublicIpv4PoolT = Aws::String>
65 template<
typename NetworkBorderGroupT = Aws::String>
66 void SetNetworkBorderGroup(NetworkBorderGroupT&& value) { m_networkBorderGroupHasBeenSet =
true; m_networkBorderGroup = std::forward<NetworkBorderGroupT>(value); }
67 template<
typename NetworkBorderGroupT = Aws::String>
85 template<
typename CustomerOwnedIpT = Aws::String>
86 void SetCustomerOwnedIp(CustomerOwnedIpT&& value) { m_customerOwnedIpHasBeenSet =
true; m_customerOwnedIp = std::forward<CustomerOwnedIpT>(value); }
87 template<
typename CustomerOwnedIpT = Aws::String>
96 template<
typename CustomerOwnedIpv4PoolT = Aws::String>
97 void SetCustomerOwnedIpv4Pool(CustomerOwnedIpv4PoolT&& value) { m_customerOwnedIpv4PoolHasBeenSet =
true; m_customerOwnedIpv4Pool = std::forward<CustomerOwnedIpv4PoolT>(value); }
98 template<
typename CustomerOwnedIpv4PoolT = Aws::String>
108 template<
typename CarrierIpT = Aws::String>
109 void SetCarrierIp(CarrierIpT&& value) { m_carrierIpHasBeenSet =
true; m_carrierIp = std::forward<CarrierIpT>(value); }
110 template<
typename CarrierIpT = Aws::String>
119 template<
typename PublicIpT = Aws::String>
120 void SetPublicIp(PublicIpT&& value) { m_publicIpHasBeenSet =
true; m_publicIp = std::forward<PublicIpT>(value); }
121 template<
typename PublicIpT = Aws::String>
128 template<
typename ResponseMetadataT = ResponseMetadata>
129 void SetResponseMetadata(ResponseMetadataT&& value) { m_responseMetadataHasBeenSet =
true; m_responseMetadata = std::forward<ResponseMetadataT>(value); }
130 template<
typename ResponseMetadataT = ResponseMetadata>
136 bool m_allocationIdHasBeenSet =
false;
139 bool m_publicIpv4PoolHasBeenSet =
false;
142 bool m_networkBorderGroupHasBeenSet =
false;
145 bool m_domainHasBeenSet =
false;
148 bool m_customerOwnedIpHasBeenSet =
false;
151 bool m_customerOwnedIpv4PoolHasBeenSet =
false;
154 bool m_carrierIpHasBeenSet =
false;
157 bool m_publicIpHasBeenSet =
false;
159 ResponseMetadata m_responseMetadata;
160 bool m_responseMetadataHasBeenSet =
false;
void SetNetworkBorderGroup(NetworkBorderGroupT &&value)
AllocateAddressResponse & WithCustomerOwnedIpv4Pool(CustomerOwnedIpv4PoolT &&value)
void SetCustomerOwnedIp(CustomerOwnedIpT &&value)
AllocateAddressResponse & WithNetworkBorderGroup(NetworkBorderGroupT &&value)
AllocateAddressResponse & WithDomain(DomainType value)
void SetPublicIp(PublicIpT &&value)
void SetAllocationId(AllocationIdT &&value)
void SetDomain(DomainType value)
AWS_EC2_API AllocateAddressResponse & operator=(const Aws::AmazonWebServiceResult< Aws::Utils::Xml::XmlDocument > &result)
const Aws::String & GetAllocationId() const
const Aws::String & GetPublicIpv4Pool() const
void SetResponseMetadata(ResponseMetadataT &&value)
DomainType GetDomain() const
const Aws::String & GetCustomerOwnedIpv4Pool() const
const Aws::String & GetPublicIp() const
AllocateAddressResponse & WithCustomerOwnedIp(CustomerOwnedIpT &&value)
const Aws::String & GetCustomerOwnedIp() const
AllocateAddressResponse & WithCarrierIp(CarrierIpT &&value)
AllocateAddressResponse & WithAllocationId(AllocationIdT &&value)
AllocateAddressResponse & WithPublicIpv4Pool(PublicIpv4PoolT &&value)
const Aws::String & GetNetworkBorderGroup() const
AWS_EC2_API AllocateAddressResponse(const Aws::AmazonWebServiceResult< Aws::Utils::Xml::XmlDocument > &result)
const Aws::String & GetCarrierIp() const
AllocateAddressResponse & WithPublicIp(PublicIpT &&value)
AllocateAddressResponse & WithResponseMetadata(ResponseMetadataT &&value)
const ResponseMetadata & GetResponseMetadata() const
void SetCustomerOwnedIpv4Pool(CustomerOwnedIpv4PoolT &&value)
void SetPublicIpv4Pool(PublicIpv4PoolT &&value)
AWS_EC2_API AllocateAddressResponse()=default
void SetCarrierIp(CarrierIpT &&value)
std::basic_string< char, std::char_traits< char >, Aws::Allocator< char > > String
Aws::Utils::Xml::XmlDocument XmlDocument