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>
13#include <aws/codeartifact/model/PackageVersionStatus.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); }
118 inline void SetNamespace(
const char* value) { m_namespaceHasBeenSet =
true; m_namespace.assign(value); }
132 inline void SetPackage(
const char* value) { m_packageHasBeenSet =
true; m_package.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_versionsHasBeenSet =
false;
225 bool m_versionRevisionsHasBeenSet =
false;
228 bool m_expectedStatusHasBeenSet =
false;
231 bool m_targetStatusHasBeenSet =
false;
UpdatePackageVersionsStatusRequest & WithTargetStatus(const PackageVersionStatus &value)
const PackageVersionStatus & GetTargetStatus() const
UpdatePackageVersionsStatusRequest & WithTargetStatus(PackageVersionStatus &&value)
void SetDomain(Aws::String &&value)
bool PackageHasBeenSet() const
AWS_CODEARTIFACT_API Aws::String SerializePayload() const override
UpdatePackageVersionsStatusRequest & AddVersionRevisions(Aws::String &&key, const Aws::String &value)
UpdatePackageVersionsStatusRequest & WithFormat(PackageFormat &&value)
UpdatePackageVersionsStatusRequest & AddVersions(Aws::String &&value)
void SetExpectedStatus(PackageVersionStatus &&value)
void SetRepository(const Aws::String &value)
virtual const char * GetServiceRequestName() const override
UpdatePackageVersionsStatusRequest & WithNamespace(const Aws::String &value)
bool ExpectedStatusHasBeenSet() const
UpdatePackageVersionsStatusRequest & AddVersions(const char *value)
UpdatePackageVersionsStatusRequest & AddVersionRevisions(const Aws::String &key, Aws::String &&value)
UpdatePackageVersionsStatusRequest & WithExpectedStatus(const PackageVersionStatus &value)
UpdatePackageVersionsStatusRequest & WithDomainOwner(const Aws::String &value)
UpdatePackageVersionsStatusRequest & AddVersionRevisions(const char *key, Aws::String &&value)
void SetPackage(Aws::String &&value)
void SetTargetStatus(PackageVersionStatus &&value)
bool VersionRevisionsHasBeenSet() const
const Aws::Vector< Aws::String > & GetVersions() const
const PackageFormat & GetFormat() const
UpdatePackageVersionsStatusRequest & WithRepository(const char *value)
void SetPackage(const Aws::String &value)
const Aws::String & GetNamespace() const
void SetRepository(const char *value)
UpdatePackageVersionsStatusRequest & WithDomain(const char *value)
UpdatePackageVersionsStatusRequest & WithPackage(const Aws::String &value)
const Aws::String & GetPackage() const
void SetDomainOwner(Aws::String &&value)
void SetDomain(const Aws::String &value)
const Aws::Map< Aws::String, Aws::String > & GetVersionRevisions() const
UpdatePackageVersionsStatusRequest & WithPackage(const char *value)
void SetRepository(Aws::String &&value)
void SetDomainOwner(const char *value)
UpdatePackageVersionsStatusRequest & WithDomainOwner(Aws::String &&value)
UpdatePackageVersionsStatusRequest & WithFormat(const PackageFormat &value)
bool VersionsHasBeenSet() const
void SetTargetStatus(const PackageVersionStatus &value)
UpdatePackageVersionsStatusRequest & WithPackage(Aws::String &&value)
UpdatePackageVersionsStatusRequest & AddVersionRevisions(const Aws::String &key, const Aws::String &value)
void SetVersionRevisions(Aws::Map< Aws::String, Aws::String > &&value)
UpdatePackageVersionsStatusRequest & WithDomain(Aws::String &&value)
UpdatePackageVersionsStatusRequest & AddVersionRevisions(Aws::String &&key, Aws::String &&value)
UpdatePackageVersionsStatusRequest & WithDomainOwner(const char *value)
void SetNamespace(const char *value)
UpdatePackageVersionsStatusRequest & WithVersions(Aws::Vector< Aws::String > &&value)
void SetFormat(PackageFormat &&value)
void SetNamespace(Aws::String &&value)
UpdatePackageVersionsStatusRequest & WithExpectedStatus(PackageVersionStatus &&value)
bool RepositoryHasBeenSet() const
AWS_CODEARTIFACT_API void AddQueryStringParameters(Aws::Http::URI &uri) const override
void SetVersions(Aws::Vector< Aws::String > &&value)
bool TargetStatusHasBeenSet() const
const Aws::String & GetRepository() const
void SetDomain(const char *value)
void SetPackage(const char *value)
bool DomainHasBeenSet() const
UpdatePackageVersionsStatusRequest & AddVersionRevisions(const char *key, const char *value)
UpdatePackageVersionsStatusRequest & WithDomain(const Aws::String &value)
UpdatePackageVersionsStatusRequest & WithVersionRevisions(const Aws::Map< Aws::String, Aws::String > &value)
bool FormatHasBeenSet() const
UpdatePackageVersionsStatusRequest & AddVersionRevisions(Aws::String &&key, const char *value)
UpdatePackageVersionsStatusRequest & WithNamespace(Aws::String &&value)
const Aws::String & GetDomain() const
void SetNamespace(const Aws::String &value)
const Aws::String & GetDomainOwner() const
void SetVersionRevisions(const Aws::Map< Aws::String, Aws::String > &value)
void SetFormat(const PackageFormat &value)
UpdatePackageVersionsStatusRequest & WithRepository(const Aws::String &value)
const PackageVersionStatus & GetExpectedStatus() const
void SetVersions(const Aws::Vector< Aws::String > &value)
bool DomainOwnerHasBeenSet() const
void SetExpectedStatus(const PackageVersionStatus &value)
void SetDomainOwner(const Aws::String &value)
UpdatePackageVersionsStatusRequest & WithRepository(Aws::String &&value)
UpdatePackageVersionsStatusRequest & AddVersions(const Aws::String &value)
AWS_CODEARTIFACT_API UpdatePackageVersionsStatusRequest()
bool NamespaceHasBeenSet() const
UpdatePackageVersionsStatusRequest & WithVersions(const Aws::Vector< Aws::String > &value)
UpdatePackageVersionsStatusRequest & WithNamespace(const char *value)
UpdatePackageVersionsStatusRequest & WithVersionRevisions(Aws::Map< Aws::String, Aws::String > &&value)
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