AWS SDK for C++  1.9.40
AWS SDK for C++
Public Member Functions | List of all members
Aws::CodeArtifact::Model::CopyPackageVersionsRequest Class Reference

#include <CopyPackageVersionsRequest.h>

+ Inheritance diagram for Aws::CodeArtifact::Model::CopyPackageVersionsRequest:

Public Member Functions

 CopyPackageVersionsRequest ()
 
virtual const char * GetServiceRequestName () const override
 
Aws::String SerializePayload () const override
 
void AddQueryStringParameters (Aws::Http::URI &uri) const override
 
const Aws::StringGetDomain () const
 
bool DomainHasBeenSet () const
 
void SetDomain (const Aws::String &value)
 
void SetDomain (Aws::String &&value)
 
void SetDomain (const char *value)
 
CopyPackageVersionsRequestWithDomain (const Aws::String &value)
 
CopyPackageVersionsRequestWithDomain (Aws::String &&value)
 
CopyPackageVersionsRequestWithDomain (const char *value)
 
const Aws::StringGetDomainOwner () const
 
bool DomainOwnerHasBeenSet () const
 
void SetDomainOwner (const Aws::String &value)
 
void SetDomainOwner (Aws::String &&value)
 
void SetDomainOwner (const char *value)
 
CopyPackageVersionsRequestWithDomainOwner (const Aws::String &value)
 
CopyPackageVersionsRequestWithDomainOwner (Aws::String &&value)
 
CopyPackageVersionsRequestWithDomainOwner (const char *value)
 
const Aws::StringGetSourceRepository () const
 
bool SourceRepositoryHasBeenSet () const
 
void SetSourceRepository (const Aws::String &value)
 
void SetSourceRepository (Aws::String &&value)
 
void SetSourceRepository (const char *value)
 
CopyPackageVersionsRequestWithSourceRepository (const Aws::String &value)
 
CopyPackageVersionsRequestWithSourceRepository (Aws::String &&value)
 
CopyPackageVersionsRequestWithSourceRepository (const char *value)
 
const Aws::StringGetDestinationRepository () const
 
bool DestinationRepositoryHasBeenSet () const
 
void SetDestinationRepository (const Aws::String &value)
 
void SetDestinationRepository (Aws::String &&value)
 
void SetDestinationRepository (const char *value)
 
CopyPackageVersionsRequestWithDestinationRepository (const Aws::String &value)
 
CopyPackageVersionsRequestWithDestinationRepository (Aws::String &&value)
 
CopyPackageVersionsRequestWithDestinationRepository (const char *value)
 
const PackageFormatGetFormat () const
 
bool FormatHasBeenSet () const
 
void SetFormat (const PackageFormat &value)
 
void SetFormat (PackageFormat &&value)
 
CopyPackageVersionsRequestWithFormat (const PackageFormat &value)
 
CopyPackageVersionsRequestWithFormat (PackageFormat &&value)
 
const Aws::StringGetNamespace () const
 
bool NamespaceHasBeenSet () const
 
void SetNamespace (const Aws::String &value)
 
void SetNamespace (Aws::String &&value)
 
void SetNamespace (const char *value)
 
CopyPackageVersionsRequestWithNamespace (const Aws::String &value)
 
CopyPackageVersionsRequestWithNamespace (Aws::String &&value)
 
CopyPackageVersionsRequestWithNamespace (const char *value)
 
const Aws::StringGetPackage () const
 
bool PackageHasBeenSet () const
 
void SetPackage (const Aws::String &value)
 
void SetPackage (Aws::String &&value)
 
void SetPackage (const char *value)
 
CopyPackageVersionsRequestWithPackage (const Aws::String &value)
 
CopyPackageVersionsRequestWithPackage (Aws::String &&value)
 
CopyPackageVersionsRequestWithPackage (const char *value)
 
const Aws::Vector< Aws::String > & GetVersions () const
 
bool VersionsHasBeenSet () const
 
void SetVersions (const Aws::Vector< Aws::String > &value)
 
void SetVersions (Aws::Vector< Aws::String > &&value)
 
CopyPackageVersionsRequestWithVersions (const Aws::Vector< Aws::String > &value)
 
CopyPackageVersionsRequestWithVersions (Aws::Vector< Aws::String > &&value)
 
CopyPackageVersionsRequestAddVersions (const Aws::String &value)
 
CopyPackageVersionsRequestAddVersions (Aws::String &&value)
 
CopyPackageVersionsRequestAddVersions (const char *value)
 
const Aws::Map< Aws::String, Aws::String > & GetVersionRevisions () const
 
bool VersionRevisionsHasBeenSet () const
 
void SetVersionRevisions (const Aws::Map< Aws::String, Aws::String > &value)
 
void SetVersionRevisions (Aws::Map< Aws::String, Aws::String > &&value)
 
CopyPackageVersionsRequestWithVersionRevisions (const Aws::Map< Aws::String, Aws::String > &value)
 
