AWS SDK for C++  1.8.182
AWS SDK for C++
Public Member Functions | List of all members
Aws::CodeCommit::Model::Commit Class Reference

#include <Commit.h>

Public Member Functions

 Commit ()
 
 Commit (Aws::Utils::Json::JsonView jsonValue)
 
Commitoperator= (Aws::Utils::Json::JsonView jsonValue)
 
Aws::Utils::Json::JsonValue Jsonize () const
 
const Aws::StringGetCommitId () const
 
bool CommitIdHasBeenSet () const
 
void SetCommitId (const Aws::String &value)
 
void SetCommitId (Aws::String &&value)
 
void SetCommitId (const char *value)
 
CommitWithCommitId (const Aws::String &value)
 
CommitWithCommitId (Aws::String &&value)
 
CommitWithCommitId (const char *value)
 
const Aws::StringGetTreeId () const
 
bool TreeIdHasBeenSet () const
 
void SetTreeId (const Aws::String &value)
 
void SetTreeId (Aws::String &&value)
 
void SetTreeId (const char *value)
 
CommitWithTreeId (const Aws::String &value)
 
CommitWithTreeId (Aws::String &&value)
 
CommitWithTreeId (const char *value)
 
const Aws::Vector< Aws::String > & GetParents () const
 
bool ParentsHasBeenSet () const
 
void SetParents (const Aws::Vector< Aws::String > &value)
 
void SetParents (Aws::Vector< Aws::String > &&value)
 
CommitWithParents (const Aws::Vector< Aws::String > &value)
 
CommitWithParents (Aws::Vector< Aws::String > &&value)
 
CommitAddParents (const Aws::String &value)
 
CommitAddParents (Aws::String &&value)
 
CommitAddParents (const char *value)
 
const Aws::StringGetMessage () const
 
bool MessageHasBeenSet () const
 
void SetMessage (const Aws::String &value)
 
void SetMessage (Aws::String &&value)
 
void SetMessage (const char *value)
 
CommitWithMessage (const Aws::String &value)
 
CommitWithMessage (Aws::String &&value)
 
CommitWithMessage (const char *value)
 
const UserInfoGetAuthor () const
 
bool AuthorHasBeenSet () const
 
void SetAuthor (const UserInfo &value)
 
void SetAuthor (UserInfo &&value)
 
CommitWithAuthor (const UserInfo &value)
 
CommitWithAuthor (UserInfo &&value)
 
const UserInfoGetCommitter () const
 
bool CommitterHasBeenSet () const
 
void SetCommitter (const UserInfo &value)
 
void SetCommitter (UserInfo &&value)
 
CommitWithCommitter (const UserInfo &value)
 
CommitWithCommitter (UserInfo &&value)
 
const Aws::StringGetAdditionalData () const
 
bool AdditionalDataHasBeenSet () const
 
void SetAdditionalData (const Aws::String &value)
 
void SetAdditionalData (Aws::String &&value)
 
void SetAdditionalData (const char *value)
 
CommitWithAdditionalData (const Aws::String &value)
 
CommitWithAdditionalData (Aws::String &&value)
 
CommitWithAdditionalData (const char *value)
 

Detailed Description

Returns information about a specific commit.

See Also:

AWS API Reference

Definition at line 33 of file Commit.h.

Constructor & Destructor Documentation

◆ Commit() [1/2]

Aws::CodeCommit::Model::Commit::Commit ( )

◆ Commit() [2/2]

Aws::CodeCommit::Model::Commit::Commit ( Aws::Utils::Json::JsonView  jsonValue)

Member Function Documentation

◆ AdditionalDataHasBeenSet()

bool Aws::CodeCommit::Model::Commit::AdditionalDataHasBeenSet ( ) const
inline

Any other data associated with the specified commit.

Definition at line 338 of file Commit.h.

◆ AddParents() [1/3]

Commit& Aws::CodeCommit::Model::Commit::AddParents ( Aws::String &&  value)
inline

A list of parent commits for the specified commit. Each parent commit ID is the full commit ID.

Definition at line 170 of file Commit.h.

◆ AddParents() [2/3]

Commit& Aws::CodeCommit::Model::Commit::AddParents ( const Aws::String value)
inline

A list of parent commits for the specified commit. Each parent commit ID is the full commit ID.

Definition at line 164 of file Commit.h.

◆ AddParents() [3/3]

Commit& Aws::CodeCommit::Model::Commit::AddParents ( const char *  value)
inline

A list of parent commits for the specified commit. Each parent commit ID is the full commit ID.

