File Coverage

blib/lib/Paws/SDB/UpdateCondition.pm
Criterion Covered Total %
statement 3 3 100.0
branch n/a
condition n/a
subroutine 1 1 100.0
pod n/a
total 4 4 100.0


line stmt bran cond sub pod time code
1             package Paws::SDB::UpdateCondition;
2 1     1   437 use Moose;
  1         4  
  1         7  
3             has Exists => (is => 'ro', isa => 'Bool');
4             has Name => (is => 'ro', isa => 'Str');
5             has Value => (is => 'ro', isa => 'Str');
6             1;
7              
8             ### main pod documentation begin ###
9              
10             =head1 NAME
11              
12             Paws::SDB::UpdateCondition
13              
14             =head1 USAGE
15              
16             This class represents one of two things:
17              
18             =head3 Arguments in a call to a service
19              
20             Use the attributes of this class as arguments to methods. You shouldn't make instances of this class.
21             Each attribute should be used as a named argument in the calls that expect this type of object.
22              
23             As an example, if Att1 is expected to be a Paws::SDB::UpdateCondition object:
24              
25             $service_obj->Method(Att1 => { Exists => $value, ..., Value => $value });
26              
27             =head3 Results returned from an API call
28              
29             Use accessors for each attribute. If Att1 is expected to be an Paws::SDB::UpdateCondition object:
30              
31             $result = $service_obj->Method(...);
32             $result->Att1->Exists
33              
34             =head1 DESCRIPTION
35              
36             Specifies the conditions under which data should be updated. If an
37             update condition is specified for a request, the data will only be
38             updated if the condition is satisfied. For example, if an attribute
39             with a specific name and value exists, or if a specific attribute
40             doesn't exist.
41              
42             =head1 ATTRIBUTES
43              
44              
45             =head2 Exists => Bool
46              
47             A value specifying whether or not the specified attribute must exist
48             with the specified value in order for the update condition to be
49             satisfied. Specify C<true> if the attribute must exist for the update
50             condition to be satisfied. Specify C<false> if the attribute should not
51             exist in order for the update condition to be satisfied.
52              
53              
54             =head2 Name => Str
55              
56             The name of the attribute involved in the condition.
57              
58              
59             =head2 Value => Str
60              
61             The value of an attribute. This value can only be specified when the
62             C<Exists> parameter is equal to C<true>.
63              
64              
65              
66             =head1 SEE ALSO
67              
68             This class forms part of L<Paws>, describing an object used in L<Paws::SDB>
69              
70             =head1 BUGS and CONTRIBUTIONS
71              
72             The source code is located here: https://github.com/pplu/aws-sdk-perl
73              
74             Please report bugs to: https://github.com/pplu/aws-sdk-perl/issues
75              
76             =cut
77