MeterUsageResponse Class

(QtAws::MarketplaceMetering::MeterUsageResponse)

The MeterUsageResponse class provides an interace for MarketplaceMetering MeterUsage responses. More...

Header: #include <MeterUsageResponse>
Inherits: QtAws::MarketplaceMetering::MarketplaceMeteringResponse

Public Functions

MeterUsageResponse(const MeterUsageRequest &request, QNetworkReply * const reply, QObject * const parent = 0)

Reimplemented Public Functions

virtual const MeterUsageRequest *request() const override

Protected Slots

virtual void parseSuccess(QIODevice &response) override

Additional Inherited Members

Detailed Description

The MeterUsageResponse class provides an interace for MarketplaceMetering MeterUsage responses.

<fullname>AWS Marketplace Metering Service</fullname>

This reference provides descriptions of the low-level AWS Marketplace Metering Service

API>

AWS Marketplace sellers can use this API to submit usage data for custom usage

dimensions>

<b>Submitting Metering Records</b>

</p <ul> <li>

<i>MeterUsage</i>- Submits the metering record for a Marketplace product. MeterUsage is called from an EC2

instance> </li> <li>

<i>BatchMeterUsage</i>- Submits the metering record for a set of customers. BatchMeterUsage is called from a software-as-a-service (SaaS)

application> </li> </ul>

<b>Accepting New Customers</b>

</p <ul> <li>

<i>ResolveCustomer</i>- Called by a SaaS application during the registration process. When a buyer visits your website during the registration process, the buyer submits a Registration Token through the browser. The Registration Token is resolved through this API to obtain a CustomerIdentifier and Product

See also MarketplaceMeteringClient::meterUsage.

Member Function Documentation

MeterUsageResponse::MeterUsageResponse(const MeterUsageRequest &request, QNetworkReply * const reply, QObject * const parent = 0)

Constructs a MeterUsageResponse object for reply to request, with parent parent.

[override virtual protected slot] void MeterUsageResponse::parseSuccess(QIODevice &response)

Reimplemented from AwsAbstractResponse::parseSuccess().

Parses a successful MarketplaceMetering MeterUsage response.

[override virtual] const MeterUsageRequest *MeterUsageResponse::request() const

Reimplemented from AwsAbstractResponse::request().

© 2018 Paul Colby Documentation contributions included herein are the copyrights of their respective owners. The documentation provided herein is licensed under the terms of the GNU Free Documentation License version 1.3 as published by the Free Software Foundation. Qt and respective logos are trademarks of The Qt Company Ltd. in Finland and/or other countries worldwide. All other trademarks are property of their respective owners.