blib/lib/Paws/CostExplorer/SavingsPlansPurchaseRecommendation.pm untested

filter: Statementstmt 0.0% 0 / 10 Branchbran n/a Conditioncond n/a MC/DCmcdc n/a Subroutinesub 0.0% 0 / 1 Podpod n/a totaltotal 0.0% 0 / 11 CC 1 SCAR 6.9
CC
1
Cov
0%
BEGIN
2.0
CRAP 2.0
1 # Generated by default/object.tt
2 package Paws::CostExplorer::SavingsPlansPurchaseRecommendation;
3 use Moose;
4 has AccountScope => (is => 'ro', isa => 'Str');
5 has LookbackPeriodInDays => (is => 'ro', isa => 'Str');
6 has PaymentOption => (is => 'ro', isa => 'Str');
7 has SavingsPlansPurchaseRecommendationDetails => (is => 'ro', isa => 'ArrayRef[Paws::CostExplorer::SavingsPlansPurchaseRecommendationDetail]');
8 has SavingsPlansPurchaseRecommendationSummary => (is => 'ro', isa => 'Paws::CostExplorer::SavingsPlansPurchaseRecommendationSummary');
9 has SavingsPlansType => (is => 'ro', isa => 'Str');
10 has TermInYears => (is => 'ro', isa => 'Str');
11  
12 1;
13  
14 ### main pod documentation begin ###
15  
16 =head1 NAME
17  
18 Paws::CostExplorer::SavingsPlansPurchaseRecommendation
19  
20 =head1 USAGE
21  
22 This class represents one of two things:
23  
24 =head3 Arguments in a call to a service
25  
26 Use the attributes of this class as arguments to methods. You shouldn't make instances of this class.
27 Each attribute should be used as a named argument in the calls that expect this type of object.
28  
29 As an example, if Att1 is expected to be a Paws::CostExplorer::SavingsPlansPurchaseRecommendation object:
30  
31 $service_obj->Method(Att1 => { AccountScope => $value, ..., TermInYears => $value });
32  
33 =head3 Results returned from an API call
34  
35 Use accessors for each attribute. If Att1 is expected to be an Paws::CostExplorer::SavingsPlansPurchaseRecommendation object:
36  
37 $result = $service_obj->Method(...);
38 $result->Att1->AccountScope
39  
40 =head1 DESCRIPTION
41  
42 Contains your request parameters, Savings Plan Recommendations Summary,
43 and Details.
44  
45 =head1 ATTRIBUTES
46  
47  
48 =head2 AccountScope => Str
49  
50 The account scope that you want your recommendations for. Amazon Web
51 Services calculates recommendations including the management account
52 and member accounts if the value is set to C<PAYER>. If the value is
53 C<LINKED>, recommendations are calculated for individual member
54 accounts only.
55  
56  
57 =head2 LookbackPeriodInDays => Str
58  
59 The lookback period in days, used to generate the recommendation.
60  
61  
62 =head2 PaymentOption => Str
63  
64 The payment option used to generate the recommendation.
65  
66  
67 =head2 SavingsPlansPurchaseRecommendationDetails => ArrayRef[L<Paws::CostExplorer::SavingsPlansPurchaseRecommendationDetail>]
68  
69 Details for the Savings Plans we recommend that you purchase to cover
70 existing Savings Plans eligible workloads.
71  
72  
73 =head2 SavingsPlansPurchaseRecommendationSummary => L<Paws::CostExplorer::SavingsPlansPurchaseRecommendationSummary>
74  
75 Summary metrics for your Savings Plans Recommendations.
76  
77  
78 =head2 SavingsPlansType => Str
79  
80 The requested Savings Plans recommendation type.
81  
82  
83 =head2 TermInYears => Str
84  
85 The Savings Plans recommendation term in years, used to generate the
86 recommendation.
87  
88  
89  
90 =head1 SEE ALSO
91  
92 This class forms part of L<Paws>, describing an object used in L<Paws::CostExplorer>
93  
94 =head1 BUGS and CONTRIBUTIONS
95  
96 The source code is located here: L<https://github.com/pplu/aws-sdk-perl>
97  
98 Please report bugs to: L<https://github.com/pplu/aws-sdk-perl/issues>
99  
100 =cut
101