/** * Copyright Amazon.com, Inc. or its affiliates. All Rights Reserved. * SPDX-License-Identifier: Apache-2.0. */ #pragma once #include #include #include namespace Aws { template class AmazonWebServiceResult; namespace Utils { namespace Json { class JsonValue; } // namespace Json } // namespace Utils namespace MarketplaceMetering { namespace Model { /** *

The result of the ResolveCustomer operation. Contains the * CustomerIdentifier along with the CustomerAWSAccountId * and ProductCode.

See Also:

AWS * API Reference

*/ class ResolveCustomerResult { public: AWS_MARKETPLACEMETERING_API ResolveCustomerResult(); AWS_MARKETPLACEMETERING_API ResolveCustomerResult(const Aws::AmazonWebServiceResult& result); AWS_MARKETPLACEMETERING_API ResolveCustomerResult& operator=(const Aws::AmazonWebServiceResult& result); /** *

The CustomerIdentifier is used to identify an individual * customer in your application. Calls to BatchMeterUsage require * CustomerIdentifiers for each UsageRecord.

*/ inline const Aws::String& GetCustomerIdentifier() const{ return m_customerIdentifier; } /** *

The CustomerIdentifier is used to identify an individual * customer in your application. Calls to BatchMeterUsage require * CustomerIdentifiers for each UsageRecord.

*/ inline void SetCustomerIdentifier(const Aws::String& value) { m_customerIdentifier = value; } /** *

The CustomerIdentifier is used to identify an individual * customer in your application. Calls to BatchMeterUsage require * CustomerIdentifiers for each UsageRecord.

*/ inline void SetCustomerIdentifier(Aws::String&& value) { m_customerIdentifier = std::move(value); } /** *

The CustomerIdentifier is used to identify an individual * customer in your application. Calls to BatchMeterUsage require * CustomerIdentifiers for each UsageRecord.

*/ inline void SetCustomerIdentifier(const char* value) { m_customerIdentifier.assign(value); } /** *

The CustomerIdentifier is used to identify an individual * customer in your application. Calls to BatchMeterUsage require * CustomerIdentifiers for each UsageRecord.

*/ inline ResolveCustomerResult& WithCustomerIdentifier(const Aws::String& value) { SetCustomerIdentifier(value); return *this;} /** *

The CustomerIdentifier is used to identify an individual * customer in your application. Calls to BatchMeterUsage require * CustomerIdentifiers for each UsageRecord.

*/ inline ResolveCustomerResult& WithCustomerIdentifier(Aws::String&& value) { SetCustomerIdentifier(std::move(value)); return *this;} /** *

The CustomerIdentifier is used to identify an individual * customer in your application. Calls to BatchMeterUsage require * CustomerIdentifiers for each UsageRecord.

*/ inline ResolveCustomerResult& WithCustomerIdentifier(const char* value) { SetCustomerIdentifier(value); return *this;} /** *

The product code is returned to confirm that the buyer is registering for * your product. Subsequent BatchMeterUsage calls should be made using * this product code.

*/ inline const Aws::String& GetProductCode() const{ return m_productCode; } /** *

The product code is returned to confirm that the buyer is registering for * your product. Subsequent BatchMeterUsage calls should be made using * this product code.

*/ inline void SetProductCode(const Aws::String& value) { m_productCode = value; } /** *

The product code is returned to confirm that the buyer is registering for * your product. Subsequent BatchMeterUsage calls should be made using * this product code.

*/ inline void SetProductCode(Aws::String&& value) { m_productCode = std::move(value); } /** *

The product code is returned to confirm that the buyer is registering for * your product. Subsequent BatchMeterUsage calls should be made using * this product code.

*/ inline void SetProductCode(const char* value) { m_productCode.assign(value); } /** *

The product code is returned to confirm that the buyer is registering for * your product. Subsequent BatchMeterUsage calls should be made using * this product code.

*/ inline ResolveCustomerResult& WithProductCode(const Aws::String& value) { SetProductCode(value); return *this;} /** *

The product code is returned to confirm that the buyer is registering for * your product. Subsequent BatchMeterUsage calls should be made using * this product code.

*/ inline ResolveCustomerResult& WithProductCode(Aws::String&& value) { SetProductCode(std::move(value)); return *this;} /** *

The product code is returned to confirm that the buyer is registering for * your product. Subsequent BatchMeterUsage calls should be made using * this product code.

*/ inline ResolveCustomerResult& WithProductCode(const char* value) { SetProductCode(value); return *this;} /** *

The CustomerAWSAccountId provides the AWS account ID associated * with the CustomerIdentifier for the individual customer.

*/ inline const Aws::String& GetCustomerAWSAccountId() const{ return m_customerAWSAccountId; } /** *

The CustomerAWSAccountId provides the AWS account ID associated * with the CustomerIdentifier for the individual customer.

*/ inline void SetCustomerAWSAccountId(const Aws::String& value) { m_customerAWSAccountId = value; } /** *

The CustomerAWSAccountId provides the AWS account ID associated * with the CustomerIdentifier for the individual customer.

*/ inline void SetCustomerAWSAccountId(Aws::String&& value) { m_customerAWSAccountId = std::move(value); } /** *

The CustomerAWSAccountId provides the AWS account ID associated * with the CustomerIdentifier for the individual customer.

*/ inline void SetCustomerAWSAccountId(const char* value) { m_customerAWSAccountId.assign(value); } /** *

The CustomerAWSAccountId provides the AWS account ID associated * with the CustomerIdentifier for the individual customer.

*/ inline ResolveCustomerResult& WithCustomerAWSAccountId(const Aws::String& value) { SetCustomerAWSAccountId(value); return *this;} /** *

The CustomerAWSAccountId provides the AWS account ID associated * with the CustomerIdentifier for the individual customer.

*/ inline ResolveCustomerResult& WithCustomerAWSAccountId(Aws::String&& value) { SetCustomerAWSAccountId(std::move(value)); return *this;} /** *

The CustomerAWSAccountId provides the AWS account ID associated * with the CustomerIdentifier for the individual customer.

*/ inline ResolveCustomerResult& WithCustomerAWSAccountId(const char* value) { SetCustomerAWSAccountId(value); return *this;} inline const Aws::String& GetRequestId() const{ return m_requestId; } inline void SetRequestId(const Aws::String& value) { m_requestId = value; } inline void SetRequestId(Aws::String&& value) { m_requestId = std::move(value); } inline void SetRequestId(const char* value) { m_requestId.assign(value); } inline ResolveCustomerResult& WithRequestId(const Aws::String& value) { SetRequestId(value); return *this;} inline ResolveCustomerResult& WithRequestId(Aws::String&& value) { SetRequestId(std::move(value)); return *this;} inline ResolveCustomerResult& WithRequestId(const char* value) { SetRequestId(value); return *this;} private: Aws::String m_customerIdentifier; Aws::String m_productCode; Aws::String m_customerAWSAccountId; Aws::String m_requestId; }; } // namespace Model } // namespace MarketplaceMetering } // namespace Aws