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

#include <PutFileRequest.h>

+ Inheritance diagram for Aws::CodeCommit::Model::PutFileRequest:

Public Member Functions

 PutFileRequest ()
 
virtual const char * GetServiceRequestName () const override
 
Aws::String SerializePayload () const override
 
Aws::Http::HeaderValueCollection GetRequestSpecificHeaders () const override
 
const Aws::StringGetRepositoryName () const
 
bool RepositoryNameHasBeenSet () const
 
void SetRepositoryName (const Aws::String &value)
 
void SetRepositoryName (Aws::String &&value)
 
void SetRepositoryName (const char *value)
 
PutFileRequestWithRepositoryName (const Aws::String &value)
 
PutFileRequestWithRepositoryName (Aws::String &&value)
 
PutFileRequestWithRepositoryName (const char *value)
 
const Aws::StringGetBranchName () const
 
bool BranchNameHasBeenSet () const
 
void SetBranchName (const Aws::String &value)
 
void SetBranchName (Aws::String &&value)
 
void SetBranchName (const char *value)
 
PutFileRequestWithBranchName (const Aws::String &value)
 
PutFileRequestWithBranchName (Aws::String &&value)
 
PutFileRequestWithBranchName (const char *value)
 
const Aws::Utils::ByteBufferGetFileContent () const
 
bool FileContentHasBeenSet () const
 
void SetFileContent (const Aws::Utils::ByteBuffer &value)
 
void SetFileContent (Aws::Utils::ByteBuffer &&value)
 
PutFileRequestWithFileContent (const Aws::Utils::ByteBuffer &value)
 
PutFileRequestWithFileContent (Aws::Utils::ByteBuffer &&value)
 
const Aws::StringGetFilePath () const
 
bool FilePathHasBeenSet () const
 
void SetFilePath (const Aws::String &value)
 
void SetFilePath (Aws::String &&value)
 
void SetFilePath (const char *value)
 
PutFileRequestWithFilePath (const Aws::String &value)
 
PutFileRequestWithFilePath (Aws::String &&value)
 
PutFileRequestWithFilePath (const char *value)
 
const FileModeTypeEnumGetFileMode () const
 
bool FileModeHasBeenSet () const
 
void SetFileMode (const FileModeTypeEnum &value)
 
void SetFileMode (FileModeTypeEnum &&value)
 
PutFileRequestWithFileMode (const FileModeTypeEnum &value)
 
PutFileRequestWithFileMode (FileModeTypeEnum &&value)
 
const Aws::StringGetParentCommitId () const
 
bool ParentCommitIdHasBeenSet () const
 
void SetParentCommitId (const Aws::String &value)
 
void SetParentCommitId (Aws::String &&value)
 
void SetParentCommitId (const char *value)
 
PutFileRequestWithParentCommitId (const Aws::String &value)
 
PutFileRequestWithParentCommitId (Aws::String &&value)
 
PutFileRequestWithParentCommitId (const char *value)
 
const Aws::StringGetCommitMessage () const
 
bool CommitMessageHasBeenSet () const
 
void SetCommitMessage (const Aws::String &value)
 
void SetCommitMessage (Aws::String &&value)
 
void SetCommitMessage (const char *value)
 
PutFileRequestWithCommitMessage (const Aws::String &value)
 
PutFileRequestWithCommitMessage (Aws::String &&value)
 
PutFileRequestWithCommitMessage (const char *value)
 
const Aws::StringGetName () const
 
bool NameHasBeenSet () const
 
void SetName (const Aws::String &value)
 
void SetName (Aws::String &&value)
 
void SetName (const char *value)
 
PutFileRequestWithName (const Aws::String &value)
 
PutFileRequestWithName (Aws::String &&value)
 
PutFileRequestWithName (const char *value)
 
const Aws::StringGetEmail () const
 
bool EmailHasBeenSet () const
 
void SetEmail (const Aws::String &value)
 
void SetEmail (Aws::String &&value)
 
void SetEmail (const char *value)
 
PutFileRequestWithEmail (const Aws::String &value)
 
PutFileRequestWithEmail (Aws::String &&value)
 
PutFileRequestWithEmail (const char *value)
 
