/** * 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 IoT1ClickDevicesService { namespace Model { class ClaimDevicesByClaimCodeResult { public: AWS_IOT1CLICKDEVICESSERVICE_API ClaimDevicesByClaimCodeResult(); AWS_IOT1CLICKDEVICESSERVICE_API ClaimDevicesByClaimCodeResult(const Aws::AmazonWebServiceResult& result); AWS_IOT1CLICKDEVICESSERVICE_API ClaimDevicesByClaimCodeResult& operator=(const Aws::AmazonWebServiceResult& result); /** *

The claim code provided by the device manufacturer.

*/ inline const Aws::String& GetClaimCode() const{ return m_claimCode; } /** *

The claim code provided by the device manufacturer.

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

The claim code provided by the device manufacturer.

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

The claim code provided by the device manufacturer.

*/ inline void SetClaimCode(const char* value) { m_claimCode.assign(value); } /** *

The claim code provided by the device manufacturer.

*/ inline ClaimDevicesByClaimCodeResult& WithClaimCode(const Aws::String& value) { SetClaimCode(value); return *this;} /** *

The claim code provided by the device manufacturer.

*/ inline ClaimDevicesByClaimCodeResult& WithClaimCode(Aws::String&& value) { SetClaimCode(std::move(value)); return *this;} /** *

The claim code provided by the device manufacturer.

*/ inline ClaimDevicesByClaimCodeResult& WithClaimCode(const char* value) { SetClaimCode(value); return *this;} /** *

The total number of devices associated with the claim code that has been * processed in the claim request.

*/ inline int GetTotal() const{ return m_total; } /** *

The total number of devices associated with the claim code that has been * processed in the claim request.

*/ inline void SetTotal(int value) { m_total = value; } /** *

The total number of devices associated with the claim code that has been * processed in the claim request.

*/ inline ClaimDevicesByClaimCodeResult& WithTotal(int value) { SetTotal(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 ClaimDevicesByClaimCodeResult& WithRequestId(const Aws::String& value) { SetRequestId(value); return *this;} inline ClaimDevicesByClaimCodeResult& WithRequestId(Aws::String&& value) { SetRequestId(std::move(value)); return *this;} inline ClaimDevicesByClaimCodeResult& WithRequestId(const char* value) { SetRequestId(value); return *this;} private: Aws::String m_claimCode; int m_total; Aws::String m_requestId; }; } // namespace Model } // namespace IoT1ClickDevicesService } // namespace Aws