CopyPackageVersionsRequestWithVersionRevisions (Aws::Map< Aws::String, Aws::String > &&value)
 
CopyPackageVersionsRequestAddVersionRevisions (const Aws::String &key, const Aws::String &value)
 
CopyPackageVersionsRequestAddVersionRevisions (Aws::String &&key, const Aws::String &value)
 
CopyPackageVersionsRequestAddVersionRevisions (const Aws::String &key, Aws::String &&value)
 
CopyPackageVersionsRequestAddVersionRevisions (Aws::String &&key, Aws::String &&value)
 
CopyPackageVersionsRequestAddVersionRevisions (const char *key, Aws::String &&value)
 
CopyPackageVersionsRequestAddVersionRevisions (Aws::String &&key, const char *value)
 
CopyPackageVersionsRequestAddVersionRevisions (const char *key, const char *value)
 
bool GetAllowOverwrite () const
 
bool AllowOverwriteHasBeenSet () const
 
void SetAllowOverwrite (bool value)
 
CopyPackageVersionsRequestWithAllowOverwrite (bool value)
 
bool GetIncludeFromUpstream () const
 
bool IncludeFromUpstreamHasBeenSet () const
 
void SetIncludeFromUpstream (bool value)
 
CopyPackageVersionsRequestWithIncludeFromUpstream (bool value)
 
- Public Member Functions inherited from Aws::CodeArtifact::CodeArtifactRequest
virtual ~CodeArtifactRequest ()
 
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 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::CodeArtifact::CodeArtifactRequest
virtual Aws::Http::HeaderValueCollection GetRequestSpecificHeaders () const
 
- Protected Member Functions inherited from Aws::AmazonWebServiceRequest
virtual void DumpBodyToUrl (Aws::Http::URI &uri) const
 

Detailed Description

Definition at line 28 of file CopyPackageVersionsRequest.h.

Constructor & Destructor Documentation

◆ CopyPackageVersionsRequest()

Aws::CodeArtifact::Model::CopyPackageVersionsRequest::CopyPackageVersionsRequest ( )

Member Function Documentation

◆ AddQueryStringParameters()

void Aws::CodeArtifact::Model::CopyPackageVersionsRequest::AddQueryStringParameters ( Aws::Http::URI uri) const
overridevirtual

Do nothing virtual, override this to add query strings to the request

Reimplemented from Aws::AmazonWebServiceRequest.

◆ AddVersionRevisions() [1/7]

CopyPackageVersionsRequest& Aws::CodeArtifact::Model::CopyPackageVersionsRequest::AddVersionRevisions ( Aws::String &&  key,
Aws::String &&  value 
)
inline

A list of key-value pairs. The keys are package versions and the values are package version revisions. A CopyPackageVersion operation succeeds if the specified versions in the source repository match the specified package version revision.

You must specify versions or versionRevisions. You cannot specify both.

Definition at line 553 of file CopyPackageVersionsRequest.h.

◆ AddVersionRevisions() [2/7]

CopyPackageVersionsRequest& Aws::CodeArtifact::Model::CopyPackageVersionsRequest::AddVersionRevisions ( Aws::String &&  key,
const Aws::String value 
)
inline

A list of key-value pairs. The keys are package versions and the values are package version revisions. A CopyPackageVersion operation succeeds if the specified versions in the source repository match the specified package version revision.

You must specify versions or versionRevisions. You cannot specify both.

Definition at line 535 of file CopyPackageVersionsRequest.h.

◆ AddVersionRevisions() [3/7]

CopyPackageVersionsRequest& Aws::CodeArtifact::Model::CopyPackageVersionsRequest::AddVersionRevisions ( Aws::String &&  key,
const char *  value 
)
inline

A list of key-value pairs. The keys are package versions and the values are package version revisions. A CopyPackageVersion operation succeeds if the specified versions in the source repository match the specified package version revision.

You must specify versions or versionRevisions. You cannot specify both.

Definition at line 571 of file CopyPackageVersionsRequest.h.

◆ AddVersionRevisions() [4/7]

CopyPackageVersionsRequest& Aws::CodeArtifact::Model::CopyPackageVersionsRequest::AddVersionRevisions ( const Aws::String key,
Aws::String &&  value 
)
inline

A list of key-value pairs. The keys are package versions and the values are package version revisions. A CopyPackageVersion operation succeeds if the specified versions in the source repository match the specified package version revision.

You must specify versions or versionRevisions. You cannot specify both.

Definition at line 544 of file CopyPackageVersionsRequest.h.

◆ AddVersionRevisions() [5/7]

CopyPackageVersionsRequest& Aws::CodeArtifact::Model::CopyPackageVersionsRequest::AddVersionRevisions ( const Aws::String key,
const Aws::String value 
)
inline

A list of key-value pairs. The keys are package versions and the values are package version revisions. A CopyPackageVersion operation succeeds if the specified versions in the source repository match the specified package version revision.

You must specify versions or versionRevisions. You cannot specify both.

Definition at line 526 of file CopyPackageVersionsRequest.h.