- Public Member Functions inherited from Aws::CodeCommit::CodeCommitRequest
virtual ~CodeCommitRequest ()
 
void AddParametersToRequest (Aws::Http::HttpRequest &httpRequest) const
 
Aws::Http::HeaderValueCollection GetHeaders () const override
 
- Public Member Functions inherited from Aws::AmazonSerializableWebServiceRequest
 AmazonSerializableWebServiceRequest ()
 
virtual ~AmazonSerializableWebServiceRequest ()
 
std::shared_ptr< Aws::IOStreamGetBody () const override
 
- Public Member Functions inherited from Aws::AmazonWebServiceRequest
 AmazonWebServiceRequest ()
 
virtual ~AmazonWebServiceRequest ()=default
 
virtual void AddQueryStringParameters (Aws::Http::URI &uri) const
 
virtual void PutToPresignedUrl (Aws::Http::URI &uri) const
 
virtual bool IsStreaming () const
 
virtual bool IsEventStreamRequest () const
 
virtual bool SignBody () const
 
virtual bool IsChunked () const
 
virtual void SetRequestSignedHandler (const RequestSignedHandler &handler)
 
virtual const RequestSignedHandlerGetRequestSignedHandler () const
 
const Aws::IOStreamFactoryGetResponseStreamFactory () const
 
void SetResponseStreamFactory (const Aws::IOStreamFactory &factory)
 
virtual void SetDataReceivedEventHandler (const Aws::Http::DataReceivedEventHandler &dataReceivedEventHandler)
 
virtual void SetDataSentEventHandler (const Aws::Http::DataSentEventHandler &dataSentEventHandler)
 
virtual void SetContinueRequestHandler (const Aws::Http::ContinueRequestHandler &continueRequestHandler)
 
virtual void SetDataReceivedEventHandler (Aws::Http::DataReceivedEventHandler &&dataReceivedEventHandler)
 
virtual void SetDataSentEventHandler (Aws::Http::DataSentEventHandler &&dataSentEventHandler)
 
virtual void SetContinueRequestHandler (Aws::Http::ContinueRequestHandler &&continueRequestHandler)
 
virtual void SetRequestRetryHandler (const RequestRetryHandler &handler)
 
virtual void SetRequestRetryHandler (RequestRetryHandler &&handler)
 
virtual const Aws::Http::DataReceivedEventHandlerGetDataReceivedEventHandler () const
 
virtual const Aws::Http::DataSentEventHandlerGetDataSentEventHandler () const
 
virtual const Aws::Http::ContinueRequestHandlerGetContinueRequestHandler () const
 
virtual const RequestRetryHandlerGetRequestRetryHandler () const
 
virtual bool ShouldComputeContentMd5 () const
 

Additional Inherited Members

- Protected Member Functions inherited from Aws::AmazonWebServiceRequest
virtual void DumpBodyToUrl (Aws::Http::URI &uri) const
 

Detailed Description

Definition at line 23 of file PutFileRequest.h.

Constructor & Destructor Documentation

◆ PutFileRequest()

Aws::CodeCommit::Model::PutFileRequest::PutFileRequest ( )

Member Function Documentation

◆ BranchNameHasBeenSet()

bool Aws::CodeCommit::Model::PutFileRequest::BranchNameHasBeenSet ( ) const
inline

The name of the branch where you want to add or update the file. If this is an empty repository, this branch is created.

Definition at line 90 of file PutFileRequest.h.

◆ CommitMessageHasBeenSet()

bool Aws::CodeCommit::Model::PutFileRequest::CommitMessageHasBeenSet ( ) const
inline

A message about why this file was added or updated. Although it is optional, a message makes the commit history for your repository more useful.

Definition at line 345 of file PutFileRequest.h.

◆ EmailHasBeenSet()

bool Aws::CodeCommit::Model::PutFileRequest::EmailHasBeenSet ( ) const
inline

An email address for the person adding or updating the file.

Definition at line 441 of file PutFileRequest.h.

◆ FileContentHasBeenSet()

bool Aws::CodeCommit::Model::PutFileRequest::FileContentHasBeenSet ( ) const
inline

