7#include <aws/codecommit/CodeCommit_EXPORTS.h>
8#include <aws/core/utils/memory/stl/AWSString.h>
9#include <aws/core/utils/memory/stl/AWSVector.h>
10#include <aws/codecommit/model/UserInfo.h>
50 inline void SetCommitId(
const char* value) { m_commitIdHasBeenSet =
true; m_commitId.assign(value); }
64 inline void SetTreeId(
const char* value) { m_treeIdHasBeenSet =
true; m_treeId.assign(value); }
83 inline Commit&
AddParents(
const char* value) { m_parentsHasBeenSet =
true; m_parents.push_back(value);
return *
this; }
94 inline void SetMessage(
const char* value) { m_messageHasBeenSet =
true; m_message.assign(value); }
109 inline void SetAuthor(
UserInfo&& value) { m_authorHasBeenSet =
true; m_author = std::move(value); }
140 inline void SetAdditionalData(
const char* value) { m_additionalDataHasBeenSet =
true; m_additionalData.assign(value); }
148 bool m_commitIdHasBeenSet =
false;
151 bool m_treeIdHasBeenSet =
false;
154 bool m_parentsHasBeenSet =
false;
157 bool m_messageHasBeenSet =
false;
160 bool m_authorHasBeenSet =
false;
163 bool m_committerHasBeenSet =
false;
166 bool m_additionalDataHasBeenSet =
false;
void SetAuthor(UserInfo &&value)
bool CommitIdHasBeenSet() const
void SetCommitter(const UserInfo &value)
void SetParents(Aws::Vector< Aws::String > &&value)
const Aws::String & GetAdditionalData() const
void SetParents(const Aws::Vector< Aws::String > &value)
Commit & WithCommitId(Aws::String &&value)
const Aws::String & GetMessage() const
void SetMessage(const Aws::String &value)
void SetMessage(const char *value)
void SetAdditionalData(const char *value)
const UserInfo & GetAuthor() const
const Aws::Vector< Aws::String > & GetParents() const
const UserInfo & GetCommitter() const
AWS_CODECOMMIT_API Commit(Aws::Utils::Json::JsonView jsonValue)
const Aws::String & GetCommitId() const
Commit & WithAuthor(const UserInfo &value)
void SetCommitId(const char *value)
void SetCommitter(UserInfo &&value)
void SetCommitId(const Aws::String &value)
Commit & WithTreeId(const Aws::String &value)
Commit & AddParents(const Aws::String &value)
Commit & WithCommitId(const Aws::String &value)
Commit & WithParents(Aws::Vector< Aws::String > &&value)
void SetAdditionalData(Aws::String &&value)
bool ParentsHasBeenSet() const
AWS_CODECOMMIT_API Aws::Utils::Json::JsonValue Jsonize() const
Commit & WithParents(const Aws::Vector< Aws::String > &value)
const Aws::String & GetTreeId() const
Commit & WithAdditionalData(const char *value)
void SetCommitId(Aws::String &&value)
Commit & AddParents(const char *value)
Commit & WithMessage(Aws::String &&value)
Commit & WithTreeId(const char *value)
bool AdditionalDataHasBeenSet() const
Commit & WithMessage(const char *value)
Commit & WithCommitId(const char *value)
Commit & AddParents(Aws::String &&value)
void SetTreeId(const char *value)
Commit & WithAuthor(UserInfo &&value)
Commit & WithTreeId(Aws::String &&value)
bool AuthorHasBeenSet() const
Commit & WithMessage(const Aws::String &value)
bool TreeIdHasBeenSet() const
bool MessageHasBeenSet() const
AWS_CODECOMMIT_API Commit()
Commit & WithCommitter(UserInfo &&value)
void SetTreeId(Aws::String &&value)
bool CommitterHasBeenSet() const
void SetAuthor(const UserInfo &value)
void SetTreeId(const Aws::String &value)
Commit & WithAdditionalData(Aws::String &&value)
Commit & WithCommitter(const UserInfo &value)
Commit & WithAdditionalData(const Aws::String &value)
void SetMessage(Aws::String &&value)
AWS_CODECOMMIT_API Commit & operator=(Aws::Utils::Json::JsonView jsonValue)
void SetAdditionalData(const Aws::String &value)
std::basic_string< char, std::char_traits< char >, Aws::Allocator< char > > String
std::vector< T, Aws::Allocator< T > > Vector
Aws::Utils::Json::JsonValue JsonValue