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/Array.h>
11#include <aws/codecommit/model/FileModeTypeEnum.h>
47 inline void SetRepositoryName(
const char* value) { m_repositoryNameHasBeenSet =
true; m_repositoryName.assign(value); }
62 inline void SetBranchName(
const char* value) { m_branchNameHasBeenSet =
true; m_branchName.assign(value); }
91 inline void SetFilePath(
const char* value) { m_filePathHasBeenSet =
true; m_filePath.assign(value); }
122 inline void SetParentCommitId(
const char* value) { m_parentCommitIdHasBeenSet =
true; m_parentCommitId.assign(value); }
137 inline void SetCommitMessage(
const char* value) { m_commitMessageHasBeenSet =
true; m_commitMessage.assign(value); }
152 inline void SetName(
const char* value) { m_nameHasBeenSet =
true; m_name.assign(value); }
166 inline void SetEmail(
const char* value) { m_emailHasBeenSet =
true; m_email.assign(value); }
174 bool m_repositoryNameHasBeenSet =
false;
177 bool m_branchNameHasBeenSet =
false;
180 bool m_fileContentHasBeenSet =
false;
183 bool m_filePathHasBeenSet =
false;
186 bool m_fileModeHasBeenSet =
false;
189 bool m_parentCommitIdHasBeenSet =
false;
192 bool m_commitMessageHasBeenSet =
false;
195 bool m_nameHasBeenSet =
false;
198 bool m_emailHasBeenSet =
false;
void SetFileContent(const Aws::Utils::ByteBuffer &value)
PutFileRequest & WithFileMode(const FileModeTypeEnum &value)
void SetFileContent(Aws::Utils::ByteBuffer &&value)
void SetFilePath(Aws::String &&value)
PutFileRequest & WithEmail(Aws::String &&value)
void SetEmail(Aws::String &&value)
PutFileRequest & WithCommitMessage(const Aws::String &value)
PutFileRequest & WithName(Aws::String &&value)
PutFileRequest & WithBranchName(const Aws::String &value)
void SetFileMode(const FileModeTypeEnum &value)
bool CommitMessageHasBeenSet() const
virtual const char * GetServiceRequestName() const override
PutFileRequest & WithCommitMessage(const char *value)
PutFileRequest & WithEmail(const Aws::String &value)
PutFileRequest & WithEmail(const char *value)
const Aws::String & GetName() const
bool BranchNameHasBeenSet() const
const Aws::Utils::ByteBuffer & GetFileContent() const
PutFileRequest & WithCommitMessage(Aws::String &&value)
void SetBranchName(const char *value)
void SetFileMode(FileModeTypeEnum &&value)
PutFileRequest & WithName(const Aws::String &value)
void SetCommitMessage(const char *value)
bool NameHasBeenSet() const
PutFileRequest & WithRepositoryName(Aws::String &&value)
AWS_CODECOMMIT_API Aws::Http::HeaderValueCollection GetRequestSpecificHeaders() const override
AWS_CODECOMMIT_API PutFileRequest()
PutFileRequest & WithRepositoryName(const char *value)
void SetEmail(const Aws::String &value)
const Aws::String & GetParentCommitId() const
void SetParentCommitId(const char *value)
void SetParentCommitId(const Aws::String &value)
const Aws::String & GetCommitMessage() const
bool ParentCommitIdHasBeenSet() const
PutFileRequest & WithFilePath(Aws::String &&value)
void SetBranchName(Aws::String &&value)
bool FilePathHasBeenSet() const
PutFileRequest & WithFileContent(Aws::Utils::ByteBuffer &&value)
PutFileRequest & WithName(const char *value)
const Aws::String & GetBranchName() const
PutFileRequest & WithRepositoryName(const Aws::String &value)
PutFileRequest & WithBranchName(Aws::String &&value)
void SetCommitMessage(const Aws::String &value)
PutFileRequest & WithFileMode(FileModeTypeEnum &&value)
void SetBranchName(const Aws::String &value)
bool FileModeHasBeenSet() const
PutFileRequest & WithFileContent(const Aws::Utils::ByteBuffer &value)
void SetName(const char *value)
PutFileRequest & WithBranchName(const char *value)
PutFileRequest & WithParentCommitId(const Aws::String &value)
bool FileContentHasBeenSet() const
PutFileRequest & WithParentCommitId(const char *value)
void SetFilePath(const char *value)
void SetParentCommitId(Aws::String &&value)
void SetCommitMessage(Aws::String &&value)
const Aws::String & GetFilePath() const
void SetRepositoryName(const Aws::String &value)
void SetFilePath(const Aws::String &value)
void SetName(const Aws::String &value)
bool RepositoryNameHasBeenSet() const
void SetName(Aws::String &&value)
void SetEmail(const char *value)
AWS_CODECOMMIT_API Aws::String SerializePayload() const override
bool EmailHasBeenSet() const
void SetRepositoryName(Aws::String &&value)
const Aws::String & GetRepositoryName() const
const Aws::String & GetEmail() const
const FileModeTypeEnum & GetFileMode() const
PutFileRequest & WithFilePath(const char *value)
void SetRepositoryName(const char *value)
PutFileRequest & WithFilePath(const Aws::String &value)
PutFileRequest & WithParentCommitId(Aws::String &&value)
Aws::Map< Aws::String, Aws::String > HeaderValueCollection
std::basic_string< char, std::char_traits< char >, Aws::Allocator< char > > String