PutDomainPermissionsPolicyResult & WithPolicy(const ResourcePolicy &value)
PutDomainPermissionsPolicyResult & WithPolicy(ResourcePolicy &&value)
PutDomainPermissionsPolicyResult & WithRequestId(const Aws::String &value)
const Aws::String & GetRequestId() const
PutDomainPermissionsPolicyResult & WithRequestId(Aws::String &&value)
const ResourcePolicy & GetPolicy() const
void SetPolicy(const ResourcePolicy &value)
void SetRequestId(Aws::String &&value)
AWS_CODEARTIFACT_API PutDomainPermissionsPolicyResult & operator=(const Aws::AmazonWebServiceResult< Aws::Utils::Json::JsonValue > &result)
void SetPolicy(ResourcePolicy &&value)
PutDomainPermissionsPolicyResult & WithRequestId(const char *value)
AWS_CODEARTIFACT_API PutDomainPermissionsPolicyResult(const Aws::AmazonWebServiceResult< Aws::Utils::Json::JsonValue > &result)
void SetRequestId(const Aws::String &value)
AWS_CODEARTIFACT_API PutDomainPermissionsPolicyResult()