AWS SDK for C++  1.8.182
AWS SDK for C++
Public Member Functions | List of all members
Aws::CostExplorer::Model::GetReservationUtilizationRequest Class Reference

#include <GetReservationUtilizationRequest.h>

+ Inheritance diagram for Aws::CostExplorer::Model::GetReservationUtilizationRequest:

Public Member Functions

 GetReservationUtilizationRequest ()
 
virtual const char * GetServiceRequestName () const override
 
Aws::String SerializePayload () const override
 
Aws::Http::HeaderValueCollection GetRequestSpecificHeaders () const override
 
const DateIntervalGetTimePeriod () const
 
bool TimePeriodHasBeenSet () const
 
void SetTimePeriod (const DateInterval &value)
 
void SetTimePeriod (DateInterval &&value)
 
GetReservationUtilizationRequestWithTimePeriod (const DateInterval &value)
 
GetReservationUtilizationRequestWithTimePeriod (DateInterval &&value)
 
const Aws::Vector< GroupDefinition > & GetGroupBy () const
 
bool GroupByHasBeenSet () const
 
void SetGroupBy (const Aws::Vector< GroupDefinition > &value)
 
void SetGroupBy (Aws::Vector< GroupDefinition > &&value)
 
GetReservationUtilizationRequestWithGroupBy (const Aws::Vector< GroupDefinition > &value)
 
GetReservationUtilizationRequestWithGroupBy (Aws::Vector< GroupDefinition > &&value)
 
GetReservationUtilizationRequestAddGroupBy (const GroupDefinition &value)
 
GetReservationUtilizationRequestAddGroupBy (GroupDefinition &&value)
 
const GranularityGetGranularity () const
 
bool GranularityHasBeenSet () const
 
void SetGranularity (const Granularity &value)
 
void SetGranularity (Granularity &&value)
 
GetReservationUtilizationRequestWithGranularity (const Granularity &value)
 
GetReservationUtilizationRequestWithGranularity (Granularity &&value)
 
const ExpressionGetFilter () const
 
bool FilterHasBeenSet () const
 
void SetFilter (const Expression &value)
 
void SetFilter (Expression &&value)
 
GetReservationUtilizationRequestWithFilter (const Expression &value)
 
GetReservationUtilizationRequestWithFilter (Expression &&value)
 
const SortDefinitionGetSortBy () const
 
bool SortByHasBeenSet () const
 
void SetSortBy (const SortDefinition &value)
 
void SetSortBy (SortDefinition &&value)
 
GetReservationUtilizationRequestWithSortBy (const SortDefinition &value)
 
GetReservationUtilizationRequestWithSortBy (SortDefinition &&value)
 
const Aws::StringGetNextPageToken () const
 
bool NextPageTokenHasBeenSet () const
 
void SetNextPageToken (const Aws::String &value)
 
void SetNextPageToken (Aws::String &&value)
 
void SetNextPageToken (const char *value)
 
GetReservationUtilizationRequestWithNextPageToken (const Aws::String &value)
 
GetReservationUtilizationRequestWithNextPageToken (Aws::String &&value)
 
GetReservationUtilizationRequestWithNextPageToken (const char *value)
 
int GetMaxResults () const
 
bool MaxResultsHasBeenSet () const
 
void SetMaxResults (int value)
 
GetReservationUtilizationRequestWithMaxResults (int value)
 
- Public Member Functions inherited from Aws::CostExplorer::CostExplorerRequest
virtual ~CostExplorerRequest ()
 
void AddParametersToRequest (Aws::Http::HttpRequest &httpRequest) const
 
Aws::Http::HeaderValueCollection GetHeaders () const override
 
- Public Member Functions inherited from Aws::AmazonSerializableWebServiceRequest
 AmazonSerializableWebServiceRequest ()
 
virtual ~AmazonSerializableWebServiceRequest ()
 
