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

A JSON encoded string containing the device method response.

*/ inline const Aws::String& GetDeviceMethodResponse() const{ return m_deviceMethodResponse; } /** *

A JSON encoded string containing the device method response.

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

A JSON encoded string containing the device method response.

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

A JSON encoded string containing the device method response.

*/ inline void SetDeviceMethodResponse(const char* value) { m_deviceMethodResponse.assign(value); } /** *

A JSON encoded string containing the device method response.

*/ inline InvokeDeviceMethodResult& WithDeviceMethodResponse(const Aws::String& value) { SetDeviceMethodResponse(value); return *this;} /** *

A JSON encoded string containing the device method response.

*/ inline InvokeDeviceMethodResult& WithDeviceMethodResponse(Aws::String&& value) { SetDeviceMethodResponse(std::move(value)); return *this;} /** *

A JSON encoded string containing the device method response.

*/ inline InvokeDeviceMethodResult& WithDeviceMethodResponse(const char* value) { SetDeviceMethodResponse(value); return *this;} private: Aws::String m_deviceMethodResponse; }; } // namespace Model } // namespace IoT1ClickDevicesService } // namespace Aws