58 lines
1.2 KiB
C++
58 lines
1.2 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
|
|
{
|
|
class AWS_AMPLIFY_API GetBranchResult
|
|
{
|
|
public:
|
|
GetBranchResult();
|
|
GetBranchResult(const Aws::AmazonWebServiceResult<Aws::Utils::Json::JsonValue>& result);
|
|
GetBranchResult& operator=(const Aws::AmazonWebServiceResult<Aws::Utils::Json::JsonValue>& result);
|
|
|
|
|
|
|
|
inline const Branch& GetBranch() const{ return m_branch; }
|
|
|
|
|
|
inline void SetBranch(const Branch& value) { m_branch = value; }
|
|
|
|
|
|
inline void SetBranch(Branch&& value) { m_branch = std::move(value); }
|
|
|
|
|
|
inline GetBranchResult& WithBranch(const Branch& value) { SetBranch(value); return *this;}
|
|
|
|
|
|
inline GetBranchResult& WithBranch(Branch&& value) { SetBranch(std::move(value)); return *this;}
|
|
|
|
private:
|
|
|
|
Branch m_branch;
|
|
};
|
|
|
|
} // namespace Model
|
|
} // namespace Amplify
|
|
} // namespace Aws
|