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>
51 template<
typename DomainT = Aws::String>
52 void SetDomain(DomainT&& value) { m_domainHasBeenSet =
true; m_domain = std::forward<DomainT>(value); }
53 template<
typename DomainT = Aws::String>
64 template<
typename DomainOwnerT = Aws::String>
65 void SetDomainOwner(DomainOwnerT&& value) { m_domainOwnerHasBeenSet =
true; m_domainOwner = std::forward<DomainOwnerT>(value); }
66 template<
typename DomainOwnerT = Aws::String>
77 template<
typename SourceRepositoryT = Aws::String>
78 void SetSourceRepository(SourceRepositoryT&& value) { m_sourceRepositoryHasBeenSet =
true; m_sourceRepository = std::forward<SourceRepositoryT>(value); }
79 template<
typename SourceRepositoryT = Aws::String>
89 template<
typename DestinationRepositoryT = Aws::String>
90 void SetDestinationRepository(DestinationRepositoryT&& value) { m_destinationRepositoryHasBeenSet =
true; m_destinationRepository = std::forward<DestinationRepositoryT>(value); }
91 template<
typename DestinationRepositoryT = Aws::String>
121 template<
typename NamespaceT = Aws::String>
122 void SetNamespace(NamespaceT&& value) { m_namespaceHasBeenSet =
true; m_namespace = std::forward<NamespaceT>(value); }
123 template<
typename NamespaceT = Aws::String>
133 template<
typename PackageT = Aws::String>
134 void SetPackage(PackageT&& value) { m_packageHasBeenSet =
true; m_package = std::forward<PackageT>(value); }
135 template<
typename PackageT = Aws::String>
147 template<
typename VersionsT = Aws::Vector<Aws::String>>
148 void SetVersions(VersionsT&& value) { m_versionsHasBeenSet =
true; m_versions = std::forward<VersionsT>(value); }
149 template<
typename VersionsT = Aws::Vector<Aws::String>>
151 template<
typename VersionsT = Aws::String>
165 template<
typename VersionRevisionsT = Aws::Map<Aws::String, Aws::String>>
166 void SetVersionRevisions(VersionRevisionsT&& value) { m_versionRevisionsHasBeenSet =
true; m_versionRevisions = std::forward<VersionRevisionsT>(value); }
167 template<
typename VersionRevisionsT = Aws::Map<Aws::String, Aws::String>>
169 template<
typename VersionRevisionsKeyT = Aws::String,
typename VersionRevisionsValueT = Aws::String>
171 m_versionRevisionsHasBeenSet =
true; m_versionRevisions.emplace(std::forward<VersionRevisionsKeyT>(key), std::forward<VersionRevisionsValueT>(value));
return *
this;
185 inline void SetAllowOverwrite(
bool value) { m_allowOverwriteHasBeenSet =
true; m_allowOverwrite = value; }
199 inline void SetIncludeFromUpstream(
bool value) { m_includeFromUpstreamHasBeenSet =
true; m_includeFromUpstream = value; }
205 bool m_domainHasBeenSet =
false;
208 bool m_domainOwnerHasBeenSet =
false;
211 bool m_sourceRepositoryHasBeenSet =
false;
214 bool m_destinationRepositoryHasBeenSet =
false;
217 bool m_formatHasBeenSet =
false;
220 bool m_namespaceHasBeenSet =
false;
223 bool m_packageHasBeenSet =
false;
226 bool m_versionsHasBeenSet =
false;
229 bool m_versionRevisionsHasBeenSet =
false;
231 bool m_allowOverwrite{
false};
232 bool m_allowOverwriteHasBeenSet =
false;
234 bool m_includeFromUpstream{
false};
235 bool m_includeFromUpstreamHasBeenSet =
false;
bool DestinationRepositoryHasBeenSet() const
bool DomainHasBeenSet() const
CopyPackageVersionsRequest & WithVersionRevisions(VersionRevisionsT &&value)
virtual const char * GetServiceRequestName() const override
const Aws::Vector< Aws::String > & GetVersions() const
const Aws::String & GetDomain() const
CopyPackageVersionsRequest & WithFormat(PackageFormat value)
CopyPackageVersionsRequest & WithIncludeFromUpstream(bool value)
bool AllowOverwriteHasBeenSet() const
CopyPackageVersionsRequest & WithDomainOwner(DomainOwnerT &&value)
bool IncludeFromUpstreamHasBeenSet() const
bool SourceRepositoryHasBeenSet() const
void SetDomain(DomainT &&value)
const Aws::String & GetSourceRepository() const
bool GetIncludeFromUpstream() const
const Aws::String & GetDestinationRepository() const
CopyPackageVersionsRequest & WithVersions(VersionsT &&value)
CopyPackageVersionsRequest & WithSourceRepository(SourceRepositoryT &&value)
CopyPackageVersionsRequest & WithPackage(PackageT &&value)
void SetVersionRevisions(VersionRevisionsT &&value)
PackageFormat GetFormat() const
const Aws::Map< Aws::String, Aws::String > & GetVersionRevisions() const
CopyPackageVersionsRequest & WithDestinationRepository(DestinationRepositoryT &&value)
bool PackageHasBeenSet() const
void SetNamespace(NamespaceT &&value)
CopyPackageVersionsRequest & WithDomain(DomainT &&value)
AWS_CODEARTIFACT_API void AddQueryStringParameters(Aws::Http::URI &uri) const override
CopyPackageVersionsRequest & WithNamespace(NamespaceT &&value)
CopyPackageVersionsRequest & WithAllowOverwrite(bool value)
void SetAllowOverwrite(bool value)
void SetSourceRepository(SourceRepositoryT &&value)
void SetPackage(PackageT &&value)
const Aws::String & GetDomainOwner() const
void SetDomainOwner(DomainOwnerT &&value)
const Aws::String & GetNamespace() const
CopyPackageVersionsRequest & AddVersionRevisions(VersionRevisionsKeyT &&key, VersionRevisionsValueT &&value)
const Aws::String & GetPackage() const
bool VersionRevisionsHasBeenSet() const
void SetFormat(PackageFormat value)
bool GetAllowOverwrite() const
void SetVersions(VersionsT &&value)
bool NamespaceHasBeenSet() const
AWS_CODEARTIFACT_API CopyPackageVersionsRequest()=default
void SetDestinationRepository(DestinationRepositoryT &&value)
AWS_CODEARTIFACT_API Aws::String SerializePayload() const override
bool FormatHasBeenSet() const
CopyPackageVersionsRequest & AddVersions(VersionsT &&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