Definition at line 176 of file Commit.h.

◆ AuthorHasBeenSet()

bool Aws::CodeCommit::Model::Commit::AuthorHasBeenSet ( ) const
inline

Information about the author of the specified commit. Information includes the date in timestamp format with GMT offset, the name of the author, and the email address for the author, as configured in Git.

Definition at line 232 of file Commit.h.

◆ CommitIdHasBeenSet()

bool Aws::CodeCommit::Model::Commit::CommitIdHasBeenSet ( ) const
inline

The full SHA ID of the specified commit.

Definition at line 50 of file Commit.h.

◆ CommitterHasBeenSet()

bool Aws::CodeCommit::Model::Commit::CommitterHasBeenSet ( ) const
inline

Information about the person who committed the specified commit, also known as the committer. Information includes the date in timestamp format with GMT offset, the name of the committer, and the email address for the committer, as configured in Git.

For more information about the difference between an author and a committer in Git, see Viewing the Commit History in Pro Git by Scott Chacon and Ben Straub.

Definition at line 283 of file Commit.h.

◆ GetAdditionalData()

const Aws::String& Aws::CodeCommit::Model::Commit::GetAdditionalData ( ) const
inline

Any other data associated with the specified commit.

Definition at line 333 of file Commit.h.

◆ GetAuthor()

const UserInfo& Aws::CodeCommit::Model::Commit::GetAuthor ( ) const
inline

Information about the author of the specified commit. Information includes the date in timestamp format with GMT offset, the name of the author, and the email address for the author, as configured in Git.

Definition at line 225 of file Commit.h.

◆ GetCommitId()

const Aws::String& Aws::CodeCommit::Model::Commit::GetCommitId ( ) const
inline

The full SHA ID of the specified commit.

Definition at line 45 of file Commit.h.

◆ GetCommitter()

const UserInfo& Aws::CodeCommit::Model::Commit::GetCommitter ( ) const
inline

Information about the person who committed the specified commit, also known as the committer. Information includes the date in timestamp format with GMT offset, the name of the committer, and the email address for the committer, as configured in Git.

For more information about the difference between an author and a committer in Git, see Viewing the Commit History in Pro Git by Scott Chacon and Ben Straub.

Definition at line 272 of file Commit.h.

◆ GetMessage()

const Aws::String& Aws::CodeCommit::Model::Commit::GetMessage ( ) const
inline

The commit message associated with the specified commit.

Definition at line 182 of file Commit.h.

◆ GetParents()

const Aws::Vector<Aws::String>& Aws::CodeCommit::Model::Commit::GetParents ( ) const
inline

A list of parent commits for the specified commit. Each parent commit ID is the full commit ID.

Definition at line 128 of file Commit.h.

◆ GetTreeId()

const Aws::String& Aws::CodeCommit::Model::Commit::GetTreeId ( ) const
inline

Tree information for the specified commit.

Definition at line 86 of file Commit.h.

◆ Jsonize()

Aws::Utils::Json::JsonValue Aws::CodeCommit::Model::Commit::Jsonize ( ) const

◆ MessageHasBeenSet()

bool Aws::CodeCommit::Model::Commit::MessageHasBeenSet ( ) const
inline

The commit message associated with the specified commit.

Definition at line 187 of file Commit.h.

◆ operator=()

Commit& Aws::CodeCommit::Model::Commit::operator= ( Aws::Utils::Json::JsonView  jsonValue)

◆ ParentsHasBeenSet()

bool Aws::CodeCommit::Model::Commit::ParentsHasBeenSet ( ) const
inline

A list of parent commits for the specified commit. Each parent commit ID is the full commit ID.

Definition at line 134 of file Commit.h.

◆ SetAdditionalData() [1/3]

void Aws::CodeCommit::Model::Commit::SetAdditionalData ( Aws::String &&  value)
inline

Any other data associated with the specified commit.

Definition at line 348 of file Commit.h.

◆ SetAdditionalData() [2/3]

void Aws::CodeCommit::Model::Commit::SetAdditionalData ( const Aws::String value)
inline

Any other data associated with the specified commit.

Definition at line 343 of file Commit.h.

◆ SetAdditionalData() [3/3]

void Aws::CodeCommit::Model::Commit::SetAdditionalData ( const char *  value)
inline

Any other data associated with the specified commit.

Definition at line 353 of file Commit.h.

◆ SetAuthor() [1/2]

void Aws::CodeCommit::Model::Commit::SetAuthor ( const UserInfo value)
inline