std::shared_ptr< Aws::IOStreamGetBody () const override
 
- Public Member Functions inherited from Aws::AmazonWebServiceRequest
 AmazonWebServiceRequest ()
 
virtual ~AmazonWebServiceRequest ()=default
 
virtual void AddQueryStringParameters (Aws::Http::URI &uri) const
 
virtual void PutToPresignedUrl (Aws::Http::URI &uri) const
 
virtual bool IsStreaming () const
 
virtual bool IsEventStreamRequest () const
 
virtual bool SignBody () const
 
virtual bool IsChunked () const
 
virtual void SetRequestSignedHandler (const RequestSignedHandler &handler)
 
virtual const RequestSignedHandlerGetRequestSignedHandler () const
 
const Aws::IOStreamFactoryGetResponseStreamFactory () const
 
void SetResponseStreamFactory (const Aws::IOStreamFactory &factory)
 
virtual void SetDataReceivedEventHandler (const Aws::Http::DataReceivedEventHandler &dataReceivedEventHandler)
 
virtual void SetDataSentEventHandler (const Aws::Http::DataSentEventHandler &dataSentEventHandler)
 
virtual void SetContinueRequestHandler (const Aws::Http::ContinueRequestHandler &continueRequestHandler)
 
virtual void SetDataReceivedEventHandler (Aws::Http::DataReceivedEventHandler &&dataReceivedEventHandler)
 
virtual void SetDataSentEventHandler (Aws::Http::DataSentEventHandler &&dataSentEventHandler)
 
virtual void SetContinueRequestHandler (Aws::Http::ContinueRequestHandler &&continueRequestHandler)
 
virtual void SetRequestRetryHandler (const RequestRetryHandler &handler)
 
virtual void SetRequestRetryHandler (RequestRetryHandler &&handler)
 
virtual const Aws::Http::DataReceivedEventHandlerGetDataReceivedEventHandler () const
 
virtual const Aws::Http::DataSentEventHandlerGetDataSentEventHandler () const
 
virtual const Aws::Http::ContinueRequestHandlerGetContinueRequestHandler () const
 
virtual const RequestRetryHandlerGetRequestRetryHandler () const
 
virtual bool ShouldComputeContentMd5 () const
 

Additional Inherited Members

- Protected Member Functions inherited from Aws::AmazonWebServiceRequest
virtual void DumpBodyToUrl (Aws::Http::URI &uri) const
 

Detailed Description

Definition at line 27 of file GetReservationUtilizationRequest.h.

Constructor & Destructor Documentation

◆ GetReservationUtilizationRequest()

Aws::CostExplorer::Model::GetReservationUtilizationRequest::GetReservationUtilizationRequest ( )

Member Function Documentation

◆ AddGroupBy() [1/2]

GetReservationUtilizationRequest& Aws::CostExplorer::Model::GetReservationUtilizationRequest::AddGroupBy ( const GroupDefinition value)
inline

Groups only by SUBSCRIPTION_ID. Metadata is included.

Definition at line 137 of file GetReservationUtilizationRequest.h.

◆ AddGroupBy() [2/2]

GetReservationUtilizationRequest& Aws::CostExplorer::Model::GetReservationUtilizationRequest::AddGroupBy ( GroupDefinition &&  value)
inline

Groups only by SUBSCRIPTION_ID. Metadata is included.

Definition at line 142 of file GetReservationUtilizationRequest.h.

◆ FilterHasBeenSet()

bool Aws::CostExplorer::Model::GetReservationUtilizationRequest::FilterHasBeenSet ( ) const
inline

Filters utilization data by dimensions. You can filter by the following dimensions:

  • AZ

  • CACHE_ENGINE

  • DEPLOYMENT_OPTION

  • INSTANCE_TYPE

  • LINKED_ACCOUNT

  • OPERATING_SYSTEM

  • PLATFORM

  • REGION

  • SERVICE

  • SCOPE

  • TENANCY

