7#include <aws/appmesh/AppMesh_EXPORTS.h>
8#include <aws/appmesh/model/VirtualGatewayPortProtocol.h>
44 inline int GetPort()
const{
return m_port; }
46 inline void SetPort(
int value) { m_portHasBeenSet =
true; m_port = value; }
64 bool m_portHasBeenSet =
false;
67 bool m_protocolHasBeenSet =
false;
bool ProtocolHasBeenSet() const
bool PortHasBeenSet() const
void SetProtocol(VirtualGatewayPortProtocol &&value)
const VirtualGatewayPortProtocol & GetProtocol() const
AWS_APPMESH_API VirtualGatewayPortMapping()
AWS_APPMESH_API VirtualGatewayPortMapping(Aws::Utils::Json::JsonView jsonValue)
VirtualGatewayPortMapping & WithProtocol(VirtualGatewayPortProtocol &&value)
AWS_APPMESH_API Aws::Utils::Json::JsonValue Jsonize() const
void SetProtocol(const VirtualGatewayPortProtocol &value)
VirtualGatewayPortMapping & WithPort(int value)
AWS_APPMESH_API VirtualGatewayPortMapping & operator=(Aws::Utils::Json::JsonView jsonValue)
VirtualGatewayPortMapping & WithProtocol(const VirtualGatewayPortProtocol &value)
VirtualGatewayPortProtocol
Aws::Utils::Json::JsonValue JsonValue