Information about the author of the specified commit. Information includes the date in timestamp format with GMT offset, the name of the author, and the email address for the author, as configured in Git.

Definition at line 239 of file Commit.h.

◆ SetAuthor() [2/2]

void Aws::CodeCommit::Model::Commit::SetAuthor ( UserInfo &&  value)
inline

Information about the author of the specified commit. Information includes the date in timestamp format with GMT offset, the name of the author, and the email address for the author, as configured in Git.

Definition at line 246 of file Commit.h.

◆ SetCommitId() [1/3]

void Aws::CodeCommit::Model::Commit::SetCommitId ( Aws::String &&  value)
inline

The full SHA ID of the specified commit.

Definition at line 60 of file Commit.h.

◆ SetCommitId() [2/3]

void Aws::CodeCommit::Model::Commit::SetCommitId ( const Aws::String value)
inline

The full SHA ID of the specified commit.

Definition at line 55 of file Commit.h.

◆ SetCommitId() [3/3]

void Aws::CodeCommit::Model::Commit::SetCommitId ( const char *  value)
inline

The full SHA ID of the specified commit.

Definition at line 65 of file Commit.h.

◆ SetCommitter() [1/2]

void Aws::CodeCommit::Model::Commit::SetCommitter ( const UserInfo value)
inline

Information about the person who committed the specified commit, also known as the committer. Information includes the date in timestamp format with GMT offset, the name of the committer, and the email address for the committer, as configured in Git.

For more information about the difference between an author and a committer in Git, see Viewing the Commit History in Pro Git by Scott Chacon and Ben Straub.

Definition at line 294 of file Commit.h.

◆ SetCommitter() [2/2]

void Aws::CodeCommit::Model::Commit::SetCommitter ( UserInfo &&  value)
inline

Information about the person who committed the specified commit, also known as the committer. Information includes the date in timestamp format with GMT offset, the name of the committer, and the email address for the committer, as configured in Git.

For more information about the difference between an author and a committer in Git, see Viewing the Commit History in Pro Git by Scott Chacon and Ben Straub.

Definition at line 305 of file Commit.h.

◆ SetMessage() [1/3]

void Aws::CodeCommit::Model::Commit::SetMessage ( Aws::String &&  value)
inline

The commit message associated with the specified commit.

Definition at line 197 of file Commit.h.

◆ SetMessage() [2/3]

void Aws::CodeCommit::Model::Commit::SetMessage ( const Aws::String value)
inline

The commit message associated with the specified commit.

Definition at line 192 of file Commit.h.

◆ SetMessage() [3/3]

void Aws::CodeCommit::Model::Commit::SetMessage ( const char *  value)
inline

The commit message associated with the specified commit.

Definition at line 202 of file Commit.h.

◆ SetParents() [1/2]

void Aws::CodeCommit::Model::Commit::SetParents ( Aws::Vector< Aws::String > &&  value)
inline

A list of parent commits for the specified commit. Each parent commit ID is the full commit ID.

Definition at line 146 of file Commit.h.

◆ SetParents() [2/2]

void Aws::CodeCommit::Model::Commit::SetParents ( const Aws::Vector< Aws::String > &  value)
inline

A list of parent commits for the specified commit. Each parent commit ID is the full commit ID.

Definition at line 140 of file Commit.h.

◆ SetTreeId() [1/3]

void Aws::CodeCommit::Model::Commit::SetTreeId ( Aws::String &&  value)
inline

Tree information for the specified commit.

Definition at line 101 of file Commit.h.

◆ SetTreeId() [2/3]

void Aws::CodeCommit::Model::Commit::SetTreeId ( const Aws::String value)
inline

Tree information for the specified commit.

Definition at line 96 of file Commit.h.

◆ SetTreeId() [3/3]

void Aws::CodeCommit::Model::Commit::SetTreeId ( const char *  value)
inline

Tree information for the specified commit.

Definition at line 106 of file Commit.h.

◆ TreeIdHasBeenSet()

bool Aws::CodeCommit::Model::Commit::TreeIdHasBeenSet ( ) const
inline

Tree information for the specified commit.

Definition at line 91 of file Commit.h.

◆ WithAdditionalData() [1/3]

Commit& Aws::CodeCommit::Model::Commit::WithAdditionalData ( Aws::String &&  value)
inline

Any other data associated with the specified commit.

Definition at line 363 of file Commit.h.

◆ WithAdditionalData() [2/3]

Commit& Aws::CodeCommit::Model::Commit::WithAdditionalData ( const Aws::String value)
inline

