package Amazon::SQS::Simple::Message; sub new { my ($class, $msg) = @_; return bless ($msg, $class); } sub MessageBody { my $self = shift; return $self->{MessageBody}; } sub MessageId { my $self = shift; return $self->{MessageId}; } 1; __END__ =head1 NAME Amazon::SQS::Simple::Message - OO API for representing messages from the Amazon Simple Queue Service. =head1 INTRODUCTION Don't instantiate this class directly. Objects of this class are returned by various methods in C. See L for more details. =head1 METHODS =over 2 =item B Get the message body. =item B Get the message unique identifier =back =head1 AUTHOR Copyright 2007 Simon Whitaker Eswhitaker@cpan.orgE This program is free software; you can redistribute it and/or modify it under the same terms as Perl itself. =cut