7#include <aws/meteringmarketplace/MarketplaceMetering_EXPORTS.h>
8#include <aws/meteringmarketplace/MarketplaceMeteringRequest.h>
9#include <aws/core/utils/memory/stl/AWSVector.h>
10#include <aws/core/utils/memory/stl/AWSString.h>
11#include <aws/meteringmarketplace/model/UsageRecord.h>
16namespace MarketplaceMetering
69 inline void SetProductCode(
const char* value) { m_productCodeHasBeenSet =
true; m_productCode.assign(value); }
77 bool m_usageRecordsHasBeenSet =
false;
80 bool m_productCodeHasBeenSet =
false;
BatchMeterUsageRequest & WithUsageRecords(Aws::Vector< UsageRecord > &&value)
BatchMeterUsageRequest & AddUsageRecords(const UsageRecord &value)
BatchMeterUsageRequest & WithUsageRecords(const Aws::Vector< UsageRecord > &value)
BatchMeterUsageRequest & WithProductCode(const Aws::String &value)
const Aws::String & GetProductCode() const
BatchMeterUsageRequest & AddUsageRecords(UsageRecord &&value)
void SetProductCode(Aws::String &&value)
void SetUsageRecords(Aws::Vector< UsageRecord > &&value)
void SetUsageRecords(const Aws::Vector< UsageRecord > &value)
AWS_MARKETPLACEMETERING_API Aws::Http::HeaderValueCollection GetRequestSpecificHeaders() const override
AWS_MARKETPLACEMETERING_API Aws::String SerializePayload() const override
const Aws::Vector< UsageRecord > & GetUsageRecords() const
BatchMeterUsageRequest & WithProductCode(Aws::String &&value)
AWS_MARKETPLACEMETERING_API BatchMeterUsageRequest()
virtual const char * GetServiceRequestName() const override
BatchMeterUsageRequest & WithProductCode(const char *value)
bool UsageRecordsHasBeenSet() const
void SetProductCode(const char *value)
void SetProductCode(const Aws::String &value)
bool ProductCodeHasBeenSet() const
Aws::Map< Aws::String, Aws::String > HeaderValueCollection
std::basic_string< char, std::char_traits< char >, Aws::Allocator< char > > String
std::vector< T, Aws::Allocator< T > > Vector