The content of the file, in binary object format.

Definition at line 137 of file PutFileRequest.h.

◆ FileModeHasBeenSet()

bool Aws::CodeCommit::Model::PutFileRequest::FileModeHasBeenSet ( ) const
inline

The file mode permissions of the blob. Valid file mode permissions are listed here.

Definition at line 235 of file PutFileRequest.h.

◆ FilePathHasBeenSet()

bool Aws::CodeCommit::Model::PutFileRequest::FilePathHasBeenSet ( ) const
inline

The name of the file you want to add or update, including the relative path to the file in the repository.

If the path does not currently exist in the repository, the path is created as part of adding the file.

Definition at line 174 of file PutFileRequest.h.

◆ GetBranchName()

const Aws::String& Aws::CodeCommit::Model::PutFileRequest::GetBranchName ( ) const
inline

The name of the branch where you want to add or update the file. If this is an empty repository, this branch is created.

Definition at line 84 of file PutFileRequest.h.

◆ GetCommitMessage()

const Aws::String& Aws::CodeCommit::Model::PutFileRequest::GetCommitMessage ( ) const
inline

A message about why this file was added or updated. Although it is optional, a message makes the commit history for your repository more useful.

Definition at line 339 of file PutFileRequest.h.

◆ GetEmail()

const Aws::String& Aws::CodeCommit::Model::PutFileRequest::GetEmail ( ) const
inline

An email address for the person adding or updating the file.

Definition at line 436 of file PutFileRequest.h.

◆ GetFileContent()

const Aws::Utils::ByteBuffer& Aws::CodeCommit::Model::PutFileRequest::GetFileContent ( ) const
inline

The content of the file, in binary object format.

Definition at line 132 of file PutFileRequest.h.

◆ GetFileMode()

const FileModeTypeEnum& Aws::CodeCommit::Model::PutFileRequest::GetFileMode ( ) const
inline

The file mode permissions of the blob. Valid file mode permissions are listed here.

Definition at line 229 of file PutFileRequest.h.

◆ GetFilePath()

const Aws::String& Aws::CodeCommit::Model::PutFileRequest::GetFilePath ( ) const
inline

The name of the file you want to add or update, including the relative path to the file in the repository.

If the path does not currently exist in the repository, the path is created as part of adding the file.

Definition at line 166 of file PutFileRequest.h.

◆ GetName()

const Aws::String& Aws::CodeCommit::Model::PutFileRequest::GetName ( ) const
inline

The name of the person adding or updating the file. Although it is optional, a name makes the commit history for your repository more useful.

Definition at line 388 of file PutFileRequest.h.

◆ GetParentCommitId()

const Aws::String& Aws::CodeCommit::Model::PutFileRequest::GetParentCommitId ( ) const
inline

The full commit ID of the head commit in the branch where you want to add or update the file. If this is an empty repository, no commit ID is required. If this is not an empty repository, a commit ID is required.

The commit ID must match the ID of the head commit at the time of the operation. Otherwise, an error occurs, and the file is not added or updated.

Definition at line 269 of file PutFileRequest.h.

◆ GetRepositoryName()

const Aws::String& Aws::CodeCommit::Model::PutFileRequest::GetRepositoryName ( ) const
inline

The name of the repository where you want to add or update the file.

Definition at line 42 of file PutFileRequest.h.

◆ GetRequestSpecificHeaders()

Aws::Http::HeaderValueCollection Aws::CodeCommit::Model::PutFileRequest::GetRequestSpecificHeaders ( ) const
overridevirtual

◆ GetServiceRequestName()

virtual const char* Aws::CodeCommit::Model::PutFileRequest::GetServiceRequestName ( ) const
inlineoverridevirtual

Implements Aws::AmazonWebServiceRequest.

Definition at line 32 of file PutFileRequest.h.

◆ NameHasBeenSet()

bool Aws::CodeCommit::Model::PutFileRequest::NameHasBeenSet ( ) const
inline

The name of the person adding or updating the file. Although it is optional, a name makes the commit history for your repository more useful.

Definition at line 394 of file PutFileRequest.h.

◆ ParentCommitIdHasBeenSet()

