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; }
62 bool m_portHasBeenSet =
false;
65 bool m_protocolHasBeenSet =
false;
bool ProtocolHasBeenSet() const
bool PortHasBeenSet() const
AWS_APPMESH_API VirtualGatewayPortMapping()=default
void SetProtocol(VirtualGatewayPortProtocol value)
AWS_APPMESH_API VirtualGatewayPortMapping(Aws::Utils::Json::JsonView jsonValue)
AWS_APPMESH_API Aws::Utils::Json::JsonValue Jsonize() const
VirtualGatewayPortMapping & WithPort(int value)
AWS_APPMESH_API VirtualGatewayPortMapping & operator=(Aws::Utils::Json::JsonView jsonValue)
VirtualGatewayPortProtocol GetProtocol() const
VirtualGatewayPortMapping & WithProtocol(VirtualGatewayPortProtocol value)
VirtualGatewayPortProtocol
Aws::Utils::Json::JsonValue JsonValue