AWS SDK for C++  1.9.125
AWS SDK for C++
Public Member Functions | List of all members
Aws::MarketplaceMetering::Model::MeterUsageRequest Class Reference

#include <MeterUsageRequest.h>

+ Inheritance diagram for Aws::MarketplaceMetering::Model::MeterUsageRequest:

Public Member Functions

 MeterUsageRequest ()
 
virtual const char * GetServiceRequestName () const override
 
Aws::String SerializePayload () const override
 
Aws::Http::HeaderValueCollection GetRequestSpecificHeaders () const override
 
const Aws::StringGetProductCode () const
 
bool ProductCodeHasBeenSet () const
 
void SetProductCode (const Aws::String &value)
 
void SetProductCode (Aws::String &&value)
 
void SetProductCode (const char *value)
 
MeterUsageRequestWithProductCode (const Aws::String &value)
 
MeterUsageRequestWithProductCode (Aws::String &&value)
 
MeterUsageRequestWithProductCode (const char *value)
 
const Aws::Utils::DateTimeGetTimestamp () const
 
bool TimestampHasBeenSet () const
 
void SetTimestamp (const Aws::Utils::DateTime &value)
 
void SetTimestamp (Aws::Utils::DateTime &&value)
 
MeterUsageRequestWithTimestamp (const Aws::Utils::DateTime &value)
 
MeterUsageRequestWithTimestamp (Aws::Utils::DateTime &&value)
 
const Aws::StringGetUsageDimension () const
 
bool UsageDimensionHasBeenSet () const
 
void SetUsageDimension (const Aws::String &value)
 
void SetUsageDimension (Aws::String &&value)
 
void SetUsageDimension (const char *value)
 
MeterUsageRequestWithUsageDimension (const Aws::String &value)
 
MeterUsageRequestWithUsageDimension (Aws::String &&value)
 
MeterUsageRequestWithUsageDimension (const char *value)
 
int GetUsageQuantity () const
 
bool UsageQuantityHasBeenSet () const
 
void SetUsageQuantity (int value)
 
MeterUsageRequestWithUsageQuantity (int value)
 
bool GetDryRun () const
 
bool DryRunHasBeenSet () const
 
void SetDryRun (bool value)
 
MeterUsageRequestWithDryRun (bool value)
 
const Aws::Vector< UsageAllocation > & GetUsageAllocations () const
 
bool UsageAllocationsHasBeenSet () const
 
void SetUsageAllocations (const Aws::Vector< UsageAllocation > &value)
 
void SetUsageAllocations (Aws::Vector< UsageAllocation > &&value)
 
MeterUsageRequestWithUsageAllocations (const Aws::Vector< UsageAllocation > &value)
 
MeterUsageRequestWithUsageAllocations (Aws::Vector< UsageAllocation > &&value)
 
MeterUsageRequestAddUsageAllocations (const UsageAllocation &value)
 
MeterUsageRequestAddUsageAllocations (UsageAllocation &&value)
 
- Public Member Functions inherited from Aws::MarketplaceMetering::MarketplaceMeteringRequest
virtual ~MarketplaceMeteringRequest ()
 
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 24 of file MeterUsageRequest.h.

Constructor & Destructor Documentation

◆ MeterUsageRequest()

Aws::MarketplaceMetering::Model::MeterUsageRequest::MeterUsageRequest ( )

Member Function Documentation

◆ AddUsageAllocations() [1/2]

MeterUsageRequest& Aws::MarketplaceMetering::Model::MeterUsageRequest::AddUsageAllocations ( const UsageAllocation value)
inline

The set of UsageAllocations to submit.

The sum of all UsageAllocation quantities must equal the UsageQuantity of the MeterUsage request, and each UsageAllocation must have a unique set of tags (include no tags).

Definition at line 294 of file MeterUsageRequest.h.

◆ AddUsageAllocations() [2/2]

MeterUsageRequest& Aws::MarketplaceMetering::Model::MeterUsageRequest::AddUsageAllocations ( UsageAllocation &&  value)
inline

The set of UsageAllocations to submit.

The sum of all UsageAllocation quantities must equal the UsageQuantity of the MeterUsage request, and each UsageAllocation must have a unique set of tags (include no tags).

Definition at line 301 of file MeterUsageRequest.h.

◆ DryRunHasBeenSet()

bool Aws::MarketplaceMetering::Model::MeterUsageRequest::DryRunHasBeenSet ( ) const
inline

