/**
* Copyright Amazon.com, Inc. or its affiliates. All Rights Reserved.
* SPDX-License-Identifier: Apache-2.0.
*/
#pragma once
#include Information about the destination of the next component in the network
* path.See Also:
AWS
* API Reference
The IP addresses of the destination.
*/ inline const Aws::VectorThe IP addresses of the destination.
*/ inline bool AddressHasBeenSet() const { return m_addressHasBeenSet; } /** *The IP addresses of the destination.
*/ inline void SetAddress(const Aws::VectorThe IP addresses of the destination.
*/ inline void SetAddress(Aws::VectorThe IP addresses of the destination.
*/ inline NetworkPathComponentDetails& WithAddress(const Aws::VectorThe IP addresses of the destination.
*/ inline NetworkPathComponentDetails& WithAddress(Aws::VectorThe IP addresses of the destination.
*/ inline NetworkPathComponentDetails& AddAddress(const Aws::String& value) { m_addressHasBeenSet = true; m_address.push_back(value); return *this; } /** *The IP addresses of the destination.
*/ inline NetworkPathComponentDetails& AddAddress(Aws::String&& value) { m_addressHasBeenSet = true; m_address.push_back(std::move(value)); return *this; } /** *The IP addresses of the destination.
*/ inline NetworkPathComponentDetails& AddAddress(const char* value) { m_addressHasBeenSet = true; m_address.push_back(value); return *this; } /** *A list of port ranges for the destination.
*/ inline const Aws::VectorA list of port ranges for the destination.
*/ inline bool PortRangesHasBeenSet() const { return m_portRangesHasBeenSet; } /** *A list of port ranges for the destination.
*/ inline void SetPortRanges(const Aws::VectorA list of port ranges for the destination.
*/ inline void SetPortRanges(Aws::VectorA list of port ranges for the destination.
*/ inline NetworkPathComponentDetails& WithPortRanges(const Aws::VectorA list of port ranges for the destination.
*/ inline NetworkPathComponentDetails& WithPortRanges(Aws::VectorA list of port ranges for the destination.
*/ inline NetworkPathComponentDetails& AddPortRanges(const PortRange& value) { m_portRangesHasBeenSet = true; m_portRanges.push_back(value); return *this; } /** *A list of port ranges for the destination.
*/ inline NetworkPathComponentDetails& AddPortRanges(PortRange&& value) { m_portRangesHasBeenSet = true; m_portRanges.push_back(std::move(value)); return *this; } private: Aws::Vector