/** * 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::ECR::Model; using namespace Aws::Utils::Json; using namespace Aws::Utils; using namespace Aws; DeleteRepositoryPolicyResult::DeleteRepositoryPolicyResult() { } DeleteRepositoryPolicyResult::DeleteRepositoryPolicyResult(const Aws::AmazonWebServiceResult& result) { *this = result; } DeleteRepositoryPolicyResult& DeleteRepositoryPolicyResult::operator =(const Aws::AmazonWebServiceResult& result) { JsonView jsonValue = result.GetPayload().View(); if(jsonValue.ValueExists("registryId")) { m_registryId = jsonValue.GetString("registryId"); } if(jsonValue.ValueExists("repositoryName")) { m_repositoryName = jsonValue.GetString("repositoryName"); } if(jsonValue.ValueExists("policyText")) { m_policyText = jsonValue.GetString("policyText"); } return *this; }