Checks whether you have the permissions required for the action, but does not make the request. If you have the permissions, the request returns DryRunOperation; otherwise, it returns UnauthorizedException. Defaults to false if not specified.

Definition at line 228 of file MeterUsageRequest.h.

◆ GetDryRun()

bool Aws::MarketplaceMetering::Model::MeterUsageRequest::GetDryRun ( ) const
inline

Checks whether you have the permissions required for the action, but does not make the request. If you have the permissions, the request returns DryRunOperation; otherwise, it returns UnauthorizedException. Defaults to false if not specified.

Definition at line 220 of file MeterUsageRequest.h.

◆ GetProductCode()

const Aws::String& Aws::MarketplaceMetering::Model::MeterUsageRequest::GetProductCode ( ) const
inline

Product code is used to uniquely identify a product in AWS Marketplace. The product code should be the same as the one used during the publishing of a new product.

Definition at line 45 of file MeterUsageRequest.h.

◆ GetRequestSpecificHeaders()

Aws::Http::HeaderValueCollection Aws::MarketplaceMetering::Model::MeterUsageRequest::GetRequestSpecificHeaders ( ) const
overridevirtual

◆ GetServiceRequestName()

virtual const char* Aws::MarketplaceMetering::Model::MeterUsageRequest::GetServiceRequestName ( ) const
inlineoverridevirtual

Implements Aws::AmazonWebServiceRequest.

Definition at line 33 of file MeterUsageRequest.h.

◆ GetTimestamp()

const Aws::Utils::DateTime& Aws::MarketplaceMetering::Model::MeterUsageRequest::GetTimestamp ( ) const
inline

Timestamp, in UTC, for which the usage is being reported. Your application can meter usage for up to one hour in the past. Make sure the timestamp value is not before the start of the software usage.

Definition at line 102 of file MeterUsageRequest.h.

◆ GetUsageAllocations()

const Aws::Vector<UsageAllocation>& Aws::MarketplaceMetering::Model::MeterUsageRequest::GetUsageAllocations ( ) const
inline

The set of UsageAllocations to submit.

The sum of all UsageAllocation quantities must equal the UsageQuantity of the MeterUsage request, and each UsageAllocation must have a unique set of tags (include no tags).

Definition at line 252 of file MeterUsageRequest.h.

◆ GetUsageDimension()

const Aws::String& Aws::MarketplaceMetering::Model::MeterUsageRequest::GetUsageDimension ( ) const
inline

It will be one of the fcp dimension name provided during the publishing of the product.

Definition at line 144 of file MeterUsageRequest.h.

◆ GetUsageQuantity()

int Aws::MarketplaceMetering::Model::MeterUsageRequest::GetUsageQuantity ( ) const
inline

Consumption value for the hour. Defaults to 0 if not specified.

Definition at line 193 of file MeterUsageRequest.h.

◆ ProductCodeHasBeenSet()

bool Aws::MarketplaceMetering::Model::MeterUsageRequest::ProductCodeHasBeenSet ( ) const
inline

Product code is used to uniquely identify a product in AWS Marketplace. The product code should be the same as the one used during the publishing of a new product.

Definition at line 52 of file MeterUsageRequest.h.

◆ SerializePayload()

Aws::String Aws::MarketplaceMetering::Model::MeterUsageRequest::SerializePayload ( ) const
overridevirtual

Convert payload into String.

Implements Aws::AmazonSerializableWebServiceRequest.

◆ SetDryRun()

void Aws::MarketplaceMetering::Model::MeterUsageRequest::SetDryRun ( bool  value)
inline

Checks whether you have the permissions required for the action, but does not make the request. If you have the permissions, the request returns DryRunOperation; otherwise, it returns UnauthorizedException. Defaults to false if not specified.

Definition at line 236 of file MeterUsageRequest.h.

◆ SetProductCode() [1/3]

void Aws::MarketplaceMetering::Model::MeterUsageRequest::SetProductCode ( Aws::String &&  value)
inline

Product code is used to uniquely identify a product in AWS Marketplace. The product code should be the same as the one used during the publishing of a new product.

Definition at line 66 of file MeterUsageRequest.h.

◆ SetProductCode() [2/3]

void Aws::MarketplaceMetering::Model::MeterUsageRequest::SetProductCode ( const Aws::String value)
inline

Product code is used to uniquely identify a product in AWS Marketplace. The product code should be the same as the one used during the publishing of a new product.

Definition at line 59 of file MeterUsageRequest.h.

◆ SetProductCode() [3/3]

void Aws::MarketplaceMetering::Model::MeterUsageRequest::SetProductCode ( const char *  value)
inline

