AWS SDK for C++  1.8.74
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)
 
- 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 22 of file MeterUsageRequest.h.

Constructor & Destructor Documentation

◆ MeterUsageRequest()

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

Member Function Documentation

◆ 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 226 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 218 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 43 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 31 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 100 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 142 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 191 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 50 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 234 of file MeterUsageRequest.h.

◆ SetProductCode() [1/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 57 of file MeterUsageRequest.h.

◆ SetProductCode() [2/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 64 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 71 of file MeterUsageRequest.h.

◆ SetTimestamp() [1/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 114 of file MeterUsageRequest.h.

◆ SetTimestamp() [2/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 121 of file MeterUsageRequest.h.

◆ SetUsageDimension() [1/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 154 of file MeterUsageRequest.h.

◆ SetUsageDimension() [2/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 160 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 166 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 203 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 107 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 148 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 197 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 242 of file MeterUsageRequest.h.

◆ WithProductCode() [1/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 78 of file MeterUsageRequest.h.

◆ WithProductCode() [2/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 85 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 92 of file MeterUsageRequest.h.

◆ WithTimestamp() [1/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 128 of file MeterUsageRequest.h.

◆ WithTimestamp() [2/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 135 of file MeterUsageRequest.h.

◆ WithUsageDimension() [1/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 172 of file MeterUsageRequest.h.

◆ WithUsageDimension() [2/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 178 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 184 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 209 of file MeterUsageRequest.h.


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