bool Aws::CodeCommit::Model::PutFileRequest::ParentCommitIdHasBeenSet ( ) const
inline

The full commit ID of the head commit in the branch where you want to add or update the file. If this is an empty repository, no commit ID is required. If this is not an empty repository, a commit ID is required.

The commit ID must match the ID of the head commit at the time of the operation. Otherwise, an error occurs, and the file is not added or updated.

Definition at line 278 of file PutFileRequest.h.

◆ RepositoryNameHasBeenSet()

bool Aws::CodeCommit::Model::PutFileRequest::RepositoryNameHasBeenSet ( ) const
inline

The name of the repository where you want to add or update the file.

Definition at line 47 of file PutFileRequest.h.

◆ SerializePayload()

Aws::String Aws::CodeCommit::Model::PutFileRequest::SerializePayload ( ) const
overridevirtual

Convert payload into String.

Implements Aws::AmazonSerializableWebServiceRequest.

◆ SetBranchName() [1/3]

void Aws::CodeCommit::Model::PutFileRequest::SetBranchName ( const Aws::String value)
inline

The name of the branch where you want to add or update the file. If this is an empty repository, this branch is created.

Definition at line 96 of file PutFileRequest.h.

◆ SetBranchName() [2/3]

void Aws::CodeCommit::Model::PutFileRequest::SetBranchName ( Aws::String &&  value)
inline

The name of the branch where you want to add or update the file. If this is an empty repository, this branch is created.

Definition at line 102 of file PutFileRequest.h.

◆ SetBranchName() [3/3]

void Aws::CodeCommit::Model::PutFileRequest::SetBranchName ( const char *  value)
inline

The name of the branch where you want to add or update the file. If this is an empty repository, this branch is created.

Definition at line 108 of file PutFileRequest.h.

◆ SetCommitMessage() [1/3]

void Aws::CodeCommit::Model::PutFileRequest::SetCommitMessage ( const Aws::String value)
inline

A message about why this file was added or updated. Although it is optional, a message makes the commit history for your repository more useful.

Definition at line 351 of file PutFileRequest.h.

◆ SetCommitMessage() [2/3]

void Aws::CodeCommit::Model::PutFileRequest::SetCommitMessage ( Aws::String &&  value)
inline

A message about why this file was added or updated. Although it is optional, a message makes the commit history for your repository more useful.

Definition at line 357 of file PutFileRequest.h.

◆ SetCommitMessage() [3/3]

void Aws::CodeCommit::Model::PutFileRequest::SetCommitMessage ( const char *  value)
inline

A message about why this file was added or updated. Although it is optional, a message makes the commit history for your repository more useful.

Definition at line 363 of file PutFileRequest.h.

◆ SetEmail() [1/3]

void Aws::CodeCommit::Model::PutFileRequest::SetEmail ( const Aws::String value)
inline

An email address for the person adding or updating the file.

Definition at line 446 of file PutFileRequest.h.

◆ SetEmail() [2/3]

void Aws::CodeCommit::Model::PutFileRequest::SetEmail ( Aws::String &&  value)
inline

An email address for the person adding or updating the file.

Definition at line 451 of file PutFileRequest.h.

◆ SetEmail() [3/3]

void Aws::CodeCommit::Model::PutFileRequest::SetEmail ( const char *  value)
inline

An email address for the person adding or updating the file.

Definition at line 456 of file PutFileRequest.h.

◆ SetFileContent() [1/2]

void Aws::CodeCommit::Model::PutFileRequest::SetFileContent ( const Aws::Utils::ByteBuffer value)
inline

The content of the file, in binary object format.

Definition at line 142 of file PutFileRequest.h.

◆ SetFileContent() [2/2]

void Aws::CodeCommit::Model::PutFileRequest::SetFileContent ( Aws::Utils::ByteBuffer &&  value)
inline

The content of the file, in binary object format.

Definition at line 147 of file PutFileRequest.h.

◆ SetFileMode() [1/2]

void Aws::CodeCommit::Model::PutFileRequest::SetFileMode ( const FileModeTypeEnum value)
inline

The file mode permissions of the blob. Valid file mode permissions are listed here.