Product code is used to uniquely identify a product in AWS Marketplace. The product code should be the same as the one used during the publishing of a new product.

Definition at line 73 of file MeterUsageRequest.h.

◆ SetTimestamp() [1/2]

void Aws::MarketplaceMetering::Model::MeterUsageRequest::SetTimestamp ( Aws::Utils::DateTime &&  value)
inline

Timestamp, in UTC, for which the usage is being reported. Your application can meter usage for up to one hour in the past. Make sure the timestamp value is not before the start of the software usage.

Definition at line 123 of file MeterUsageRequest.h.

◆ SetTimestamp() [2/2]

void Aws::MarketplaceMetering::Model::MeterUsageRequest::SetTimestamp ( const Aws::Utils::DateTime value)
inline

Timestamp, in UTC, for which the usage is being reported. Your application can meter usage for up to one hour in the past. Make sure the timestamp value is not before the start of the software usage.

Definition at line 116 of file MeterUsageRequest.h.

◆ SetUsageAllocations() [1/2]

void Aws::MarketplaceMetering::Model::MeterUsageRequest::SetUsageAllocations ( Aws::Vector< UsageAllocation > &&  value)
inline

The set of UsageAllocations to submit.

The sum of all UsageAllocation quantities must equal the UsageQuantity of the MeterUsage request, and each UsageAllocation must have a unique set of tags (include no tags).

Definition at line 273 of file MeterUsageRequest.h.

◆ SetUsageAllocations() [2/2]

void Aws::MarketplaceMetering::Model::MeterUsageRequest::SetUsageAllocations ( const Aws::Vector< UsageAllocation > &  value)
inline

The set of UsageAllocations to submit.

The sum of all UsageAllocation quantities must equal the UsageQuantity of the MeterUsage request, and each UsageAllocation must have a unique set of tags (include no tags).

Definition at line 266 of file MeterUsageRequest.h.

◆ SetUsageDimension() [1/3]

void Aws::MarketplaceMetering::Model::MeterUsageRequest::SetUsageDimension ( Aws::String &&  value)
inline

It will be one of the fcp dimension name provided during the publishing of the product.

Definition at line 162 of file MeterUsageRequest.h.

◆ SetUsageDimension() [2/3]

void Aws::MarketplaceMetering::Model::MeterUsageRequest::SetUsageDimension ( const Aws::String value)
inline

It will be one of the fcp dimension name provided during the publishing of the product.

Definition at line 156 of file MeterUsageRequest.h.

◆ SetUsageDimension() [3/3]

void Aws::MarketplaceMetering::Model::MeterUsageRequest::SetUsageDimension ( const char *  value)
inline

It will be one of the fcp dimension name provided during the publishing of the product.

Definition at line 168 of file MeterUsageRequest.h.

◆ SetUsageQuantity()

void Aws::MarketplaceMetering::Model::MeterUsageRequest::SetUsageQuantity ( int  value)
inline

Consumption value for the hour. Defaults to 0 if not specified.

Definition at line 205 of file MeterUsageRequest.h.

◆ TimestampHasBeenSet()

bool Aws::MarketplaceMetering::Model::MeterUsageRequest::TimestampHasBeenSet ( ) const
inline

Timestamp, in UTC, for which the usage is being reported. Your application can meter usage for up to one hour in the past. Make sure the timestamp value is not before the start of the software usage.

Definition at line 109 of file MeterUsageRequest.h.

◆ UsageAllocationsHasBeenSet()

bool Aws::MarketplaceMetering::Model::MeterUsageRequest::UsageAllocationsHasBeenSet ( ) const
inline

The set of UsageAllocations to submit.

The sum of all UsageAllocation quantities must equal the UsageQuantity of the MeterUsage request, and each UsageAllocation must have a unique set of tags (include no tags).

Definition at line 259 of file MeterUsageRequest.h.

◆ UsageDimensionHasBeenSet()

bool Aws::MarketplaceMetering::Model::MeterUsageRequest::UsageDimensionHasBeenSet ( ) const
inline

It will be one of the fcp dimension name provided during the publishing of the product.

Definition at line 150 of file MeterUsageRequest.h.

◆ UsageQuantityHasBeenSet()

bool Aws::MarketplaceMetering::Model::MeterUsageRequest::UsageQuantityHasBeenSet ( ) const
inline

Consumption value for the hour. Defaults to 0 if not specified.

Definition at line 199 of file MeterUsageRequest.h.

