# YarpRouteQueryParameterMatch

- Module: [Aspire.Hosting.Yarp](/reference/api/go/aspire.hosting.yarp.md)
- Version: `17.0.0`
- Kind: `struct`
- Source: [GitHub](https://github.com/microsoft/aspire/tree/2d325b13709752ba6d9a943635c5e2940a2530c0)

Represents a query-parameter-based route match for a YARP route.

## Definition

```go
type YarpRouteQueryParameterMatch struct {
    Name            string                  `json:"Name"`
    Values          []string                `json:"Values"`
    IsCaseSensitive bool                    `json:"IsCaseSensitive"`
    Mode            QueryParameterMatchMode `json:"Mode"`
}
```

## Fields

- `Name`: `string` -- Gets or sets the query parameter name to match.
- `Values`: `[]string` -- Gets or sets the query parameter values to match.
- `IsCaseSensitive`: `bool` -- Gets or sets a value indicating whether the query parameter comparison is case-sensitive.
- `Mode`: `QueryParameterMatchMode` -- Gets or sets the matching mode for the query parameter comparison.
