/** * 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 CodeCommit { namespace Model { class AWS_CODECOMMIT_API GetCommentReactionsResult { public: GetCommentReactionsResult(); GetCommentReactionsResult(const Aws::AmazonWebServiceResult& result); GetCommentReactionsResult& operator=(const Aws::AmazonWebServiceResult& result); /** *

An array of reactions to the specified comment.

*/ inline const Aws::Vector& GetReactionsForComment() const{ return m_reactionsForComment; } /** *

An array of reactions to the specified comment.

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

An array of reactions to the specified comment.

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

An array of reactions to the specified comment.

*/ inline GetCommentReactionsResult& WithReactionsForComment(const Aws::Vector& value) { SetReactionsForComment(value); return *this;} /** *

An array of reactions to the specified comment.

*/ inline GetCommentReactionsResult& WithReactionsForComment(Aws::Vector&& value) { SetReactionsForComment(std::move(value)); return *this;} /** *

An array of reactions to the specified comment.

*/ inline GetCommentReactionsResult& AddReactionsForComment(const ReactionForComment& value) { m_reactionsForComment.push_back(value); return *this; } /** *

An array of reactions to the specified comment.

*/ inline GetCommentReactionsResult& AddReactionsForComment(ReactionForComment&& value) { m_reactionsForComment.push_back(std::move(value)); return *this; } /** *

An enumeration token that can be used in a request to return the next batch * of the results.

*/ inline const Aws::String& GetNextToken() const{ return m_nextToken; } /** *

An enumeration token that can be used in a request to return the next batch * of the results.

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

An enumeration token that can be used in a request to return the next batch * of the results.

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

An enumeration token that can be used in a request to return the next batch * of the results.

*/ inline void SetNextToken(const char* value) { m_nextToken.assign(value); } /** *

An enumeration token that can be used in a request to return the next batch * of the results.

*/ inline GetCommentReactionsResult& WithNextToken(const Aws::String& value) { SetNextToken(value); return *this;} /** *

An enumeration token that can be used in a request to return the next batch * of the results.

*/ inline GetCommentReactionsResult& WithNextToken(Aws::String&& value) { SetNextToken(std::move(value)); return *this;} /** *

An enumeration token that can be used in a request to return the next batch * of the results.

*/ inline GetCommentReactionsResult& WithNextToken(const char* value) { SetNextToken(value); return *this;} private: Aws::Vector m_reactionsForComment; Aws::String m_nextToken; }; } // namespace Model } // namespace CodeCommit } // namespace Aws