/** * Copyright Amazon.com, Inc. or its affiliates. All Rights Reserved. * SPDX-License-Identifier: Apache-2.0. */ #include #include #include #include #include using namespace Aws::IoTDataPlane::Model; using namespace Aws::Utils::Stream; using namespace Aws::Utils; using namespace Aws; UpdateThingShadowResult::UpdateThingShadowResult() { } UpdateThingShadowResult::UpdateThingShadowResult(UpdateThingShadowResult&& toMove) : m_payload(std::move(toMove.m_payload)) { } UpdateThingShadowResult& UpdateThingShadowResult::operator=(UpdateThingShadowResult&& toMove) { if(this == &toMove) { return *this; } m_payload = std::move(toMove.m_payload); return *this; } UpdateThingShadowResult::UpdateThingShadowResult(Aws::AmazonWebServiceResult&& result) { *this = std::move(result); } UpdateThingShadowResult& UpdateThingShadowResult::operator =(Aws::AmazonWebServiceResult&& result) { m_payload = result.TakeOwnershipOfPayload(); return *this; }