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

The full commit ID of the commit that contains the change that deletes the * file.

*/ inline const Aws::String& GetCommitId() const{ return m_commitId; } /** *

The full commit ID of the commit that contains the change that deletes the * file.

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

The full commit ID of the commit that contains the change that deletes the * file.

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

The full commit ID of the commit that contains the change that deletes the * file.

*/ inline void SetCommitId(const char* value) { m_commitId.assign(value); } /** *

The full commit ID of the commit that contains the change that deletes the * file.

*/ inline DeleteFileResult& WithCommitId(const Aws::String& value) { SetCommitId(value); return *this;} /** *

The full commit ID of the commit that contains the change that deletes the * file.

*/ inline DeleteFileResult& WithCommitId(Aws::String&& value) { SetCommitId(std::move(value)); return *this;} /** *

The full commit ID of the commit that contains the change that deletes the * file.

*/ inline DeleteFileResult& WithCommitId(const char* value) { SetCommitId(value); return *this;} /** *

The blob ID removed from the tree as part of deleting the file.

*/ inline const Aws::String& GetBlobId() const{ return m_blobId; } /** *

The blob ID removed from the tree as part of deleting the file.

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

The blob ID removed from the tree as part of deleting the file.

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

The blob ID removed from the tree as part of deleting the file.

*/ inline void SetBlobId(const char* value) { m_blobId.assign(value); } /** *

The blob ID removed from the tree as part of deleting the file.

*/ inline DeleteFileResult& WithBlobId(const Aws::String& value) { SetBlobId(value); return *this;} /** *

The blob ID removed from the tree as part of deleting the file.

*/ inline DeleteFileResult& WithBlobId(Aws::String&& value) { SetBlobId(std::move(value)); return *this;} /** *

The blob ID removed from the tree as part of deleting the file.

*/ inline DeleteFileResult& WithBlobId(const char* value) { SetBlobId(value); return *this;} /** *

The full SHA-1 pointer of the tree information for the commit that contains * the delete file change.

*/ inline const Aws::String& GetTreeId() const{ return m_treeId; } /** *

The full SHA-1 pointer of the tree information for the commit that contains * the delete file change.

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

The full SHA-1 pointer of the tree information for the commit that contains * the delete file change.

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

The full SHA-1 pointer of the tree information for the commit that contains * the delete file change.

*/ inline void SetTreeId(const char* value) { m_treeId.assign(value); } /** *

The full SHA-1 pointer of the tree information for the commit that contains * the delete file change.

*/ inline DeleteFileResult& WithTreeId(const Aws::String& value) { SetTreeId(value); return *this;} /** *

The full SHA-1 pointer of the tree information for the commit that contains * the delete file change.

*/ inline DeleteFileResult& WithTreeId(Aws::String&& value) { SetTreeId(std::move(value)); return *this;} /** *

The full SHA-1 pointer of the tree information for the commit that contains * the delete file change.

*/ inline DeleteFileResult& WithTreeId(const char* value) { SetTreeId(value); return *this;} /** *

The fully qualified path to the file to be deleted, including the full name * and extension of that file.

*/ inline const Aws::String& GetFilePath() const{ return m_filePath; } /** *

The fully qualified path to the file to be deleted, including the full name * and extension of that file.

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

The fully qualified path to the file to be deleted, including the full name * and extension of that file.

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

The fully qualified path to the file to be deleted, including the full name * and extension of that file.

*/ inline void SetFilePath(const char* value) { m_filePath.assign(value); } /** *

The fully qualified path to the file to be deleted, including the full name * and extension of that file.

*/ inline DeleteFileResult& WithFilePath(const Aws::String& value) { SetFilePath(value); return *this;} /** *

The fully qualified path to the file to be deleted, including the full name * and extension of that file.

*/ inline DeleteFileResult& WithFilePath(Aws::String&& value) { SetFilePath(std::move(value)); return *this;} /** *

The fully qualified path to the file to be deleted, including the full name * and extension of that file.

*/ inline DeleteFileResult& WithFilePath(const char* value) { SetFilePath(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 DeleteFileResult& WithRequestId(const Aws::String& value) { SetRequestId(value); return *this;} inline DeleteFileResult& WithRequestId(Aws::String&& value) { SetRequestId(std::move(value)); return *this;} inline DeleteFileResult& WithRequestId(const char* value) { SetRequestId(value); return *this;} private: Aws::String m_commitId; Aws::String m_blobId; Aws::String m_treeId; Aws::String m_filePath; Aws::String m_requestId; }; } // namespace Model } // namespace CodeCommit } // namespace Aws