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/AllowPublish.h>
12#include <aws/codeartifact/model/AllowUpstream.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); }
82 inline void SetRepository(
const char* value) { m_repositoryHasBeenSet =
true; m_repository.assign(value); }
119 inline void SetNamespace(
const char* value) { m_namespaceHasBeenSet =
true; m_namespace.assign(value); }
134 inline void SetPackagePrefix(
const char* value) { m_packagePrefixHasBeenSet =
true; m_packagePrefix.assign(value); }
146 inline void SetMaxResults(
int value) { m_maxResultsHasBeenSet =
true; m_maxResults = value; }
159 inline void SetNextToken(
const char* value) { m_nextTokenHasBeenSet =
true; m_nextToken.assign(value); }
197 bool m_domainHasBeenSet =
false;
200 bool m_domainOwnerHasBeenSet =
false;
203 bool m_repositoryHasBeenSet =
false;
206 bool m_formatHasBeenSet =
false;
209 bool m_namespaceHasBeenSet =
false;
212 bool m_packagePrefixHasBeenSet =
false;
215 bool m_maxResultsHasBeenSet =
false;
218 bool m_nextTokenHasBeenSet =
false;
221 bool m_publishHasBeenSet =
false;
224 bool m_upstreamHasBeenSet =
false;
ListPackagesRequest & WithPackagePrefix(const Aws::String &value)
bool DomainOwnerHasBeenSet() const
ListPackagesRequest & WithNextToken(const char *value)
const AllowUpstream & GetUpstream() const
ListPackagesRequest & WithPackagePrefix(Aws::String &&value)
void SetRepository(const char *value)
ListPackagesRequest & WithDomainOwner(Aws::String &&value)
void SetPackagePrefix(const Aws::String &value)
void SetDomainOwner(const Aws::String &value)
AWS_CODEARTIFACT_API ListPackagesRequest()
ListPackagesRequest & WithDomain(const char *value)
void SetPublish(const AllowPublish &value)
ListPackagesRequest & WithPackagePrefix(const char *value)
void SetFormat(const PackageFormat &value)
bool PublishHasBeenSet() const
const Aws::String & GetRepository() const
bool NamespaceHasBeenSet() const
void SetNamespace(const char *value)
bool UpstreamHasBeenSet() const
const Aws::String & GetDomainOwner() const
ListPackagesRequest & WithUpstream(AllowUpstream &&value)
void SetNamespace(const Aws::String &value)
void SetUpstream(AllowUpstream &&value)
bool PackagePrefixHasBeenSet() const
void SetDomainOwner(const char *value)
void SetDomainOwner(Aws::String &&value)
void SetFormat(PackageFormat &&value)
ListPackagesRequest & WithNamespace(const Aws::String &value)
AWS_CODEARTIFACT_API void AddQueryStringParameters(Aws::Http::URI &uri) const override
bool DomainHasBeenSet() const
ListPackagesRequest & WithRepository(Aws::String &&value)
void SetPackagePrefix(const char *value)
ListPackagesRequest & WithNextToken(const Aws::String &value)
void SetDomain(const Aws::String &value)
ListPackagesRequest & WithPublish(AllowPublish &&value)
ListPackagesRequest & WithFormat(PackageFormat &&value)
const AllowPublish & GetPublish() const
const Aws::String & GetNamespace() const
void SetNamespace(Aws::String &&value)
ListPackagesRequest & WithFormat(const PackageFormat &value)
AWS_CODEARTIFACT_API Aws::String SerializePayload() const override
virtual const char * GetServiceRequestName() const override
void SetNextToken(const char *value)
ListPackagesRequest & WithMaxResults(int value)
void SetPackagePrefix(Aws::String &&value)
bool FormatHasBeenSet() const
ListPackagesRequest & WithDomainOwner(const char *value)
ListPackagesRequest & WithNextToken(Aws::String &&value)
int GetMaxResults() const
const Aws::String & GetDomain() const
ListPackagesRequest & WithDomainOwner(const Aws::String &value)
void SetUpstream(const AllowUpstream &value)
ListPackagesRequest & WithNamespace(const char *value)
bool RepositoryHasBeenSet() const
void SetMaxResults(int value)
ListPackagesRequest & WithPublish(const AllowPublish &value)
void SetRepository(Aws::String &&value)
ListPackagesRequest & WithRepository(const char *value)
ListPackagesRequest & WithRepository(const Aws::String &value)
const Aws::String & GetPackagePrefix() const
ListPackagesRequest & WithDomain(const Aws::String &value)
bool NextTokenHasBeenSet() const
void SetRepository(const Aws::String &value)
void SetNextToken(Aws::String &&value)
ListPackagesRequest & WithUpstream(const AllowUpstream &value)
void SetDomain(Aws::String &&value)
void SetNextToken(const Aws::String &value)
void SetDomain(const char *value)
bool MaxResultsHasBeenSet() const
ListPackagesRequest & WithDomain(Aws::String &&value)
void SetPublish(AllowPublish &&value)
const PackageFormat & GetFormat() const
const Aws::String & GetNextToken() const
ListPackagesRequest & WithNamespace(Aws::String &&value)
std::basic_string< char, std::char_traits< char >, Aws::Allocator< char > > String