package Paws::LexModels::GetBotVersions;
  use Moose;
  has MaxResults => (is => 'ro', isa => 'Int', traits => ['ParamInQuery'], query_name => 'maxResults');
  has Name => (is => 'ro', isa => 'Str', traits => ['ParamInURI'], uri_name => 'name', required => 1);
  has NextToken => (is => 'ro', isa => 'Str', traits => ['ParamInQuery'], query_name => 'nextToken');

  use MooseX::ClassAttribute;

  class_has _api_call => (isa => 'Str', is => 'ro', default => 'GetBotVersions');
  class_has _api_uri  => (isa => 'Str', is => 'ro', default => '/bots/{name}/versions/');
  class_has _api_method  => (isa => 'Str', is => 'ro', default => 'GET');
  class_has _returns => (isa => 'Str', is => 'ro', default => 'Paws::LexModels::GetBotVersionsResponse');
1;

### main pod documentation begin ###

=head1 NAME

Paws::LexModels::GetBotVersions - Arguments for method GetBotVersions on L<Paws::LexModels>

=head1 DESCRIPTION

This class represents the parameters used for calling the method GetBotVersions on the
L<Amazon Lex Model Building Service|Paws::LexModels> service. Use the attributes of this class
as arguments to method GetBotVersions.

You shouldn't make instances of this class. Each attribute should be used as a named argument in the call to GetBotVersions.

=head1 SYNOPSIS

    my $models.lex = Paws->service('LexModels');
    my $GetBotVersionsResponse = $models . lex->GetBotVersions(
      Name       => 'MyBotName',
      MaxResults => 1,                # OPTIONAL
      NextToken  => 'MyNextToken',    # OPTIONAL
    );

    # Results:
    my $Bots      = $GetBotVersionsResponse->Bots;
    my $NextToken = $GetBotVersionsResponse->NextToken;

    # Returns a L<Paws::LexModels::GetBotVersionsResponse> object.

Values for attributes that are native types (Int, String, Float, etc) can passed as-is (scalar values). Values for complex Types (objects) can be passed as a HashRef. The keys and values of the hashref will be used to instance the underlying object.
For the AWS API documentation, see L<https://docs.aws.amazon.com/goto/WebAPI/models.lex/GetBotVersions>

=head1 ATTRIBUTES


=head2 MaxResults => Int

The maximum number of bot versions to return in the response. The
default is 10.



=head2 B<REQUIRED> Name => Str

The name of the bot for which versions should be returned.



=head2 NextToken => Str

A pagination token for fetching the next page of bot versions. If the
response to this call is truncated, Amazon Lex returns a pagination
token in the response. To fetch the next page of versions, specify the
pagination token in the next request.




=head1 SEE ALSO

This class forms part of L<Paws>, documenting arguments for method GetBotVersions in L<Paws::LexModels>

=head1 BUGS and CONTRIBUTIONS

The source code is located here: L<https://github.com/pplu/aws-sdk-perl>

Please report bugs to: L<https://github.com/pplu/aws-sdk-perl/issues>

=cut