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/codeartifact/model/PackageVersionStatus.h>
12#include <aws/codeartifact/model/PackageVersionSortType.h>
13#include <aws/codeartifact/model/PackageVersionOriginType.h>
54 inline void SetDomain(
const char* value) { m_domainHasBeenSet =
true; m_domain.assign(value); }
69 inline void SetDomainOwner(
const char* value) { m_domainOwnerHasBeenSet =
true; m_domainOwner.assign(value); }
84 inline void SetRepository(
const char* value) { m_repositoryHasBeenSet =
true; m_repository.assign(value); }
120 inline void SetNamespace(
const char* value) { m_namespaceHasBeenSet =
true; m_namespace.assign(value); }
134 inline void SetPackage(
const char* value) { m_packageHasBeenSet =
true; m_package.assign(value); }
170 inline void SetMaxResults(
int value) { m_maxResultsHasBeenSet =
true; m_maxResults = value; }
183 inline void SetNextToken(
const char* value) { m_nextTokenHasBeenSet =
true; m_nextToken.assign(value); }
204 bool m_domainHasBeenSet =
false;
207 bool m_domainOwnerHasBeenSet =
false;
210 bool m_repositoryHasBeenSet =
false;
213 bool m_formatHasBeenSet =
false;
216 bool m_namespaceHasBeenSet =
false;
219 bool m_packageHasBeenSet =
false;
222 bool m_statusHasBeenSet =
false;
225 bool m_sortByHasBeenSet =
false;
228 bool m_maxResultsHasBeenSet =
false;
231 bool m_nextTokenHasBeenSet =
false;
234 bool m_originTypeHasBeenSet =
false;
AWS_CODEARTIFACT_API void AddQueryStringParameters(Aws::Http::URI &uri) const override
ListPackageVersionsRequest & WithStatus(const PackageVersionStatus &value)
ListPackageVersionsRequest & WithOriginType(const PackageVersionOriginType &value)
const Aws::String & GetDomainOwner() const
void SetSortBy(PackageVersionSortType &&value)
ListPackageVersionsRequest & WithNextToken(const char *value)
ListPackageVersionsRequest & WithFormat(const PackageFormat &value)
bool FormatHasBeenSet() const
ListPackageVersionsRequest & WithNextToken(Aws::String &&value)
const Aws::String & GetDomain() const
void SetPackage(const char *value)
void SetNamespace(const Aws::String &value)
ListPackageVersionsRequest & WithRepository(const char *value)
void SetDomainOwner(const Aws::String &value)
void SetDomain(const char *value)
int GetMaxResults() const
void SetFormat(PackageFormat &&value)
bool RepositoryHasBeenSet() const
ListPackageVersionsRequest & WithNextToken(const Aws::String &value)
void SetStatus(PackageVersionStatus &&value)
ListPackageVersionsRequest & WithFormat(PackageFormat &&value)
ListPackageVersionsRequest & WithRepository(const Aws::String &value)
ListPackageVersionsRequest & WithDomainOwner(Aws::String &&value)
void SetFormat(const PackageFormat &value)
void SetDomainOwner(Aws::String &&value)
const PackageVersionOriginType & GetOriginType() const
ListPackageVersionsRequest & WithDomainOwner(const char *value)
ListPackageVersionsRequest & WithDomain(const Aws::String &value)
ListPackageVersionsRequest & WithNamespace(const Aws::String &value)
ListPackageVersionsRequest & WithPackage(const char *value)
void SetDomain(const Aws::String &value)
void SetOriginType(const PackageVersionOriginType &value)
const PackageVersionStatus & GetStatus() const
void SetNextToken(Aws::String &&value)
void SetNextToken(const Aws::String &value)
bool DomainOwnerHasBeenSet() const
void SetNamespace(Aws::String &&value)
ListPackageVersionsRequest & WithDomain(Aws::String &&value)
void SetStatus(const PackageVersionStatus &value)
void SetSortBy(const PackageVersionSortType &value)
void SetMaxResults(int value)
void SetNextToken(const char *value)
bool DomainHasBeenSet() const
const Aws::String & GetNamespace() const
ListPackageVersionsRequest & WithSortBy(const PackageVersionSortType &value)
void SetRepository(const Aws::String &value)
bool SortByHasBeenSet() const
void SetPackage(const Aws::String &value)
ListPackageVersionsRequest & WithSortBy(PackageVersionSortType &&value)
bool OriginTypeHasBeenSet() const
ListPackageVersionsRequest & WithMaxResults(int value)
ListPackageVersionsRequest & WithDomainOwner(const Aws::String &value)
void SetDomainOwner(const char *value)
ListPackageVersionsRequest & WithPackage(Aws::String &&value)
bool NextTokenHasBeenSet() const
void SetOriginType(PackageVersionOriginType &&value)
ListPackageVersionsRequest & WithRepository(Aws::String &&value)
const PackageFormat & GetFormat() const
bool NamespaceHasBeenSet() const
ListPackageVersionsRequest & WithDomain(const char *value)
const Aws::String & GetPackage() const
bool PackageHasBeenSet() const
void SetRepository(Aws::String &&value)
AWS_CODEARTIFACT_API Aws::String SerializePayload() const override
void SetDomain(Aws::String &&value)
bool MaxResultsHasBeenSet() const
const Aws::String & GetNextToken() const
const PackageVersionSortType & GetSortBy() const
ListPackageVersionsRequest & WithOriginType(PackageVersionOriginType &&value)
const Aws::String & GetRepository() const
void SetNamespace(const char *value)
ListPackageVersionsRequest & WithPackage(const Aws::String &value)
bool StatusHasBeenSet() const
void SetPackage(Aws::String &&value)
ListPackageVersionsRequest & WithStatus(PackageVersionStatus &&value)
void SetRepository(const char *value)
ListPackageVersionsRequest & WithNamespace(Aws::String &&value)
virtual const char * GetServiceRequestName() const override
ListPackageVersionsRequest & WithNamespace(const char *value)
AWS_CODEARTIFACT_API ListPackageVersionsRequest()
std::basic_string< char, std::char_traits< char >, Aws::Allocator< char > > String