/**
* Copyright Amazon.com, Inc. or its affiliates. All Rights Reserved.
* SPDX-License-Identifier: Apache-2.0.
*/
#pragma once
#include Represents the output of a get commit operation.See Also:
* AWS
* API Reference
A commit data type object that contains information about the specified * commit.
*/ inline const Commit& GetCommit() const{ return m_commit; } /** *A commit data type object that contains information about the specified * commit.
*/ inline void SetCommit(const Commit& value) { m_commit = value; } /** *A commit data type object that contains information about the specified * commit.
*/ inline void SetCommit(Commit&& value) { m_commit = std::move(value); } /** *A commit data type object that contains information about the specified * commit.
*/ inline GetCommitResult& WithCommit(const Commit& value) { SetCommit(value); return *this;} /** *A commit data type object that contains information about the specified * commit.
*/ inline GetCommitResult& WithCommit(Commit&& value) { SetCommit(std::move(value)); return *this;} private: Commit m_commit; }; } // namespace Model } // namespace CodeCommit } // namespace Aws