Definition at line 241 of file PutFileRequest.h.

◆ SetFileMode() [2/2]

void Aws::CodeCommit::Model::PutFileRequest::SetFileMode ( FileModeTypeEnum &&  value)
inline

The file mode permissions of the blob. Valid file mode permissions are listed here.

Definition at line 247 of file PutFileRequest.h.

◆ SetFilePath() [1/3]

void Aws::CodeCommit::Model::PutFileRequest::SetFilePath ( const Aws::String value)
inline

The name of the file you want to add or update, including the relative path to the file in the repository.

If the path does not currently exist in the repository, the path is created as part of adding the file.

Definition at line 182 of file PutFileRequest.h.

◆ SetFilePath() [2/3]

void Aws::CodeCommit::Model::PutFileRequest::SetFilePath ( Aws::String &&  value)
inline

The name of the file you want to add or update, including the relative path to the file in the repository.

If the path does not currently exist in the repository, the path is created as part of adding the file.

Definition at line 190 of file PutFileRequest.h.

◆ SetFilePath() [3/3]

void Aws::CodeCommit::Model::PutFileRequest::SetFilePath ( const char *  value)
inline

The name of the file you want to add or update, including the relative path to the file in the repository.

If the path does not currently exist in the repository, the path is created as part of adding the file.

Definition at line 198 of file PutFileRequest.h.

◆ SetName() [1/3]

void Aws::CodeCommit::Model::PutFileRequest::SetName ( const Aws::String value)
inline

The name of the person adding or updating the file. Although it is optional, a name makes the commit history for your repository more useful.

Definition at line 400 of file PutFileRequest.h.

◆ SetName() [2/3]

void Aws::CodeCommit::Model::PutFileRequest::SetName ( Aws::String &&  value)
inline

The name of the person adding or updating the file. Although it is optional, a name makes the commit history for your repository more useful.

Definition at line 406 of file PutFileRequest.h.

◆ SetName() [3/3]

void Aws::CodeCommit::Model::PutFileRequest::SetName ( const char *  value)
inline

The name of the person adding or updating the file. Although it is optional, a name makes the commit history for your repository more useful.

Definition at line 412 of file PutFileRequest.h.

◆ SetParentCommitId() [1/3]

void Aws::CodeCommit::Model::PutFileRequest::SetParentCommitId ( const Aws::String value)
inline

The full commit ID of the head commit in the branch where you want to add or update the file. If this is an empty repository, no commit ID is required. If this is not an empty repository, a commit ID is required.

The commit ID must match the ID of the head commit at the time of the operation. Otherwise, an error occurs, and the file is not added or updated.

Definition at line 287 of file PutFileRequest.h.

◆ SetParentCommitId() [2/3]

void Aws::CodeCommit::Model::PutFileRequest::SetParentCommitId ( Aws::String &&  value)
inline

The full commit ID of the head commit in the branch where you want to add or update the file. If this is an empty repository, no commit ID is required. If this is not an empty repository, a commit ID is required.

The commit ID must match the ID of the head commit at the time of the operation. Otherwise, an error occurs, and the file is not added or updated.

Definition at line 296 of file PutFileRequest.h.

◆ SetParentCommitId() [3/3]

void Aws::CodeCommit::Model::PutFileRequest::SetParentCommitId ( const char *  value)
inline

The full commit ID of the head commit in the branch where you want to add or update the file. If this is an empty repository, no commit ID is required. If this is not an empty repository, a commit ID is required.

The commit ID must match the ID of the head commit at the time of the operation. Otherwise, an error occurs, and the file is not added or updated.

Definition at line 305 of file PutFileRequest.h.

◆ SetRepositoryName() [1/3]

void Aws::CodeCommit::Model::PutFileRequest::SetRepositoryName ( const Aws::String value)
inline

The name of the repository where you want to add or update the file.

Definition at line 52 of file PutFileRequest.h.

◆ SetRepositoryName() [2/3]

void Aws::CodeCommit::Model::PutFileRequest::SetRepositoryName ( Aws::String &&  value)
inline

The name of the repository where you want to add or update the file.

Definition at line 57 of file PutFileRequest.h.

