/** * 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::DirectoryService::Model; using namespace Aws::Utils::Json; using namespace Aws::Utils; using namespace Aws; UpdateTrustResult::UpdateTrustResult() { } UpdateTrustResult::UpdateTrustResult(const Aws::AmazonWebServiceResult& result) { *this = result; } UpdateTrustResult& UpdateTrustResult::operator =(const Aws::AmazonWebServiceResult& result) { JsonView jsonValue = result.GetPayload().View(); if(jsonValue.ValueExists("RequestId")) { m_requestId = jsonValue.GetString("RequestId"); } if(jsonValue.ValueExists("TrustId")) { m_trustId = jsonValue.GetString("TrustId"); } return *this; }