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

The list of comments for the specified document version.

*/ inline const Aws::Vector& GetComments() const{ return m_comments; } /** *

The list of comments for the specified document version.

*/ inline void SetComments(const Aws::Vector& value) { m_comments = value; } /** *

The list of comments for the specified document version.

*/ inline void SetComments(Aws::Vector&& value) { m_comments = std::move(value); } /** *

The list of comments for the specified document version.

*/ inline DescribeCommentsResult& WithComments(const Aws::Vector& value) { SetComments(value); return *this;} /** *

The list of comments for the specified document version.

*/ inline DescribeCommentsResult& WithComments(Aws::Vector&& value) { SetComments(std::move(value)); return *this;} /** *

The list of comments for the specified document version.

*/ inline DescribeCommentsResult& AddComments(const Comment& value) { m_comments.push_back(value); return *this; } /** *

The list of comments for the specified document version.

*/ inline DescribeCommentsResult& AddComments(Comment&& value) { m_comments.push_back(std::move(value)); return *this; } /** *

The marker for the next set of results. This marker was received from a * previous call.

*/ inline const Aws::String& GetMarker() const{ return m_marker; } /** *

The marker for the next set of results. This marker was received from a * previous call.

*/ inline void SetMarker(const Aws::String& value) { m_marker = value; } /** *

The marker for the next set of results. This marker was received from a * previous call.

*/ inline void SetMarker(Aws::String&& value) { m_marker = std::move(value); } /** *

The marker for the next set of results. This marker was received from a * previous call.

*/ inline void SetMarker(const char* value) { m_marker.assign(value); } /** *

The marker for the next set of results. This marker was received from a * previous call.

*/ inline DescribeCommentsResult& WithMarker(const Aws::String& value) { SetMarker(value); return *this;} /** *

The marker for the next set of results. This marker was received from a * previous call.

*/ inline DescribeCommentsResult& WithMarker(Aws::String&& value) { SetMarker(std::move(value)); return *this;} /** *

The marker for the next set of results. This marker was received from a * previous call.

*/ inline DescribeCommentsResult& WithMarker(const char* value) { SetMarker(value); return *this;} inline const Aws::String& GetRequestId() const{ return m_requestId; } inline void SetRequestId(const Aws::String& value) { m_requestId = value; } inline void SetRequestId(Aws::String&& value) { m_requestId = std::move(value); } inline void SetRequestId(const char* value) { m_requestId.assign(value); } inline DescribeCommentsResult& WithRequestId(const Aws::String& value) { SetRequestId(value); return *this;} inline DescribeCommentsResult& WithRequestId(Aws::String&& value) { SetRequestId(std::move(value)); return *this;} inline DescribeCommentsResult& WithRequestId(const char* value) { SetRequestId(value); return *this;} private: Aws::Vector m_comments; Aws::String m_marker; Aws::String m_requestId; }; } // namespace Model } // namespace WorkDocs } // namespace Aws