/**
* Copyright Amazon.com, Inc. or its affiliates. All Rights Reserved.
* SPDX-License-Identifier: Apache-2.0.
*/
#pragma once
#include Returns information about a folder in a repository.See Also:
* AWS
* API Reference
The full SHA-1 pointer of the tree information for the commit that contains * the folder.
*/ inline const Aws::String& GetTreeId() const{ return m_treeId; } /** *The full SHA-1 pointer of the tree information for the commit that contains * the folder.
*/ inline bool TreeIdHasBeenSet() const { return m_treeIdHasBeenSet; } /** *The full SHA-1 pointer of the tree information for the commit that contains * the folder.
*/ inline void SetTreeId(const Aws::String& value) { m_treeIdHasBeenSet = true; m_treeId = value; } /** *The full SHA-1 pointer of the tree information for the commit that contains * the folder.
*/ inline void SetTreeId(Aws::String&& value) { m_treeIdHasBeenSet = true; m_treeId = std::move(value); } /** *The full SHA-1 pointer of the tree information for the commit that contains * the folder.
*/ inline void SetTreeId(const char* value) { m_treeIdHasBeenSet = true; m_treeId.assign(value); } /** *The full SHA-1 pointer of the tree information for the commit that contains * the folder.
*/ inline Folder& WithTreeId(const Aws::String& value) { SetTreeId(value); return *this;} /** *The full SHA-1 pointer of the tree information for the commit that contains * the folder.
*/ inline Folder& 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 folder.
*/ inline Folder& WithTreeId(const char* value) { SetTreeId(value); return *this;} /** *The fully qualified path of the folder in the repository.
*/ inline const Aws::String& GetAbsolutePath() const{ return m_absolutePath; } /** *The fully qualified path of the folder in the repository.
*/ inline bool AbsolutePathHasBeenSet() const { return m_absolutePathHasBeenSet; } /** *The fully qualified path of the folder in the repository.
*/ inline void SetAbsolutePath(const Aws::String& value) { m_absolutePathHasBeenSet = true; m_absolutePath = value; } /** *The fully qualified path of the folder in the repository.
*/ inline void SetAbsolutePath(Aws::String&& value) { m_absolutePathHasBeenSet = true; m_absolutePath = std::move(value); } /** *The fully qualified path of the folder in the repository.
*/ inline void SetAbsolutePath(const char* value) { m_absolutePathHasBeenSet = true; m_absolutePath.assign(value); } /** *The fully qualified path of the folder in the repository.
*/ inline Folder& WithAbsolutePath(const Aws::String& value) { SetAbsolutePath(value); return *this;} /** *The fully qualified path of the folder in the repository.
*/ inline Folder& WithAbsolutePath(Aws::String&& value) { SetAbsolutePath(std::move(value)); return *this;} /** *The fully qualified path of the folder in the repository.
*/ inline Folder& WithAbsolutePath(const char* value) { SetAbsolutePath(value); return *this;} /** *The relative path of the specified folder from the folder where the query * originated.
*/ inline const Aws::String& GetRelativePath() const{ return m_relativePath; } /** *The relative path of the specified folder from the folder where the query * originated.
*/ inline bool RelativePathHasBeenSet() const { return m_relativePathHasBeenSet; } /** *The relative path of the specified folder from the folder where the query * originated.
*/ inline void SetRelativePath(const Aws::String& value) { m_relativePathHasBeenSet = true; m_relativePath = value; } /** *The relative path of the specified folder from the folder where the query * originated.
*/ inline void SetRelativePath(Aws::String&& value) { m_relativePathHasBeenSet = true; m_relativePath = std::move(value); } /** *The relative path of the specified folder from the folder where the query * originated.
*/ inline void SetRelativePath(const char* value) { m_relativePathHasBeenSet = true; m_relativePath.assign(value); } /** *The relative path of the specified folder from the folder where the query * originated.
*/ inline Folder& WithRelativePath(const Aws::String& value) { SetRelativePath(value); return *this;} /** *The relative path of the specified folder from the folder where the query * originated.
*/ inline Folder& WithRelativePath(Aws::String&& value) { SetRelativePath(std::move(value)); return *this;} /** *The relative path of the specified folder from the folder where the query * originated.
*/ inline Folder& WithRelativePath(const char* value) { SetRelativePath(value); return *this;} private: Aws::String m_treeId; bool m_treeIdHasBeenSet = false; Aws::String m_absolutePath; bool m_absolutePathHasBeenSet = false; Aws::String m_relativePath; bool m_relativePathHasBeenSet = false; }; } // namespace Model } // namespace CodeCommit } // namespace Aws