7#include <aws/meteringmarketplace/MarketplaceMetering_EXPORTS.h>
8#include <aws/meteringmarketplace/MarketplaceMeteringRequest.h>
9#include <aws/core/utils/memory/stl/AWSString.h>
14namespace MarketplaceMetering
47 inline void SetProductCode(
const char* value) { m_productCodeHasBeenSet =
true; m_productCode.assign(value); }
59 inline void SetPublicKeyVersion(
int value) { m_publicKeyVersionHasBeenSet =
true; m_publicKeyVersion = value; }
72 inline void SetNonce(
const char* value) { m_nonceHasBeenSet =
true; m_nonce.assign(value); }
80 bool m_productCodeHasBeenSet =
false;
82 int m_publicKeyVersion;
83 bool m_publicKeyVersionHasBeenSet =
false;
86 bool m_nonceHasBeenSet =
false;
const Aws::String & GetProductCode() const
RegisterUsageRequest & WithProductCode(const char *value)
RegisterUsageRequest & WithProductCode(Aws::String &&value)
AWS_MARKETPLACEMETERING_API Aws::Http::HeaderValueCollection GetRequestSpecificHeaders() const override
const Aws::String & GetNonce() const
RegisterUsageRequest & WithPublicKeyVersion(int value)
virtual const char * GetServiceRequestName() const override
RegisterUsageRequest & WithNonce(const char *value)
void SetNonce(const Aws::String &value)
void SetProductCode(const char *value)
AWS_MARKETPLACEMETERING_API Aws::String SerializePayload() const override
bool NonceHasBeenSet() const
int GetPublicKeyVersion() const
AWS_MARKETPLACEMETERING_API RegisterUsageRequest()
void SetNonce(Aws::String &&value)
void SetProductCode(const Aws::String &value)
RegisterUsageRequest & WithNonce(Aws::String &&value)
void SetNonce(const char *value)
bool ProductCodeHasBeenSet() const
bool PublicKeyVersionHasBeenSet() const
RegisterUsageRequest & WithProductCode(const Aws::String &value)
RegisterUsageRequest & WithNonce(const Aws::String &value)
void SetProductCode(Aws::String &&value)
void SetPublicKeyVersion(int value)
Aws::Map< Aws::String, Aws::String > HeaderValueCollection
std::basic_string< char, std::char_traits< char >, Aws::Allocator< char > > String