| 1 | # Generated by default/object.tt | ||
| 2 | package Paws::IoTSiteWise::VariableValue; | ||
| 3 | use Moose; | ||
| 4 | has HierarchyId => (is => 'ro', isa => 'Str', request_name => 'hierarchyId', traits => ['NameInRequest']); | ||
| 5 | has PropertyId => (is => 'ro', isa => 'Str', request_name => 'propertyId', traits => ['NameInRequest'], required => 1); | ||
| 6 | |||
| 7 | 1; | ||
| 8 | |||
| 9 | ### main pod documentation begin ### | ||
| 10 | |||
| 11 | =head1 NAME | ||
| 12 | |||
| 13 | Paws::IoTSiteWise::VariableValue | ||
| 14 | |||
| 15 | =head1 USAGE | ||
| 16 | |||
| 17 | This class represents one of two things: | ||
| 18 | |||
| 19 | =head3 Arguments in a call to a service | ||
| 20 | |||
| 21 | Use the attributes of this class as arguments to methods. You shouldn't make instances of this class. | ||
| 22 | Each attribute should be used as a named argument in the calls that expect this type of object. | ||
| 23 | |||
| 24 | As an example, if Att1 is expected to be a Paws::IoTSiteWise::VariableValue object: | ||
| 25 | |||
| 26 | $service_obj->Method(Att1 => { HierarchyId => $value, ..., PropertyId => $value }); | ||
| 27 | |||
| 28 | =head3 Results returned from an API call | ||
| 29 | |||
| 30 | Use accessors for each attribute. If Att1 is expected to be an Paws::IoTSiteWise::VariableValue object: | ||
| 31 | |||
| 32 | $result = $service_obj->Method(...); | ||
| 33 | $result->Att1->HierarchyId | ||
| 34 | |||
| 35 | =head1 DESCRIPTION | ||
| 36 | |||
| 37 | Identifies a property value used in an expression. | ||
| 38 | |||
| 39 | =head1 ATTRIBUTES | ||
| 40 | |||
| 41 | |||
| 42 | =head2 HierarchyId => Str | ||
| 43 | |||
| 44 | The ID of the hierarchy to query for the property ID. You can use the | ||
| 45 | hierarchy's name instead of the hierarchy's ID. | ||
| 46 | |||
| 47 | You use a hierarchy ID instead of a model ID because you can have | ||
| 48 | several hierarchies using the same model and therefore the same | ||
| 49 | C<propertyId>. For example, you might have separately grouped assets | ||
| 50 | that come from the same asset model. For more information, see Asset | ||
| 51 | hierarchies | ||
| 52 | (https://docs.aws.amazon.com/iot-sitewise/latest/userguide/asset-hierarchies.html) | ||
| 53 | in the I<AWS IoT SiteWise User Guide>. | ||
| 54 | |||
| 55 | |||
| 56 | =head2 B<REQUIRED> PropertyId => Str | ||
| 57 | |||
| 58 | The ID of the property to use as the variable. You can use the property | ||
| 59 | C<name> if it's from the same asset model. | ||
| 60 | |||
| 61 | |||
| 62 | |||
| 63 | =head1 SEE ALSO | ||
| 64 | |||
| 65 | This class forms part of L<Paws>, describing an object used in L<Paws::IoTSiteWise> | ||
| 66 | |||
| 67 | =head1 BUGS and CONTRIBUTIONS | ||
| 68 | |||
| 69 | The source code is located here: L<https://github.com/pplu/aws-sdk-perl> | ||
| 70 | |||
| 71 | Please report bugs to: L<https://github.com/pplu/aws-sdk-perl/issues> | ||
| 72 | |||
| 73 | =cut | ||
| 74 |