/** * Copyright Amazon.com, Inc. or its affiliates. All Rights Reserved. * SPDX-License-Identifier: Apache-2.0. */ #pragma once #include #include #include #include namespace Aws { namespace MarketplaceMetering { namespace Model { /** *

Contains input to the ResolveCustomer operation.

See * Also:

AWS * API Reference

*/ class ResolveCustomerRequest : public MarketplaceMeteringRequest { public: AWS_MARKETPLACEMETERING_API ResolveCustomerRequest(); // Service request name is the Operation name which will send this request out, // each operation should has unique request name, so that we can get operation's name from this request. // Note: this is not true for response, multiple operations may have the same response name, // so we can not get operation's name from response. inline virtual const char* GetServiceRequestName() const override { return "ResolveCustomer"; } AWS_MARKETPLACEMETERING_API Aws::String SerializePayload() const override; AWS_MARKETPLACEMETERING_API Aws::Http::HeaderValueCollection GetRequestSpecificHeaders() const override; /** *

When a buyer visits your website during the registration process, the buyer * submits a registration token through the browser. The registration token is * resolved to obtain a CustomerIdentifier along with the * CustomerAWSAccountId and ProductCode.

*/ inline const Aws::String& GetRegistrationToken() const{ return m_registrationToken; } /** *

When a buyer visits your website during the registration process, the buyer * submits a registration token through the browser. The registration token is * resolved to obtain a CustomerIdentifier along with the * CustomerAWSAccountId and ProductCode.

*/ inline bool RegistrationTokenHasBeenSet() const { return m_registrationTokenHasBeenSet; } /** *

When a buyer visits your website during the registration process, the buyer * submits a registration token through the browser. The registration token is * resolved to obtain a CustomerIdentifier along with the * CustomerAWSAccountId and ProductCode.

*/ inline void SetRegistrationToken(const Aws::String& value) { m_registrationTokenHasBeenSet = true; m_registrationToken = value; } /** *

When a buyer visits your website during the registration process, the buyer * submits a registration token through the browser. The registration token is * resolved to obtain a CustomerIdentifier along with the * CustomerAWSAccountId and ProductCode.

*/ inline void SetRegistrationToken(Aws::String&& value) { m_registrationTokenHasBeenSet = true; m_registrationToken = std::move(value); } /** *

When a buyer visits your website during the registration process, the buyer * submits a registration token through the browser. The registration token is * resolved to obtain a CustomerIdentifier along with the * CustomerAWSAccountId and ProductCode.

*/ inline void SetRegistrationToken(const char* value) { m_registrationTokenHasBeenSet = true; m_registrationToken.assign(value); } /** *

When a buyer visits your website during the registration process, the buyer * submits a registration token through the browser. The registration token is * resolved to obtain a CustomerIdentifier along with the * CustomerAWSAccountId and ProductCode.

*/ inline ResolveCustomerRequest& WithRegistrationToken(const Aws::String& value) { SetRegistrationToken(value); return *this;} /** *

When a buyer visits your website during the registration process, the buyer * submits a registration token through the browser. The registration token is * resolved to obtain a CustomerIdentifier along with the * CustomerAWSAccountId and ProductCode.

*/ inline ResolveCustomerRequest& WithRegistrationToken(Aws::String&& value) { SetRegistrationToken(std::move(value)); return *this;} /** *

When a buyer visits your website during the registration process, the buyer * submits a registration token through the browser. The registration token is * resolved to obtain a CustomerIdentifier along with the * CustomerAWSAccountId and ProductCode.

*/ inline ResolveCustomerRequest& WithRegistrationToken(const char* value) { SetRegistrationToken(value); return *this;} private: Aws::String m_registrationToken; bool m_registrationTokenHasBeenSet = false; }; } // namespace Model } // namespace MarketplaceMetering } // namespace Aws