/**
* Copyright Amazon.com, Inc. or its affiliates. All Rights Reserved.
* SPDX-License-Identifier: Apache-2.0.
*/
#pragma once
#include Returns information about comments on the comparison between two
* commits.See Also:
AWS
* API Reference
The name of the repository that contains the compared commits.
*/ inline const Aws::String& GetRepositoryName() const{ return m_repositoryName; } /** *The name of the repository that contains the compared commits.
*/ inline bool RepositoryNameHasBeenSet() const { return m_repositoryNameHasBeenSet; } /** *The name of the repository that contains the compared commits.
*/ inline void SetRepositoryName(const Aws::String& value) { m_repositoryNameHasBeenSet = true; m_repositoryName = value; } /** *The name of the repository that contains the compared commits.
*/ inline void SetRepositoryName(Aws::String&& value) { m_repositoryNameHasBeenSet = true; m_repositoryName = std::move(value); } /** *The name of the repository that contains the compared commits.
*/ inline void SetRepositoryName(const char* value) { m_repositoryNameHasBeenSet = true; m_repositoryName.assign(value); } /** *The name of the repository that contains the compared commits.
*/ inline CommentsForComparedCommit& WithRepositoryName(const Aws::String& value) { SetRepositoryName(value); return *this;} /** *The name of the repository that contains the compared commits.
*/ inline CommentsForComparedCommit& WithRepositoryName(Aws::String&& value) { SetRepositoryName(std::move(value)); return *this;} /** *The name of the repository that contains the compared commits.
*/ inline CommentsForComparedCommit& WithRepositoryName(const char* value) { SetRepositoryName(value); return *this;} /** *The full commit ID of the commit used to establish the before of the * comparison.
*/ inline const Aws::String& GetBeforeCommitId() const{ return m_beforeCommitId; } /** *The full commit ID of the commit used to establish the before of the * comparison.
*/ inline bool BeforeCommitIdHasBeenSet() const { return m_beforeCommitIdHasBeenSet; } /** *The full commit ID of the commit used to establish the before of the * comparison.
*/ inline void SetBeforeCommitId(const Aws::String& value) { m_beforeCommitIdHasBeenSet = true; m_beforeCommitId = value; } /** *The full commit ID of the commit used to establish the before of the * comparison.
*/ inline void SetBeforeCommitId(Aws::String&& value) { m_beforeCommitIdHasBeenSet = true; m_beforeCommitId = std::move(value); } /** *The full commit ID of the commit used to establish the before of the * comparison.
*/ inline void SetBeforeCommitId(const char* value) { m_beforeCommitIdHasBeenSet = true; m_beforeCommitId.assign(value); } /** *The full commit ID of the commit used to establish the before of the * comparison.
*/ inline CommentsForComparedCommit& WithBeforeCommitId(const Aws::String& value) { SetBeforeCommitId(value); return *this;} /** *The full commit ID of the commit used to establish the before of the * comparison.
*/ inline CommentsForComparedCommit& WithBeforeCommitId(Aws::String&& value) { SetBeforeCommitId(std::move(value)); return *this;} /** *The full commit ID of the commit used to establish the before of the * comparison.
*/ inline CommentsForComparedCommit& WithBeforeCommitId(const char* value) { SetBeforeCommitId(value); return *this;} /** *The full commit ID of the commit used to establish the after of the * comparison.
*/ inline const Aws::String& GetAfterCommitId() const{ return m_afterCommitId; } /** *The full commit ID of the commit used to establish the after of the * comparison.
*/ inline bool AfterCommitIdHasBeenSet() const { return m_afterCommitIdHasBeenSet; } /** *The full commit ID of the commit used to establish the after of the * comparison.
*/ inline void SetAfterCommitId(const Aws::String& value) { m_afterCommitIdHasBeenSet = true; m_afterCommitId = value; } /** *The full commit ID of the commit used to establish the after of the * comparison.
*/ inline void SetAfterCommitId(Aws::String&& value) { m_afterCommitIdHasBeenSet = true; m_afterCommitId = std::move(value); } /** *The full commit ID of the commit used to establish the after of the * comparison.
*/ inline void SetAfterCommitId(const char* value) { m_afterCommitIdHasBeenSet = true; m_afterCommitId.assign(value); } /** *The full commit ID of the commit used to establish the after of the * comparison.
*/ inline CommentsForComparedCommit& WithAfterCommitId(const Aws::String& value) { SetAfterCommitId(value); return *this;} /** *The full commit ID of the commit used to establish the after of the * comparison.
*/ inline CommentsForComparedCommit& WithAfterCommitId(Aws::String&& value) { SetAfterCommitId(std::move(value)); return *this;} /** *The full commit ID of the commit used to establish the after of the * comparison.
*/ inline CommentsForComparedCommit& WithAfterCommitId(const char* value) { SetAfterCommitId(value); return *this;} /** *The full blob ID of the commit used to establish the before of the * comparison.
*/ inline const Aws::String& GetBeforeBlobId() const{ return m_beforeBlobId; } /** *The full blob ID of the commit used to establish the before of the * comparison.
*/ inline bool BeforeBlobIdHasBeenSet() const { return m_beforeBlobIdHasBeenSet; } /** *The full blob ID of the commit used to establish the before of the * comparison.
*/ inline void SetBeforeBlobId(const Aws::String& value) { m_beforeBlobIdHasBeenSet = true; m_beforeBlobId = value; } /** *The full blob ID of the commit used to establish the before of the * comparison.
*/ inline void SetBeforeBlobId(Aws::String&& value) { m_beforeBlobIdHasBeenSet = true; m_beforeBlobId = std::move(value); } /** *The full blob ID of the commit used to establish the before of the * comparison.
*/ inline void SetBeforeBlobId(const char* value) { m_beforeBlobIdHasBeenSet = true; m_beforeBlobId.assign(value); } /** *The full blob ID of the commit used to establish the before of the * comparison.
*/ inline CommentsForComparedCommit& WithBeforeBlobId(const Aws::String& value) { SetBeforeBlobId(value); return *this;} /** *The full blob ID of the commit used to establish the before of the * comparison.
*/ inline CommentsForComparedCommit& WithBeforeBlobId(Aws::String&& value) { SetBeforeBlobId(std::move(value)); return *this;} /** *The full blob ID of the commit used to establish the before of the * comparison.
*/ inline CommentsForComparedCommit& WithBeforeBlobId(const char* value) { SetBeforeBlobId(value); return *this;} /** *The full blob ID of the commit used to establish the after of the * comparison.
*/ inline const Aws::String& GetAfterBlobId() const{ return m_afterBlobId; } /** *The full blob ID of the commit used to establish the after of the * comparison.
*/ inline bool AfterBlobIdHasBeenSet() const { return m_afterBlobIdHasBeenSet; } /** *The full blob ID of the commit used to establish the after of the * comparison.
*/ inline void SetAfterBlobId(const Aws::String& value) { m_afterBlobIdHasBeenSet = true; m_afterBlobId = value; } /** *The full blob ID of the commit used to establish the after of the * comparison.
*/ inline void SetAfterBlobId(Aws::String&& value) { m_afterBlobIdHasBeenSet = true; m_afterBlobId = std::move(value); } /** *The full blob ID of the commit used to establish the after of the * comparison.
*/ inline void SetAfterBlobId(const char* value) { m_afterBlobIdHasBeenSet = true; m_afterBlobId.assign(value); } /** *The full blob ID of the commit used to establish the after of the * comparison.
*/ inline CommentsForComparedCommit& WithAfterBlobId(const Aws::String& value) { SetAfterBlobId(value); return *this;} /** *The full blob ID of the commit used to establish the after of the * comparison.
*/ inline CommentsForComparedCommit& WithAfterBlobId(Aws::String&& value) { SetAfterBlobId(std::move(value)); return *this;} /** *The full blob ID of the commit used to establish the after of the * comparison.
*/ inline CommentsForComparedCommit& WithAfterBlobId(const char* value) { SetAfterBlobId(value); return *this;} /** *Location information about the comment on the comparison, including the file * name, line number, and whether the version of the file where the comment was * made is BEFORE or AFTER.
*/ inline const Location& GetLocation() const{ return m_location; } /** *Location information about the comment on the comparison, including the file * name, line number, and whether the version of the file where the comment was * made is BEFORE or AFTER.
*/ inline bool LocationHasBeenSet() const { return m_locationHasBeenSet; } /** *Location information about the comment on the comparison, including the file * name, line number, and whether the version of the file where the comment was * made is BEFORE or AFTER.
*/ inline void SetLocation(const Location& value) { m_locationHasBeenSet = true; m_location = value; } /** *Location information about the comment on the comparison, including the file * name, line number, and whether the version of the file where the comment was * made is BEFORE or AFTER.
*/ inline void SetLocation(Location&& value) { m_locationHasBeenSet = true; m_location = std::move(value); } /** *Location information about the comment on the comparison, including the file * name, line number, and whether the version of the file where the comment was * made is BEFORE or AFTER.
*/ inline CommentsForComparedCommit& WithLocation(const Location& value) { SetLocation(value); return *this;} /** *Location information about the comment on the comparison, including the file * name, line number, and whether the version of the file where the comment was * made is BEFORE or AFTER.
*/ inline CommentsForComparedCommit& WithLocation(Location&& value) { SetLocation(std::move(value)); return *this;} /** *An array of comment objects. Each comment object contains information about a * comment on the comparison between commits.
*/ inline const Aws::VectorAn array of comment objects. Each comment object contains information about a * comment on the comparison between commits.
*/ inline bool CommentsHasBeenSet() const { return m_commentsHasBeenSet; } /** *An array of comment objects. Each comment object contains information about a * comment on the comparison between commits.
*/ inline void SetComments(const Aws::VectorAn array of comment objects. Each comment object contains information about a * comment on the comparison between commits.
*/ inline void SetComments(Aws::VectorAn array of comment objects. Each comment object contains information about a * comment on the comparison between commits.
*/ inline CommentsForComparedCommit& WithComments(const Aws::VectorAn array of comment objects. Each comment object contains information about a * comment on the comparison between commits.
*/ inline CommentsForComparedCommit& WithComments(Aws::VectorAn array of comment objects. Each comment object contains information about a * comment on the comparison between commits.
*/ inline CommentsForComparedCommit& AddComments(const Comment& value) { m_commentsHasBeenSet = true; m_comments.push_back(value); return *this; } /** *An array of comment objects. Each comment object contains information about a * comment on the comparison between commits.
*/ inline CommentsForComparedCommit& AddComments(Comment&& value) { m_commentsHasBeenSet = true; m_comments.push_back(std::move(value)); return *this; } private: Aws::String m_repositoryName; bool m_repositoryNameHasBeenSet = false; Aws::String m_beforeCommitId; bool m_beforeCommitIdHasBeenSet = false; Aws::String m_afterCommitId; bool m_afterCommitIdHasBeenSet = false; Aws::String m_beforeBlobId; bool m_beforeBlobIdHasBeenSet = false; Aws::String m_afterBlobId; bool m_afterBlobIdHasBeenSet = false; Location m_location; bool m_locationHasBeenSet = false; Aws::Vector