/** * Copyright Amazon.com, Inc. or its affiliates. All Rights Reserved. * SPDX-License-Identifier: Apache-2.0. */ #pragma once #include #include #include namespace Aws { template class AmazonWebServiceResult; namespace Utils { namespace Json { class JsonValue; } // namespace Json } // namespace Utils namespace CodeCommit { namespace Model { class AWS_CODECOMMIT_API PostCommentReplyResult { public: PostCommentReplyResult(); PostCommentReplyResult(const Aws::AmazonWebServiceResult& result); PostCommentReplyResult& operator=(const Aws::AmazonWebServiceResult& result); /** *

Information about the reply to a comment.

*/ inline const Comment& GetComment() const{ return m_comment; } /** *

Information about the reply to a comment.

*/ inline void SetComment(const Comment& value) { m_comment = value; } /** *

Information about the reply to a comment.

*/ inline void SetComment(Comment&& value) { m_comment = std::move(value); } /** *

Information about the reply to a comment.

*/ inline PostCommentReplyResult& WithComment(const Comment& value) { SetComment(value); return *this;} /** *

Information about the reply to a comment.

*/ inline PostCommentReplyResult& WithComment(Comment&& value) { SetComment(std::move(value)); return *this;} private: Comment m_comment; }; } // namespace Model } // namespace CodeCommit } // namespace Aws