/**
* Copyright Amazon.com, Inc. or its affiliates. All Rights Reserved.
* SPDX-License-Identifier: Apache-2.0.
*/
#pragma once
#include
#include
#include
#include
namespace Aws
{
template
class AmazonWebServiceResult;
namespace IoTDataPlane
{
namespace Model
{
/**
* The output from the DeleteThingShadow operation.
See Also:
* AWS
* API Reference
*/
class AWS_IOTDATAPLANE_API DeleteThingShadowResult
{
public:
DeleteThingShadowResult();
//We have to define these because Microsoft doesn't auto generate them
DeleteThingShadowResult(DeleteThingShadowResult&&);
DeleteThingShadowResult& operator=(DeleteThingShadowResult&&);
//we delete these because Microsoft doesn't handle move generation correctly
//and we therefore don't trust them to get it right here either.
DeleteThingShadowResult(const DeleteThingShadowResult&) = delete;
DeleteThingShadowResult& operator=(const DeleteThingShadowResult&) = delete;
DeleteThingShadowResult(Aws::AmazonWebServiceResult&& result);
DeleteThingShadowResult& operator=(Aws::AmazonWebServiceResult&& result);
/**
* The state information, in JSON format.
*/
inline Aws::IOStream& GetPayload() { return m_payload.GetUnderlyingStream(); }
/**
* The state information, in JSON format.
*/
inline void ReplaceBody(Aws::IOStream* body) { m_payload = Aws::Utils::Stream::ResponseStream(body); }
private:
Aws::Utils::Stream::ResponseStream m_payload;
};
} // namespace Model
} // namespace IoTDataPlane
} // namespace Aws