7#include <aws/codecommit/CodeCommitRequest.h>
8#include <aws/codecommit/CodeCommit_EXPORTS.h>
9#include <aws/codecommit/model/FileModeTypeEnum.h>
10#include <aws/core/utils/Array.h>
11#include <aws/core/utils/memory/stl/AWSString.h>
41 template <
typename RepositoryNameT = Aws::String>
43 m_repositoryNameHasBeenSet =
true;
44 m_repositoryName = std::forward<RepositoryNameT>(value);
46 template <
typename RepositoryNameT = Aws::String>
60 template <
typename BranchNameT = Aws::String>
62 m_branchNameHasBeenSet =
true;
63 m_branchName = std::forward<BranchNameT>(value);
65 template <
typename BranchNameT = Aws::String>
78 template <
typename FileContentT = Aws::Utils::ByteBuffer>
80 m_fileContentHasBeenSet =
true;
81 m_fileContent = std::forward<FileContentT>(value);
83 template <
typename FileContentT = Aws::Utils::ByteBuffer>
99 template <
typename FilePathT = Aws::String>
101 m_filePathHasBeenSet =
true;
102 m_filePath = std::forward<FilePathT>(value);
104 template <
typename FilePathT = Aws::String>
119 m_fileModeHasBeenSet =
true;
138 template <
typename ParentCommitIdT = Aws::String>
140 m_parentCommitIdHasBeenSet =
true;
141 m_parentCommitId = std::forward<ParentCommitIdT>(value);
143 template <
typename ParentCommitIdT = Aws::String>
157 template <
typename CommitMessageT = Aws::String>
159 m_commitMessageHasBeenSet =
true;
160 m_commitMessage = std::forward<CommitMessageT>(value);
162 template <
typename CommitMessageT = Aws::String>
176 template <
typename NameT = Aws::String>
178 m_nameHasBeenSet =
true;
179 m_name = std::forward<NameT>(value);
181 template <
typename NameT = Aws::String>
183 SetName(std::forward<NameT>(value));
194 template <
typename EmailT = Aws::String>
196 m_emailHasBeenSet =
true;
197 m_email = std::forward<EmailT>(value);
199 template <
typename EmailT = Aws::String>
201 SetEmail(std::forward<EmailT>(value));
223 bool m_repositoryNameHasBeenSet =
false;
224 bool m_branchNameHasBeenSet =
false;
225 bool m_fileContentHasBeenSet =
false;
226 bool m_filePathHasBeenSet =
false;
227 bool m_fileModeHasBeenSet =
false;
228 bool m_parentCommitIdHasBeenSet =
false;
229 bool m_commitMessageHasBeenSet =
false;
230 bool m_nameHasBeenSet =
false;
231 bool m_emailHasBeenSet =
false;
void SetCommitMessage(CommitMessageT &&value)
bool CommitMessageHasBeenSet() const
virtual const char * GetServiceRequestName() const override
PutFileRequest & WithParentCommitId(ParentCommitIdT &&value)
const Aws::String & GetName() const
bool BranchNameHasBeenSet() const
const Aws::Utils::ByteBuffer & GetFileContent() const
PutFileRequest & WithName(NameT &&value)
bool NameHasBeenSet() const
AWS_CODECOMMIT_API Aws::Http::HeaderValueCollection GetRequestSpecificHeaders() const override
const Aws::String & GetParentCommitId() const
PutFileRequest & WithEmail(EmailT &&value)
const Aws::String & GetCommitMessage() const
FileModeTypeEnum GetFileMode() const
bool ParentCommitIdHasBeenSet() const
void SetFilePath(FilePathT &&value)
bool FilePathHasBeenSet() const
const Aws::String & GetBranchName() const
void SetFileContent(FileContentT &&value)
PutFileRequest & WithFileContent(FileContentT &&value)
bool FileModeHasBeenSet() const
void SetEmail(EmailT &&value)
bool FileContentHasBeenSet() const
AWS_CODECOMMIT_API PutFileRequest()=default
const Aws::String & GetFilePath() const
void SetFileMode(FileModeTypeEnum value)
void SetBranchName(BranchNameT &&value)
PutFileRequest & WithFileMode(FileModeTypeEnum value)
PutFileRequest & WithFilePath(FilePathT &&value)
void SetName(NameT &&value)
bool RepositoryNameHasBeenSet() const
PutFileRequest & WithRepositoryName(RepositoryNameT &&value)
void SetParentCommitId(ParentCommitIdT &&value)
void SetRepositoryName(RepositoryNameT &&value)
PutFileRequest & WithCommitMessage(CommitMessageT &&value)
AWS_CODECOMMIT_API Aws::String SerializePayload() const override
PutFileRequest & WithBranchName(BranchNameT &&value)
bool EmailHasBeenSet() const
const Aws::String & GetRepositoryName() const
const Aws::String & GetEmail() const
Aws::Map< Aws::String, Aws::String > HeaderValueCollection
std::basic_string< char, std::char_traits< char >, Aws::Allocator< char > > String