---
title: ListPage
url: https://www.fastly.com/documentation/reference/compute/sdks/cpp/fastly/kv_store/class.ListPage/
---

**Kind:** Class  
**Module:** [kv_store](https://www.fastly.com/documentation/reference/compute/sdks/cpp/fastly/kv_store/)  
**Package:** compute-sdk-cpp 0.7.0  
**Source:** https://github.com/fastly/compute-sdk-cpp/blob/ff911e47be2f319e83a9cde960d2c3c5db534280/include/fastly/kv_store.h#L197

Include `fastly/kv_store.h` to use this class.

## Methods

### into_keys

**Source:** https://github.com/fastly/compute-sdk-cpp/blob/ff911e47be2f319e83a9cde960d2c3c5db534280/include/fastly/kv_store.h#L206

```cpp
std::vector<std::string> fastly::kv_store::ListPage::into_keys()
```

Returns a vector of the listed keys in the current page, consuming the page.

**Returns**

`std::vector<std::string>`

### keys

**Source:** https://github.com/fastly/compute-sdk-cpp/blob/ff911e47be2f319e83a9cde960d2c3c5db534280/include/fastly/kv_store.h#L203

```cpp
std::vector<std::string> fastly::kv_store::ListPage::keys() const
```

Returns a vector of the listed keys in the current page.

**Returns**

`std::vector<std::string>`

### limit

**Source:** https://github.com/fastly/compute-sdk-cpp/blob/ff911e47be2f319e83a9cde960d2c3c5db534280/include/fastly/kv_store.h#L215

```cpp
std::uint32_t fastly::kv_store::ListPage::limit() const
```

Returns the limit used in the List operation.

**Returns**

`std::uint32_t`

### mode

**Source:** https://github.com/fastly/compute-sdk-cpp/blob/ff911e47be2f319e83a9cde960d2c3c5db534280/include/fastly/kv_store.h#L218

```cpp
ListMode fastly::kv_store::ListPage::mode() const
```

Returns the mode used in the List operation.

**Returns**

`ListMode`

### next_cursor

**Source:** https://github.com/fastly/compute-sdk-cpp/blob/ff911e47be2f319e83a9cde960d2c3c5db534280/include/fastly/kv_store.h#L209

```cpp
std::optional<std::string> fastly::kv_store::ListPage::next_cursor() const
```

Returns the next cursor of the List operation.

**Returns**

`std::optional<std::string>`

### prefix

**Source:** https://github.com/fastly/compute-sdk-cpp/blob/ff911e47be2f319e83a9cde960d2c3c5db534280/include/fastly/kv_store.h#L212

```cpp
std::optional<std::string> fastly::kv_store::ListPage::prefix() const
```

Returns the prefix used in the List operation.

**Returns**

`std::optional<std::string>`
