/**
* Copyright Amazon.com, Inc. or its affiliates. All Rights Reserved.
* SPDX-License-Identifier: Apache-2.0.
*/
#pragma once
#include The output from the GetThingShadow operation.See Also:
AWS
* API Reference
The state information, in JSON format.
*/ inline Aws::IOStream& GetPayload() const { return m_payload.GetUnderlyingStream(); } /** *The state information, in JSON format.
*/ inline void ReplaceBody(Aws::IOStream* body) { m_payload = Aws::Utils::Stream::ResponseStream(body); } 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 GetThingShadowResult& WithRequestId(const Aws::String& value) { SetRequestId(value); return *this;} inline GetThingShadowResult& WithRequestId(Aws::String&& value) { SetRequestId(std::move(value)); return *this;} inline GetThingShadowResult& WithRequestId(const char* value) { SetRequestId(value); return *this;} private: Aws::Utils::Stream::ResponseStream m_payload; Aws::String m_requestId; }; } // namespace Model } // namespace IoTDataPlane } // namespace Aws