/** * 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::SageMaker::Model; using namespace Aws::Utils::Json; using namespace Aws::Utils; using namespace Aws; DisassociateTrialComponentResult::DisassociateTrialComponentResult() { } DisassociateTrialComponentResult::DisassociateTrialComponentResult(const Aws::AmazonWebServiceResult& result) { *this = result; } DisassociateTrialComponentResult& DisassociateTrialComponentResult::operator =(const Aws::AmazonWebServiceResult& result) { JsonView jsonValue = result.GetPayload().View(); if(jsonValue.ValueExists("TrialComponentArn")) { m_trialComponentArn = jsonValue.GetString("TrialComponentArn"); } if(jsonValue.ValueExists("TrialArn")) { m_trialArn = jsonValue.GetString("TrialArn"); } return *this; }