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/Array.h>
52 inline void SetDomain(
const char* value) { m_domainHasBeenSet =
true; m_domain.assign(value); }
67 inline void SetDomainOwner(
const char* value) { m_domainOwnerHasBeenSet =
true; m_domainOwner.assign(value); }
81 inline void SetRepository(
const char* value) { m_repositoryHasBeenSet =
true; m_repository.assign(value); }
108 inline void SetNamespace(
const char* value) { m_namespaceHasBeenSet =
true; m_namespace.assign(value); }
122 inline void SetPackage(
const char* value) { m_packageHasBeenSet =
true; m_package.assign(value); }
136 inline void SetPackageVersion(
const char* value) { m_packageVersionHasBeenSet =
true; m_packageVersion.assign(value); }
152 inline void SetAssetName(
const char* value) { m_assetNameHasBeenSet =
true; m_assetName.assign(value); }
171 inline void SetAssetSHA256(
const char* value) { m_assetSHA256HasBeenSet =
true; m_assetSHA256.assign(value); }
188 inline void SetUnfinished(
bool value) { m_unfinishedHasBeenSet =
true; m_unfinished = value; }
194 bool m_domainHasBeenSet =
false;
197 bool m_domainOwnerHasBeenSet =
false;
200 bool m_repositoryHasBeenSet =
false;
203 bool m_formatHasBeenSet =
false;
206 bool m_namespaceHasBeenSet =
false;
209 bool m_packageHasBeenSet =
false;
212 bool m_packageVersionHasBeenSet =
false;
216 bool m_assetNameHasBeenSet =
false;
219 bool m_assetSHA256HasBeenSet =
false;
222 bool m_unfinishedHasBeenSet =
false;
void SetUnfinished(bool value)
bool FormatHasBeenSet() const
void SetAssetSHA256(const char *value)
PublishPackageVersionRequest & WithNamespace(const Aws::String &value)
AWS_CODEARTIFACT_API void AddQueryStringParameters(Aws::Http::URI &uri) const override
void SetDomain(const Aws::String &value)
PublishPackageVersionRequest & WithPackageVersion(const char *value)
const Aws::String & GetPackage() const
const Aws::String & GetDomainOwner() const
void SetFormat(const PackageFormat &value)
const Aws::String & GetAssetSHA256() const
PublishPackageVersionRequest & WithDomainOwner(const char *value)
void SetDomain(const char *value)
PublishPackageVersionRequest & WithRepository(const char *value)
void SetAssetSHA256(Aws::String &&value)
bool DomainOwnerHasBeenSet() const
const Aws::String & GetAssetName() const
PublishPackageVersionRequest & WithDomainOwner(Aws::String &&value)
PublishPackageVersionRequest & WithUnfinished(bool value)
void SetPackage(const Aws::String &value)
PublishPackageVersionRequest & WithPackage(Aws::String &&value)
void SetFormat(PackageFormat &&value)
const Aws::String & GetRepository() const
PublishPackageVersionRequest & WithAssetSHA256(const Aws::String &value)
void SetAssetSHA256(const Aws::String &value)
PublishPackageVersionRequest & WithFormat(PackageFormat &&value)
PublishPackageVersionRequest & WithNamespace(Aws::String &&value)
AWS_CODEARTIFACT_API Aws::Http::HeaderValueCollection GetRequestSpecificHeaders() const override
void SetDomainOwner(const Aws::String &value)
void SetPackage(const char *value)
const Aws::String & GetPackageVersion() const
void SetNamespace(const char *value)
PublishPackageVersionRequest & WithRepository(const Aws::String &value)
bool GetUnfinished() const
PublishPackageVersionRequest & WithPackageVersion(Aws::String &&value)
void SetPackageVersion(const char *value)
PublishPackageVersionRequest & WithAssetSHA256(const char *value)
PublishPackageVersionRequest & WithRepository(Aws::String &&value)
void SetAssetName(Aws::String &&value)
bool DomainHasBeenSet() const
AWS_CODEARTIFACT_API PublishPackageVersionRequest()
PublishPackageVersionRequest & WithDomain(Aws::String &&value)
bool PackageVersionHasBeenSet() const
const Aws::String & GetNamespace() const
bool AssetSHA256HasBeenSet() const
void SetRepository(Aws::String &&value)
bool RepositoryHasBeenSet() const
PublishPackageVersionRequest & WithFormat(const PackageFormat &value)
PublishPackageVersionRequest & WithDomainOwner(const Aws::String &value)
void SetDomain(Aws::String &&value)
PublishPackageVersionRequest & WithPackage(const char *value)
void SetNamespace(const Aws::String &value)
bool PackageHasBeenSet() const
void SetRepository(const Aws::String &value)
PublishPackageVersionRequest & WithAssetName(const char *value)
const PackageFormat & GetFormat() const
void SetNamespace(Aws::String &&value)
PublishPackageVersionRequest & WithDomain(const char *value)
void SetPackageVersion(const Aws::String &value)
PublishPackageVersionRequest & WithPackageVersion(const Aws::String &value)
void SetDomainOwner(Aws::String &&value)
bool NamespaceHasBeenSet() const
virtual const char * GetServiceRequestName() const override
PublishPackageVersionRequest & WithDomain(const Aws::String &value)
const Aws::String & GetDomain() const
PublishPackageVersionRequest & WithNamespace(const char *value)
void SetPackageVersion(Aws::String &&value)
bool UnfinishedHasBeenSet() const
PublishPackageVersionRequest & WithAssetSHA256(Aws::String &&value)
void SetRepository(const char *value)
void SetAssetName(const Aws::String &value)
void SetDomainOwner(const char *value)
PublishPackageVersionRequest & WithPackage(const Aws::String &value)
bool AssetNameHasBeenSet() const
PublishPackageVersionRequest & WithAssetName(const Aws::String &value)
void SetPackage(Aws::String &&value)
PublishPackageVersionRequest & WithAssetName(Aws::String &&value)
void SetAssetName(const char *value)
Aws::Map< Aws::String, Aws::String > HeaderValueCollection
std::basic_string< char, std::char_traits< char >, Aws::Allocator< char > > String