/** * 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::CodeCommit::Model; using namespace Aws::Utils::Json; using namespace Aws::Utils; using namespace Aws; DeleteCommentContentResult::DeleteCommentContentResult() { } DeleteCommentContentResult::DeleteCommentContentResult(const Aws::AmazonWebServiceResult& result) { *this = result; } DeleteCommentContentResult& DeleteCommentContentResult::operator =(const Aws::AmazonWebServiceResult& result) { JsonView jsonValue = result.GetPayload().View(); if(jsonValue.ValueExists("comment")) { m_comment = jsonValue.GetObject("comment"); } return *this; }