/**
* Copyright Amazon.com, Inc. or its affiliates. All Rights Reserved.
* SPDX-License-Identifier: Apache-2.0.
*/
#pragma once
#include Configuration information for port forwarding.See Also:
AWS
* API Reference
The port mappings for the configuration.
*/ inline const Aws::VectorThe port mappings for the configuration.
*/ inline bool PortMappingsHasBeenSet() const { return m_portMappingsHasBeenSet; } /** *The port mappings for the configuration.
*/ inline void SetPortMappings(const Aws::VectorThe port mappings for the configuration.
*/ inline void SetPortMappings(Aws::VectorThe port mappings for the configuration.
*/ inline PortForwardingConfig& WithPortMappings(const Aws::VectorThe port mappings for the configuration.
*/ inline PortForwardingConfig& WithPortMappings(Aws::VectorThe port mappings for the configuration.
*/ inline PortForwardingConfig& AddPortMappings(const PortMapping& value) { m_portMappingsHasBeenSet = true; m_portMappings.push_back(value); return *this; } /** *The port mappings for the configuration.
*/ inline PortForwardingConfig& AddPortMappings(PortMapping&& value) { m_portMappingsHasBeenSet = true; m_portMappings.push_back(std::move(value)); return *this; } private: Aws::Vector