/**
* Copyright Amazon.com, Inc. or its affiliates. All Rights Reserved.
* SPDX-License-Identifier: Apache-2.0.
*/
#pragma once
#include Represents the input of a list branches operation.See Also:
* AWS
* API Reference
The name of the repository that contains the branches.
*/ inline const Aws::String& GetRepositoryName() const{ return m_repositoryName; } /** *The name of the repository that contains the branches.
*/ inline bool RepositoryNameHasBeenSet() const { return m_repositoryNameHasBeenSet; } /** *The name of the repository that contains the branches.
*/ inline void SetRepositoryName(const Aws::String& value) { m_repositoryNameHasBeenSet = true; m_repositoryName = value; } /** *The name of the repository that contains the branches.
*/ inline void SetRepositoryName(Aws::String&& value) { m_repositoryNameHasBeenSet = true; m_repositoryName = std::move(value); } /** *The name of the repository that contains the branches.
*/ inline void SetRepositoryName(const char* value) { m_repositoryNameHasBeenSet = true; m_repositoryName.assign(value); } /** *The name of the repository that contains the branches.
*/ inline ListBranchesRequest& WithRepositoryName(const Aws::String& value) { SetRepositoryName(value); return *this;} /** *The name of the repository that contains the branches.
*/ inline ListBranchesRequest& WithRepositoryName(Aws::String&& value) { SetRepositoryName(std::move(value)); return *this;} /** *The name of the repository that contains the branches.
*/ inline ListBranchesRequest& WithRepositoryName(const char* value) { SetRepositoryName(value); return *this;} /** *An enumeration token that allows the operation to batch the results.
*/ inline const Aws::String& GetNextToken() const{ return m_nextToken; } /** *An enumeration token that allows the operation to batch the results.
*/ inline bool NextTokenHasBeenSet() const { return m_nextTokenHasBeenSet; } /** *An enumeration token that allows the operation to batch the results.
*/ inline void SetNextToken(const Aws::String& value) { m_nextTokenHasBeenSet = true; m_nextToken = value; } /** *An enumeration token that allows the operation to batch the results.
*/ inline void SetNextToken(Aws::String&& value) { m_nextTokenHasBeenSet = true; m_nextToken = std::move(value); } /** *An enumeration token that allows the operation to batch the results.
*/ inline void SetNextToken(const char* value) { m_nextTokenHasBeenSet = true; m_nextToken.assign(value); } /** *An enumeration token that allows the operation to batch the results.
*/ inline ListBranchesRequest& WithNextToken(const Aws::String& value) { SetNextToken(value); return *this;} /** *An enumeration token that allows the operation to batch the results.
*/ inline ListBranchesRequest& WithNextToken(Aws::String&& value) { SetNextToken(std::move(value)); return *this;} /** *An enumeration token that allows the operation to batch the results.
*/ inline ListBranchesRequest& WithNextToken(const char* value) { SetNextToken(value); return *this;} private: Aws::String m_repositoryName; bool m_repositoryNameHasBeenSet = false; Aws::String m_nextToken; bool m_nextTokenHasBeenSet = false; }; } // namespace Model } // namespace CodeCommit } // namespace Aws