GetReservationUtilization uses the same Expression object as the other operations, but only AND is supported among each dimension, and nesting is supported up to only one level deep. If there are multiple values for a dimension, they are OR'd together.

Definition at line 240 of file GetReservationUtilizationRequest.h.

◆ GetFilter()

const Expression& Aws::CostExplorer::Model::GetReservationUtilizationRequest::GetFilter ( ) const
inline

Filters utilization data by dimensions. You can filter by the following dimensions:

  • AZ

  • CACHE_ENGINE

  • DEPLOYMENT_OPTION

  • INSTANCE_TYPE

  • LINKED_ACCOUNT

  • OPERATING_SYSTEM

  • PLATFORM

  • REGION

  • SERVICE

  • SCOPE

  • TENANCY

GetReservationUtilization uses the same Expression object as the other operations, but only AND is supported among each dimension, and nesting is supported up to only one level deep. If there are multiple values for a dimension, they are OR'd together.

Definition at line 225 of file GetReservationUtilizationRequest.h.

◆ GetGranularity()

const Granularity& Aws::CostExplorer::Model::GetReservationUtilizationRequest::GetGranularity ( ) const
inline

If GroupBy is set, Granularity can't be set. If Granularity isn't set, the response object doesn't include Granularity, either MONTHLY or DAILY. If both GroupBy and Granularity aren't set, GetReservationUtilization defaults to DAILY.

The GetReservationUtilization operation supports only DAILY and MONTHLY granularities.

Definition at line 154 of file GetReservationUtilizationRequest.h.

◆ GetGroupBy()

const Aws::Vector<GroupDefinition>& Aws::CostExplorer::Model::GetReservationUtilizationRequest::GetGroupBy ( ) const
inline

Groups only by SUBSCRIPTION_ID. Metadata is included.

Definition at line 107 of file GetReservationUtilizationRequest.h.

◆ GetMaxResults()

int Aws::CostExplorer::Model::GetReservationUtilizationRequest::GetMaxResults ( ) const
inline

The maximum number of objects that you returned for this request. If more objects are available, in the response, AWS provides a NextPageToken value that you can use in a subsequent call to get the next batch of objects.

Definition at line 498 of file GetReservationUtilizationRequest.h.

◆ GetNextPageToken()

const Aws::String& Aws::CostExplorer::Model::GetReservationUtilizationRequest::GetNextPageToken ( ) const
inline

The token to retrieve the next set of results. AWS provides the token when the response from a previous call has more results than the maximum page size.

Definition at line 441 of file GetReservationUtilizationRequest.h.

◆ GetRequestSpecificHeaders()

Aws::Http::HeaderValueCollection Aws::CostExplorer::Model::GetReservationUtilizationRequest::GetRequestSpecificHeaders ( ) const
overridevirtual

◆ GetServiceRequestName()

virtual const char* Aws::CostExplorer::Model::GetReservationUtilizationRequest::GetServiceRequestName ( ) const
inlineoverridevirtual

Implements Aws::AmazonWebServiceRequest.

Definition at line 36 of file GetReservationUtilizationRequest.h.

◆ GetSortBy()

const SortDefinition& Aws::CostExplorer::Model::GetReservationUtilizationRequest::GetSortBy ( ) const
inline

The value by which you want to sort the data.

The following values are supported for Key:

  • UtilizationPercentage

  • UtilizationPercentageInUnits

  • PurchasedHours

  • PurchasedUnits

  • TotalActualHours

  • TotalActualUnits

  • UnusedHours

  • UnusedUnits

  • OnDemandCostOfRIHoursUsed

  • NetRISavings

  • TotalPotentialRISavings

  • AmortizedUpfrontFee

  • AmortizedRecurringFee

  • TotalAmortizedFee

  • RICostForUnusedHours

  • RealizedSavings

  • UnrealizedSavings

