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-codecommit/include/aws/codecommit/model/CreateUnreferencedMergeCommitResult.h

123 lines
3.8 KiB
C++

/**
* Copyright Amazon.com, Inc. or its affiliates. All Rights Reserved.
* SPDX-License-Identifier: Apache-2.0.
*/
#pragma once
#include <aws/codecommit/CodeCommit_EXPORTS.h>
#include <aws/core/utils/memory/stl/AWSString.h>
#include <utility>
namespace Aws
{
template<typename RESULT_TYPE>
class AmazonWebServiceResult;
namespace Utils
{
namespace Json
{
class JsonValue;
} // namespace Json
} // namespace Utils
namespace CodeCommit
{
namespace Model
{
class AWS_CODECOMMIT_API CreateUnreferencedMergeCommitResult
{
public:
CreateUnreferencedMergeCommitResult();
CreateUnreferencedMergeCommitResult(const Aws::AmazonWebServiceResult<Aws::Utils::Json::JsonValue>& result);
CreateUnreferencedMergeCommitResult& operator=(const Aws::AmazonWebServiceResult<Aws::Utils::Json::JsonValue>& result);
/**
* <p>The full commit ID of the commit that contains your merge results.</p>
*/
inline const Aws::String& GetCommitId() const{ return m_commitId; }
/**
* <p>The full commit ID of the commit that contains your merge results.</p>
*/
inline void SetCommitId(const Aws::String& value) { m_commitId = value; }
/**
* <p>The full commit ID of the commit that contains your merge results.</p>
*/
inline void SetCommitId(Aws::String&& value) { m_commitId = std::move(value); }
/**
* <p>The full commit ID of the commit that contains your merge results.</p>
*/
inline void SetCommitId(const char* value) { m_commitId.assign(value); }
/**
* <p>The full commit ID of the commit that contains your merge results.</p>
*/
inline CreateUnreferencedMergeCommitResult& WithCommitId(const Aws::String& value) { SetCommitId(value); return *this;}
/**
* <p>The full commit ID of the commit that contains your merge results.</p>
*/
inline CreateUnreferencedMergeCommitResult& WithCommitId(Aws::String&& value) { SetCommitId(std::move(value)); return *this;}
/**
* <p>The full commit ID of the commit that contains your merge results.</p>
*/
inline CreateUnreferencedMergeCommitResult& WithCommitId(const char* value) { SetCommitId(value); return *this;}
/**
* <p>The full SHA-1 pointer of the tree information for the commit that contains
* the merge results.</p>
*/
inline const Aws::String& GetTreeId() const{ return m_treeId; }
/**
* <p>The full SHA-1 pointer of the tree information for the commit that contains
* the merge results.</p>
*/
inline void SetTreeId(const Aws::String& value) { m_treeId = value; }
/**
* <p>The full SHA-1 pointer of the tree information for the commit that contains
* the merge results.</p>
*/
inline void SetTreeId(Aws::String&& value) { m_treeId = std::move(value); }
/**
* <p>The full SHA-1 pointer of the tree information for the commit that contains
* the merge results.</p>
*/
inline void SetTreeId(const char* value) { m_treeId.assign(value); }
/**
* <p>The full SHA-1 pointer of the tree information for the commit that contains
* the merge results.</p>
*/
inline CreateUnreferencedMergeCommitResult& WithTreeId(const Aws::String& value) { SetTreeId(value); return *this;}
/**
* <p>The full SHA-1 pointer of the tree information for the commit that contains
* the merge results.</p>
*/
inline CreateUnreferencedMergeCommitResult& WithTreeId(Aws::String&& value) { SetTreeId(std::move(value)); return *this;}
/**
* <p>The full SHA-1 pointer of the tree information for the commit that contains
* the merge results.</p>
*/
inline CreateUnreferencedMergeCommitResult& WithTreeId(const char* value) { SetTreeId(value); return *this;}
private:
Aws::String m_commitId;
Aws::String m_treeId;
};
} // namespace Model
} // namespace CodeCommit
} // namespace Aws