/**
* 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;} inline const Aws::String& GetRequestId() const{ return m_requestId; } inline void SetRequestId(const Aws::String& value) { m_requestId = value; } inline void SetRequestId(Aws::String&& value) { m_requestId = std::move(value); } inline void SetRequestId(const char* value) { m_requestId.assign(value); } inline GetCommitResult& WithRequestId(const Aws::String& value) { SetRequestId(value); return *this;} inline GetCommitResult& WithRequestId(Aws::String&& value) { SetRequestId(std::move(value)); return *this;} inline GetCommitResult& WithRequestId(const char* value) { SetRequestId(value); return *this;} private: Commit m_commit; Aws::String m_requestId; }; } // namespace Model } // namespace CodeCommit } // namespace Aws