# `ExAws.Location.Places.GeocodeQueryComponents`

A structured free text query allows you to search for places by the name or text
representation of specific properties of the place.

## Fields

* `:address_number` - The house number or address results should have.

* `:country` - The alpha-2 or alpha-3 character code for the country that the results will be
  present in.

* `:district` - The district or division of a city the results should be present in.

* `:locality` - The city or locality results should be present in.

* `:postal_code` - An alphanumeric string included in a postal address to facilitate mail
  sorting, such as post code, postcode, or ZIP code for which the result should possess.

* `:region` - The region or state results should be to be present in.

* `:street` - The name of the street results should be present in.

* `:sub_region` - The sub-region or county for which results should be present in.

See https://docs.aws.amazon.com/location/latest/APIReference/API_geoplaces_GeocodeQueryComponents.html

# `t`

```elixir
@type t() :: %ExAws.Location.Places.GeocodeQueryComponents{
  address_number: String.t() | nil,
  country: String.t() | nil,
  district: String.t() | nil,
  locality: String.t() | nil,
  postal_code: String.t() | nil,
  region: String.t() | nil,
  street: String.t() | nil,
  sub_region: String.t() | nil
}
```

---

*Consult [api-reference.md](api-reference.md) for complete listing*
