/** * 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 Amplify { namespace Model { /** *

The result structure for the delete branch request.

See * Also:

AWS * API Reference

*/ class AWS_AMPLIFY_API DeleteBranchResult { public: DeleteBranchResult(); DeleteBranchResult(const Aws::AmazonWebServiceResult& result); DeleteBranchResult& operator=(const Aws::AmazonWebServiceResult& result); /** *

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;} private: Branch m_branch; }; } // namespace Model } // namespace Amplify } // namespace Aws