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

#include <GetSavingsPlansCoverageRequest.h>

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

Public Member Functions

 GetSavingsPlansCoverageRequest ()
 
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)
 
GetSavingsPlansCoverageRequestWithTimePeriod (const DateInterval &value)
 
GetSavingsPlansCoverageRequestWithTimePeriod (DateInterval &&value)
 
const Aws::Vector< GroupDefinition > & GetGroupBy () const
 
bool GroupByHasBeenSet () const
 
void SetGroupBy (const Aws::Vector< GroupDefinition > &value)
 
void SetGroupBy (Aws::Vector< GroupDefinition > &&value)
 
GetSavingsPlansCoverageRequestWithGroupBy (const Aws::Vector< GroupDefinition > &value)
 
GetSavingsPlansCoverageRequestWithGroupBy (Aws::Vector< GroupDefinition > &&value)
 
GetSavingsPlansCoverageRequestAddGroupBy (const GroupDefinition &value)
 
GetSavingsPlansCoverageRequestAddGroupBy (GroupDefinition &&value)
 
const GranularityGetGranularity () const
 
bool GranularityHasBeenSet () const
 
void SetGranularity (const Granularity &value)
 
void SetGranularity (Granularity &&value)
 
GetSavingsPlansCoverageRequestWithGranularity (const Granularity &value)
 
GetSavingsPlansCoverageRequestWithGranularity (Granularity &&value)
 
const ExpressionGetFilter () const
 
bool FilterHasBeenSet () const
 
void SetFilter (const Expression &value)
 
void SetFilter (Expression &&value)
 
GetSavingsPlansCoverageRequestWithFilter (const Expression &value)
 
GetSavingsPlansCoverageRequestWithFilter (Expression &&value)
 
const Aws::Vector< Aws::String > & GetMetrics () const
 
bool MetricsHasBeenSet () const
 
void SetMetrics (const Aws::Vector< Aws::String > &value)
 
void SetMetrics (Aws::Vector< Aws::String > &&value)
 
GetSavingsPlansCoverageRequestWithMetrics (const Aws::Vector< Aws::String > &value)
 
GetSavingsPlansCoverageRequestWithMetrics (Aws::Vector< Aws::String > &&value)
 
GetSavingsPlansCoverageRequestAddMetrics (const Aws::String &value)
 
GetSavingsPlansCoverageRequestAddMetrics (Aws::String &&value)
 
GetSavingsPlansCoverageRequestAddMetrics (const char *value)
 
const Aws::StringGetNextToken () const
 
bool NextTokenHasBeenSet () const
 
void SetNextToken (const Aws::String &value)
 
void SetNextToken (Aws::String &&value)
 
void SetNextToken (const char *value)
 
GetSavingsPlansCoverageRequestWithNextToken (const Aws::String &value)
 
GetSavingsPlansCoverageRequestWithNextToken (Aws::String &&value)
 
GetSavingsPlansCoverageRequestWithNextToken (const char *value)
 
int GetMaxResults () const
 
bool MaxResultsHasBeenSet () const
 
void SetMaxResults (int value)
 
GetSavingsPlansCoverageRequestWithMaxResults (int value)
 
const SortDefinitionGetSortBy () const
 
bool SortByHasBeenSet () const
 
void SetSortBy (const SortDefinition &value)
 
void SetSortBy (SortDefinition &&value)
 
GetSavingsPlansCoverageRequestWithSortBy (const SortDefinition &value)
 