◆ WithDryRun()

MeterUsageRequest& Aws::MarketplaceMetering::Model::MeterUsageRequest::WithDryRun ( bool  value)
inline

Checks whether you have the permissions required for the action, but does not make the request. If you have the permissions, the request returns DryRunOperation; otherwise, it returns UnauthorizedException. Defaults to false if not specified.

Definition at line 244 of file MeterUsageRequest.h.

◆ WithProductCode() [1/3]

MeterUsageRequest& Aws::MarketplaceMetering::Model::MeterUsageRequest::WithProductCode ( Aws::String &&  value)
inline

Product code is used to uniquely identify a product in AWS Marketplace. The product code should be the same as the one used during the publishing of a new product.

Definition at line 87 of file MeterUsageRequest.h.

◆ WithProductCode() [2/3]

MeterUsageRequest& Aws::MarketplaceMetering::Model::MeterUsageRequest::WithProductCode ( const Aws::String value)
inline

Product code is used to uniquely identify a product in AWS Marketplace. The product code should be the same as the one used during the publishing of a new product.

Definition at line 80 of file MeterUsageRequest.h.

◆ WithProductCode() [3/3]

MeterUsageRequest& Aws::MarketplaceMetering::Model::MeterUsageRequest::WithProductCode ( const char *  value)
inline

Product code is used to uniquely identify a product in AWS Marketplace. The product code should be the same as the one used during the publishing of a new product.

Definition at line 94 of file MeterUsageRequest.h.

◆ WithTimestamp() [1/2]

MeterUsageRequest& Aws::MarketplaceMetering::Model::MeterUsageRequest::WithTimestamp ( Aws::Utils::DateTime &&  value)
inline

Timestamp, in UTC, for which the usage is being reported. Your application can meter usage for up to one hour in the past. Make sure the timestamp value is not before the start of the software usage.

Definition at line 137 of file MeterUsageRequest.h.

◆ WithTimestamp() [2/2]

MeterUsageRequest& Aws::MarketplaceMetering::Model::MeterUsageRequest::WithTimestamp ( const Aws::Utils::DateTime value)
inline

Timestamp, in UTC, for which the usage is being reported. Your application can meter usage for up to one hour in the past. Make sure the timestamp value is not before the start of the software usage.

Definition at line 130 of file MeterUsageRequest.h.

◆ WithUsageAllocations() [1/2]

MeterUsageRequest& Aws::MarketplaceMetering::Model::MeterUsageRequest::WithUsageAllocations ( Aws::Vector< UsageAllocation > &&  value)
inline

The set of UsageAllocations to submit.

The sum of all UsageAllocation quantities must equal the UsageQuantity of the MeterUsage request, and each UsageAllocation must have a unique set of tags (include no tags).

Definition at line 287 of file MeterUsageRequest.h.

◆ WithUsageAllocations() [2/2]

MeterUsageRequest& Aws::MarketplaceMetering::Model::MeterUsageRequest::WithUsageAllocations ( const Aws::Vector< UsageAllocation > &  value)
inline

The set of UsageAllocations to submit.

The sum of all UsageAllocation quantities must equal the UsageQuantity of the MeterUsage request, and each UsageAllocation must have a unique set of tags (include no tags).

Definition at line 280 of file MeterUsageRequest.h.

◆ WithUsageDimension() [1/3]

MeterUsageRequest& Aws::MarketplaceMetering::Model::MeterUsageRequest::WithUsageDimension ( Aws::String &&  value)
inline

It will be one of the fcp dimension name provided during the publishing of the product.

Definition at line 180 of file MeterUsageRequest.h.

◆ WithUsageDimension() [2/3]

MeterUsageRequest& Aws::MarketplaceMetering::Model::MeterUsageRequest::WithUsageDimension ( const Aws::String value)
inline

It will be one of the fcp dimension name provided during the publishing of the product.

Definition at line 174 of file MeterUsageRequest.h.

◆ WithUsageDimension() [3/3]

MeterUsageRequest& Aws::MarketplaceMetering::Model::MeterUsageRequest::WithUsageDimension ( const char *  value)
inline

It will be one of the fcp dimension name provided during the publishing of the product.

Definition at line 186 of file MeterUsageRequest.h.

◆ WithUsageQuantity()

MeterUsageRequest& Aws::MarketplaceMetering::Model::MeterUsageRequest::WithUsageQuantity ( int  value)
inline

Consumption value for the hour. Defaults to 0 if not specified.

Definition at line 211 of file MeterUsageRequest.h.


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