◆ SetRepositoryName() [3/3]

void Aws::CodeCommit::Model::PutFileRequest::SetRepositoryName ( const char *  value)
inline

The name of the repository where you want to add or update the file.

Definition at line 62 of file PutFileRequest.h.

◆ WithBranchName() [1/3]

PutFileRequest& Aws::CodeCommit::Model::PutFileRequest::WithBranchName ( const Aws::String value)
inline

The name of the branch where you want to add or update the file. If this is an empty repository, this branch is created.

Definition at line 114 of file PutFileRequest.h.

◆ WithBranchName() [2/3]

PutFileRequest& Aws::CodeCommit::Model::PutFileRequest::WithBranchName ( Aws::String &&  value)
inline

The name of the branch where you want to add or update the file. If this is an empty repository, this branch is created.

Definition at line 120 of file PutFileRequest.h.

◆ WithBranchName() [3/3]

PutFileRequest& Aws::CodeCommit::Model::PutFileRequest::WithBranchName ( const char *  value)
inline

The name of the branch where you want to add or update the file. If this is an empty repository, this branch is created.

Definition at line 126 of file PutFileRequest.h.

◆ WithCommitMessage() [1/3]

PutFileRequest& Aws::CodeCommit::Model::PutFileRequest::WithCommitMessage ( const Aws::String value)
inline

A message about why this file was added or updated. Although it is optional, a message makes the commit history for your repository more useful.

Definition at line 369 of file PutFileRequest.h.

◆ WithCommitMessage() [2/3]

PutFileRequest& Aws::CodeCommit::Model::PutFileRequest::WithCommitMessage ( Aws::String &&  value)
inline

A message about why this file was added or updated. Although it is optional, a message makes the commit history for your repository more useful.

Definition at line 375 of file PutFileRequest.h.

◆ WithCommitMessage() [3/3]

PutFileRequest& Aws::CodeCommit::Model::PutFileRequest::WithCommitMessage ( const char *  value)
inline

A message about why this file was added or updated. Although it is optional, a message makes the commit history for your repository more useful.

Definition at line 381 of file PutFileRequest.h.

◆ WithEmail() [1/3]

PutFileRequest& Aws::CodeCommit::Model::PutFileRequest::WithEmail ( const Aws::String value)
inline

An email address for the person adding or updating the file.

Definition at line 461 of file PutFileRequest.h.

◆ WithEmail() [2/3]

PutFileRequest& Aws::CodeCommit::Model::PutFileRequest::WithEmail ( Aws::String &&  value)
inline

An email address for the person adding or updating the file.

Definition at line 466 of file PutFileRequest.h.

◆ WithEmail() [3/3]

PutFileRequest& Aws::CodeCommit::Model::PutFileRequest::WithEmail ( const char *  value)
inline

An email address for the person adding or updating the file.

Definition at line 471 of file PutFileRequest.h.

◆ WithFileContent() [1/2]

PutFileRequest& Aws::CodeCommit::Model::PutFileRequest::WithFileContent ( const Aws::Utils::ByteBuffer value)
inline

The content of the file, in binary object format.

Definition at line 152 of file PutFileRequest.h.

◆ WithFileContent() [2/2]

PutFileRequest& Aws::CodeCommit::Model::PutFileRequest::WithFileContent ( Aws::Utils::ByteBuffer &&  value)
inline

The content of the file, in binary object format.

Definition at line 157 of file PutFileRequest.h.

◆ WithFileMode() [1/2]

PutFileRequest& Aws::CodeCommit::Model::PutFileRequest::WithFileMode ( const FileModeTypeEnum value)
inline

The file mode permissions of the blob. Valid file mode permissions are listed here.

Definition at line 253 of file PutFileRequest.h.

◆ WithFileMode() [2/2]

PutFileRequest& Aws::CodeCommit::Model::PutFileRequest::WithFileMode ( FileModeTypeEnum &&  value)
inline

The file mode permissions of the blob. Valid file mode permissions are listed here.

Definition at line 259 of file PutFileRequest.h.

◆ WithFilePath() [1/3]

PutFileRequest& Aws::CodeCommit::Model::PutFileRequest::WithFilePath ( const Aws::String value)
inline

