/**
* Copyright Amazon.com, Inc. or its affiliates. All Rights Reserved.
* SPDX-License-Identifier: Apache-2.0.
*/
#pragma once
#include An object representing the TCP route to match.See Also:
AWS
* API Reference
The port number to match on.
*/ inline int GetPort() const{ return m_port; } /** *The port number to match on.
*/ inline bool PortHasBeenSet() const { return m_portHasBeenSet; } /** *The port number to match on.
*/ inline void SetPort(int value) { m_portHasBeenSet = true; m_port = value; } /** *The port number to match on.
*/ inline TcpRouteMatch& WithPort(int value) { SetPort(value); return *this;} private: int m_port; bool m_portHasBeenSet = false; }; } // namespace Model } // namespace AppMesh } // namespace Aws