| 1 | |||
| 2 | package Paws::Kendra::QueryResult; | ||
| 3 | use Moose; | ||
| 4 | has FacetResults => (is => 'ro', isa => 'ArrayRef[Paws::Kendra::FacetResult]'); | ||
| 5 | has QueryId => (is => 'ro', isa => 'Str'); | ||
| 6 | has ResultItems => (is => 'ro', isa => 'ArrayRef[Paws::Kendra::QueryResultItem]'); | ||
| 7 | has TotalNumberOfResults => (is => 'ro', isa => 'Int'); | ||
| 8 | |||
| 9 | has _request_id => (is => 'ro', isa => 'Str'); | ||
| 10 | |||
| 11 | ### main pod documentation begin ### | ||
| 12 | |||
| 13 | =head1 NAME | ||
| 14 | |||
| 15 | Paws::Kendra::QueryResult | ||
| 16 | |||
| 17 | =head1 ATTRIBUTES | ||
| 18 | |||
| 19 | |||
| 20 | =head2 FacetResults => ArrayRef[L<Paws::Kendra::FacetResult>] | ||
| 21 | |||
| 22 | Contains the facet results. A C<FacetResult> contains the counts for | ||
| 23 | each attribute key that was specified in the C<Facets> input parameter. | ||
| 24 | |||
| 25 | |||
| 26 | =head2 QueryId => Str | ||
| 27 | |||
| 28 | The unique identifier for the search. You use C<QueryId> to identify | ||
| 29 | the search when using the feedback API. | ||
| 30 | |||
| 31 | |||
| 32 | =head2 ResultItems => ArrayRef[L<Paws::Kendra::QueryResultItem>] | ||
| 33 | |||
| 34 | The results of the search. | ||
| 35 | |||
| 36 | |||
| 37 | =head2 TotalNumberOfResults => Int | ||
| 38 | |||
| 39 | The total number of items found by the search; however, you can only | ||
| 40 | retrieve up to 100 items. For example, if the search found 192 items, | ||
| 41 | you can only retrieve the first 100 of the items. | ||
| 42 | |||
| 43 | |||
| 44 | =head2 _request_id => Str | ||
| 45 | |||
| 46 | |||
| 47 | =cut | ||
| 48 | |||
| 49 | 1; |