7#include <aws/appmesh/AppMesh_EXPORTS.h>
8#include <aws/appmesh/model/PortProtocol.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;
AWS_APPMESH_API PortMapping(Aws::Utils::Json::JsonView jsonValue)
bool PortHasBeenSet() const
AWS_APPMESH_API PortMapping()=default
void SetProtocol(PortProtocol value)
AWS_APPMESH_API Aws::Utils::Json::JsonValue Jsonize() const
PortMapping & WithProtocol(PortProtocol value)
AWS_APPMESH_API PortMapping & operator=(Aws::Utils::Json::JsonView jsonValue)
PortMapping & WithPort(int value)
bool ProtocolHasBeenSet() const
PortProtocol GetProtocol() const
Aws::Utils::Json::JsonValue JsonValue