From Code to Community: Sponsoring The Perl and Raku Conference 2025 Learn more

# Generated by default/object.tt
use Moose;
has GroupName => (is => 'ro', isa => 'Str', required => 1);
has ResourceQuery => (is => 'ro', isa => 'Paws::ResourceGroups::ResourceQuery', required => 1);
1;
### main pod documentation begin ###
=head1 NAME
Paws::ResourceGroups::GroupQuery
=head1 USAGE
This class represents one of two things:
=head3 Arguments in a call to a service
Use the attributes of this class as arguments to methods. You shouldn't make instances of this class.
Each attribute should be used as a named argument in the calls that expect this type of object.
As an example, if Att1 is expected to be a Paws::ResourceGroups::GroupQuery object:
$service_obj->Method(Att1 => { GroupName => $value, ..., ResourceQuery => $value });
=head3 Results returned from an API call
Use accessors for each attribute. If Att1 is expected to be an Paws::ResourceGroups::GroupQuery object:
$result = $service_obj->Method(...);
$result->Att1->GroupName
=head1 DESCRIPTION
A mapping of a query attached to a resource group that determines the
AWS resources that are members of the group.
=head1 ATTRIBUTES
=head2 B<REQUIRED> GroupName => Str
The name of the resource group that is associated with the specified
resource query.
=head2 B<REQUIRED> ResourceQuery => L<Paws::ResourceGroups::ResourceQuery>
The resource query that determines which AWS resources are members of
the associated resource group.
=head1 SEE ALSO
This class forms part of L<Paws>, describing an object used in L<Paws::ResourceGroups>
=head1 BUGS and CONTRIBUTIONS
The source code is located here: L<https://github.com/pplu/aws-sdk-perl>
=cut