Supported values for SortOrder are ASCENDING or DESCENDING.

Definition at line 323 of file GetReservationUtilizationRequest.h.

◆ GetTimePeriod()

const DateInterval& Aws::CostExplorer::Model::GetReservationUtilizationRequest::GetTimePeriod ( ) const
inline

Sets the start and end dates for retrieving RI utilization. The start date is inclusive, but the end date is exclusive. For example, if start is 2017-01-01 and end is 2017-05-01, then the cost and usage data is retrieved from 2017-01-01 up to and including 2017-04-30 but not including 2017-05-01.

Definition at line 51 of file GetReservationUtilizationRequest.h.

◆ GranularityHasBeenSet()

bool Aws::CostExplorer::Model::GetReservationUtilizationRequest::GranularityHasBeenSet ( ) const
inline

If GroupBy is set, Granularity can't be set. If Granularity isn't set, the response object doesn't include Granularity, either MONTHLY or DAILY. If both GroupBy and Granularity aren't set, GetReservationUtilization defaults to DAILY.

The GetReservationUtilization operation supports only DAILY and MONTHLY granularities.

Definition at line 165 of file GetReservationUtilizationRequest.h.

◆ GroupByHasBeenSet()

bool Aws::CostExplorer::Model::GetReservationUtilizationRequest::GroupByHasBeenSet ( ) const
inline

Groups only by SUBSCRIPTION_ID. Metadata is included.

Definition at line 112 of file GetReservationUtilizationRequest.h.

◆ MaxResultsHasBeenSet()

bool Aws::CostExplorer::Model::GetReservationUtilizationRequest::MaxResultsHasBeenSet ( ) const
inline

The maximum number of objects that you returned for this request. If more objects are available, in the response, AWS provides a NextPageToken value that you can use in a subsequent call to get the next batch of objects.

Definition at line 505 of file GetReservationUtilizationRequest.h.

◆ NextPageTokenHasBeenSet()

bool Aws::CostExplorer::Model::GetReservationUtilizationRequest::NextPageTokenHasBeenSet ( ) const
inline

The token to retrieve the next set of results. AWS provides the token when the response from a previous call has more results than the maximum page size.

Definition at line 448 of file GetReservationUtilizationRequest.h.

◆ SerializePayload()

Aws::String Aws::CostExplorer::Model::GetReservationUtilizationRequest::SerializePayload ( ) const
overridevirtual

Convert payload into String.

Implements Aws::AmazonSerializableWebServiceRequest.

◆ SetFilter() [1/2]

void Aws::CostExplorer::Model::GetReservationUtilizationRequest::SetFilter ( const Expression value)
inline

Filters utilization data by dimensions. You can filter by the following dimensions:

  • AZ

  • CACHE_ENGINE

  • DEPLOYMENT_OPTION

  • INSTANCE_TYPE

  • LINKED_ACCOUNT

  • OPERATING_SYSTEM

  • PLATFORM

  • REGION

  • SERVICE

  • SCOPE

  • TENANCY

GetReservationUtilization uses the same Expression object as the other operations, but only AND is supported among each dimension, and nesting is supported up to only one level deep. If there are multiple values for a dimension, they are OR'd together.

Definition at line 255 of file GetReservationUtilizationRequest.h.

◆ SetFilter() [2/2]

void Aws::CostExplorer::Model::GetReservationUtilizationRequest::SetFilter ( Expression &&  value)
inline

Filters utilization data by dimensions. You can filter by the following dimensions:

  • AZ

  • CACHE_ENGINE

  • DEPLOYMENT_OPTION

  • INSTANCE_TYPE

  • LINKED_ACCOUNT

  • OPERATING_SYSTEM

  • PLATFORM

  • REGION

  • SERVICE

  • SCOPE

  • TENANCY

GetReservationUtilization uses the same Expression object as the other operations, but only AND is supported among each dimension, and nesting is supported up to only one level deep. If there are multiple values for a dimension, they are OR'd together.

