7#include <aws/appmesh/AppMesh_EXPORTS.h>
8#include <aws/appmesh/model/VirtualGatewayPortProtocol.h>
38 inline int GetPort()
const {
return m_port; }
41 m_portHasBeenSet =
true;
57 m_protocolHasBeenSet =
true;
69 bool m_portHasBeenSet =
false;
70 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