7#include <aws/codeartifact/CodeArtifactRequest.h>
8#include <aws/codeartifact/CodeArtifact_EXPORTS.h>
9#include <aws/codeartifact/model/PackageFormat.h>
10#include <aws/core/utils/memory/stl/AWSMap.h>
11#include <aws/core/utils/memory/stl/AWSString.h>
12#include <aws/core/utils/memory/stl/AWSVector.h>
20namespace CodeArtifact {
46 template <
typename DomainT = Aws::String>
48 m_domainHasBeenSet =
true;
49 m_domain = std::forward<DomainT>(value);
51 template <
typename DomainT = Aws::String>
65 template <
typename DomainOwnerT = Aws::String>
67 m_domainOwnerHasBeenSet =
true;
68 m_domainOwner = std::forward<DomainOwnerT>(value);
70 template <
typename DomainOwnerT = Aws::String>
84 template <
typename SourceRepositoryT = Aws::String>
86 m_sourceRepositoryHasBeenSet =
true;
87 m_sourceRepository = std::forward<SourceRepositoryT>(value);
89 template <
typename SourceRepositoryT = Aws::String>
102 template <
typename DestinationRepositoryT = Aws::String>
104 m_destinationRepositoryHasBeenSet =
true;
105 m_destinationRepository = std::forward<DestinationRepositoryT>(value);
107 template <
typename DestinationRepositoryT = Aws::String>
121 m_formatHasBeenSet =
true;
146 template <
typename NamespaceT = Aws::String>
148 m_namespaceHasBeenSet =
true;
149 m_namespace = std::forward<NamespaceT>(value);
151 template <
typename NamespaceT = Aws::String>
164 template <
typename PackageT = Aws::String>
166 m_packageHasBeenSet =
true;
167 m_package = std::forward<PackageT>(value);
169 template <
typename PackageT = Aws::String>
184 template <
typename VersionsT = Aws::Vector<Aws::String>>
186 m_versionsHasBeenSet =
true;
187 m_versions = std::forward<VersionsT>(value);
189 template <
typename VersionsT = Aws::Vector<Aws::String>>
194 template <
typename VersionsT = Aws::String>
196 m_versionsHasBeenSet =
true;
197 m_versions.emplace_back(std::forward<VersionsT>(value));
212 template <
typename VersionRevisionsT = Aws::Map<Aws::String, Aws::String>>
214 m_versionRevisionsHasBeenSet =
true;
215 m_versionRevisions = std::forward<VersionRevisionsT>(value);
217 template <
typename VersionRevisionsT = Aws::Map<Aws::String, Aws::String>>
222 template <
typename VersionRevisionsKeyT = Aws::String,
typename VersionRevisionsValueT = Aws::String>
224 m_versionRevisionsHasBeenSet =
true;
225 m_versionRevisions.emplace(std::forward<VersionRevisionsKeyT>(key), std::forward<VersionRevisionsValueT>(value));
241 m_allowOverwriteHasBeenSet =
true;
242 m_allowOverwrite = value;
261 m_includeFromUpstreamHasBeenSet =
true;
262 m_includeFromUpstream = value;
288 bool m_allowOverwrite{
false};
290 bool m_includeFromUpstream{
false};
291 bool m_domainHasBeenSet =
false;
292 bool m_domainOwnerHasBeenSet =
false;
293 bool m_sourceRepositoryHasBeenSet =
false;
294 bool m_destinationRepositoryHasBeenSet =
false;
295 bool m_formatHasBeenSet =
false;
296 bool m_namespaceHasBeenSet =
false;
297 bool m_packageHasBeenSet =
false;
298 bool m_versionsHasBeenSet =
false;
299 bool m_versionRevisionsHasBeenSet =
false;
300 bool m_allowOverwriteHasBeenSet =
false;
301 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