Definition at line 270 of file GetReservationUtilizationRequest.h.

◆ SetGranularity() [1/2]

void Aws::CostExplorer::Model::GetReservationUtilizationRequest::SetGranularity ( const Granularity value)
inline

If GroupBy is set, Granularity can't be set. If Granularity isn't set, the response object doesn't include Granularity, either MONTHLY or DAILY. If both GroupBy and Granularity aren't set, GetReservationUtilization defaults to DAILY.

The GetReservationUtilization operation supports only DAILY and MONTHLY granularities.

Definition at line 176 of file GetReservationUtilizationRequest.h.

◆ SetGranularity() [2/2]

void Aws::CostExplorer::Model::GetReservationUtilizationRequest::SetGranularity ( Granularity &&  value)
inline

If GroupBy is set, Granularity can't be set. If Granularity isn't set, the response object doesn't include Granularity, either MONTHLY or DAILY. If both GroupBy and Granularity aren't set, GetReservationUtilization defaults to DAILY.

The GetReservationUtilization operation supports only DAILY and MONTHLY granularities.

Definition at line 187 of file GetReservationUtilizationRequest.h.

◆ SetGroupBy() [1/2]

void Aws::CostExplorer::Model::GetReservationUtilizationRequest::SetGroupBy ( Aws::Vector< GroupDefinition > &&  value)
inline

Groups only by SUBSCRIPTION_ID. Metadata is included.

Definition at line 122 of file GetReservationUtilizationRequest.h.

◆ SetGroupBy() [2/2]

void Aws::CostExplorer::Model::GetReservationUtilizationRequest::SetGroupBy ( const Aws::Vector< GroupDefinition > &  value)
inline

Groups only by SUBSCRIPTION_ID. Metadata is included.

Definition at line 117 of file GetReservationUtilizationRequest.h.

◆ SetMaxResults()

void Aws::CostExplorer::Model::GetReservationUtilizationRequest::SetMaxResults ( int  value)
inline

The maximum number of objects that you returned for this request. If more objects are available, in the response, AWS provides a NextPageToken value that you can use in a subsequent call to get the next batch of objects.

Definition at line 512 of file GetReservationUtilizationRequest.h.

◆ SetNextPageToken() [1/3]

void Aws::CostExplorer::Model::GetReservationUtilizationRequest::SetNextPageToken ( Aws::String &&  value)
inline

The token to retrieve the next set of results. AWS provides the token when the response from a previous call has more results than the maximum page size.

Definition at line 462 of file GetReservationUtilizationRequest.h.

◆ SetNextPageToken() [2/3]

void Aws::CostExplorer::Model::GetReservationUtilizationRequest::SetNextPageToken ( const Aws::String value)
inline

The token to retrieve the next set of results. AWS provides the token when the response from a previous call has more results than the maximum page size.

Definition at line 455 of file GetReservationUtilizationRequest.h.

◆ SetNextPageToken() [3/3]

void Aws::CostExplorer::Model::GetReservationUtilizationRequest::SetNextPageToken ( const char *  value)
inline

The token to retrieve the next set of results. AWS provides the token when the response from a previous call has more results than the maximum page size.

Definition at line 469 of file GetReservationUtilizationRequest.h.

◆ SetSortBy() [1/2]

void Aws::CostExplorer::Model::GetReservationUtilizationRequest::SetSortBy ( const SortDefinition value)
inline

The value by which you want to sort the data.

The following values are supported for Key:

  • UtilizationPercentage

  • UtilizationPercentageInUnits

  • PurchasedHours

  • PurchasedUnits

  • TotalActualHours

  • TotalActualUnits

  • UnusedHours

  • UnusedUnits

  • OnDemandCostOfRIHoursUsed

  • NetRISavings

  • TotalPotentialRISavings

  • AmortizedUpfrontFee

  • AmortizedRecurringFee

  • TotalAmortizedFee

  • RICostForUnusedHours

  • RealizedSavings

  • UnrealizedSavings

