This repository has been archived on 2025-09-14. You can view files and clone it, but cannot push or open issues or pull requests.
Files
pxz-hos-client-cpp-module/support/aws-sdk-cpp-master/aws-cpp-sdk-amplify/include/aws/amplify/model/DeleteBranchResult.h

79 lines
2.0 KiB
C++

/**
* Copyright Amazon.com, Inc. or its affiliates. All Rights Reserved.
* SPDX-License-Identifier: Apache-2.0.
*/
#pragma once
#include <aws/amplify/Amplify_EXPORTS.h>
#include <aws/amplify/model/Branch.h>
#include <utility>
namespace Aws
{
template<typename RESULT_TYPE>
class AmazonWebServiceResult;
namespace Utils
{
namespace Json
{
class JsonValue;
} // namespace Json
} // namespace Utils
namespace Amplify
{
namespace Model
{
/**
* <p> The result structure for the delete branch request. </p><p><h3>See
* Also:</h3> <a
* href="http://docs.aws.amazon.com/goto/WebAPI/amplify-2017-07-25/DeleteBranchResult">AWS
* API Reference</a></p>
*/
class AWS_AMPLIFY_API DeleteBranchResult
{
public:
DeleteBranchResult();
DeleteBranchResult(const Aws::AmazonWebServiceResult<Aws::Utils::Json::JsonValue>& result);
DeleteBranchResult& operator=(const Aws::AmazonWebServiceResult<Aws::Utils::Json::JsonValue>& result);
/**
* <p> The branch for an Amplify app, which maps to a third-party repository
* branch. </p>
*/
inline const Branch& GetBranch() const{ return m_branch; }
/**
* <p> The branch for an Amplify app, which maps to a third-party repository
* branch. </p>
*/
inline void SetBranch(const Branch& value) { m_branch = value; }
/**
* <p> The branch for an Amplify app, which maps to a third-party repository
* branch. </p>
*/
inline void SetBranch(Branch&& value) { m_branch = std::move(value); }
/**
* <p> The branch for an Amplify app, which maps to a third-party repository
* branch. </p>
*/
inline DeleteBranchResult& WithBranch(const Branch& value) { SetBranch(value); return *this;}
/**
* <p> The branch for an Amplify app, which maps to a third-party repository
* branch. </p>
*/
inline DeleteBranchResult& WithBranch(Branch&& value) { SetBranch(std::move(value)); return *this;}
private:
Branch m_branch;
};
} // namespace Model
} // namespace Amplify
} // namespace Aws