◆ AddVersionRevisions() [6/7]

CopyPackageVersionsRequest& Aws::CodeArtifact::Model::CopyPackageVersionsRequest::AddVersionRevisions ( const char *  key,
Aws::String &&  value 
)
inline

A list of key-value pairs. The keys are package versions and the values are package version revisions. A CopyPackageVersion operation succeeds if the specified versions in the source repository match the specified package version revision.

You must specify versions or versionRevisions. You cannot specify both.

Definition at line 562 of file CopyPackageVersionsRequest.h.

◆ AddVersionRevisions() [7/7]

CopyPackageVersionsRequest& Aws::CodeArtifact::Model::CopyPackageVersionsRequest::AddVersionRevisions ( const char *  key,
const char *  value 
)
inline

A list of key-value pairs. The keys are package versions and the values are package version revisions. A CopyPackageVersion operation succeeds if the specified versions in the source repository match the specified package version revision.

You must specify versions or versionRevisions. You cannot specify both.

Definition at line 580 of file CopyPackageVersionsRequest.h.

◆ AddVersions() [1/3]

CopyPackageVersionsRequest& Aws::CodeArtifact::Model::CopyPackageVersionsRequest::AddVersions ( Aws::String &&  value)
inline

The versions of the package to copy.

You must specify versions or versionRevisions. You cannot specify both.

Definition at line 455 of file CopyPackageVersionsRequest.h.

◆ AddVersions() [2/3]

CopyPackageVersionsRequest& Aws::CodeArtifact::Model::CopyPackageVersionsRequest::AddVersions ( const Aws::String value)
inline

The versions of the package to copy.

You must specify versions or versionRevisions. You cannot specify both.

Definition at line 448 of file CopyPackageVersionsRequest.h.

◆ AddVersions() [3/3]

CopyPackageVersionsRequest& Aws::CodeArtifact::Model::CopyPackageVersionsRequest::AddVersions ( const char *  value)
inline

The versions of the package to copy.

You must specify versions or versionRevisions. You cannot specify both.

Definition at line 462 of file CopyPackageVersionsRequest.h.

◆ AllowOverwriteHasBeenSet()

bool Aws::CodeArtifact::Model::CopyPackageVersionsRequest::AllowOverwriteHasBeenSet ( ) const
inline

Set to true to overwrite a package version that already exists in the destination repository. If set to false and the package version already exists in the destination repository, the package version is returned in the failedVersions field of the response with an ALREADY_EXISTS error code.

Definition at line 599 of file CopyPackageVersionsRequest.h.

◆ DestinationRepositoryHasBeenSet()

bool Aws::CodeArtifact::Model::CopyPackageVersionsRequest::DestinationRepositoryHasBeenSet ( ) const
inline

The name of the repository into which package versions are copied.

Definition at line 191 of file CopyPackageVersionsRequest.h.

◆ DomainHasBeenSet()

bool Aws::CodeArtifact::Model::CopyPackageVersionsRequest::DomainHasBeenSet ( ) const
inline

The name of the domain that contains the source and destination repositories.

Definition at line 54 of file CopyPackageVersionsRequest.h.

◆ DomainOwnerHasBeenSet()

bool Aws::CodeArtifact::Model::CopyPackageVersionsRequest::DomainOwnerHasBeenSet ( ) const
inline

The 12-digit account number of the AWS account that owns the domain. It does not include dashes or spaces.

Definition at line 103 of file CopyPackageVersionsRequest.h.

◆ FormatHasBeenSet()

bool Aws::CodeArtifact::Model::CopyPackageVersionsRequest::FormatHasBeenSet ( ) const
inline

The format of the package that is copied. The valid package types are:

  • npm: A Node Package Manager (npm) package.

  • pypi: A Python Package Index (PyPI) package.

  • maven: A Maven package that contains compiled code in a distributable format, such as a JAR file.

Definition at line 240 of file CopyPackageVersionsRequest.h.

◆ GetAllowOverwrite()

bool Aws::CodeArtifact::Model::CopyPackageVersionsRequest::GetAllowOverwrite ( ) const
inline

Set to true to overwrite a package version that already exists in the destination repository. If set to false and the package version already exists in the destination repository, the package version is returned in the failedVersions field of the response with an ALREADY_EXISTS error code.

Definition at line 590 of file CopyPackageVersionsRequest.h.

◆ GetDestinationRepository()

const Aws::String& Aws::CodeArtifact::Model::CopyPackageVersionsRequest::GetDestinationRepository ( ) const
inline

The name of the repository into which package versions are copied.

Definition at line 186 of file CopyPackageVersionsRequest.h.

◆ GetDomain()

const Aws::String& Aws::CodeArtifact::Model::CopyPackageVersionsRequest::GetDomain ( ) const
inline

The name of the domain that contains the source and destination repositories.

Definition at line 48 of file CopyPackageVersionsRequest.h.

◆ GetDomainOwner()

