78 lines
2.4 KiB
C
78 lines
2.4 KiB
C
|
|
/**
|
|||
|
|
* Copyright Amazon.com, Inc. or its affiliates. All Rights Reserved.
|
|||
|
|
* SPDX-License-Identifier: Apache-2.0.
|
|||
|
|
*/
|
|||
|
|
|
|||
|
|
#pragma once
|
|||
|
|
#include <aws/iot1click-devices/IoT1ClickDevicesService_EXPORTS.h>
|
|||
|
|
#include <aws/core/utils/memory/stl/AWSString.h>
|
|||
|
|
#include <utility>
|
|||
|
|
|
|||
|
|
namespace Aws
|
|||
|
|
{
|
|||
|
|
template<typename RESULT_TYPE>
|
|||
|
|
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<Aws::Utils::Json::JsonValue>& result);
|
|||
|
|
InvokeDeviceMethodResult& operator=(const Aws::AmazonWebServiceResult<Aws::Utils::Json::JsonValue>& result);
|
|||
|
|
|
|||
|
|
|
|||
|
|
/**
|
|||
|
|
* <p>A JSON encoded string containing the device method response.</p>
|
|||
|
|
*/
|
|||
|
|
inline const Aws::String& GetDeviceMethodResponse() const{ return m_deviceMethodResponse; }
|
|||
|
|
|
|||
|
|
/**
|
|||
|
|
* <p>A JSON encoded string containing the device method response.</p>
|
|||
|
|
*/
|
|||
|
|
inline void SetDeviceMethodResponse(const Aws::String& value) { m_deviceMethodResponse = value; }
|
|||
|
|
|
|||
|
|
/**
|
|||
|
|
* <p>A JSON encoded string containing the device method response.</p>
|
|||
|
|
*/
|
|||
|
|
inline void SetDeviceMethodResponse(Aws::String&& value) { m_deviceMethodResponse = std::move(value); }
|
|||
|
|
|
|||
|
|
/**
|
|||
|
|
* <p>A JSON encoded string containing the device method response.</p>
|
|||
|
|
*/
|
|||
|
|
inline void SetDeviceMethodResponse(const char* value) { m_deviceMethodResponse.assign(value); }
|
|||
|
|
|
|||
|
|
/**
|
|||
|
|
* <p>A JSON encoded string containing the device method response.</p>
|
|||
|
|
*/
|
|||
|
|
inline InvokeDeviceMethodResult& WithDeviceMethodResponse(const Aws::String& value) { SetDeviceMethodResponse(value); return *this;}
|
|||
|
|
|
|||
|
|
/**
|
|||
|
|
* <p>A JSON encoded string containing the device method response.</p>
|
|||
|
|
*/
|
|||
|
|
inline InvokeDeviceMethodResult& WithDeviceMethodResponse(Aws::String&& value) { SetDeviceMethodResponse(std::move(value)); return *this;}
|
|||
|
|
|
|||
|
|
/**
|
|||
|
|
* <p>A JSON encoded string containing the device method response.</p>
|
|||
|
|
*/
|
|||
|
|
inline InvokeDeviceMethodResult& WithDeviceMethodResponse(const char* value) { SetDeviceMethodResponse(value); return *this;}
|
|||
|
|
|
|||
|
|
private:
|
|||
|
|
|
|||
|
|
Aws::String m_deviceMethodResponse;
|
|||
|
|
};
|
|||
|
|
|
|||
|
|
} // namespace Model
|
|||
|
|
} // namespace IoT1ClickDevicesService
|
|||
|
|
} // namespace Aws
|