7#include <aws/codeartifact/CodeArtifact_EXPORTS.h>
8#include <aws/codeartifact/CodeArtifactRequest.h>
9#include <aws/core/utils/memory/stl/AWSString.h>
43 inline void SetDomain(
const char* value) { m_domainHasBeenSet =
true; m_domain.assign(value); }
58 inline void SetDomainOwner(
const char* value) { m_domainOwnerHasBeenSet =
true; m_domainOwner.assign(value); }
74 inline void SetPolicyRevision(
const char* value) { m_policyRevisionHasBeenSet =
true; m_policyRevision.assign(value); }
89 inline void SetPolicyDocument(
const char* value) { m_policyDocumentHasBeenSet =
true; m_policyDocument.assign(value); }
97 bool m_domainHasBeenSet =
false;
100 bool m_domainOwnerHasBeenSet =
false;
103 bool m_policyRevisionHasBeenSet =
false;
106 bool m_policyDocumentHasBeenSet =
false;
void SetDomain(Aws::String &&value)
AWS_CODEARTIFACT_API PutDomainPermissionsPolicyRequest()
bool PolicyRevisionHasBeenSet() const
void SetDomainOwner(Aws::String &&value)
bool PolicyDocumentHasBeenSet() const
PutDomainPermissionsPolicyRequest & WithDomain(const char *value)
void SetPolicyRevision(const char *value)
void SetDomain(const Aws::String &value)
void SetPolicyDocument(Aws::String &&value)
PutDomainPermissionsPolicyRequest & WithDomainOwner(Aws::String &&value)
PutDomainPermissionsPolicyRequest & WithPolicyRevision(const Aws::String &value)
void SetPolicyDocument(const Aws::String &value)
AWS_CODEARTIFACT_API Aws::String SerializePayload() const override
PutDomainPermissionsPolicyRequest & WithDomain(Aws::String &&value)
const Aws::String & GetDomain() const
PutDomainPermissionsPolicyRequest & WithDomainOwner(const Aws::String &value)
void SetDomainOwner(const char *value)
const Aws::String & GetPolicyDocument() const
const Aws::String & GetDomainOwner() const
PutDomainPermissionsPolicyRequest & WithPolicyRevision(Aws::String &&value)
PutDomainPermissionsPolicyRequest & WithDomainOwner(const char *value)
bool DomainHasBeenSet() const
PutDomainPermissionsPolicyRequest & WithPolicyRevision(const char *value)
PutDomainPermissionsPolicyRequest & WithDomain(const Aws::String &value)
PutDomainPermissionsPolicyRequest & WithPolicyDocument(const Aws::String &value)
void SetPolicyDocument(const char *value)
bool DomainOwnerHasBeenSet() const
const Aws::String & GetPolicyRevision() const
void SetPolicyRevision(const Aws::String &value)
void SetPolicyRevision(Aws::String &&value)
PutDomainPermissionsPolicyRequest & WithPolicyDocument(Aws::String &&value)
PutDomainPermissionsPolicyRequest & WithPolicyDocument(const char *value)
void SetDomain(const char *value)
void SetDomainOwner(const Aws::String &value)
virtual const char * GetServiceRequestName() const override
std::basic_string< char, std::char_traits< char >, Aws::Allocator< char > > String