/**
* Copyright Amazon.com, Inc. or its affiliates. All Rights Reserved.
* SPDX-License-Identifier: Apache-2.0.
*/
#pragma once
#include The result structure for the delete branch request. See
* Also:
AWS
* API Reference
The branch for an Amplify app, which maps to a third-party repository * branch.
*/ inline const Branch& GetBranch() const{ return m_branch; } /** *The branch for an Amplify app, which maps to a third-party repository * branch.
*/ inline void SetBranch(const Branch& value) { m_branch = value; } /** *The branch for an Amplify app, which maps to a third-party repository * branch.
*/ inline void SetBranch(Branch&& value) { m_branch = std::move(value); } /** *The branch for an Amplify app, which maps to a third-party repository * branch.
*/ inline DeleteBranchResult& WithBranch(const Branch& value) { SetBranch(value); return *this;} /** *The branch for an Amplify app, which maps to a third-party repository * branch.
*/ inline DeleteBranchResult& WithBranch(Branch&& value) { SetBranch(std::move(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 DeleteBranchResult& WithRequestId(const Aws::String& value) { SetRequestId(value); return *this;} inline DeleteBranchResult& WithRequestId(Aws::String&& value) { SetRequestId(std::move(value)); return *this;} inline DeleteBranchResult& WithRequestId(const char* value) { SetRequestId(value); return *this;} private: Branch m_branch; Aws::String m_requestId; }; } // namespace Model } // namespace Amplify } // namespace Aws