# inspect::NodeHealth

## Summary

| ### Constructors and Destructors ||
|---|---|
| `https://fuchsia.dev/reference/cpp/class/inspect/node-health#classinspect_1_1_node_health_1a90b6dbef95b1dd248b205aebaaf0d40c(::https://fuchsia.dev/reference/cpp/class/inspect/node#classinspect_1_1_node *parent_node)` ||
| `https://fuchsia.dev/reference/cpp/class/inspect/node-health#classinspect_1_1_node_health_1a9b23565c3bc100ae0dd01b4e989af5e4(::https://fuchsia.dev/reference/cpp/class/inspect/node#classinspect_1_1_node *parent_node, const std::function< zx_time_t()> & clock_fn)` ||
| `https://fuchsia.dev/reference/cpp/class/inspect/node-health#classinspect_1_1_node_health_1a36bfe7f1ac39a9ec51cb2416e9bbe2b8(https://fuchsia.dev/reference/cpp/class/inspect/node-health#classinspect_1_1_node_health &&)` ||
| `https://fuchsia.dev/reference/cpp/class/inspect/node-health#classinspect_1_1_node_health_1a4650116bd794230d7c77cf471d7b8276(const https://fuchsia.dev/reference/cpp/class/inspect/node-health#classinspect_1_1_node_health &)` ||

| ### Public functions ||
|---|---|
| `https://fuchsia.dev/reference/cpp/class/inspect/node-health#classinspect_1_1_node_health_1a6e1101df5812634b722bdf9c98ef32a1()` | `void` |
| `https://fuchsia.dev/reference/cpp/class/inspect/node-health#classinspect_1_1_node_health_1aefc46e224e53fea0301f525335652e22(const std::string & status, const std::string & message)` | `void` |
| `https://fuchsia.dev/reference/cpp/class/inspect/node-health#classinspect_1_1_node_health_1afee9d63713bdfacbfc2021c24b170f3e()` | `void` |
| `https://fuchsia.dev/reference/cpp/class/inspect/node-health#classinspect_1_1_node_health_1a4d8863dea1a229e6983df79bd3c181ef(const std::string & message)` | `void` |
| `https://fuchsia.dev/reference/cpp/class/inspect/node-health#classinspect_1_1_node_health_1a1e958ebaf960dcdf16f712610dba69c3(const std::string & message)` | `void` |
| `https://fuchsia.dev/reference/cpp/class/inspect/node-health#classinspect_1_1_node_health_1a632ca8d19a0761db47ea91c8cb3652a1(https://fuchsia.dev/reference/cpp/class/inspect/node-health#classinspect_1_1_node_health &&)=default` | `https://fuchsia.dev/reference/cpp/class/inspect/node-health#classinspect_1_1_node_health &` |
| `https://fuchsia.dev/reference/cpp/class/inspect/node-health#classinspect_1_1_node_health_1af96e229f0de455eaeebc582671df20a4(const https://fuchsia.dev/reference/cpp/class/inspect/node-health#classinspect_1_1_node_health &)=delete` | `https://fuchsia.dev/reference/cpp/class/inspect/node-health#classinspect_1_1_node_health &` |

## Public functions

### NodeHealth

```c++
 NodeHealth(
  ::inspect::Node *parent_node
)
```

### NodeHealth

```c++
 NodeHealth(
  ::inspect::Node *parent_node,
  const std::function< zx_time_t()> & clock_fn
)
```

### NodeHealth

```c++
 NodeHealth(
  NodeHealth &&
)=default
```

### NodeHealth

```c++
 NodeHealth(
  const NodeHealth &
)=delete
```

### Ok

```c++
void Ok()
```

### SetStatus

```c++
void SetStatus(
  const std::string & status,
  const std::string & message
)
```

### StartingUp

```c++
void StartingUp()
```

### StartingUp

```c++
void StartingUp(
  const std::string & message
)
```

### Unhealthy

```c++
void Unhealthy(
  const std::string & message
)
```

### operator=

```c++
NodeHealth & operator=(
  NodeHealth &&
)=default
```

### operator=

```c++
NodeHealth & operator=(
  const NodeHealth &
)=delete
```