/**
* Copyright Amazon.com, Inc. or its affiliates. All Rights Reserved.
* SPDX-License-Identifier: Apache-2.0.
*/
#pragma once
#include Describes an IPv4 address pool.See Also:
AWS
* API Reference
The ID of the address pool.
*/ inline const Aws::String& GetPoolId() const{ return m_poolId; } /** *The ID of the address pool.
*/ inline bool PoolIdHasBeenSet() const { return m_poolIdHasBeenSet; } /** *The ID of the address pool.
*/ inline void SetPoolId(const Aws::String& value) { m_poolIdHasBeenSet = true; m_poolId = value; } /** *The ID of the address pool.
*/ inline void SetPoolId(Aws::String&& value) { m_poolIdHasBeenSet = true; m_poolId = std::move(value); } /** *The ID of the address pool.
*/ inline void SetPoolId(const char* value) { m_poolIdHasBeenSet = true; m_poolId.assign(value); } /** *The ID of the address pool.
*/ inline PublicIpv4Pool& WithPoolId(const Aws::String& value) { SetPoolId(value); return *this;} /** *The ID of the address pool.
*/ inline PublicIpv4Pool& WithPoolId(Aws::String&& value) { SetPoolId(std::move(value)); return *this;} /** *The ID of the address pool.
*/ inline PublicIpv4Pool& WithPoolId(const char* value) { SetPoolId(value); return *this;} /** *A description of the address pool.
*/ inline const Aws::String& GetDescription() const{ return m_description; } /** *A description of the address pool.
*/ inline bool DescriptionHasBeenSet() const { return m_descriptionHasBeenSet; } /** *A description of the address pool.
*/ inline void SetDescription(const Aws::String& value) { m_descriptionHasBeenSet = true; m_description = value; } /** *A description of the address pool.
*/ inline void SetDescription(Aws::String&& value) { m_descriptionHasBeenSet = true; m_description = std::move(value); } /** *A description of the address pool.
*/ inline void SetDescription(const char* value) { m_descriptionHasBeenSet = true; m_description.assign(value); } /** *A description of the address pool.
*/ inline PublicIpv4Pool& WithDescription(const Aws::String& value) { SetDescription(value); return *this;} /** *A description of the address pool.
*/ inline PublicIpv4Pool& WithDescription(Aws::String&& value) { SetDescription(std::move(value)); return *this;} /** *A description of the address pool.
*/ inline PublicIpv4Pool& WithDescription(const char* value) { SetDescription(value); return *this;} /** *The address ranges.
*/ inline const Aws::VectorThe address ranges.
*/ inline bool PoolAddressRangesHasBeenSet() const { return m_poolAddressRangesHasBeenSet; } /** *The address ranges.
*/ inline void SetPoolAddressRanges(const Aws::VectorThe address ranges.
*/ inline void SetPoolAddressRanges(Aws::VectorThe address ranges.
*/ inline PublicIpv4Pool& WithPoolAddressRanges(const Aws::VectorThe address ranges.
*/ inline PublicIpv4Pool& WithPoolAddressRanges(Aws::VectorThe address ranges.
*/ inline PublicIpv4Pool& AddPoolAddressRanges(const PublicIpv4PoolRange& value) { m_poolAddressRangesHasBeenSet = true; m_poolAddressRanges.push_back(value); return *this; } /** *The address ranges.
*/ inline PublicIpv4Pool& AddPoolAddressRanges(PublicIpv4PoolRange&& value) { m_poolAddressRangesHasBeenSet = true; m_poolAddressRanges.push_back(std::move(value)); return *this; } /** *The total number of addresses.
*/ inline int GetTotalAddressCount() const{ return m_totalAddressCount; } /** *The total number of addresses.
*/ inline bool TotalAddressCountHasBeenSet() const { return m_totalAddressCountHasBeenSet; } /** *The total number of addresses.
*/ inline void SetTotalAddressCount(int value) { m_totalAddressCountHasBeenSet = true; m_totalAddressCount = value; } /** *The total number of addresses.
*/ inline PublicIpv4Pool& WithTotalAddressCount(int value) { SetTotalAddressCount(value); return *this;} /** *The total number of available addresses.
*/ inline int GetTotalAvailableAddressCount() const{ return m_totalAvailableAddressCount; } /** *The total number of available addresses.
*/ inline bool TotalAvailableAddressCountHasBeenSet() const { return m_totalAvailableAddressCountHasBeenSet; } /** *The total number of available addresses.
*/ inline void SetTotalAvailableAddressCount(int value) { m_totalAvailableAddressCountHasBeenSet = true; m_totalAvailableAddressCount = value; } /** *The total number of available addresses.
*/ inline PublicIpv4Pool& WithTotalAvailableAddressCount(int value) { SetTotalAvailableAddressCount(value); return *this;} /** *The name of the location from which the address pool is advertised. A network * border group is a unique set of Availability Zones or Local Zones from where * Amazon Web Services advertises public IP addresses.
*/ inline const Aws::String& GetNetworkBorderGroup() const{ return m_networkBorderGroup; } /** *The name of the location from which the address pool is advertised. A network * border group is a unique set of Availability Zones or Local Zones from where * Amazon Web Services advertises public IP addresses.
*/ inline bool NetworkBorderGroupHasBeenSet() const { return m_networkBorderGroupHasBeenSet; } /** *The name of the location from which the address pool is advertised. A network * border group is a unique set of Availability Zones or Local Zones from where * Amazon Web Services advertises public IP addresses.
*/ inline void SetNetworkBorderGroup(const Aws::String& value) { m_networkBorderGroupHasBeenSet = true; m_networkBorderGroup = value; } /** *The name of the location from which the address pool is advertised. A network * border group is a unique set of Availability Zones or Local Zones from where * Amazon Web Services advertises public IP addresses.
*/ inline void SetNetworkBorderGroup(Aws::String&& value) { m_networkBorderGroupHasBeenSet = true; m_networkBorderGroup = std::move(value); } /** *The name of the location from which the address pool is advertised. A network * border group is a unique set of Availability Zones or Local Zones from where * Amazon Web Services advertises public IP addresses.
*/ inline void SetNetworkBorderGroup(const char* value) { m_networkBorderGroupHasBeenSet = true; m_networkBorderGroup.assign(value); } /** *The name of the location from which the address pool is advertised. A network * border group is a unique set of Availability Zones or Local Zones from where * Amazon Web Services advertises public IP addresses.
*/ inline PublicIpv4Pool& WithNetworkBorderGroup(const Aws::String& value) { SetNetworkBorderGroup(value); return *this;} /** *The name of the location from which the address pool is advertised. A network * border group is a unique set of Availability Zones or Local Zones from where * Amazon Web Services advertises public IP addresses.
*/ inline PublicIpv4Pool& WithNetworkBorderGroup(Aws::String&& value) { SetNetworkBorderGroup(std::move(value)); return *this;} /** *The name of the location from which the address pool is advertised. A network * border group is a unique set of Availability Zones or Local Zones from where * Amazon Web Services advertises public IP addresses.
*/ inline PublicIpv4Pool& WithNetworkBorderGroup(const char* value) { SetNetworkBorderGroup(value); return *this;} /** *Any tags for the address pool.
*/ inline const Aws::VectorAny tags for the address pool.
*/ inline bool TagsHasBeenSet() const { return m_tagsHasBeenSet; } /** *Any tags for the address pool.
*/ inline void SetTags(const Aws::VectorAny tags for the address pool.
*/ inline void SetTags(Aws::VectorAny tags for the address pool.
*/ inline PublicIpv4Pool& WithTags(const Aws::VectorAny tags for the address pool.
*/ inline PublicIpv4Pool& WithTags(Aws::VectorAny tags for the address pool.
*/ inline PublicIpv4Pool& AddTags(const Tag& value) { m_tagsHasBeenSet = true; m_tags.push_back(value); return *this; } /** *Any tags for the address pool.
*/ inline PublicIpv4Pool& AddTags(Tag&& value) { m_tagsHasBeenSet = true; m_tags.push_back(std::move(value)); return *this; } private: Aws::String m_poolId; bool m_poolIdHasBeenSet = false; Aws::String m_description; bool m_descriptionHasBeenSet = false; Aws::Vector