7#include <aws/core/utils/memory/stl/AWSStreamFwd.h>
8#include <aws/core/utils/memory/stl/AWSString.h>
9#include <aws/core/utils/memory/stl/AWSVector.h>
10#include <aws/ec2/EC2_EXPORTS.h>
11#include <aws/ec2/model/DomainType.h>
12#include <aws/ec2/model/ServiceManaged.h>
13#include <aws/ec2/model/Tag.h>
47 template <
typename AllocationIdT = Aws::String>
49 m_allocationIdHasBeenSet =
true;
50 m_allocationId = std::forward<AllocationIdT>(value);
52 template <
typename AllocationIdT = Aws::String>
65 template <
typename AssociationIdT = Aws::String>
67 m_associationIdHasBeenSet =
true;
68 m_associationId = std::forward<AssociationIdT>(value);
70 template <
typename AssociationIdT = Aws::String>
84 m_domainHasBeenSet =
true;
99 template <
typename NetworkInterfaceIdT = Aws::String>
101 m_networkInterfaceIdHasBeenSet =
true;
102 m_networkInterfaceId = std::forward<NetworkInterfaceIdT>(value);
104 template <
typename NetworkInterfaceIdT = Aws::String>
118 template <
typename NetworkInterfaceOwnerIdT = Aws::String>
120 m_networkInterfaceOwnerIdHasBeenSet =
true;
121 m_networkInterfaceOwnerId = std::forward<NetworkInterfaceOwnerIdT>(value);
123 template <
typename NetworkInterfaceOwnerIdT = Aws::String>
136 template <
typename PrivateIpAddressT = Aws::String>
138 m_privateIpAddressHasBeenSet =
true;
139 m_privateIpAddress = std::forward<PrivateIpAddressT>(value);
141 template <
typename PrivateIpAddressT = Aws::String>
154 template <
typename TagsT = Aws::Vector<Tag>>
156 m_tagsHasBeenSet =
true;
157 m_tags = std::forward<TagsT>(value);
159 template <
typename TagsT = Aws::Vector<Tag>>
161 SetTags(std::forward<TagsT>(value));
164 template <
typename TagsT = Tag>
166 m_tagsHasBeenSet =
true;
167 m_tags.emplace_back(std::forward<TagsT>(value));
178 template <
typename PublicIpv4PoolT = Aws::String>
180 m_publicIpv4PoolHasBeenSet =
true;
181 m_publicIpv4Pool = std::forward<PublicIpv4PoolT>(value);
183 template <
typename PublicIpv4PoolT = Aws::String>
197 template <
typename NetworkBorderGroupT = Aws::String>
199 m_networkBorderGroupHasBeenSet =
true;
200 m_networkBorderGroup = std::forward<NetworkBorderGroupT>(value);
202 template <
typename NetworkBorderGroupT = Aws::String>
215 template <
typename CustomerOwnedIpT = Aws::String>
217 m_customerOwnedIpHasBeenSet =
true;
218 m_customerOwnedIp = std::forward<CustomerOwnedIpT>(value);
220 template <
typename CustomerOwnedIpT = Aws::String>
233 template <
typename CustomerOwnedIpv4PoolT = Aws::String>
235 m_customerOwnedIpv4PoolHasBeenSet =
true;
236 m_customerOwnedIpv4Pool = std::forward<CustomerOwnedIpv4PoolT>(value);
238 template <
typename CustomerOwnedIpv4PoolT = Aws::String>
253 template <
typename CarrierIpT = Aws::String>
255 m_carrierIpHasBeenSet =
true;
256 m_carrierIp = std::forward<CarrierIpT>(value);
258 template <
typename CarrierIpT = Aws::String>
271 template <
typename SubnetIdT = Aws::String>
273 m_subnetIdHasBeenSet =
true;
274 m_subnetId = std::forward<SubnetIdT>(value);
276 template <
typename SubnetIdT = Aws::String>
291 m_serviceManagedHasBeenSet =
true;
292 m_serviceManaged = value;
306 template <
typename InstanceIdT = Aws::String>
308 m_instanceIdHasBeenSet =
true;
309 m_instanceId = std::forward<InstanceIdT>(value);
311 template <
typename InstanceIdT = Aws::String>
324 template <
typename PublicIpT = Aws::String>
326 m_publicIpHasBeenSet =
true;
327 m_publicIp = std::forward<PublicIpT>(value);
329 template <
typename PublicIpT = Aws::String>
367 bool m_allocationIdHasBeenSet =
false;
368 bool m_associationIdHasBeenSet =
false;
369 bool m_domainHasBeenSet =
false;
370 bool m_networkInterfaceIdHasBeenSet =
false;
371 bool m_networkInterfaceOwnerIdHasBeenSet =
false;
372 bool m_privateIpAddressHasBeenSet =
false;
373 bool m_tagsHasBeenSet =
false;
374 bool m_publicIpv4PoolHasBeenSet =
false;
375 bool m_networkBorderGroupHasBeenSet =
false;
376 bool m_customerOwnedIpHasBeenSet =
false;
377 bool m_customerOwnedIpv4PoolHasBeenSet =
false;
378 bool m_carrierIpHasBeenSet =
false;
379 bool m_subnetIdHasBeenSet =
false;
380 bool m_serviceManagedHasBeenSet =
false;
381 bool m_instanceIdHasBeenSet =
false;
382 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