Supported values for SortOrder are ASCENDING or DESCENDING.

Definition at line 367 of file GetReservationUtilizationRequest.h.

◆ SetSortBy() [2/2]

void Aws::CostExplorer::Model::GetReservationUtilizationRequest::SetSortBy ( SortDefinition &&  value)
inline

The value by which you want to sort the data.

The following values are supported for Key:

  • UtilizationPercentage

  • UtilizationPercentageInUnits

  • PurchasedHours

  • PurchasedUnits

  • TotalActualHours

  • TotalActualUnits

  • UnusedHours

  • UnusedUnits

  • OnDemandCostOfRIHoursUsed

  • NetRISavings

  • TotalPotentialRISavings

  • AmortizedUpfrontFee

  • AmortizedRecurringFee

  • TotalAmortizedFee

  • RICostForUnusedHours

  • RealizedSavings

  • UnrealizedSavings

Supported values for SortOrder are ASCENDING or DESCENDING.

Definition at line 389 of file GetReservationUtilizationRequest.h.

◆ SetTimePeriod() [1/2]

void Aws::CostExplorer::Model::GetReservationUtilizationRequest::SetTimePeriod ( const DateInterval value)
inline

Sets the start and end dates for retrieving RI utilization. The start date is inclusive, but the end date is exclusive. For example, if start is 2017-01-01 and end is 2017-05-01, then the cost and usage data is retrieved from 2017-01-01 up to and including 2017-04-30 but not including 2017-05-01.

Definition at line 71 of file GetReservationUtilizationRequest.h.

◆ SetTimePeriod() [2/2]

void Aws::CostExplorer::Model::GetReservationUtilizationRequest::SetTimePeriod ( DateInterval &&  value)
inline

Sets the start and end dates for retrieving RI utilization. The start date is inclusive, but the end date is exclusive. For example, if start is 2017-01-01 and end is 2017-05-01, then the cost and usage data is retrieved from 2017-01-01 up to and including 2017-04-30 but not including 2017-05-01.

Definition at line 81 of file GetReservationUtilizationRequest.h.

◆ SortByHasBeenSet()

bool Aws::CostExplorer::Model::GetReservationUtilizationRequest::SortByHasBeenSet ( ) const
inline

The value by which you want to sort the data.

The following values are supported for Key:

  • UtilizationPercentage

  • UtilizationPercentageInUnits

  • PurchasedHours

  • PurchasedUnits

  • TotalActualHours

  • TotalActualUnits

  • UnusedHours

  • UnusedUnits

  • OnDemandCostOfRIHoursUsed

  • NetRISavings

  • TotalPotentialRISavings

  • AmortizedUpfrontFee

  • AmortizedRecurringFee

  • TotalAmortizedFee

  • RICostForUnusedHours

  • RealizedSavings

  • UnrealizedSavings

Supported values for SortOrder are ASCENDING or DESCENDING.

Definition at line 345 of file GetReservationUtilizationRequest.h.

◆ TimePeriodHasBeenSet()

bool Aws::CostExplorer::Model::GetReservationUtilizationRequest::TimePeriodHasBeenSet ( ) const
inline

Sets the start and end dates for retrieving RI utilization. The start date is inclusive, but the end date is exclusive. For example, if start is 2017-01-01 and end is 2017-05-01, then the cost and usage data is retrieved from 2017-01-01 up to and including 2017-04-30 but not including 2017-05-01.

Definition at line 61 of file GetReservationUtilizationRequest.h.

◆ WithFilter() [1/2]

GetReservationUtilizationRequest& Aws::CostExplorer::Model::GetReservationUtilizationRequest::WithFilter ( const Expression value)
inline

