/**
* Copyright Amazon.com, Inc. or its affiliates. All Rights Reserved.
* SPDX-License-Identifier: Apache-2.0.
*/
#pragma once
#include Represents the output of a get branch operation.See Also:
* AWS
* API Reference
The name of the branch.
*/ inline const BranchInfo& GetBranch() const{ return m_branch; } /** *The name of the branch.
*/ inline void SetBranch(const BranchInfo& value) { m_branch = value; } /** *The name of the branch.
*/ inline void SetBranch(BranchInfo&& value) { m_branch = std::move(value); } /** *The name of the branch.
*/ inline GetBranchResult& WithBranch(const BranchInfo& value) { SetBranch(value); return *this;} /** *The name of the branch.
*/ inline GetBranchResult& WithBranch(BranchInfo&& value) { SetBranch(std::move(value)); return *this;} private: BranchInfo m_branch; }; } // namespace Model } // namespace CodeCommit } // namespace Aws