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