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

#include <BatchMeterUsageRequest.h>

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

Public Member Functions

 BatchMeterUsageRequest ()
 
virtual const char * GetServiceRequestName () const override
 
Aws::String SerializePayload () const override
 
Aws::Http::HeaderValueCollection GetRequestSpecificHeaders () const override
 
const Aws::Vector< UsageRecord > & GetUsageRecords () const
 
bool UsageRecordsHasBeenSet () const
 
void SetUsageRecords (const Aws::Vector< UsageRecord > &value)
 
void SetUsageRecords (Aws::Vector< UsageRecord > &&value)
 
BatchMeterUsageRequestWithUsageRecords (const Aws::Vector< UsageRecord > &value)
 
BatchMeterUsageRequestWithUsageRecords (Aws::Vector< UsageRecord > &&value)
 
BatchMeterUsageRequestAddUsageRecords (const UsageRecord &value)
 
BatchMeterUsageRequestAddUsageRecords (UsageRecord &&value)
 
const Aws::StringGetProductCode () const
 
bool ProductCodeHasBeenSet () const
 
void SetProductCode (const Aws::String &value)
 
void SetProductCode (Aws::String &&value)
 
void SetProductCode (const char *value)
 
BatchMeterUsageRequestWithProductCode (const Aws::String &value)
 
BatchMeterUsageRequestWithProductCode (Aws::String &&value)
 
BatchMeterUsageRequestWithProductCode (const char *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

A BatchMeterUsageRequest contains UsageRecords, which indicate quantities of usage within your application.

See Also:

AWS API Reference

Definition at line 27 of file BatchMeterUsageRequest.h.

Constructor & Destructor Documentation

◆ BatchMeterUsageRequest()

Aws::MarketplaceMetering::Model::BatchMeterUsageRequest::BatchMeterUsageRequest ( )

Member Function Documentation

◆ AddUsageRecords() [1/2]

BatchMeterUsageRequest& Aws::MarketplaceMetering::Model::BatchMeterUsageRequest::AddUsageRecords ( const UsageRecord value)
inline

The set of UsageRecords to submit. BatchMeterUsage accepts up to 25 UsageRecords at a time.

Definition at line 83 of file BatchMeterUsageRequest.h.

◆ AddUsageRecords() [2/2]

BatchMeterUsageRequest& Aws::MarketplaceMetering::Model::BatchMeterUsageRequest::AddUsageRecords ( UsageRecord &&  value)
inline

The set of UsageRecords to submit. BatchMeterUsage accepts up to 25 UsageRecords at a time.

Definition at line 89 of file BatchMeterUsageRequest.h.

◆ GetProductCode()

const Aws::String& Aws::MarketplaceMetering::Model::BatchMeterUsageRequest::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 97 of file BatchMeterUsageRequest.h.

◆ GetRequestSpecificHeaders()

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

◆ GetServiceRequestName()

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

Implements Aws::AmazonWebServiceRequest.

Definition at line 36 of file BatchMeterUsageRequest.h.

◆ GetUsageRecords()

const Aws::Vector<UsageRecord>& Aws::MarketplaceMetering::Model::BatchMeterUsageRequest::GetUsageRecords ( ) const
inline

The set of UsageRecords to submit. BatchMeterUsage accepts up to 25 UsageRecords at a time.

Definition at line 47 of file BatchMeterUsageRequest.h.

◆ ProductCodeHasBeenSet()

bool Aws::MarketplaceMetering::Model::BatchMeterUsageRequest::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 104 of file BatchMeterUsageRequest.h.

◆ SerializePayload()

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

Convert payload into String.

Implements Aws::AmazonSerializableWebServiceRequest.

◆ SetProductCode() [1/3]

void Aws::MarketplaceMetering::Model::BatchMeterUsageRequest::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 111 of file BatchMeterUsageRequest.h.

◆ SetProductCode() [2/3]

void Aws::MarketplaceMetering::Model::BatchMeterUsageRequest::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 118 of file BatchMeterUsageRequest.h.

◆ SetProductCode() [3/3]

void Aws::MarketplaceMetering::Model::BatchMeterUsageRequest::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 125 of file BatchMeterUsageRequest.h.

◆ SetUsageRecords() [1/2]

void Aws::MarketplaceMetering::Model::BatchMeterUsageRequest::SetUsageRecords ( const Aws::Vector< UsageRecord > &  value)
inline

The set of UsageRecords to submit. BatchMeterUsage accepts up to 25 UsageRecords at a time.

Definition at line 59 of file BatchMeterUsageRequest.h.

◆ SetUsageRecords() [2/2]

void Aws::MarketplaceMetering::Model::BatchMeterUsageRequest::SetUsageRecords ( Aws::Vector< UsageRecord > &&  value)
inline

The set of UsageRecords to submit. BatchMeterUsage accepts up to 25 UsageRecords at a time.

Definition at line 65 of file BatchMeterUsageRequest.h.

◆ UsageRecordsHasBeenSet()

bool Aws::MarketplaceMetering::Model::BatchMeterUsageRequest::UsageRecordsHasBeenSet ( ) const
inline

The set of UsageRecords to submit. BatchMeterUsage accepts up to 25 UsageRecords at a time.

Definition at line 53 of file BatchMeterUsageRequest.h.

◆ WithProductCode() [1/3]

BatchMeterUsageRequest& Aws::MarketplaceMetering::Model::BatchMeterUsageRequest::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 132 of file BatchMeterUsageRequest.h.

◆ WithProductCode() [2/3]

BatchMeterUsageRequest& Aws::MarketplaceMetering::Model::BatchMeterUsageRequest::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 139 of file BatchMeterUsageRequest.h.

◆ WithProductCode() [3/3]

BatchMeterUsageRequest& Aws::MarketplaceMetering::Model::BatchMeterUsageRequest::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 146 of file BatchMeterUsageRequest.h.

◆ WithUsageRecords() [1/2]

BatchMeterUsageRequest& Aws::MarketplaceMetering::Model::BatchMeterUsageRequest::WithUsageRecords ( const Aws::Vector< UsageRecord > &  value)
inline

The set of UsageRecords to submit. BatchMeterUsage accepts up to 25 UsageRecords at a time.

Definition at line 71 of file BatchMeterUsageRequest.h.

◆ WithUsageRecords() [2/2]

BatchMeterUsageRequest& Aws::MarketplaceMetering::Model::BatchMeterUsageRequest::WithUsageRecords ( Aws::Vector< UsageRecord > &&  value)
inline

The set of UsageRecords to submit. BatchMeterUsage accepts up to 25 UsageRecords at a time.

Definition at line 77 of file BatchMeterUsageRequest.h.


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