The name of the file you want to add or update, including the relative path to the file in the repository.

If the path does not currently exist in the repository, the path is created as part of adding the file.

Definition at line 206 of file PutFileRequest.h.

◆ WithFilePath() [2/3]

PutFileRequest& Aws::CodeCommit::Model::PutFileRequest::WithFilePath ( Aws::String &&  value)
inline

The name of the file you want to add or update, including the relative path to the file in the repository.

If the path does not currently exist in the repository, the path is created as part of adding the file.

Definition at line 214 of file PutFileRequest.h.

◆ WithFilePath() [3/3]

PutFileRequest& Aws::CodeCommit::Model::PutFileRequest::WithFilePath ( const char *  value)
inline

The name of the file you want to add or update, including the relative path to the file in the repository.

If the path does not currently exist in the repository, the path is created as part of adding the file.

Definition at line 222 of file PutFileRequest.h.

◆ WithName() [1/3]

PutFileRequest& Aws::CodeCommit::Model::PutFileRequest::WithName ( const Aws::String value)
inline

The name of the person adding or updating the file. Although it is optional, a name makes the commit history for your repository more useful.

Definition at line 418 of file PutFileRequest.h.

◆ WithName() [2/3]

PutFileRequest& Aws::CodeCommit::Model::PutFileRequest::WithName ( Aws::String &&  value)
inline

The name of the person adding or updating the file. Although it is optional, a name makes the commit history for your repository more useful.

Definition at line 424 of file PutFileRequest.h.

◆ WithName() [3/3]

PutFileRequest& Aws::CodeCommit::Model::PutFileRequest::WithName ( const char *  value)
inline

The name of the person adding or updating the file. Although it is optional, a name makes the commit history for your repository more useful.

Definition at line 430 of file PutFileRequest.h.

◆ WithParentCommitId() [1/3]

PutFileRequest& Aws::CodeCommit::Model::PutFileRequest::WithParentCommitId ( const Aws::String value)
inline

The full commit ID of the head commit in the branch where you want to add or update the file. If this is an empty repository, no commit ID is required. If this is not an empty repository, a commit ID is required.

The commit ID must match the ID of the head commit at the time of the operation. Otherwise, an error occurs, and the file is not added or updated.

Definition at line 314 of file PutFileRequest.h.

◆ WithParentCommitId() [2/3]

PutFileRequest& Aws::CodeCommit::Model::PutFileRequest::WithParentCommitId ( Aws::String &&  value)
inline

The full commit ID of the head commit in the branch where you want to add or update the file. If this is an empty repository, no commit ID is required. If this is not an empty repository, a commit ID is required.

The commit ID must match the ID of the head commit at the time of the operation. Otherwise, an error occurs, and the file is not added or updated.

Definition at line 323 of file PutFileRequest.h.

◆ WithParentCommitId() [3/3]

PutFileRequest& Aws::CodeCommit::Model::PutFileRequest::WithParentCommitId ( const char *  value)
inline

The full commit ID of the head commit in the branch where you want to add or update the file. If this is an empty repository, no commit ID is required. If this is not an empty repository, a commit ID is required.

The commit ID must match the ID of the head commit at the time of the operation. Otherwise, an error occurs, and the file is not added or updated.

Definition at line 332 of file PutFileRequest.h.

◆ WithRepositoryName() [1/3]

PutFileRequest& Aws::CodeCommit::Model::PutFileRequest::WithRepositoryName ( const Aws::String value)
inline

The name of the repository where you want to add or update the file.

Definition at line 67 of file PutFileRequest.h.

◆ WithRepositoryName() [2/3]

PutFileRequest& Aws::CodeCommit::Model::PutFileRequest::WithRepositoryName ( Aws::String &&  value)
inline

The name of the repository where you want to add or update the file.

Definition at line 72 of file PutFileRequest.h.

◆ WithRepositoryName() [3/3]

PutFileRequest& Aws::CodeCommit::Model::PutFileRequest::WithRepositoryName ( const char *  value)
inline

The name of the repository where you want to add or update the file.

Definition at line 77 of file PutFileRequest.h.


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