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/DomainType.h>
11#include <aws/core/utils/memory/stl/AWSVector.h>
12#include <aws/ec2/model/ServiceManaged.h>
13#include <aws/ec2/model/Tag.h>
53 template<
typename AllocationIdT = Aws::String>
54 void SetAllocationId(AllocationIdT&& value) { m_allocationIdHasBeenSet =
true; m_allocationId = std::forward<AllocationIdT>(value); }
55 template<
typename AllocationIdT = Aws::String>
65 template<
typename AssociationIdT = Aws::String>
66 void SetAssociationId(AssociationIdT&& value) { m_associationIdHasBeenSet =
true; m_associationId = std::forward<AssociationIdT>(value); }
67 template<
typename AssociationIdT = Aws::String>
87 template<
typename NetworkInterfaceIdT = Aws::String>
88 void SetNetworkInterfaceId(NetworkInterfaceIdT&& value) { m_networkInterfaceIdHasBeenSet =
true; m_networkInterfaceId = std::forward<NetworkInterfaceIdT>(value); }
89 template<
typename NetworkInterfaceIdT = Aws::String>
100 template<
typename NetworkInterfaceOwnerIdT = Aws::String>
101 void SetNetworkInterfaceOwnerId(NetworkInterfaceOwnerIdT&& value) { m_networkInterfaceOwnerIdHasBeenSet =
true; m_networkInterfaceOwnerId = std::forward<NetworkInterfaceOwnerIdT>(value); }
102 template<
typename NetworkInterfaceOwnerIdT = Aws::String>
112 template<
typename PrivateIpAddressT = Aws::String>
113 void SetPrivateIpAddress(PrivateIpAddressT&& value) { m_privateIpAddressHasBeenSet =
true; m_privateIpAddress = std::forward<PrivateIpAddressT>(value); }
114 template<
typename PrivateIpAddressT = Aws::String>
124 template<
typename TagsT = Aws::Vector<Tag>>
125 void SetTags(TagsT&& value) { m_tagsHasBeenSet =
true; m_tags = std::forward<TagsT>(value); }
126 template<
typename TagsT = Aws::Vector<Tag>>
128 template<
typename TagsT = Tag>
129 Address&
AddTags(TagsT&& value) { m_tagsHasBeenSet =
true; m_tags.emplace_back(std::forward<TagsT>(value));
return *
this; }
138 template<
typename PublicIpv4PoolT = Aws::String>
139 void SetPublicIpv4Pool(PublicIpv4PoolT&& value) { m_publicIpv4PoolHasBeenSet =
true; m_publicIpv4Pool = std::forward<PublicIpv4PoolT>(value); }
140 template<
typename PublicIpv4PoolT = Aws::String>
151 template<
typename NetworkBorderGroupT = Aws::String>
152 void SetNetworkBorderGroup(NetworkBorderGroupT&& value) { m_networkBorderGroupHasBeenSet =
true; m_networkBorderGroup = std::forward<NetworkBorderGroupT>(value); }
153 template<
typename NetworkBorderGroupT = Aws::String>
163 template<
typename CustomerOwnedIpT = Aws::String>
164 void SetCustomerOwnedIp(CustomerOwnedIpT&& value) { m_customerOwnedIpHasBeenSet =
true; m_customerOwnedIp = std::forward<CustomerOwnedIpT>(value); }
165 template<
typename CustomerOwnedIpT = Aws::String>
175 template<
typename CustomerOwnedIpv4PoolT = Aws::String>
176 void SetCustomerOwnedIpv4Pool(CustomerOwnedIpv4PoolT&& value) { m_customerOwnedIpv4PoolHasBeenSet =
true; m_customerOwnedIpv4Pool = std::forward<CustomerOwnedIpv4PoolT>(value); }
177 template<
typename CustomerOwnedIpv4PoolT = Aws::String>
189 template<
typename CarrierIpT = Aws::String>
190 void SetCarrierIp(CarrierIpT&& value) { m_carrierIpHasBeenSet =
true; m_carrierIp = std::forward<CarrierIpT>(value); }
191 template<
typename CarrierIpT = Aws::String>
201 template<
typename SubnetIdT = Aws::String>
202 void SetSubnetId(SubnetIdT&& value) { m_subnetIdHasBeenSet =
true; m_subnetId = std::forward<SubnetIdT>(value); }
203 template<
typename SubnetIdT = Aws::String>
224 template<
typename InstanceIdT = Aws::String>
225 void SetInstanceId(InstanceIdT&& value) { m_instanceIdHasBeenSet =
true; m_instanceId = std::forward<InstanceIdT>(value); }
226 template<
typename InstanceIdT = Aws::String>
236 template<
typename PublicIpT = Aws::String>
237 void SetPublicIp(PublicIpT&& value) { m_publicIpHasBeenSet =
true; m_publicIp = std::forward<PublicIpT>(value); }
238 template<
typename PublicIpT = Aws::String>
244 bool m_allocationIdHasBeenSet =
false;
247 bool m_associationIdHasBeenSet =
false;
250 bool m_domainHasBeenSet =
false;
253 bool m_networkInterfaceIdHasBeenSet =
false;
256 bool m_networkInterfaceOwnerIdHasBeenSet =
false;
259 bool m_privateIpAddressHasBeenSet =
false;
262 bool m_tagsHasBeenSet =
false;
265 bool m_publicIpv4PoolHasBeenSet =
false;
268 bool m_networkBorderGroupHasBeenSet =
false;
271 bool m_customerOwnedIpHasBeenSet =
false;
274 bool m_customerOwnedIpv4PoolHasBeenSet =
false;
277 bool m_carrierIpHasBeenSet =
false;
280 bool m_subnetIdHasBeenSet =
false;
283 bool m_serviceManagedHasBeenSet =
false;
286 bool m_instanceIdHasBeenSet =
false;
289 bool m_publicIpHasBeenSet =
false;
void SetSubnetId(SubnetIdT &&value)
Address & WithCustomerOwnedIp(CustomerOwnedIpT &&value)
const Aws::String & GetPublicIpv4Pool() const
Address & AddTags(TagsT &&value)
bool AllocationIdHasBeenSet() const
Address & WithServiceManaged(ServiceManaged value)
ServiceManaged GetServiceManaged() const
void SetPublicIp(PublicIpT &&value)
const Aws::Vector< Tag > & GetTags() const
bool NetworkBorderGroupHasBeenSet() const
bool DomainHasBeenSet() const
void SetServiceManaged(ServiceManaged value)
bool AssociationIdHasBeenSet() const
void SetDomain(DomainType value)
Address & WithSubnetId(SubnetIdT &&value)
const Aws::String & GetPrivateIpAddress() const
AWS_EC2_API void OutputToStream(Aws::OStream &ostream, const char *location, unsigned index, const char *locationValue) const
Address & WithNetworkBorderGroup(NetworkBorderGroupT &&value)
const Aws::String & GetAllocationId() const
bool CustomerOwnedIpv4PoolHasBeenSet() const
bool SubnetIdHasBeenSet() const
void SetNetworkInterfaceId(NetworkInterfaceIdT &&value)
bool InstanceIdHasBeenSet() const
Address & WithPublicIp(PublicIpT &&value)
bool PublicIpHasBeenSet() const
bool NetworkInterfaceIdHasBeenSet() const
void SetCustomerOwnedIpv4Pool(CustomerOwnedIpv4PoolT &&value)
Address & WithAllocationId(AllocationIdT &&value)
bool CarrierIpHasBeenSet() const
void SetCustomerOwnedIp(CustomerOwnedIpT &&value)
const Aws::String & GetInstanceId() const
void SetAllocationId(AllocationIdT &&value)
Address & WithCarrierIp(CarrierIpT &&value)
const Aws::String & GetCustomerOwnedIp() const
const Aws::String & GetNetworkBorderGroup() const
Address & WithNetworkInterfaceOwnerId(NetworkInterfaceOwnerIdT &&value)
const Aws::String & GetCarrierIp() const
void SetPublicIpv4Pool(PublicIpv4PoolT &&value)
const Aws::String & GetNetworkInterfaceId() const
void SetNetworkBorderGroup(NetworkBorderGroupT &&value)
void SetNetworkInterfaceOwnerId(NetworkInterfaceOwnerIdT &&value)
Address & WithAssociationId(AssociationIdT &&value)
const Aws::String & GetCustomerOwnedIpv4Pool() const
const Aws::String & GetSubnetId() const
bool PublicIpv4PoolHasBeenSet() const
AWS_EC2_API Address()=default
AWS_EC2_API Address & operator=(const Aws::Utils::Xml::XmlNode &xmlNode)
bool CustomerOwnedIpHasBeenSet() const
void SetInstanceId(InstanceIdT &&value)
bool NetworkInterfaceOwnerIdHasBeenSet() const
bool TagsHasBeenSet() const
AWS_EC2_API Address(const Aws::Utils::Xml::XmlNode &xmlNode)
Address & WithTags(TagsT &&value)
Address & WithNetworkInterfaceId(NetworkInterfaceIdT &&value)
void SetCarrierIp(CarrierIpT &&value)
void SetAssociationId(AssociationIdT &&value)
const Aws::String & GetNetworkInterfaceOwnerId() const
Address & WithInstanceId(InstanceIdT &&value)
Address & WithPublicIpv4Pool(PublicIpv4PoolT &&value)
DomainType GetDomain() const
Address & WithDomain(DomainType value)
void SetPrivateIpAddress(PrivateIpAddressT &&value)
void SetTags(TagsT &&value)
bool PrivateIpAddressHasBeenSet() const
Address & WithCustomerOwnedIpv4Pool(CustomerOwnedIpv4PoolT &&value)
Address & WithPrivateIpAddress(PrivateIpAddressT &&value)
AWS_EC2_API void OutputToStream(Aws::OStream &oStream, const char *location) const
const Aws::String & GetAssociationId() const
bool ServiceManagedHasBeenSet() const
const Aws::String & GetPublicIp() const
std::basic_string< char, std::char_traits< char >, Aws::Allocator< char > > String
std::vector< T, Aws::Allocator< T > > Vector
std::basic_ostream< char, std::char_traits< char > > OStream