GetSavingsPlansCoverageRequestWithSortBy (SortDefinition &&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 GetSavingsPlansCoverageRequest.h.

Constructor & Destructor Documentation

◆ GetSavingsPlansCoverageRequest()

Aws::CostExplorer::Model::GetSavingsPlansCoverageRequest::GetSavingsPlansCoverageRequest ( )

Member Function Documentation

◆ AddGroupBy() [1/2]

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

You can group the data using the attributes INSTANCE_FAMILY, REGION, or SERVICE.

Definition at line 132 of file GetSavingsPlansCoverageRequest.h.

◆ AddGroupBy() [2/2]

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

You can group the data using the attributes INSTANCE_FAMILY, REGION, or SERVICE.

Definition at line 138 of file GetSavingsPlansCoverageRequest.h.

◆ AddMetrics() [1/3]

GetSavingsPlansCoverageRequest& Aws::CostExplorer::Model::GetSavingsPlansCoverageRequest::AddMetrics ( Aws::String &&  value)
inline

The measurement that you want your Savings Plans coverage reported in. The only valid value is SpendCoveredBySavingsPlans.

Definition at line 315 of file GetSavingsPlansCoverageRequest.h.

◆ AddMetrics() [2/3]

GetSavingsPlansCoverageRequest& Aws::CostExplorer::Model::GetSavingsPlansCoverageRequest::AddMetrics ( const Aws::String value)
inline

The measurement that you want your Savings Plans coverage reported in. The only valid value is SpendCoveredBySavingsPlans.

Definition at line 309 of file GetSavingsPlansCoverageRequest.h.

◆ AddMetrics() [3/3]

GetSavingsPlansCoverageRequest& Aws::CostExplorer::Model::GetSavingsPlansCoverageRequest::AddMetrics ( const char *  value)
inline

The measurement that you want your Savings Plans coverage reported in. The only valid value is SpendCoveredBySavingsPlans.

Definition at line 321 of file GetSavingsPlansCoverageRequest.h.

◆ FilterHasBeenSet()

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

Filters Savings Plans coverage data by dimensions. You can filter data for Savings Plans usage with the following dimensions:

  • LINKED_ACCOUNT

  • REGION

  • SERVICE

  • INSTANCE_FAMILY

GetSavingsPlansCoverage uses the same Expression object as the other operations, but only AND is supported among each dimension. If there are multiple values for a dimension, they are OR'd together.

Cost category is also supported.

Definition at line 214 of file GetSavingsPlansCoverageRequest.h.

◆ GetFilter()

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

Filters Savings Plans coverage data by dimensions. You can filter data for Savings Plans usage with the following dimensions:

  • LINKED_ACCOUNT

  • REGION

  • SERVICE

  • INSTANCE_FAMILY

GetSavingsPlansCoverage uses the same Expression object as the other operations, but only AND is supported among each dimension. If there are multiple values for a dimension, they are OR'd together.

Cost category is also supported.

Definition at line 201 of file GetSavingsPlansCoverageRequest.h.

◆ GetGranularity()

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

The granularity of the Amazon Web Services cost data for your Savings Plans. Granularity can't be set if GroupBy is set.

The GetSavingsPlansCoverage operation supports only DAILY and MONTHLY granularities.

Definition at line 147 of file GetSavingsPlansCoverageRequest.h.

◆ GetGroupBy()

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

You can group the data using the attributes INSTANCE_FAMILY, REGION, or SERVICE.

Definition at line 96 of file GetSavingsPlansCoverageRequest.h.

◆ GetMaxResults()

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

The number of items to be returned in a response. The default is 20, with a minimum value of 1.

Definition at line 385 of file GetSavingsPlansCoverageRequest.h.

◆ GetMetrics()

const Aws::Vector<Aws::String>& Aws::CostExplorer::Model::GetSavingsPlansCoverageRequest::GetMetrics ( ) const
inline

The measurement that you want your Savings Plans coverage reported in. The only valid value is SpendCoveredBySavingsPlans.

Definition at line 273 of file GetSavingsPlansCoverageRequest.h.

◆ GetNextToken()

const Aws::String& Aws::CostExplorer::Model::GetSavingsPlansCoverageRequest::GetNextToken ( ) const
inline

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

Definition at line 329 of file GetSavingsPlansCoverageRequest.h.

◆ GetRequestSpecificHeaders()

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

◆ GetServiceRequestName()

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

Implements Aws::AmazonWebServiceRequest.

Definition at line 36 of file GetSavingsPlansCoverageRequest.h.

◆ GetSortBy()

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

The value by which you want to sort the data.

The following values are supported for Key:

  • SpendCoveredBySavingsPlan

  • OnDemandCost

  • CoveragePercentage

  • TotalCost

  • InstanceFamily

  • Region

  • Service

Supported values for SortOrder are ASCENDING or DESCENDING.

Definition at line 417 of file GetSavingsPlansCoverageRequest.h.

◆ GetTimePeriod()

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

The time period that you want the usage and costs for. The Start date must be within 13 months. The End date must be after the Start date, and before the current date. Future dates can't be used as an End date.

Definition at line 49 of file GetSavingsPlansCoverageRequest.h.

◆ GranularityHasBeenSet()

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

The granularity of the Amazon Web Services cost data for your Savings Plans. Granularity can't be set if GroupBy is set.

The GetSavingsPlansCoverage operation supports only DAILY and MONTHLY granularities.

Definition at line 155 of file GetSavingsPlansCoverageRequest.h.

◆ GroupByHasBeenSet()

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

You can group the data using the attributes INSTANCE_FAMILY, REGION, or SERVICE.

Definition at line 102 of file GetSavingsPlansCoverageRequest.h.

◆ MaxResultsHasBeenSet()

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

The number of items to be returned in a response. The default is 20, with a minimum value of 1.

Definition at line 391 of file GetSavingsPlansCoverageRequest.h.

◆ MetricsHasBeenSet()

bool Aws::CostExplorer::Model::GetSavingsPlansCoverageRequest::MetricsHasBeenSet ( ) const
inline

The measurement that you want your Savings Plans coverage reported in. The only valid value is SpendCoveredBySavingsPlans.

Definition at line 279 of file GetSavingsPlansCoverageRequest.h.

◆ NextTokenHasBeenSet()

bool Aws::CostExplorer::Model::GetSavingsPlansCoverageRequest::NextTokenHasBeenSet ( ) const
inline

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

Definition at line 336 of file GetSavingsPlansCoverageRequest.h.

◆ SerializePayload()

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

Convert payload into String.

Implements Aws::AmazonSerializableWebServiceRequest.

◆ SetFilter() [1/2]

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

Filters Savings Plans coverage data by dimensions. You can filter data for Savings Plans usage with the following dimensions:

  • LINKED_ACCOUNT

  • REGION

  • SERVICE

  • INSTANCE_FAMILY

GetSavingsPlansCoverage uses the same Expression object as the other operations, but only AND is supported among each dimension. If there are multiple values for a dimension, they are OR'd together.

Cost category is also supported.

Definition at line 227 of file GetSavingsPlansCoverageRequest.h.

◆ SetFilter() [2/2]

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

Filters Savings Plans coverage data by dimensions. You can filter data for Savings Plans usage with the following dimensions:

  • LINKED_ACCOUNT

  • REGION

  • SERVICE

  • INSTANCE_FAMILY

GetSavingsPlansCoverage uses the same Expression object as the other operations, but only AND is supported among each dimension. If there are multiple values for a dimension, they are OR'd together.

Cost category is also supported.

Definition at line 240 of file GetSavingsPlansCoverageRequest.h.

◆ SetGranularity() [1/2]

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

The granularity of the Amazon Web Services cost data for your Savings Plans. Granularity can't be set if GroupBy is set.

The GetSavingsPlansCoverage operation supports only DAILY and MONTHLY granularities.

Definition at line 163 of file GetSavingsPlansCoverageRequest.h.

◆ SetGranularity() [2/2]

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

The granularity of the Amazon Web Services cost data for your Savings Plans. Granularity can't be set if GroupBy is set.

The GetSavingsPlansCoverage operation supports only DAILY and MONTHLY granularities.

Definition at line 171 of file GetSavingsPlansCoverageRequest.h.

◆ SetGroupBy() [1/2]

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

You can group the data using the attributes INSTANCE_FAMILY, REGION, or SERVICE.

Definition at line 114 of file GetSavingsPlansCoverageRequest.h.

◆ SetGroupBy() [2/2]

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

You can group the data using the attributes INSTANCE_FAMILY, REGION, or SERVICE.

Definition at line 108 of file GetSavingsPlansCoverageRequest.h.

◆ SetMaxResults()

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

The number of items to be returned in a response. The default is 20, with a minimum value of 1.

Definition at line 397 of file GetSavingsPlansCoverageRequest.h.

◆ SetMetrics() [1/2]

void Aws::CostExplorer::Model::GetSavingsPlansCoverageRequest::SetMetrics ( Aws::Vector< Aws::String > &&  value)
inline

The measurement that you want your Savings Plans coverage reported in. The only valid value is SpendCoveredBySavingsPlans.

Definition at line 291 of file GetSavingsPlansCoverageRequest.h.

◆ SetMetrics() [2/2]

void Aws::CostExplorer::Model::GetSavingsPlansCoverageRequest::SetMetrics ( const Aws::Vector< Aws::String > &  value)
inline

The measurement that you want your Savings Plans coverage reported in. The only valid value is SpendCoveredBySavingsPlans.

Definition at line 285 of file GetSavingsPlansCoverageRequest.h.

◆ SetNextToken() [1/3]

void Aws::CostExplorer::Model::GetSavingsPlansCoverageRequest::SetNextToken ( Aws::String &&  value)
inline

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

Definition at line 350 of file GetSavingsPlansCoverageRequest.h.

◆ SetNextToken() [2/3]

void Aws::CostExplorer::Model::GetSavingsPlansCoverageRequest::SetNextToken ( const Aws::String value)
inline

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

Definition at line 343 of file GetSavingsPlansCoverageRequest.h.

◆ SetNextToken() [3/3]

void Aws::CostExplorer::Model::GetSavingsPlansCoverageRequest::SetNextToken ( const char *  value)
inline

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

Definition at line 357 of file GetSavingsPlansCoverageRequest.h.

◆ SetSortBy() [1/2]

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

The value by which you want to sort the data.

The following values are supported for Key:

  • SpendCoveredBySavingsPlan

  • OnDemandCost

  • CoveragePercentage

  • TotalCost

  • InstanceFamily

  • Region

  • Service

Supported values for SortOrder are ASCENDING or DESCENDING.

Definition at line 443 of file GetSavingsPlansCoverageRequest.h.

◆ SetSortBy() [2/2]

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

The value by which you want to sort the data.

The following values are supported for Key:

  • SpendCoveredBySavingsPlan

  • OnDemandCost

  • CoveragePercentage

  • TotalCost

  • InstanceFamily

  • Region

  • Service

Supported values for SortOrder are ASCENDING or DESCENDING.

Definition at line 456 of file GetSavingsPlansCoverageRequest.h.

◆ SetTimePeriod() [1/2]

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

The time period that you want the usage and costs for. The Start date must be within 13 months. The End date must be after the Start date, and before the current date. Future dates can't be used as an End date.

Definition at line 65 of file GetSavingsPlansCoverageRequest.h.

◆ SetTimePeriod() [2/2]

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

The time period that you want the usage and costs for. The Start date must be within 13 months. The End date must be after the Start date, and before the current date. Future dates can't be used as an End date.

Definition at line 73 of file GetSavingsPlansCoverageRequest.h.

◆ SortByHasBeenSet()

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

The value by which you want to sort the data.

The following values are supported for Key:

  • SpendCoveredBySavingsPlan

  • OnDemandCost

  • CoveragePercentage

  • TotalCost

  • InstanceFamily

  • Region

  • Service

Supported values for SortOrder are ASCENDING or DESCENDING.

Definition at line 430 of file GetSavingsPlansCoverageRequest.h.

◆ TimePeriodHasBeenSet()

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

The time period that you want the usage and costs for. The Start date must be within 13 months. The End date must be after the Start date, and before the current date. Future dates can't be used as an End date.

Definition at line 57 of file GetSavingsPlansCoverageRequest.h.

◆ WithFilter() [1/2]

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

Filters Savings Plans coverage data by dimensions. You can filter data for Savings Plans usage with the following dimensions:

  • LINKED_ACCOUNT

  • REGION

  • SERVICE

  • INSTANCE_FAMILY

GetSavingsPlansCoverage uses the same Expression object as the other operations, but only AND is supported among each dimension. If there are multiple values for a dimension, they are OR'd together.

Cost category is also supported.

Definition at line 253 of file GetSavingsPlansCoverageRequest.h.

◆ WithFilter() [2/2]

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

Filters Savings Plans coverage data by dimensions. You can filter data for Savings Plans usage with the following dimensions:

  • LINKED_ACCOUNT

  • REGION

  • SERVICE

  • INSTANCE_FAMILY

GetSavingsPlansCoverage uses the same Expression object as the other operations, but only AND is supported among each dimension. If there are multiple values for a dimension, they are OR'd together.

Cost category is also supported.

Definition at line 266 of file GetSavingsPlansCoverageRequest.h.

◆ WithGranularity() [1/2]

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

The granularity of the Amazon Web Services cost data for your Savings Plans. Granularity can't be set if GroupBy is set.

The GetSavingsPlansCoverage operation supports only DAILY and MONTHLY granularities.

Definition at line 179 of file GetSavingsPlansCoverageRequest.h.

◆ WithGranularity() [2/2]

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

The granularity of the Amazon Web Services cost data for your Savings Plans. Granularity can't be set if GroupBy is set.

The GetSavingsPlansCoverage operation supports only DAILY and MONTHLY granularities.

Definition at line 187 of file GetSavingsPlansCoverageRequest.h.

◆ WithGroupBy() [1/2]

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

You can group the data using the attributes INSTANCE_FAMILY, REGION, or SERVICE.

Definition at line 126 of file GetSavingsPlansCoverageRequest.h.

◆ WithGroupBy() [2/2]

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

You can group the data using the attributes INSTANCE_FAMILY, REGION, or SERVICE.

Definition at line 120 of file GetSavingsPlansCoverageRequest.h.

◆ WithMaxResults()

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

The number of items to be returned in a response. The default is 20, with a minimum value of 1.

Definition at line 403 of file GetSavingsPlansCoverageRequest.h.

◆ WithMetrics() [1/2]

GetSavingsPlansCoverageRequest& Aws::CostExplorer::Model::GetSavingsPlansCoverageRequest::WithMetrics ( Aws::Vector< Aws::String > &&  value)
inline

The measurement that you want your Savings Plans coverage reported in. The only valid value is SpendCoveredBySavingsPlans.

Definition at line 303 of file GetSavingsPlansCoverageRequest.h.

◆ WithMetrics() [2/2]

GetSavingsPlansCoverageRequest& Aws::CostExplorer::Model::GetSavingsPlansCoverageRequest::WithMetrics ( const Aws::Vector< Aws::String > &  value)
inline

The measurement that you want your Savings Plans coverage reported in. The only valid value is SpendCoveredBySavingsPlans.

Definition at line 297 of file GetSavingsPlansCoverageRequest.h.

◆ WithNextToken() [1/3]

GetSavingsPlansCoverageRequest& Aws::CostExplorer::Model::GetSavingsPlansCoverageRequest::WithNextToken ( Aws::String &&  value)
inline

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

Definition at line 371 of file GetSavingsPlansCoverageRequest.h.

◆ WithNextToken() [2/3]

GetSavingsPlansCoverageRequest& Aws::CostExplorer::Model::GetSavingsPlansCoverageRequest::WithNextToken ( const Aws::String value)
inline

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

Definition at line 364 of file GetSavingsPlansCoverageRequest.h.

◆ WithNextToken() [3/3]

GetSavingsPlansCoverageRequest& Aws::CostExplorer::Model::GetSavingsPlansCoverageRequest::WithNextToken ( const char *  value)
inline

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

Definition at line 378 of file GetSavingsPlansCoverageRequest.h.

◆ WithSortBy() [1/2]

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

The value by which you want to sort the data.

The following values are supported for Key:

  • SpendCoveredBySavingsPlan

  • OnDemandCost

  • CoveragePercentage

  • TotalCost

  • InstanceFamily

  • Region

  • Service

Supported values for SortOrder are ASCENDING or DESCENDING.

Definition at line 469 of file GetSavingsPlansCoverageRequest.h.

◆ WithSortBy() [2/2]

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

The value by which you want to sort the data.

The following values are supported for Key:

  • SpendCoveredBySavingsPlan

  • OnDemandCost

  • CoveragePercentage

  • TotalCost

  • InstanceFamily

  • Region

  • Service

Supported values for SortOrder are ASCENDING or DESCENDING.

Definition at line 482 of file GetSavingsPlansCoverageRequest.h.

◆ WithTimePeriod() [1/2]

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

The time period that you want the usage and costs for. The Start date must be within 13 months. The End date must be after the Start date, and before the current date. Future dates can't be used as an End date.

Definition at line 81 of file GetSavingsPlansCoverageRequest.h.

◆ WithTimePeriod() [2/2]

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

The time period that you want the usage and costs for. The Start date must be within 13 months. The End date must be after the Start date, and before the current date. Future dates can't be used as an End date.

Definition at line 89 of file GetSavingsPlansCoverageRequest.h.


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