Filters utilization data by dimensions. You can filter by the following dimensions:

  • AZ

  • CACHE_ENGINE

  • DEPLOYMENT_OPTION

  • INSTANCE_TYPE

  • LINKED_ACCOUNT

  • OPERATING_SYSTEM

  • PLATFORM

  • REGION

  • SERVICE

  • SCOPE

  • TENANCY

GetReservationUtilization uses the same Expression object as the other operations, but only AND is supported among each dimension, and nesting is supported up to only one level deep. If there are multiple values for a dimension, they are OR'd together.

Definition at line 285 of file GetReservationUtilizationRequest.h.

◆ WithFilter() [2/2]

GetReservationUtilizationRequest& Aws::CostExplorer::Model::GetReservationUtilizationRequest::WithFilter ( Expression &&  value)
inline

Filters utilization data by dimensions. You can filter by the following dimensions:

  • AZ

  • CACHE_ENGINE

  • DEPLOYMENT_OPTION

  • INSTANCE_TYPE

  • LINKED_ACCOUNT

  • OPERATING_SYSTEM

  • PLATFORM

  • REGION

  • SERVICE

  • SCOPE

  • TENANCY

GetReservationUtilization uses the same Expression object as the other operations, but only AND is supported among each dimension, and nesting is supported up to only one level deep. If there are multiple values for a dimension, they are OR'd together.

Definition at line 300 of file GetReservationUtilizationRequest.h.

◆ WithGranularity() [1/2]

GetReservationUtilizationRequest& Aws::CostExplorer::Model::GetReservationUtilizationRequest::WithGranularity ( const Granularity value)
inline

If GroupBy is set, Granularity can't be set. If Granularity isn't set, the response object doesn't include Granularity, either MONTHLY or DAILY. If both GroupBy and Granularity aren't set, GetReservationUtilization defaults to DAILY.

The GetReservationUtilization operation supports only DAILY and MONTHLY granularities.

Definition at line 198 of file GetReservationUtilizationRequest.h.

◆ WithGranularity() [2/2]

GetReservationUtilizationRequest& Aws::CostExplorer::Model::GetReservationUtilizationRequest::WithGranularity ( Granularity &&  value)
inline

If GroupBy is set, Granularity can't be set. If Granularity isn't set, the response object doesn't include Granularity, either MONTHLY or DAILY. If both GroupBy and Granularity aren't set, GetReservationUtilization defaults to DAILY.

The GetReservationUtilization operation supports only DAILY and MONTHLY granularities.

Definition at line 209 of file GetReservationUtilizationRequest.h.

◆ WithGroupBy() [1/2]

GetReservationUtilizationRequest& Aws::CostExplorer::Model::GetReservationUtilizationRequest::WithGroupBy ( Aws::Vector< GroupDefinition > &&  value)
inline

Groups only by SUBSCRIPTION_ID. Metadata is included.

Definition at line 132 of file GetReservationUtilizationRequest.h.

◆ WithGroupBy() [2/2]

GetReservationUtilizationRequest& Aws::CostExplorer::Model::GetReservationUtilizationRequest::WithGroupBy ( const Aws::Vector< GroupDefinition > &  value)
inline

Groups only by SUBSCRIPTION_ID. Metadata is included.

Definition at line 127 of file GetReservationUtilizationRequest.h.

◆ WithMaxResults()

GetReservationUtilizationRequest& Aws::CostExplorer::Model::GetReservationUtilizationRequest::WithMaxResults ( int  value)
inline

The maximum number of objects that you returned for this request. If more objects are available, in the response, AWS provides a NextPageToken value that you can use in a subsequent call to get the next batch of objects.

Definition at line 519 of file GetReservationUtilizationRequest.h.

◆ WithNextPageToken() [1/3]

GetReservationUtilizationRequest& Aws::CostExplorer::Model::GetReservationUtilizationRequest::WithNextPageToken ( Aws::String &&  value)
inline