const Aws::String& Aws::CodeArtifact::Model::CopyPackageVersionsRequest::GetDomainOwner ( ) const
inline

The 12-digit account number of the AWS account that owns the domain. It does not include dashes or spaces.

Definition at line 97 of file CopyPackageVersionsRequest.h.

◆ GetFormat()

const PackageFormat& Aws::CodeArtifact::Model::CopyPackageVersionsRequest::GetFormat ( ) const
inline

The format of the package that is copied. The valid package types are:

  • npm: A Node Package Manager (npm) package.

  • pypi: A Python Package Index (PyPI) package.

  • maven: A Maven package that contains compiled code in a distributable format, such as a JAR file.

Definition at line 231 of file CopyPackageVersionsRequest.h.

◆ GetIncludeFromUpstream()

bool Aws::CodeArtifact::Model::CopyPackageVersionsRequest::GetIncludeFromUpstream ( ) const
inline

Set to true to copy packages from repositories that are upstream from the source repository to the destination repository. The default setting is false. For more information, see Working with upstream repositories.

Definition at line 627 of file CopyPackageVersionsRequest.h.

◆ GetNamespace()

const Aws::String& Aws::CodeArtifact::Model::CopyPackageVersionsRequest::GetNamespace ( ) const
inline

The namespace of the package. The package component that specifies its namespace depends on its type. For example:

  • The namespace of a Maven package is its groupId.

  • The namespace of an npm package is its scope.

  • A Python package does not contain a corresponding component, so Python packages do not have a namespace.

Definition at line 287 of file CopyPackageVersionsRequest.h.

◆ GetPackage()

const Aws::String& Aws::CodeArtifact::Model::CopyPackageVersionsRequest::GetPackage ( ) const
inline

The name of the package that is copied.

Definition at line 363 of file CopyPackageVersionsRequest.h.

◆ GetServiceRequestName()

virtual const char* Aws::CodeArtifact::Model::CopyPackageVersionsRequest::GetServiceRequestName ( ) const
inlineoverridevirtual

Implements Aws::AmazonWebServiceRequest.

Definition at line 37 of file CopyPackageVersionsRequest.h.

◆ GetSourceRepository()

const Aws::String& Aws::CodeArtifact::Model::CopyPackageVersionsRequest::GetSourceRepository ( ) const
inline

The name of the repository that contains the package versions to copy.

Definition at line 145 of file CopyPackageVersionsRequest.h.

◆ GetVersionRevisions()

const Aws::Map<Aws::String, Aws::String>& Aws::CodeArtifact::Model::CopyPackageVersionsRequest::GetVersionRevisions ( ) const
inline

A list of key-value pairs. The keys are package versions and the values are package version revisions. A CopyPackageVersion operation succeeds if the specified versions in the source repository match the specified package version revision.

You must specify versions or versionRevisions. You cannot specify both.

Definition at line 472 of file CopyPackageVersionsRequest.h.

◆ GetVersions()

const Aws::Vector<Aws::String>& Aws::CodeArtifact::Model::CopyPackageVersionsRequest::GetVersions ( ) const
inline

The versions of the package to copy.

You must specify versions or versionRevisions. You cannot specify both.

Definition at line 406 of file CopyPackageVersionsRequest.h.

◆ IncludeFromUpstreamHasBeenSet()

bool Aws::CodeArtifact::Model::CopyPackageVersionsRequest::IncludeFromUpstreamHasBeenSet ( ) const
inline

Set to true to copy packages from repositories that are upstream from the source repository to the destination repository. The default setting is false. For more information, see Working with upstream repositories.

Definition at line 636 of file CopyPackageVersionsRequest.h.

◆ NamespaceHasBeenSet()

bool Aws::CodeArtifact::Model::CopyPackageVersionsRequest::NamespaceHasBeenSet ( ) const
inline

The namespace of the package. The package component that specifies its namespace depends on its type. For example:

  • The namespace of a Maven package is its groupId.

  • The namespace of an npm package is its scope.

  • A Python package does not contain a corresponding component, so Python packages do not have a namespace.

Definition at line 297 of file CopyPackageVersionsRequest.h.

◆ PackageHasBeenSet()

bool Aws::CodeArtifact::Model::CopyPackageVersionsRequest::PackageHasBeenSet ( ) const
inline

The name of the package that is copied.

Definition at line 368 of file CopyPackageVersionsRequest.h.

◆ SerializePayload()

Aws::String Aws::CodeArtifact::Model::CopyPackageVersionsRequest::SerializePayload ( ) const
overridevirtual

Convert payload into String.

Implements Aws::AmazonSerializableWebServiceRequest.

◆ SetAllowOverwrite()

void Aws::CodeArtifact::Model::CopyPackageVersionsRequest::SetAllowOverwrite ( bool  value)
inline

Set to true to overwrite a package version that already exists in the destination repository. If set to false and the package version already exists in the destination repository, the package version is returned in the failedVersions field of the response with an ALREADY_EXISTS error code.

Definition at line 608 of file CopyPackageVersionsRequest.h.

◆ SetDestinationRepository() [1/3]

void Aws::CodeArtifact::Model::CopyPackageVersionsRequest::SetDestinationRepository ( Aws::String &&  value)
inline

The name of the repository into which package versions are copied.

Definition at line 201 of file CopyPackageVersionsRequest.h.

◆ SetDestinationRepository() [2/3]

void Aws::CodeArtifact::Model::CopyPackageVersionsRequest::SetDestinationRepository ( const Aws::String value)
inline

The name of the repository into which package versions are copied.

Definition at line 196 of file CopyPackageVersionsRequest.h.

◆ SetDestinationRepository() [3/3]

void Aws::CodeArtifact::Model::CopyPackageVersionsRequest::SetDestinationRepository ( const char *  value)
inline

The name of the repository into which package versions are copied.

Definition at line 206 of file CopyPackageVersionsRequest.h.

◆ SetDomain() [1/3]

void Aws::CodeArtifact::Model::CopyPackageVersionsRequest::SetDomain ( Aws::String &&  value)
inline

The name of the domain that contains the source and destination repositories.

Definition at line 66 of file CopyPackageVersionsRequest.h.

◆ SetDomain() [2/3]

void Aws::CodeArtifact::Model::CopyPackageVersionsRequest::SetDomain ( const Aws::String value)
inline

The name of the domain that contains the source and destination repositories.

Definition at line 60 of file CopyPackageVersionsRequest.h.

◆ SetDomain() [3/3]

void Aws::CodeArtifact::Model::CopyPackageVersionsRequest::SetDomain ( const char *  value)
inline

The name of the domain that contains the source and destination repositories.

Definition at line 72 of file CopyPackageVersionsRequest.h.

◆ SetDomainOwner() [1/3]

void Aws::CodeArtifact::Model::CopyPackageVersionsRequest::SetDomainOwner ( Aws::String &&  value)
inline

The 12-digit account number of the AWS account that owns the domain. It does not include dashes or spaces.

Definition at line 115 of file CopyPackageVersionsRequest.h.

◆ SetDomainOwner() [2/3]

void Aws::CodeArtifact::Model::CopyPackageVersionsRequest::SetDomainOwner ( const Aws::String value)
inline

The 12-digit account number of the AWS account that owns the domain. It does not include dashes or spaces.

Definition at line 109 of file CopyPackageVersionsRequest.h.

◆ SetDomainOwner() [3/3]

void Aws::CodeArtifact::Model::CopyPackageVersionsRequest::SetDomainOwner ( const char *  value)
inline

The 12-digit account number of the AWS account that owns the domain. It does not include dashes or spaces.

Definition at line 121 of file CopyPackageVersionsRequest.h.

◆ SetFormat() [1/2]

void Aws::CodeArtifact::Model::CopyPackageVersionsRequest::SetFormat ( const PackageFormat value)
inline

The format of the package that is copied. The valid package types are:

  • npm: A Node Package Manager (npm) package.

  • pypi: A Python Package Index (PyPI) package.

  • maven: A Maven package that contains compiled code in a distributable format, such as a JAR file.

Definition at line 249 of file CopyPackageVersionsRequest.h.

◆ SetFormat() [2/2]

void Aws::CodeArtifact::Model::CopyPackageVersionsRequest::SetFormat ( PackageFormat &&  value)
inline

The format of the package that is copied. The valid package types are:

  • npm: A Node Package Manager (npm) package.

  • pypi: A Python Package Index (PyPI) package.

  • maven: A Maven package that contains compiled code in a distributable format, such as a JAR file.

Definition at line 258 of file CopyPackageVersionsRequest.h.

◆ SetIncludeFromUpstream()

void Aws::CodeArtifact::Model::CopyPackageVersionsRequest::SetIncludeFromUpstream ( bool  value)
inline

Set to true to copy packages from repositories that are upstream from the source repository to the destination repository. The default setting is false. For more information, see Working with upstream repositories.

Definition at line 645 of file CopyPackageVersionsRequest.h.

◆ SetNamespace() [1/3]

void Aws::CodeArtifact::Model::CopyPackageVersionsRequest::SetNamespace ( Aws::String &&  value)
inline

The namespace of the package. The package component that specifies its namespace depends on its type. For example:

  • The namespace of a Maven package is its groupId.

  • The namespace of an npm package is its scope.

  • A Python package does not contain a corresponding component, so Python packages do not have a namespace.

Definition at line 317 of file CopyPackageVersionsRequest.h.

◆ SetNamespace() [2/3]

void Aws::CodeArtifact::Model::CopyPackageVersionsRequest::SetNamespace ( const Aws::String value)
inline

The namespace of the package. The package component that specifies its namespace depends on its type. For example:

  • The namespace of a Maven package is its groupId.

  • The namespace of an npm package is its scope.

  • A Python package does not contain a corresponding component, so Python packages do not have a namespace.

Definition at line 307 of file CopyPackageVersionsRequest.h.

◆ SetNamespace() [3/3]

void Aws::CodeArtifact::Model::CopyPackageVersionsRequest::SetNamespace ( const char *  value)
inline

The namespace of the package. The package component that specifies its namespace depends on its type. For example:

  • The namespace of a Maven package is its groupId.

  • The namespace of an npm package is its scope.

  • A Python package does not contain a corresponding component, so Python packages do not have a namespace.

Definition at line 327 of file CopyPackageVersionsRequest.h.

◆ SetPackage() [1/3]

void Aws::CodeArtifact::Model::CopyPackageVersionsRequest::SetPackage ( Aws::String &&  value)
inline

The name of the package that is copied.

Definition at line 378 of file CopyPackageVersionsRequest.h.

◆ SetPackage() [2/3]

void Aws::CodeArtifact::Model::CopyPackageVersionsRequest::SetPackage ( const Aws::String value)
inline

The name of the package that is copied.

Definition at line 373 of file CopyPackageVersionsRequest.h.

◆ SetPackage() [3/3]

void Aws::CodeArtifact::Model::CopyPackageVersionsRequest::SetPackage ( const char *  value)
inline

The name of the package that is copied.

Definition at line 383 of file CopyPackageVersionsRequest.h.

◆ SetSourceRepository() [1/3]

void Aws::CodeArtifact::Model::CopyPackageVersionsRequest::SetSourceRepository ( Aws::String &&  value)
inline

The name of the repository that contains the package versions to copy.

Definition at line 160 of file CopyPackageVersionsRequest.h.

◆ SetSourceRepository() [2/3]

void Aws::CodeArtifact::Model::CopyPackageVersionsRequest::SetSourceRepository ( const Aws::String value)
inline

The name of the repository that contains the package versions to copy.

Definition at line 155 of file CopyPackageVersionsRequest.h.

◆ SetSourceRepository() [3/3]

void Aws::CodeArtifact::Model::CopyPackageVersionsRequest::SetSourceRepository ( const char *  value)
inline

The name of the repository that contains the package versions to copy.

Definition at line 165 of file CopyPackageVersionsRequest.h.

◆ SetVersionRevisions() [1/2]

void Aws::CodeArtifact::Model::CopyPackageVersionsRequest::SetVersionRevisions ( Aws::Map< Aws::String, Aws::String > &&  value)
inline

A list of key-value pairs. The keys are package versions and the values are package version revisions. A CopyPackageVersion operation succeeds if the specified versions in the source repository match the specified package version revision.

You must specify versions or versionRevisions. You cannot specify both.

Definition at line 499 of file CopyPackageVersionsRequest.h.

◆ SetVersionRevisions() [2/2]

void Aws::CodeArtifact::Model::CopyPackageVersionsRequest::SetVersionRevisions ( const Aws::Map< Aws::String, Aws::String > &  value)
inline

A list of key-value pairs. The keys are package versions and the values are package version revisions. A CopyPackageVersion operation succeeds if the specified versions in the source repository match the specified package version revision.

You must specify versions or versionRevisions. You cannot specify both.

Definition at line 490 of file CopyPackageVersionsRequest.h.

◆ SetVersions() [1/2]

void Aws::CodeArtifact::Model::CopyPackageVersionsRequest::SetVersions ( Aws::Vector< Aws::String > &&  value)
inline

The versions of the package to copy.

You must specify versions or versionRevisions. You cannot specify both.

Definition at line 427 of file CopyPackageVersionsRequest.h.

◆ SetVersions() [2/2]

void Aws::CodeArtifact::Model::CopyPackageVersionsRequest::SetVersions ( const Aws::Vector< Aws::String > &  value)
inline

The versions of the package to copy.

You must specify versions or versionRevisions. You cannot specify both.

Definition at line 420 of file CopyPackageVersionsRequest.h.

◆ SourceRepositoryHasBeenSet()

bool Aws::CodeArtifact::Model::CopyPackageVersionsRequest::SourceRepositoryHasBeenSet ( ) const
inline

The name of the repository that contains the package versions to copy.

Definition at line 150 of file CopyPackageVersionsRequest.h.

◆ VersionRevisionsHasBeenSet()

bool Aws::CodeArtifact::Model::CopyPackageVersionsRequest::VersionRevisionsHasBeenSet ( ) const
inline

A list of key-value pairs. The keys are package versions and the values are package version revisions. A CopyPackageVersion operation succeeds if the specified versions in the source repository match the specified package version revision.

You must specify versions or versionRevisions. You cannot specify both.

Definition at line 481 of file CopyPackageVersionsRequest.h.

◆ VersionsHasBeenSet()

bool Aws::CodeArtifact::Model::CopyPackageVersionsRequest::VersionsHasBeenSet ( ) const
inline

The versions of the package to copy.

You must specify versions or versionRevisions. You cannot specify both.

Definition at line 413 of file CopyPackageVersionsRequest.h.

◆ WithAllowOverwrite()

CopyPackageVersionsRequest& Aws::CodeArtifact::Model::CopyPackageVersionsRequest::WithAllowOverwrite ( bool  value)
inline

Set to true to overwrite a package version that already exists in the destination repository. If set to false and the package version already exists in the destination repository, the package version is returned in the failedVersions field of the response with an ALREADY_EXISTS error code.

Definition at line 617 of file CopyPackageVersionsRequest.h.

◆ WithDestinationRepository() [1/3]

CopyPackageVersionsRequest& Aws::CodeArtifact::Model::CopyPackageVersionsRequest::WithDestinationRepository ( Aws::String &&  value)
inline

The name of the repository into which package versions are copied.

Definition at line 216 of file CopyPackageVersionsRequest.h.

◆ WithDestinationRepository() [2/3]

CopyPackageVersionsRequest& Aws::CodeArtifact::Model::CopyPackageVersionsRequest::WithDestinationRepository ( const Aws::String value)
inline

The name of the repository into which package versions are copied.

Definition at line 211 of file CopyPackageVersionsRequest.h.

◆ WithDestinationRepository() [3/3]

CopyPackageVersionsRequest& Aws::CodeArtifact::Model::CopyPackageVersionsRequest::WithDestinationRepository ( const char *  value)
inline

The name of the repository into which package versions are copied.

Definition at line 221 of file CopyPackageVersionsRequest.h.

◆ WithDomain() [1/3]

CopyPackageVersionsRequest& Aws::CodeArtifact::Model::CopyPackageVersionsRequest::WithDomain ( Aws::String &&  value)
inline

The name of the domain that contains the source and destination repositories.

Definition at line 84 of file CopyPackageVersionsRequest.h.

◆ WithDomain() [2/3]

CopyPackageVersionsRequest& Aws::CodeArtifact::Model::CopyPackageVersionsRequest::WithDomain ( const Aws::String value)
inline

The name of the domain that contains the source and destination repositories.

Definition at line 78 of file CopyPackageVersionsRequest.h.

◆ WithDomain() [3/3]

CopyPackageVersionsRequest& Aws::CodeArtifact::Model::CopyPackageVersionsRequest::WithDomain ( const char *  value)
inline

The name of the domain that contains the source and destination repositories.

Definition at line 90 of file CopyPackageVersionsRequest.h.

◆ WithDomainOwner() [1/3]

CopyPackageVersionsRequest& Aws::CodeArtifact::Model::CopyPackageVersionsRequest::WithDomainOwner ( Aws::String &&  value)
inline

The 12-digit account number of the AWS account that owns the domain. It does not include dashes or spaces.

Definition at line 133 of file CopyPackageVersionsRequest.h.

◆ WithDomainOwner() [2/3]

CopyPackageVersionsRequest& Aws::CodeArtifact::Model::CopyPackageVersionsRequest::WithDomainOwner ( const Aws::String value)
inline

The 12-digit account number of the AWS account that owns the domain. It does not include dashes or spaces.

Definition at line 127 of file CopyPackageVersionsRequest.h.

◆ WithDomainOwner() [3/3]

CopyPackageVersionsRequest& Aws::CodeArtifact::Model::CopyPackageVersionsRequest::WithDomainOwner ( const char *  value)
inline

The 12-digit account number of the AWS account that owns the domain. It does not include dashes or spaces.

Definition at line 139 of file CopyPackageVersionsRequest.h.

◆ WithFormat() [1/2]

CopyPackageVersionsRequest& Aws::CodeArtifact::Model::CopyPackageVersionsRequest::WithFormat ( const PackageFormat value)
inline

The format of the package that is copied. The valid package types are:

  • npm: A Node Package Manager (npm) package.

  • pypi: A Python Package Index (PyPI) package.

  • maven: A Maven package that contains compiled code in a distributable format, such as a JAR file.

Definition at line 267 of file CopyPackageVersionsRequest.h.

◆ WithFormat() [2/2]

CopyPackageVersionsRequest& Aws::CodeArtifact::Model::CopyPackageVersionsRequest::WithFormat ( PackageFormat &&  value)
inline

The format of the package that is copied. The valid package types are:

  • npm: A Node Package Manager (npm) package.

  • pypi: A Python Package Index (PyPI) package.

  • maven: A Maven package that contains compiled code in a distributable format, such as a JAR file.

Definition at line 276 of file CopyPackageVersionsRequest.h.

◆ WithIncludeFromUpstream()

CopyPackageVersionsRequest& Aws::CodeArtifact::Model::CopyPackageVersionsRequest::WithIncludeFromUpstream ( bool  value)
inline

Set to true to copy packages from repositories that are upstream from the source repository to the destination repository. The default setting is false. For more information, see Working with upstream repositories.

Definition at line 654 of file CopyPackageVersionsRequest.h.

◆ WithNamespace() [1/3]

CopyPackageVersionsRequest& Aws::CodeArtifact::Model::CopyPackageVersionsRequest::WithNamespace ( Aws::String &&  value)
inline

The namespace of the package. The package component that specifies its namespace depends on its type. For example:

  • The namespace of a Maven package is its groupId.

  • The namespace of an npm package is its scope.

  • A Python package does not contain a corresponding component, so Python packages do not have a namespace.

Definition at line 347 of file CopyPackageVersionsRequest.h.

◆ WithNamespace() [2/3]

CopyPackageVersionsRequest& Aws::CodeArtifact::Model::CopyPackageVersionsRequest::WithNamespace ( const Aws::String value)
inline

The namespace of the package. The package component that specifies its namespace depends on its type. For example:

  • The namespace of a Maven package is its groupId.

  • The namespace of an npm package is its scope.

  • A Python package does not contain a corresponding component, so Python packages do not have a namespace.

Definition at line 337 of file CopyPackageVersionsRequest.h.

◆ WithNamespace() [3/3]

CopyPackageVersionsRequest& Aws::CodeArtifact::Model::CopyPackageVersionsRequest::WithNamespace ( const char *  value)
inline

The namespace of the package. The package component that specifies its namespace depends on its type. For example:

  • The namespace of a Maven package is its groupId.

  • The namespace of an npm package is its scope.

  • A Python package does not contain a corresponding component, so Python packages do not have a namespace.

Definition at line 357 of file CopyPackageVersionsRequest.h.

◆ WithPackage() [1/3]

CopyPackageVersionsRequest& Aws::CodeArtifact::Model::CopyPackageVersionsRequest::WithPackage ( Aws::String &&  value)
inline

The name of the package that is copied.

Definition at line 393 of file CopyPackageVersionsRequest.h.

◆ WithPackage() [2/3]

CopyPackageVersionsRequest& Aws::CodeArtifact::Model::CopyPackageVersionsRequest::WithPackage ( const Aws::String value)
inline

The name of the package that is copied.

Definition at line 388 of file CopyPackageVersionsRequest.h.

◆ WithPackage() [3/3]

CopyPackageVersionsRequest& Aws::CodeArtifact::Model::CopyPackageVersionsRequest::WithPackage ( const char *  value)
inline

The name of the package that is copied.

Definition at line 398 of file CopyPackageVersionsRequest.h.

◆ WithSourceRepository() [1/3]

CopyPackageVersionsRequest& Aws::CodeArtifact::Model::CopyPackageVersionsRequest::WithSourceRepository ( Aws::String &&  value)
inline

The name of the repository that contains the package versions to copy.

Definition at line 175 of file CopyPackageVersionsRequest.h.

◆ WithSourceRepository() [2/3]

CopyPackageVersionsRequest& Aws::CodeArtifact::Model::CopyPackageVersionsRequest::WithSourceRepository ( const Aws::String value)
inline

The name of the repository that contains the package versions to copy.

Definition at line 170 of file CopyPackageVersionsRequest.h.

◆ WithSourceRepository() [3/3]

CopyPackageVersionsRequest& Aws::CodeArtifact::Model::CopyPackageVersionsRequest::WithSourceRepository ( const char *  value)
inline

The name of the repository that contains the package versions to copy.

Definition at line 180 of file CopyPackageVersionsRequest.h.

◆ WithVersionRevisions() [1/2]

CopyPackageVersionsRequest& Aws::CodeArtifact::Model::CopyPackageVersionsRequest::WithVersionRevisions ( Aws::Map< Aws::String, Aws::String > &&  value)
inline

A list of key-value pairs. The keys are package versions and the values are package version revisions. A CopyPackageVersion operation succeeds if the specified versions in the source repository match the specified package version revision.

You must specify versions or versionRevisions. You cannot specify both.

Definition at line 517 of file CopyPackageVersionsRequest.h.

◆ WithVersionRevisions() [2/2]

CopyPackageVersionsRequest& Aws::CodeArtifact::Model::CopyPackageVersionsRequest::WithVersionRevisions ( const Aws::Map< Aws::String, Aws::String > &  value)
inline

A list of key-value pairs. The keys are package versions and the values are package version revisions. A CopyPackageVersion operation succeeds if the specified versions in the source repository match the specified package version revision.

You must specify versions or versionRevisions. You cannot specify both.

Definition at line 508 of file CopyPackageVersionsRequest.h.

◆ WithVersions() [1/2]

CopyPackageVersionsRequest& Aws::CodeArtifact::Model::CopyPackageVersionsRequest::WithVersions ( Aws::Vector< Aws::String > &&  value)
inline

The versions of the package to copy.

You must specify versions or versionRevisions. You cannot specify both.

Definition at line 441 of file CopyPackageVersionsRequest.h.

◆ WithVersions() [2/2]

CopyPackageVersionsRequest& Aws::CodeArtifact::Model::CopyPackageVersionsRequest::WithVersions ( const Aws::Vector< Aws::String > &  value)
inline

The versions of the package to copy.

You must specify versions or versionRevisions. You cannot specify both.

Definition at line 434 of file CopyPackageVersionsRequest.h.


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