/** * 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 create branch request.

See Also:

* AWS * API Reference

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

Describes the branch for an Amplify app, which maps to a third-party * repository branch.

*/ inline const Branch& GetBranch() const{ return m_branch; } /** *

Describes the branch for an Amplify app, which maps to a third-party * repository branch.

*/ inline void SetBranch(const Branch& value) { m_branch = value; } /** *

Describes the branch for an Amplify app, which maps to a third-party * repository branch.

*/ inline void SetBranch(Branch&& value) { m_branch = std::move(value); } /** *

Describes the branch for an Amplify app, which maps to a third-party * repository branch.

*/ inline CreateBranchResult& WithBranch(const Branch& value) { SetBranch(value); return *this;} /** *

Describes the branch for an Amplify app, which maps to a third-party * repository branch.

*/ inline CreateBranchResult& WithBranch(Branch&& value) { SetBranch(std::move(value)); return *this;} private: Branch m_branch; }; } // namespace Model } // namespace Amplify } // namespace Aws