The token to retrieve the next set of results. AWS provides the token when the response from a previous call has more results than the maximum page size.

Definition at line 483 of file GetReservationUtilizationRequest.h.

◆ WithNextPageToken() [2/3]

GetReservationUtilizationRequest& Aws::CostExplorer::Model::GetReservationUtilizationRequest::WithNextPageToken ( const Aws::String value)
inline

The token to retrieve the next set of results. AWS provides the token when the response from a previous call has more results than the maximum page size.

Definition at line 476 of file GetReservationUtilizationRequest.h.

◆ WithNextPageToken() [3/3]

GetReservationUtilizationRequest& Aws::CostExplorer::Model::GetReservationUtilizationRequest::WithNextPageToken ( const char *  value)
inline

The token to retrieve the next set of results. AWS provides the token when the response from a previous call has more results than the maximum page size.

Definition at line 490 of file GetReservationUtilizationRequest.h.

◆ WithSortBy() [1/2]

GetReservationUtilizationRequest& Aws::CostExplorer::Model::GetReservationUtilizationRequest::WithSortBy ( const SortDefinition value)
inline

The value by which you want to sort the data.

The following values are supported for Key:

  • UtilizationPercentage

  • UtilizationPercentageInUnits

  • PurchasedHours

  • PurchasedUnits

  • TotalActualHours

  • TotalActualUnits

  • UnusedHours

  • UnusedUnits

  • OnDemandCostOfRIHoursUsed

  • NetRISavings

  • TotalPotentialRISavings

  • AmortizedUpfrontFee

  • AmortizedRecurringFee

  • TotalAmortizedFee

  • RICostForUnusedHours

  • RealizedSavings

  • UnrealizedSavings

Supported values for SortOrder are ASCENDING or DESCENDING.

Definition at line 411 of file GetReservationUtilizationRequest.h.

◆ WithSortBy() [2/2]

GetReservationUtilizationRequest& Aws::CostExplorer::Model::GetReservationUtilizationRequest::WithSortBy ( SortDefinition &&  value)
inline

The value by which you want to sort the data.

The following values are supported for Key:

  • UtilizationPercentage

  • UtilizationPercentageInUnits

  • PurchasedHours

  • PurchasedUnits

  • TotalActualHours

  • TotalActualUnits

  • UnusedHours

  • UnusedUnits

  • OnDemandCostOfRIHoursUsed

  • NetRISavings

  • TotalPotentialRISavings

  • AmortizedUpfrontFee

  • AmortizedRecurringFee

  • TotalAmortizedFee

  • RICostForUnusedHours

  • RealizedSavings

  • UnrealizedSavings

Supported values for SortOrder are ASCENDING or DESCENDING.

Definition at line 433 of file GetReservationUtilizationRequest.h.

◆ WithTimePeriod() [1/2]

GetReservationUtilizationRequest& Aws::CostExplorer::Model::GetReservationUtilizationRequest::WithTimePeriod ( const DateInterval value)
inline

Sets the start and end dates for retrieving RI utilization. The start date is inclusive, but the end date is exclusive. For example, if start is 2017-01-01 and end is 2017-05-01, then the cost and usage data is retrieved from 2017-01-01 up to and including 2017-04-30 but not including 2017-05-01.

Definition at line 91 of file GetReservationUtilizationRequest.h.

◆ WithTimePeriod() [2/2]

GetReservationUtilizationRequest& Aws::CostExplorer::Model::GetReservationUtilizationRequest::WithTimePeriod ( DateInterval &&  value)
inline

Sets the start and end dates for retrieving RI utilization. The start date is inclusive, but the end date is exclusive. For example, if start is 2017-01-01 and end is 2017-05-01, then the cost and usage data is retrieved from 2017-01-01 up to and including 2017-04-30 but not including 2017-05-01.

Definition at line 101 of file GetReservationUtilizationRequest.h.


The documentation for this class was generated from the following file: