7#include <aws/codeartifact/CodeArtifact_EXPORTS.h>
8#include <aws/codeartifact/CodeArtifactRequest.h>
9#include <aws/core/utils/memory/stl/AWSString.h>
10#include <aws/codeartifact/model/PackageFormat.h>
11#include <aws/core/utils/memory/stl/AWSVector.h>
12#include <aws/core/utils/memory/stl/AWSMap.h>
53 inline void SetDomain(
const char* value) { m_domainHasBeenSet =
true; m_domain.assign(value); }
68 inline void SetDomainOwner(
const char* value) { m_domainOwnerHasBeenSet =
true; m_domainOwner.assign(value); }
83 inline void SetSourceRepository(
const char* value) { m_sourceRepositoryHasBeenSet =
true; m_sourceRepository.assign(value); }
97 inline void SetDestinationRepository(
const char* value) { m_destinationRepositoryHasBeenSet =
true; m_destinationRepository.assign(value); }
133 inline void SetNamespace(
const char* value) { m_namespaceHasBeenSet =
true; m_namespace.assign(value); }
147 inline void SetPackage(
const char* value) { m_packageHasBeenSet =
true; m_package.assign(value); }
203 inline void SetAllowOverwrite(
bool value) { m_allowOverwriteHasBeenSet =
true; m_allowOverwrite = value; }
217 inline void SetIncludeFromUpstream(
bool value) { m_includeFromUpstreamHasBeenSet =
true; m_includeFromUpstream = value; }
223 bool m_domainHasBeenSet =
false;
226 bool m_domainOwnerHasBeenSet =
false;
229 bool m_sourceRepositoryHasBeenSet =
false;
232 bool m_destinationRepositoryHasBeenSet =
false;
235 bool m_formatHasBeenSet =
false;
238 bool m_namespaceHasBeenSet =
false;
241 bool m_packageHasBeenSet =
false;
244 bool m_versionsHasBeenSet =
false;
247 bool m_versionRevisionsHasBeenSet =
false;
249 bool m_allowOverwrite;
250 bool m_allowOverwriteHasBeenSet =
false;
252 bool m_includeFromUpstream;
253 bool m_includeFromUpstreamHasBeenSet =
false;
void SetPackage(const char *value)
bool DestinationRepositoryHasBeenSet() const
const PackageFormat & GetFormat() const
bool DomainHasBeenSet() const
CopyPackageVersionsRequest & WithDomainOwner(const Aws::String &value)
virtual const char * GetServiceRequestName() const override
void SetNamespace(const char *value)
const Aws::Vector< Aws::String > & GetVersions() const
AWS_CODEARTIFACT_API CopyPackageVersionsRequest()
CopyPackageVersionsRequest & WithDomainOwner(Aws::String &&value)
void SetFormat(PackageFormat &&value)
void SetDomainOwner(const Aws::String &value)
const Aws::String & GetDomain() const
void SetNamespace(const Aws::String &value)
void SetSourceRepository(const Aws::String &value)
CopyPackageVersionsRequest & WithIncludeFromUpstream(bool value)
CopyPackageVersionsRequest & WithPackage(const Aws::String &value)
CopyPackageVersionsRequest & AddVersionRevisions(Aws::String &&key, const char *value)
bool AllowOverwriteHasBeenSet() const
CopyPackageVersionsRequest & WithDestinationRepository(const Aws::String &value)
CopyPackageVersionsRequest & AddVersionRevisions(Aws::String &&key, const Aws::String &value)
void SetDomain(const Aws::String &value)
bool IncludeFromUpstreamHasBeenSet() const
CopyPackageVersionsRequest & WithDomain(const char *value)
CopyPackageVersionsRequest & AddVersionRevisions(const Aws::String &key, const Aws::String &value)
CopyPackageVersionsRequest & WithDomainOwner(const char *value)
bool SourceRepositoryHasBeenSet() const
CopyPackageVersionsRequest & WithNamespace(const char *value)
CopyPackageVersionsRequest & WithVersionRevisions(Aws::Map< Aws::String, Aws::String > &&value)
const Aws::String & GetSourceRepository() const
CopyPackageVersionsRequest & WithNamespace(const Aws::String &value)
void SetNamespace(Aws::String &&value)
CopyPackageVersionsRequest & WithVersions(const Aws::Vector< Aws::String > &value)
CopyPackageVersionsRequest & AddVersions(Aws::String &&value)
bool GetIncludeFromUpstream() const
const Aws::String & GetDestinationRepository() const
CopyPackageVersionsRequest & AddVersionRevisions(Aws::String &&key, Aws::String &&value)
CopyPackageVersionsRequest & WithDomain(const Aws::String &value)
CopyPackageVersionsRequest & WithSourceRepository(Aws::String &&value)
void SetFormat(const PackageFormat &value)
void SetSourceRepository(const char *value)
CopyPackageVersionsRequest & WithVersionRevisions(const Aws::Map< Aws::String, Aws::String > &value)
CopyPackageVersionsRequest & AddVersionRevisions(const char *key, Aws::String &&value)
void SetDomain(Aws::String &&value)
void SetPackage(Aws::String &&value)
void SetDomainOwner(const char *value)
void SetSourceRepository(Aws::String &&value)
CopyPackageVersionsRequest & WithPackage(const char *value)
const Aws::Map< Aws::String, Aws::String > & GetVersionRevisions() const
CopyPackageVersionsRequest & AddVersionRevisions(const char *key, const char *value)
bool PackageHasBeenSet() const
CopyPackageVersionsRequest & WithDestinationRepository(const char *value)
CopyPackageVersionsRequest & AddVersionRevisions(const Aws::String &key, Aws::String &&value)
CopyPackageVersionsRequest & WithSourceRepository(const char *value)
AWS_CODEARTIFACT_API void AddQueryStringParameters(Aws::Http::URI &uri) const override
CopyPackageVersionsRequest & WithAllowOverwrite(bool value)
CopyPackageVersionsRequest & WithDomain(Aws::String &&value)
CopyPackageVersionsRequest & WithFormat(PackageFormat &&value)
void SetAllowOverwrite(bool value)
CopyPackageVersionsRequest & WithFormat(const PackageFormat &value)
void SetVersionRevisions(const Aws::Map< Aws::String, Aws::String > &value)
CopyPackageVersionsRequest & WithDestinationRepository(Aws::String &&value)
const Aws::String & GetDomainOwner() const
CopyPackageVersionsRequest & AddVersions(const char *value)
void SetDestinationRepository(const Aws::String &value)
CopyPackageVersionsRequest & WithNamespace(Aws::String &&value)
const Aws::String & GetNamespace() const
CopyPackageVersionsRequest & WithPackage(Aws::String &&value)
CopyPackageVersionsRequest & AddVersions(const Aws::String &value)
const Aws::String & GetPackage() const
void SetDestinationRepository(const char *value)
bool VersionRevisionsHasBeenSet() const
void SetPackage(const Aws::String &value)
void SetDomain(const char *value)
bool GetAllowOverwrite() const
bool NamespaceHasBeenSet() const
CopyPackageVersionsRequest & WithVersions(Aws::Vector< Aws::String > &&value)
void SetVersions(const Aws::Vector< Aws::String > &value)
void SetDestinationRepository(Aws::String &&value)
AWS_CODEARTIFACT_API Aws::String SerializePayload() const override
void SetVersions(Aws::Vector< Aws::String > &&value)
bool FormatHasBeenSet() const
CopyPackageVersionsRequest & WithSourceRepository(const Aws::String &value)
void SetDomainOwner(Aws::String &&value)
void SetVersionRevisions(Aws::Map< Aws::String, Aws::String > &&value)
bool DomainOwnerHasBeenSet() const
void SetIncludeFromUpstream(bool value)
bool VersionsHasBeenSet() const
std::map< K, V, std::less< K >, Aws::Allocator< std::pair< const K, V > > > Map
std::basic_string< char, std::char_traits< char >, Aws::Allocator< char > > String
std::vector< T, Aws::Allocator< T > > Vector