7#include <aws/codeartifact/CodeArtifact_EXPORTS.h>
8#include <aws/codeartifact/CodeArtifactRequest.h>
9#include <aws/core/utils/memory/stl/AWSString.h>
50 inline void SetDomain(
const char* value) { m_domainHasBeenSet =
true; m_domain.assign(value); }
65 inline void SetDomainOwner(
const char* value) { m_domainOwnerHasBeenSet =
true; m_domainOwner.assign(value); }
79 inline void SetRepository(
const char* value) { m_repositoryHasBeenSet =
true; m_repository.assign(value); }
96 inline void SetPolicyRevision(
const char* value) { m_policyRevisionHasBeenSet =
true; m_policyRevision.assign(value); }
111 inline void SetPolicyDocument(
const char* value) { m_policyDocumentHasBeenSet =
true; m_policyDocument.assign(value); }
119 bool m_domainHasBeenSet =
false;
122 bool m_domainOwnerHasBeenSet =
false;
125 bool m_repositoryHasBeenSet =
false;
128 bool m_policyRevisionHasBeenSet =
false;
131 bool m_policyDocumentHasBeenSet =
false;
void SetPolicyDocument(const char *value)
const Aws::String & GetPolicyRevision() const
PutRepositoryPermissionsPolicyRequest & WithPolicyRevision(Aws::String &&value)
void SetRepository(const Aws::String &value)
PutRepositoryPermissionsPolicyRequest & WithRepository(Aws::String &&value)
bool PolicyRevisionHasBeenSet() const
void SetDomain(Aws::String &&value)
PutRepositoryPermissionsPolicyRequest & WithPolicyDocument(const Aws::String &value)
PutRepositoryPermissionsPolicyRequest & WithPolicyDocument(Aws::String &&value)
AWS_CODEARTIFACT_API void AddQueryStringParameters(Aws::Http::URI &uri) const override
bool DomainHasBeenSet() const
const Aws::String & GetDomain() const
const Aws::String & GetRepository() const
AWS_CODEARTIFACT_API Aws::String SerializePayload() const override
PutRepositoryPermissionsPolicyRequest & WithDomainOwner(const Aws::String &value)
void SetPolicyDocument(Aws::String &&value)
PutRepositoryPermissionsPolicyRequest & WithDomainOwner(const char *value)
bool RepositoryHasBeenSet() const
const Aws::String & GetPolicyDocument() const
PutRepositoryPermissionsPolicyRequest & WithRepository(const char *value)
virtual const char * GetServiceRequestName() const override
PutRepositoryPermissionsPolicyRequest & WithPolicyDocument(const char *value)
PutRepositoryPermissionsPolicyRequest & WithPolicyRevision(const char *value)
void SetDomain(const char *value)
PutRepositoryPermissionsPolicyRequest & WithDomainOwner(Aws::String &&value)
void SetPolicyRevision(const char *value)
void SetDomain(const Aws::String &value)
void SetPolicyRevision(Aws::String &&value)
void SetDomainOwner(const char *value)
AWS_CODEARTIFACT_API PutRepositoryPermissionsPolicyRequest()
const Aws::String & GetDomainOwner() const
void SetRepository(Aws::String &&value)
PutRepositoryPermissionsPolicyRequest & WithPolicyRevision(const Aws::String &value)
void SetDomainOwner(Aws::String &&value)
PutRepositoryPermissionsPolicyRequest & WithDomain(const Aws::String &value)
bool DomainOwnerHasBeenSet() const
void SetRepository(const char *value)
bool PolicyDocumentHasBeenSet() const
void SetDomainOwner(const Aws::String &value)
PutRepositoryPermissionsPolicyRequest & WithDomain(const char *value)
void SetPolicyDocument(const Aws::String &value)
PutRepositoryPermissionsPolicyRequest & WithRepository(const Aws::String &value)
void SetPolicyRevision(const Aws::String &value)
PutRepositoryPermissionsPolicyRequest & WithDomain(Aws::String &&value)
std::basic_string< char, std::char_traits< char >, Aws::Allocator< char > > String