7#include <aws/codecommit/CodeCommit_EXPORTS.h>
8#include <aws/codecommit/CodeCommitRequest.h>
9#include <aws/core/utils/memory/stl/AWSString.h>
10#include <aws/core/utils/memory/stl/AWSVector.h>
11#include <aws/codecommit/model/PutFileEntry.h>
12#include <aws/codecommit/model/DeleteFileEntry.h>
13#include <aws/codecommit/model/SetFileModeEntry.h>
49 inline void SetRepositoryName(
const char* value) { m_repositoryNameHasBeenSet =
true; m_repositoryName.assign(value); }
63 inline void SetBranchName(
const char* value) { m_branchNameHasBeenSet =
true; m_branchName.assign(value); }
78 inline void SetParentCommitId(
const char* value) { m_parentCommitIdHasBeenSet =
true; m_parentCommitId.assign(value); }
93 inline void SetAuthorName(
const char* value) { m_authorNameHasBeenSet =
true; m_authorName.assign(value); }
107 inline void SetEmail(
const char* value) { m_emailHasBeenSet =
true; m_email.assign(value); }
122 inline void SetCommitMessage(
const char* value) { m_commitMessageHasBeenSet =
true; m_commitMessage.assign(value); }
136 inline void SetKeepEmptyFolders(
bool value) { m_keepEmptyFoldersHasBeenSet =
true; m_keepEmptyFolders = value; }
185 bool m_repositoryNameHasBeenSet =
false;
188 bool m_branchNameHasBeenSet =
false;
191 bool m_parentCommitIdHasBeenSet =
false;
194 bool m_authorNameHasBeenSet =
false;
197 bool m_emailHasBeenSet =
false;
200 bool m_commitMessageHasBeenSet =
false;
202 bool m_keepEmptyFolders;
203 bool m_keepEmptyFoldersHasBeenSet =
false;
206 bool m_putFilesHasBeenSet =
false;
209 bool m_deleteFilesHasBeenSet =
false;
212 bool m_setFileModesHasBeenSet =
false;
void SetParentCommitId(Aws::String &&value)
void SetAuthorName(const char *value)
bool GetKeepEmptyFolders() const
const Aws::Vector< DeleteFileEntry > & GetDeleteFiles() const
CreateCommitRequest & WithPutFiles(const Aws::Vector< PutFileEntry > &value)
void SetEmail(const Aws::String &value)
CreateCommitRequest & AddSetFileModes(SetFileModeEntry &&value)
void SetKeepEmptyFolders(bool value)
CreateCommitRequest & WithRepositoryName(const Aws::String &value)
void SetPutFiles(const Aws::Vector< PutFileEntry > &value)
void SetBranchName(Aws::String &&value)
void SetParentCommitId(const char *value)
bool AuthorNameHasBeenSet() const
bool DeleteFilesHasBeenSet() const
void SetCommitMessage(const Aws::String &value)
bool BranchNameHasBeenSet() const
CreateCommitRequest & WithPutFiles(Aws::Vector< PutFileEntry > &&value)
void SetSetFileModes(Aws::Vector< SetFileModeEntry > &&value)
AWS_CODECOMMIT_API Aws::Http::HeaderValueCollection GetRequestSpecificHeaders() const override
void SetRepositoryName(Aws::String &&value)
void SetBranchName(const Aws::String &value)
bool PutFilesHasBeenSet() const
void SetDeleteFiles(Aws::Vector< DeleteFileEntry > &&value)
CreateCommitRequest & WithAuthorName(const char *value)
const Aws::String & GetBranchName() const
void SetParentCommitId(const Aws::String &value)
CreateCommitRequest & WithDeleteFiles(Aws::Vector< DeleteFileEntry > &&value)
CreateCommitRequest & WithDeleteFiles(const Aws::Vector< DeleteFileEntry > &value)
CreateCommitRequest & WithAuthorName(Aws::String &&value)
CreateCommitRequest & WithEmail(const Aws::String &value)
void SetAuthorName(Aws::String &&value)
void SetSetFileModes(const Aws::Vector< SetFileModeEntry > &value)
CreateCommitRequest & AddPutFiles(PutFileEntry &&value)
const Aws::String & GetEmail() const
CreateCommitRequest & WithParentCommitId(Aws::String &&value)
virtual const char * GetServiceRequestName() const override
CreateCommitRequest & WithCommitMessage(const Aws::String &value)
bool EmailHasBeenSet() const
CreateCommitRequest & WithBranchName(const char *value)
void SetDeleteFiles(const Aws::Vector< DeleteFileEntry > &value)
void SetCommitMessage(Aws::String &&value)
CreateCommitRequest & WithParentCommitId(const Aws::String &value)
CreateCommitRequest & WithCommitMessage(Aws::String &&value)
bool KeepEmptyFoldersHasBeenSet() const
CreateCommitRequest & AddSetFileModes(const SetFileModeEntry &value)
const Aws::String & GetCommitMessage() const
bool SetFileModesHasBeenSet() const
void SetCommitMessage(const char *value)
CreateCommitRequest & WithRepositoryName(Aws::String &&value)
const Aws::String & GetAuthorName() const
bool CommitMessageHasBeenSet() const
const Aws::Vector< PutFileEntry > & GetPutFiles() const
CreateCommitRequest & WithEmail(const char *value)
CreateCommitRequest & WithSetFileModes(const Aws::Vector< SetFileModeEntry > &value)
CreateCommitRequest & WithAuthorName(const Aws::String &value)
CreateCommitRequest & WithRepositoryName(const char *value)
CreateCommitRequest & AddPutFiles(const PutFileEntry &value)
CreateCommitRequest & WithParentCommitId(const char *value)
CreateCommitRequest & WithKeepEmptyFolders(bool value)
const Aws::String & GetParentCommitId() const
CreateCommitRequest & WithEmail(Aws::String &&value)
void SetRepositoryName(const char *value)
void SetPutFiles(Aws::Vector< PutFileEntry > &&value)
const Aws::String & GetRepositoryName() const
CreateCommitRequest & AddDeleteFiles(DeleteFileEntry &&value)
void SetEmail(Aws::String &&value)
bool ParentCommitIdHasBeenSet() const
CreateCommitRequest & WithCommitMessage(const char *value)
void SetRepositoryName(const Aws::String &value)
void SetEmail(const char *value)
CreateCommitRequest & WithSetFileModes(Aws::Vector< SetFileModeEntry > &&value)
void SetBranchName(const char *value)
AWS_CODECOMMIT_API CreateCommitRequest()
CreateCommitRequest & AddDeleteFiles(const DeleteFileEntry &value)
const Aws::Vector< SetFileModeEntry > & GetSetFileModes() const
AWS_CODECOMMIT_API Aws::String SerializePayload() const override
CreateCommitRequest & WithBranchName(const Aws::String &value)
CreateCommitRequest & WithBranchName(Aws::String &&value)
void SetAuthorName(const Aws::String &value)
bool RepositoryNameHasBeenSet() const
Aws::Map< Aws::String, Aws::String > HeaderValueCollection
std::basic_string< char, std::char_traits< char >, Aws::Allocator< char > > String
std::vector< T, Aws::Allocator< T > > Vector