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/PackageOriginRestrictions.h>
50 template<
typename DomainT = Aws::String>
51 void SetDomain(DomainT&& value) { m_domainHasBeenSet =
true; m_domain = std::forward<DomainT>(value); }
52 template<
typename DomainT = Aws::String>
63 template<
typename DomainOwnerT = Aws::String>
64 void SetDomainOwner(DomainOwnerT&& value) { m_domainOwnerHasBeenSet =
true; m_domainOwner = std::forward<DomainOwnerT>(value); }
65 template<
typename DomainOwnerT = Aws::String>
75 template<
typename RepositoryT = Aws::String>
76 void SetRepository(RepositoryT&& value) { m_repositoryHasBeenSet =
true; m_repository = std::forward<RepositoryT>(value); }
77 template<
typename RepositoryT = Aws::String>
104 template<
typename NamespaceT = Aws::String>
105 void SetNamespace(NamespaceT&& value) { m_namespaceHasBeenSet =
true; m_namespace = std::forward<NamespaceT>(value); }
106 template<
typename NamespaceT = Aws::String>
116 template<
typename PackageT = Aws::String>
117 void SetPackage(PackageT&& value) { m_packageHasBeenSet =
true; m_package = std::forward<PackageT>(value); }
118 template<
typename PackageT = Aws::String>
136 template<
typename RestrictionsT = PackageOriginRestrictions>
137 void SetRestrictions(RestrictionsT&& value) { m_restrictionsHasBeenSet =
true; m_restrictions = std::forward<RestrictionsT>(value); }
138 template<
typename RestrictionsT = PackageOriginRestrictions>
144 bool m_domainHasBeenSet =
false;
147 bool m_domainOwnerHasBeenSet =
false;
150 bool m_repositoryHasBeenSet =
false;
153 bool m_formatHasBeenSet =
false;
156 bool m_namespaceHasBeenSet =
false;
159 bool m_packageHasBeenSet =
false;
161 PackageOriginRestrictions m_restrictions;
162 bool m_restrictionsHasBeenSet =
false;
const Aws::String & GetDomainOwner() const
PutPackageOriginConfigurationRequest & WithRestrictions(RestrictionsT &&value)
PutPackageOriginConfigurationRequest & WithRepository(RepositoryT &&value)
virtual const char * GetServiceRequestName() const override
void SetDomainOwner(DomainOwnerT &&value)
bool RestrictionsHasBeenSet() const
void SetRestrictions(RestrictionsT &&value)
const Aws::String & GetDomain() const
const Aws::String & GetPackage() const
PackageFormat GetFormat() const
PutPackageOriginConfigurationRequest & WithDomain(DomainT &&value)
void SetDomain(DomainT &&value)
bool NamespaceHasBeenSet() const
const PackageOriginRestrictions & GetRestrictions() const
const Aws::String & GetNamespace() const
const Aws::String & GetRepository() const
void SetRepository(RepositoryT &&value)
AWS_CODEARTIFACT_API void AddQueryStringParameters(Aws::Http::URI &uri) const override
bool PackageHasBeenSet() const
void SetNamespace(NamespaceT &&value)
bool RepositoryHasBeenSet() const
bool FormatHasBeenSet() const
AWS_CODEARTIFACT_API Aws::String SerializePayload() const override
void SetPackage(PackageT &&value)
void SetFormat(PackageFormat value)
bool DomainOwnerHasBeenSet() const
PutPackageOriginConfigurationRequest & WithFormat(PackageFormat value)
PutPackageOriginConfigurationRequest & WithPackage(PackageT &&value)
PutPackageOriginConfigurationRequest & WithDomainOwner(DomainOwnerT &&value)
PutPackageOriginConfigurationRequest & WithNamespace(NamespaceT &&value)
bool DomainHasBeenSet() const
AWS_CODEARTIFACT_API PutPackageOriginConfigurationRequest()=default
std::basic_string< char, std::char_traits< char >, Aws::Allocator< char > > String