Any other data associated with the specified commit.

Definition at line 358 of file Commit.h.

◆ WithAdditionalData() [3/3]

Commit& Aws::CodeCommit::Model::Commit::WithAdditionalData ( const char *  value)
inline

Any other data associated with the specified commit.

Definition at line 368 of file Commit.h.

◆ WithAuthor() [1/2]

Commit& Aws::CodeCommit::Model::Commit::WithAuthor ( const UserInfo value)
inline

Information about the author of the specified commit. Information includes the date in timestamp format with GMT offset, the name of the author, and the email address for the author, as configured in Git.

Definition at line 253 of file Commit.h.

◆ WithAuthor() [2/2]

Commit& Aws::CodeCommit::Model::Commit::WithAuthor ( UserInfo &&  value)
inline

Information about the author of the specified commit. Information includes the date in timestamp format with GMT offset, the name of the author, and the email address for the author, as configured in Git.

Definition at line 260 of file Commit.h.

◆ WithCommitId() [1/3]

Commit& Aws::CodeCommit::Model::Commit::WithCommitId ( Aws::String &&  value)
inline

The full SHA ID of the specified commit.

Definition at line 75 of file Commit.h.

◆ WithCommitId() [2/3]

Commit& Aws::CodeCommit::Model::Commit::WithCommitId ( const Aws::String value)
inline

The full SHA ID of the specified commit.

Definition at line 70 of file Commit.h.

◆ WithCommitId() [3/3]

Commit& Aws::CodeCommit::Model::Commit::WithCommitId ( const char *  value)
inline

The full SHA ID of the specified commit.

Definition at line 80 of file Commit.h.

◆ WithCommitter() [1/2]

Commit& Aws::CodeCommit::Model::Commit::WithCommitter ( const UserInfo value)
inline

Information about the person who committed the specified commit, also known as the committer. Information includes the date in timestamp format with GMT offset, the name of the committer, and the email address for the committer, as configured in Git.

For more information about the difference between an author and a committer in Git, see Viewing the Commit History in Pro Git by Scott Chacon and Ben Straub.

Definition at line 316 of file Commit.h.

◆ WithCommitter() [2/2]

Commit& Aws::CodeCommit::Model::Commit::WithCommitter ( UserInfo &&  value)
inline

Information about the person who committed the specified commit, also known as the committer. Information includes the date in timestamp format with GMT offset, the name of the committer, and the email address for the committer, as configured in Git.

For more information about the difference between an author and a committer in Git, see Viewing the Commit History in Pro Git by Scott Chacon and Ben Straub.

Definition at line 327 of file Commit.h.

◆ WithMessage() [1/3]

Commit& Aws::CodeCommit::Model::Commit::WithMessage ( Aws::String &&  value)
inline

The commit message associated with the specified commit.

Definition at line 212 of file Commit.h.

◆ WithMessage() [2/3]

Commit& Aws::CodeCommit::Model::Commit::WithMessage ( const Aws::String value)
inline

The commit message associated with the specified commit.

Definition at line 207 of file Commit.h.

◆ WithMessage() [3/3]

Commit& Aws::CodeCommit::Model::Commit::WithMessage ( const char *  value)
inline

The commit message associated with the specified commit.

Definition at line 217 of file Commit.h.

◆ WithParents() [1/2]

Commit& Aws::CodeCommit::Model::Commit::WithParents ( Aws::Vector< Aws::String > &&  value)
inline

A list of parent commits for the specified commit. Each parent commit ID is the full commit ID.

Definition at line 158 of file Commit.h.

◆ WithParents() [2/2]

Commit& Aws::CodeCommit::Model::Commit::WithParents ( const Aws::Vector< Aws::String > &  value)
inline

A list of parent commits for the specified commit. Each parent commit ID is the full commit ID.

Definition at line 152 of file Commit.h.

◆ WithTreeId() [1/3]

Commit& Aws::CodeCommit::Model::Commit::WithTreeId ( Aws::String &&  value)
inline

Tree information for the specified commit.

Definition at line 116 of file Commit.h.

◆ WithTreeId() [2/3]

Commit& Aws::CodeCommit::Model::Commit::WithTreeId ( const Aws::String value)
inline

Tree information for the specified commit.

Definition at line 111 of file Commit.h.

◆ WithTreeId() [3/3]

Commit& Aws::CodeCommit::Model::Commit::WithTreeId ( const char *  value)
inline

Tree information for the specified commit.

Definition at line 121 of file Commit.h.


The documentation for this class was generated from the following file: