/** * Copyright Amazon.com, Inc. or its affiliates. All Rights Reserved. * SPDX-License-Identifier: Apache-2.0. */ #include #include #include #include #include #include using namespace Aws::IoTThingsGraph::Model; using namespace Aws::Utils::Json; using namespace Aws::Utils; using namespace Aws; DeploySystemInstanceResult::DeploySystemInstanceResult() { } DeploySystemInstanceResult::DeploySystemInstanceResult(const Aws::AmazonWebServiceResult& result) { *this = result; } DeploySystemInstanceResult& DeploySystemInstanceResult::operator =(const Aws::AmazonWebServiceResult& result) { JsonView jsonValue = result.GetPayload().View(); if(jsonValue.ValueExists("summary")) { m_summary = jsonValue.GetObject("summary"); } if(jsonValue.ValueExists("greengrassDeploymentId")) { m_greengrassDeploymentId = jsonValue.GetString("greengrassDeploymentId"); } return *this; }