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/core/utils/memory/stl/AWSVector.h>
11#include <aws/ec2/EC2_EXPORTS.h>
12#include <aws/ec2/model/IpamPublicAddressAssociationStatus.h>
13#include <aws/ec2/model/IpamPublicAddressAwsService.h>
14#include <aws/ec2/model/IpamPublicAddressSecurityGroup.h>
15#include <aws/ec2/model/IpamPublicAddressTags.h>
16#include <aws/ec2/model/IpamPublicAddressType.h>
49 template <
typename IpamResourceDiscoveryIdT = Aws::String>
51 m_ipamResourceDiscoveryIdHasBeenSet =
true;
52 m_ipamResourceDiscoveryId = std::forward<IpamResourceDiscoveryIdT>(value);
54 template <
typename IpamResourceDiscoveryIdT = Aws::String>
67 template <
typename AddressRegionT = Aws::String>
69 m_addressRegionHasBeenSet =
true;
70 m_addressRegion = std::forward<AddressRegionT>(value);
72 template <
typename AddressRegionT = Aws::String>
85 template <
typename AddressT = Aws::String>
87 m_addressHasBeenSet =
true;
88 m_address = std::forward<AddressT>(value);
90 template <
typename AddressT = Aws::String>
103 template <
typename AddressOwnerIdT = Aws::String>
105 m_addressOwnerIdHasBeenSet =
true;
106 m_addressOwnerId = std::forward<AddressOwnerIdT>(value);
108 template <
typename AddressOwnerIdT = Aws::String>
121 template <
typename AddressAllocationIdT = Aws::String>
123 m_addressAllocationIdHasBeenSet =
true;
124 m_addressAllocationId = std::forward<AddressAllocationIdT>(value);
126 template <
typename AddressAllocationIdT = Aws::String>
140 m_associationStatusHasBeenSet =
true;
141 m_associationStatus = value;
156 m_addressTypeHasBeenSet =
true;
157 m_addressType = value;
172 m_serviceHasBeenSet =
true;
187 template <
typename ServiceResourceT = Aws::String>
189 m_serviceResourceHasBeenSet =
true;
190 m_serviceResource = std::forward<ServiceResourceT>(value);
192 template <
typename ServiceResourceT = Aws::String>
205 template <
typename VpcIdT = Aws::String>
207 m_vpcIdHasBeenSet =
true;
208 m_vpcId = std::forward<VpcIdT>(value);
210 template <
typename VpcIdT = Aws::String>
212 SetVpcId(std::forward<VpcIdT>(value));
224 template <
typename SubnetIdT = Aws::String>
226 m_subnetIdHasBeenSet =
true;
227 m_subnetId = std::forward<SubnetIdT>(value);
229 template <
typename SubnetIdT = Aws::String>
243 template <
typename PublicIpv4PoolIdT = Aws::String>
245 m_publicIpv4PoolIdHasBeenSet =
true;
246 m_publicIpv4PoolId = std::forward<PublicIpv4PoolIdT>(value);
248 template <
typename PublicIpv4PoolIdT = Aws::String>
261 template <
typename NetworkInterfaceIdT = Aws::String>
263 m_networkInterfaceIdHasBeenSet =
true;
264 m_networkInterfaceId = std::forward<NetworkInterfaceIdT>(value);
266 template <
typename NetworkInterfaceIdT = Aws::String>
279 template <
typename NetworkInterfaceDescriptionT = Aws::String>
281 m_networkInterfaceDescriptionHasBeenSet =
true;
282 m_networkInterfaceDescription = std::forward<NetworkInterfaceDescriptionT>(value);
284 template <
typename NetworkInterfaceDescriptionT = Aws::String>
297 template <
typename InstanceIdT = Aws::String>
299 m_instanceIdHasBeenSet =
true;
300 m_instanceId = std::forward<InstanceIdT>(value);
302 template <
typename InstanceIdT = Aws::String>
315 template <
typename TagsT = IpamPublicAddressTags>
317 m_tagsHasBeenSet =
true;
318 m_tags = std::forward<TagsT>(value);
320 template <
typename TagsT = IpamPublicAddressTags>
322 SetTags(std::forward<TagsT>(value));
337 template <
typename NetworkBorderGroupT = Aws::String>
339 m_networkBorderGroupHasBeenSet =
true;
340 m_networkBorderGroup = std::forward<NetworkBorderGroupT>(value);
342 template <
typename NetworkBorderGroupT = Aws::String>
356 template <
typename SecurityGroupsT = Aws::Vector<IpamPublicAddressSecurityGroup>>
358 m_securityGroupsHasBeenSet =
true;
359 m_securityGroups = std::forward<SecurityGroupsT>(value);
361 template <
typename SecurityGroupsT = Aws::Vector<IpamPublicAddressSecurityGroup>>
366 template <
typename SecurityGroupsT = IpamPublicAddressSecurityGroup>
368 m_securityGroupsHasBeenSet =
true;
369 m_securityGroups.emplace_back(std::forward<SecurityGroupsT>(value));
380 template <
typename SampleTimeT = Aws::Utils::DateTime>
382 m_sampleTimeHasBeenSet =
true;
383 m_sampleTime = std::forward<SampleTimeT>(value);
385 template <
typename SampleTimeT = Aws::Utils::DateTime>
422 IpamPublicAddressTags m_tags;
429 bool m_ipamResourceDiscoveryIdHasBeenSet =
false;
430 bool m_addressRegionHasBeenSet =
false;
431 bool m_addressHasBeenSet =
false;
432 bool m_addressOwnerIdHasBeenSet =
false;
433 bool m_addressAllocationIdHasBeenSet =
false;
434 bool m_associationStatusHasBeenSet =
false;
435 bool m_addressTypeHasBeenSet =
false;
436 bool m_serviceHasBeenSet =
false;
437 bool m_serviceResourceHasBeenSet =
false;
438 bool m_vpcIdHasBeenSet =
false;
439 bool m_subnetIdHasBeenSet =
false;
440 bool m_publicIpv4PoolIdHasBeenSet =
false;
441 bool m_networkInterfaceIdHasBeenSet =
false;
442 bool m_networkInterfaceDescriptionHasBeenSet =
false;
443 bool m_instanceIdHasBeenSet =
false;
444 bool m_tagsHasBeenSet =
false;
445 bool m_networkBorderGroupHasBeenSet =
false;
446 bool m_securityGroupsHasBeenSet =
false;
447 bool m_sampleTimeHasBeenSet =
false;
const IpamPublicAddressTags & GetTags() const
bool AssociationStatusHasBeenSet() const
IpamDiscoveredPublicAddress & WithService(IpamPublicAddressAwsService value)
void SetAddressOwnerId(AddressOwnerIdT &&value)
IpamDiscoveredPublicAddress & WithSecurityGroups(SecurityGroupsT &&value)
bool AddressTypeHasBeenSet() const
const Aws::String & GetInstanceId() const
bool SecurityGroupsHasBeenSet() const
const Aws::Utils::DateTime & GetSampleTime() const
const Aws::String & GetAddress() const
AWS_EC2_API IpamDiscoveredPublicAddress(const Aws::Utils::Xml::XmlNode &xmlNode)
IpamDiscoveredPublicAddress & WithAddress(AddressT &&value)
void SetNetworkBorderGroup(NetworkBorderGroupT &&value)
bool AddressHasBeenSet() const
bool NetworkInterfaceIdHasBeenSet() const
const Aws::String & GetNetworkInterfaceId() const
void SetInstanceId(InstanceIdT &&value)
void SetAddressAllocationId(AddressAllocationIdT &&value)
bool NetworkBorderGroupHasBeenSet() const
IpamPublicAddressAssociationStatus GetAssociationStatus() const
const Aws::String & GetAddressOwnerId() const
AWS_EC2_API void OutputToStream(Aws::OStream &oStream, const char *location) const
bool IpamResourceDiscoveryIdHasBeenSet() const
const Aws::String & GetAddressAllocationId() const
IpamDiscoveredPublicAddress & WithSampleTime(SampleTimeT &&value)
void SetPublicIpv4PoolId(PublicIpv4PoolIdT &&value)
bool AddressAllocationIdHasBeenSet() const
IpamDiscoveredPublicAddress & WithServiceResource(ServiceResourceT &&value)
void SetTags(TagsT &&value)
const Aws::String & GetSubnetId() const
void SetAddress(AddressT &&value)
IpamDiscoveredPublicAddress & WithSubnetId(SubnetIdT &&value)
IpamDiscoveredPublicAddress & WithPublicIpv4PoolId(PublicIpv4PoolIdT &&value)
IpamDiscoveredPublicAddress & WithAssociationStatus(IpamPublicAddressAssociationStatus value)
const Aws::String & GetPublicIpv4PoolId() const
const Aws::String & GetServiceResource() const
void SetSampleTime(SampleTimeT &&value)
const Aws::String & GetNetworkInterfaceDescription() const
IpamDiscoveredPublicAddress & WithAddressAllocationId(AddressAllocationIdT &&value)
bool VpcIdHasBeenSet() const
void SetVpcId(VpcIdT &&value)
const Aws::Vector< IpamPublicAddressSecurityGroup > & GetSecurityGroups() const
bool PublicIpv4PoolIdHasBeenSet() const
void SetAssociationStatus(IpamPublicAddressAssociationStatus value)
bool InstanceIdHasBeenSet() const
void SetIpamResourceDiscoveryId(IpamResourceDiscoveryIdT &&value)
void SetNetworkInterfaceDescription(NetworkInterfaceDescriptionT &&value)
bool NetworkInterfaceDescriptionHasBeenSet() const
IpamDiscoveredPublicAddress & WithIpamResourceDiscoveryId(IpamResourceDiscoveryIdT &&value)
IpamPublicAddressType GetAddressType() const
IpamDiscoveredPublicAddress & WithAddressOwnerId(AddressOwnerIdT &&value)
void SetSubnetId(SubnetIdT &&value)
bool ServiceResourceHasBeenSet() const
const Aws::String & GetNetworkBorderGroup() const
IpamDiscoveredPublicAddress & AddSecurityGroups(SecurityGroupsT &&value)
bool SampleTimeHasBeenSet() const
bool SubnetIdHasBeenSet() const
bool AddressOwnerIdHasBeenSet() const
const Aws::String & GetVpcId() const
AWS_EC2_API void OutputToStream(Aws::OStream &ostream, const char *location, unsigned index, const char *locationValue) const
IpamDiscoveredPublicAddress & WithAddressRegion(AddressRegionT &&value)
void SetSecurityGroups(SecurityGroupsT &&value)
bool AddressRegionHasBeenSet() const
IpamDiscoveredPublicAddress & WithAddressType(IpamPublicAddressType value)
IpamDiscoveredPublicAddress & WithNetworkInterfaceId(NetworkInterfaceIdT &&value)
void SetAddressType(IpamPublicAddressType value)
bool ServiceHasBeenSet() const
IpamDiscoveredPublicAddress & WithVpcId(VpcIdT &&value)
IpamDiscoveredPublicAddress & WithNetworkInterfaceDescription(NetworkInterfaceDescriptionT &&value)
IpamDiscoveredPublicAddress & WithNetworkBorderGroup(NetworkBorderGroupT &&value)
IpamDiscoveredPublicAddress & WithInstanceId(InstanceIdT &&value)
IpamPublicAddressAwsService GetService() const
void SetAddressRegion(AddressRegionT &&value)
AWS_EC2_API IpamDiscoveredPublicAddress()=default
AWS_EC2_API IpamDiscoveredPublicAddress & operator=(const Aws::Utils::Xml::XmlNode &xmlNode)
void SetNetworkInterfaceId(NetworkInterfaceIdT &&value)
const Aws::String & GetIpamResourceDiscoveryId() const
const Aws::String & GetAddressRegion() const
void SetServiceResource(ServiceResourceT &&value)
bool TagsHasBeenSet() const
IpamDiscoveredPublicAddress & WithTags(TagsT &&value)
void SetService(IpamPublicAddressAwsService value)
IpamPublicAddressAssociationStatus
IpamPublicAddressAwsService
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